Package-level declarations
JSON Schema models, DSL builders, and function calling schema support.
Types
Represents the constraint for additional properties in a JSON Schema object.
Additional properties must conform to the specified schema. Corresponds to "additionalProperties": { <schema> } in JSON Schema.
Builder for AllOfPropertyDefinition.
Represents an allOf schema composition.
Allows any additional properties beyond those explicitly defined. Corresponds to "additionalProperties": true in JSON Schema.
Builder for AnyOfPropertyDefinition.
Represents an anyOf schema composition.
Interface for schemas that can be composed of other schemas.
Interface representing a container for items in a JSON array schema.
Builder for ArrayPropertyDefinition.
Represents an array property
Builder for BooleanPropertyDefinition.
Represents a boolean property
Represents a boolean schema in JSON Schema.
Common keywords for all object-based JSON schemas.
Disallows any additional properties beyond those explicitly defined. Corresponds to "additionalProperties": false in JSON Schema.
Represents a discriminator for polymorphic schemas.
Builder for Discriminator.
FunctionCallingSchema describes a function/tool call in LLM function calling APIs.
Combined interface for all structural validation keywords.
Builder for GenericPropertyDefinition.
Represents a property definition without specific type constraints.
Represents a JSON Schema with validation constraints and metadata according to the JSON Schema specification.
Builder for JsonSchema.
Collection of special constants, such as keys and data types, from JSON schema definition.
Marker annotation for the JSON Schema DSL.
Numeric validation keywords.
Builder for NumericPropertyDefinition.
Represents a numeric property (integer or number).
Builder for ObjectPropertyDefinition.
Represents an object property
Builder for OneOfPropertyDefinition.
Represents a oneOf schema composition.
Common interface for builders that collect polymorphic schema options.
Interface representing a container for properties in a JSON schema.
Builder for defining property types and constraints.
Represents a property definition in a JSON Schema.
Represents a reference to another element
String validation keywords.
Builder for StringPropertyDefinition.
Represents a string property.
Represents a value-based property definition in a JSON Schema.
Functions
Adds a nested allOf schema option.
Adds a nested anyOf schema option.
Adds an array schema option.
Adds a boolean schema option.
Encodes the given FunctionCallingSchema instance into a JsonObject representation.
Encodes this JsonSchema to a JsonObject.
Encodes the FunctionCallingSchema instance into its JSON string representation.
Encodes this JsonSchema to a JSON string.
Adds an integer schema option.
DSL for building JSON Schema objects in a type-safe and readable way.
Adds a number schema option.
Adds an object schema option.
Adds a nested oneOf schema option.
Adds a reference schema option.
Adds a string schema option.