Uses of Class
com.fasterxml.jackson.module.jsonSchema.jakarta.JsonSchema
-
-
Uses of JsonSchema in com.fasterxml.jackson.module.jsonSchema.jakarta
Fields in com.fasterxml.jackson.module.jsonSchema.jakarta declared as JsonSchema Modifier and Type Field Description private JsonSchema[]
JsonSchema. disallow
This attribute takes the same values as the "type" attribute, however if the instance matches the type or if this value is an array and the instance matches any type or schema in the array, then this instance is not valid.private JsonSchema[]
JsonSchema. extendsextends
The value of this property MUST be another schema which will provide a base schema which the current schema will inherit from.Methods in com.fasterxml.jackson.module.jsonSchema.jakarta that return JsonSchema Modifier and Type Method Description JsonSchema
JsonSchemaGenerator. generateSchema(com.fasterxml.jackson.databind.JavaType type)
JsonSchema
JsonSchemaGenerator. generateSchema(java.lang.Class<?> type)
JsonSchema[]
JsonSchema. getDisallow()
JsonSchema[]
JsonSchema. getExtends()
static JsonSchema
JsonSchema. minimalForFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes format)
Create a schema which verifies only that an object is of the given format.Methods in com.fasterxml.jackson.module.jsonSchema.jakarta with parameters of type JsonSchema Modifier and Type Method Description protected boolean
JsonSchema. _equals(JsonSchema that)
void
JsonSchema. setDisallow(JsonSchema[] disallow)
void
JsonSchema. setExtends(JsonSchema[] extendsextends)
-
Uses of JsonSchema in com.fasterxml.jackson.module.jsonSchema.jakarta.customProperties
Methods in com.fasterxml.jackson.module.jsonSchema.jakarta.customProperties that return JsonSchema Modifier and Type Method Description protected JsonSchema
ValidationSchemaFactoryWrapper. addValidationConstraints(JsonSchema schema, com.fasterxml.jackson.databind.BeanProperty prop)
private JsonSchema
HyperSchemaFactoryWrapper. fetchSchema(java.lang.Class<?> targetSchema)
Methods in com.fasterxml.jackson.module.jsonSchema.jakarta.customProperties with parameters of type JsonSchema Modifier and Type Method Description private void
HyperSchemaFactoryWrapper. addHyperlinks(JsonSchema schema, com.fasterxml.jackson.databind.JavaType type)
Adds writes the type as the title of the schema.private void
TitleSchemaFactoryWrapper. addTitle(JsonSchema schema, com.fasterxml.jackson.databind.JavaType type)
Adds writes the type as the title of the schema.protected JsonSchema
ValidationSchemaFactoryWrapper. addValidationConstraints(JsonSchema schema, com.fasterxml.jackson.databind.BeanProperty prop)
-
Uses of JsonSchema in com.fasterxml.jackson.module.jsonSchema.jakarta.factories
Fields in com.fasterxml.jackson.module.jsonSchema.jakarta.factories declared as JsonSchema Modifier and Type Field Description protected JsonSchema
SchemaFactoryWrapper. schema
Methods in com.fasterxml.jackson.module.jsonSchema.jakarta.factories that return JsonSchema Modifier and Type Method Description JsonSchema
SchemaFactoryWrapper. finalSchema()
JsonSchema
ArrayVisitor. getSchema()
JsonSchema
JsonSchemaProducer. getSchema()
JsonSchema
ObjectVisitorDecorator. getSchema()
protected JsonSchema
MapVisitor. propertySchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType propertyTypeHint)
protected JsonSchema
ObjectVisitor. propertySchema(com.fasterxml.jackson.databind.BeanProperty prop)
protected JsonSchema
ObjectVisitor. propertySchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType propertyTypeHint)
-
Uses of JsonSchema in com.fasterxml.jackson.module.jsonSchema.jakarta.types
Subclasses of JsonSchema in com.fasterxml.jackson.module.jsonSchema.jakarta.types Modifier and Type Class Description class
AnySchema
This class represents aJsonSchema
of type anyclass
ArraySchema
class
BooleanSchema
This class represents aJsonSchema
of type booleanclass
ContainerTypeSchema
This class encapsulates the functionality of container typeJsonSchema
Array and Objectclass
HyperSchema
This class represents the HyperSchema portion of aJsonSchema
It is a skeleton intended as a starting point for customization.class
IntegerSchema
This class represents aJsonSchema
as an integer typeclass
NullSchema
This class represents aJsonSchema
as a null typeclass
NumberSchema
This class represents aJsonSchema
as a number typeclass
ObjectSchema
This type represents aJsonSchema
as an object typeclass
ReferenceSchema
This type represents an JSON reference to aJsonSchema
.class
SimpleTypeSchema
This class encapsulates the functionality ofJsonSchema
simple typesclass
StringSchema
This represents aJsonSchema
as a Stringclass
UnionTypeSchema
This class represents aJsonSchema
as a Union Type Schema: "An array of two or more simple type definitions.class
ValueTypeSchema
This class represents aJsonSchema
A primitive type.Fields in com.fasterxml.jackson.module.jsonSchema.jakarta.types declared as JsonSchema Modifier and Type Field Description private JsonSchema
ArraySchema.SchemaAdditionalItems. jsonSchema
private JsonSchema
ArraySchema.SingleItems. jsonSchema
protected JsonSchema
HyperSchema.LinkDescriptionObject. jsonSchema
This attribute contains a jsonSchema which defines the acceptable structure of the submitted request (for a GET request, this jsonSchema would define the properties for the query string and for a POST request, this would define the body).private JsonSchema
LinkDescriptionObject. jsonSchema
This attribute contains a jsonSchema which defines the acceptable structure of the submitted request (for a GET request, this jsonSchema would define the properties for the query string and for a POST request, this would define the body).private JsonSchema
ObjectSchema.SchemaAdditionalProperties. jsonSchema
private JsonSchema[]
ArraySchema.ArrayItems. jsonSchemas
private JsonSchema
ObjectSchema.SchemaDependency. parentMustMatch
protected JsonSchema
HyperSchema.LinkDescriptionObject. targetSchema
This property value is a jsonSchema that defines the expected structure of the JSON representation of the target of the link.private JsonSchema
LinkDescriptionObject. targetSchema
This property value is a jsonSchema that defines the expected structure of the JSON representation of the target of the link.Fields in com.fasterxml.jackson.module.jsonSchema.jakarta.types with type parameters of type JsonSchema Modifier and Type Field Description private java.util.Map<java.lang.String,JsonSchema>
ObjectSchema. patternProperties
This attribute is an object that defines the jsonSchema for a set of property names of an object instance.private java.util.Map<java.lang.String,JsonSchema>
ObjectSchema. properties
This attribute is an object with property definitions that define the valid values of instance object property values.Methods in com.fasterxml.jackson.module.jsonSchema.jakarta.types that return JsonSchema Modifier and Type Method Description JsonSchema
ArraySchema.SchemaAdditionalItems. getJsonSchema()
JsonSchema
ObjectSchema.SchemaAdditionalProperties. getJsonSchema()
JsonSchema[]
ArraySchema.ArrayItems. getJsonSchemas()
JsonSchema
ObjectSchema.SchemaDependency. getParentMustMatch()
JsonSchema
ArraySchema.SingleItems. getSchema()
JsonSchema
LinkDescriptionObject. getSchema()
JsonSchema
LinkDescriptionObject. getTargetSchema()
JsonSchema
ObjectSchema. putPatternProperty(java.lang.String regex, JsonSchema value)
JsonSchema
ObjectSchema. putProperty(com.fasterxml.jackson.databind.BeanProperty property, JsonSchema value)
JsonSchema
ObjectSchema. putProperty(java.lang.String name, JsonSchema value)
Methods in com.fasterxml.jackson.module.jsonSchema.jakarta.types that return types with arguments of type JsonSchema Modifier and Type Method Description java.util.Map<java.lang.String,JsonSchema>
ObjectSchema. getPatternProperties()
java.util.Map<java.lang.String,JsonSchema>
ObjectSchema. getProperties()
Methods in com.fasterxml.jackson.module.jsonSchema.jakarta.types with parameters of type JsonSchema Modifier and Type Method Description boolean
ObjectSchema. addSchemaDependency(java.lang.String depender, JsonSchema parentMustMatch)
void
ObjectSchema. putOptionalProperty(com.fasterxml.jackson.databind.BeanProperty property, JsonSchema jsonSchema)
void
ObjectSchema. putOptionalProperty(java.lang.String name, JsonSchema jsonSchema)
JsonSchema
ObjectSchema. putPatternProperty(java.lang.String regex, JsonSchema value)
JsonSchema
ObjectSchema. putProperty(com.fasterxml.jackson.databind.BeanProperty property, JsonSchema value)
JsonSchema
ObjectSchema. putProperty(java.lang.String name, JsonSchema value)
void
ArraySchema. setItemsSchema(JsonSchema jsonSchema)
void
ArraySchema.SingleItems. setSchema(JsonSchema jsonSchema)
LinkDescriptionObject
LinkDescriptionObject. setSchema(JsonSchema schema)
LinkDescriptionObject
LinkDescriptionObject. setTargetSchema(JsonSchema targetSchema)
Method parameters in com.fasterxml.jackson.module.jsonSchema.jakarta.types with type arguments of type JsonSchema Modifier and Type Method Description void
ObjectSchema. setPatternProperties(java.util.Map<java.lang.String,JsonSchema> patternProperties)
void
ObjectSchema. setProperties(java.util.Map<java.lang.String,JsonSchema> properties)
Constructors in com.fasterxml.jackson.module.jsonSchema.jakarta.types with parameters of type JsonSchema Constructor Description ArrayItems(JsonSchema[] jsonSchemas)
SchemaAdditionalItems(JsonSchema schema)
SchemaAdditionalProperties(JsonSchema jsonSchema)
SchemaDependency(java.lang.String depender, JsonSchema parentMustMatch)
SingleItems(JsonSchema jsonSchema)
-