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 class
JsonObjectSchema.Builder
-
Constructor Summary
Constructors Constructor Description JsonObjectSchema(JsonObjectSchema.Builder builder)
-
Method Summary
Modifier and Type Method Description String
description()
Map<String, JsonSchemaElement>
properties()
List<String>
required()
Boolean
additionalProperties()
Map<String, JsonSchemaElement>
definitions()
Used together with JsonReferenceSchema when recursion is required. static JsonObjectSchema.Builder
builder()
boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
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()
-
-
-
-