Class JsonObjectSchema
-
- All Implemented Interfaces:
-
dev.langchain4j.model.chat.request.json.JsonSchemaElement
public class JsonObjectSchema implements JsonSchemaElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classJsonObjectSchema.Builder
-
Constructor Summary
Constructors Constructor Description JsonObjectSchema(JsonObjectSchema.Builder builder)
-
Method Summary
Modifier and Type Method Description Stringdescription()Map<String, JsonSchemaElement>properties()List<String>required()BooleanadditionalProperties()Map<String, JsonSchemaElement>definitions()Used together with JsonReferenceSchema when recursion is required. static JsonObjectSchema.Builderbuilder()booleanequals(Object o)inthashCode()StringtoString()-
-
Constructor Detail
-
JsonObjectSchema
JsonObjectSchema(JsonObjectSchema.Builder builder)
-
-
Method Detail
-
description
String description()
-
properties
Map<String, JsonSchemaElement> properties()
-
additionalProperties
Boolean additionalProperties()
-
definitions
Map<String, JsonSchemaElement> definitions()
Used together with JsonReferenceSchema when recursion is required.
-
builder
static JsonObjectSchema.Builder builder()
-
hashCode
int hashCode()
-
-
-
-