Package de.espirit.firstspirit.ai.dto
Interface JsonSchema
public interface JsonSchema
JSON schema definition for a JSON value type.
- Since:
- 5.2.251104
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull JsonSchema.Builderbuilder()Creates a new builder for creating aJsonSchemadefinition.@NotNull StringgetJson()Returns the JSON schema definition as JSON String.JSON Schema descriptor for the type of object this parameter contains.
-
Method Details
-
builder
Creates a new builder for creating aJsonSchemadefinition.- Returns:
- The new builder instance.
- Since:
- 5.2.251104
-
getJson
Returns the JSON schema definition as JSON String.- Returns:
- The JSON schema as string.
- Since:
- 5.2.251303
-
getProperties
JSON Schema descriptor for the type of object this parameter contains.- Returns:
- The JSON schema descriptor.
- Since:
- 5.2.251104
-