Class AiJsonSchema
java.lang.Object
com.kingsrook.qqq.backend.core.actions.ai.tools.AiJsonSchema
Small builders for the strict JSON Schemas of AI tool inputs. All objects
are additionalProperties=false with an explicit required list, and every
map is insertion-ordered, so the serialized schemas are byte-stable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAn array schema with an item schema and a description.A boolean schema with a description.An enum schema (of string values).An integer schema with a description.An object schema, with properties (in order) and the required names.properties(Object... nameSchemaPairs) An ordered properties map - from alternating name, schema arguments.A reference to a definition under the root's $defs.A string schema with a description.
-
Constructor Details
-
AiJsonSchema
public AiJsonSchema()
-
-
Method Details
-
object
-
properties
-
string
-
integer
-
bool
-
array
-
enumOf
-
ref
-