Package com.openai.models
Class ResponseFormatJsonSchema.JsonSchema.Schema
-
- All Implemented Interfaces:
public final class ResponseFormatJsonSchema.JsonSchema.SchemaThe schema for the response format, described as a JSON Schema object. Learn how to build JSON schemas here.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseFormatJsonSchema.JsonSchema.Schema.BuilderA builder for Schema.
-
Method Summary
Modifier and Type Method Description final Map<String, JsonValue>_additionalProperties()final ResponseFormatJsonSchema.JsonSchema.Schema.BuildertoBuilder()final ResponseFormatJsonSchema.JsonSchema.Schemavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseFormatJsonSchema.JsonSchema.Schema.Builderbuilder()Returns a mutable builder for constructing an instance of Schema. -
-
Method Detail
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseFormatJsonSchema.JsonSchema.Schema.Builder toBuilder()
-
validate
final ResponseFormatJsonSchema.JsonSchema.Schema validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ResponseFormatJsonSchema.JsonSchema.Schema.Builder builder()
Returns a mutable builder for constructing an instance of Schema.
-
-
-
-