Uses of Class
com.fasterxml.jackson.module.jsonSchema.JsonSchema
-
-
Uses of JsonSchema in com.fasterxml.jackson.module.jsonSchema
Fields in com.fasterxml.jackson.module.jsonSchema declared as JsonSchema Modifier and Type Field Description private JsonSchema[]JsonSchema. disallowThis 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. extendsextendsThe 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 that return JsonSchema Modifier and Type Method Description JsonSchemaJsonSchemaGenerator. generateSchema(com.fasterxml.jackson.databind.JavaType type)JsonSchemaJsonSchemaGenerator. generateSchema(java.lang.Class<?> type)JsonSchema[]JsonSchema. getDisallow()JsonSchema[]JsonSchema. getExtends()static JsonSchemaJsonSchema. 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 with parameters of type JsonSchema Modifier and Type Method Description protected booleanJsonSchema. _equals(JsonSchema that)voidJsonSchema. setDisallow(JsonSchema[] disallow)voidJsonSchema. setExtends(JsonSchema[] extendsextends) -
Uses of JsonSchema in com.fasterxml.jackson.module.jsonSchema.customProperties
Methods in com.fasterxml.jackson.module.jsonSchema.customProperties that return JsonSchema Modifier and Type Method Description protected JsonSchemaValidationSchemaFactoryWrapper. addValidationConstraints(JsonSchema schema, com.fasterxml.jackson.databind.BeanProperty prop)private JsonSchemaHyperSchemaFactoryWrapper. fetchSchema(java.lang.Class<?> targetSchema)Methods in com.fasterxml.jackson.module.jsonSchema.customProperties with parameters of type JsonSchema Modifier and Type Method Description private voidHyperSchemaFactoryWrapper. addHyperlinks(JsonSchema schema, com.fasterxml.jackson.databind.JavaType type)Adds writes the type as the title of the schema.private voidTitleSchemaFactoryWrapper. addTitle(JsonSchema schema, com.fasterxml.jackson.databind.JavaType type)Adds writes the type as the title of the schema.protected JsonSchemaValidationSchemaFactoryWrapper. addValidationConstraints(JsonSchema schema, com.fasterxml.jackson.databind.BeanProperty prop) -
Uses of JsonSchema in com.fasterxml.jackson.module.jsonSchema.factories
Fields in com.fasterxml.jackson.module.jsonSchema.factories declared as JsonSchema Modifier and Type Field Description protected JsonSchemaSchemaFactoryWrapper. schemaMethods in com.fasterxml.jackson.module.jsonSchema.factories that return JsonSchema Modifier and Type Method Description JsonSchemaSchemaFactoryWrapper. finalSchema()JsonSchemaArrayVisitor. getSchema()JsonSchemaJsonSchemaProducer. getSchema()JsonSchemaObjectVisitorDecorator. getSchema()protected JsonSchemaMapVisitor. propertySchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType propertyTypeHint)protected JsonSchemaObjectVisitor. propertySchema(com.fasterxml.jackson.databind.BeanProperty prop)protected JsonSchemaObjectVisitor. propertySchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler, com.fasterxml.jackson.databind.JavaType propertyTypeHint) -
Uses of JsonSchema in com.fasterxml.jackson.module.jsonSchema.types
Subclasses of JsonSchema in com.fasterxml.jackson.module.jsonSchema.types Modifier and Type Class Description classAnySchemaThis class represents aJsonSchemaof type anyclassArraySchemaclassBooleanSchemaThis class represents aJsonSchemaof type booleanclassContainerTypeSchemaThis class encapsulates the functionality of container typeJsonSchemaArray and ObjectclassHyperSchemaThis class represents the HyperSchema portion of aJsonSchemaIt is a skeleton intended as a starting point for customization.classIntegerSchemaThis class represents aJsonSchemaas an integer typeclassNullSchemaThis class represents aJsonSchemaas a null typeclassNumberSchemaThis class represents aJsonSchemaas a number typeclassObjectSchemaThis type represents aJsonSchemaas an object typeclassReferenceSchemaThis type represents an JSON reference to aJsonSchema.classSimpleTypeSchemaThis class encapsulates the functionality ofJsonSchemasimple typesclassStringSchemaThis represents aJsonSchemaas a StringclassUnionTypeSchemaThis class represents aJsonSchemaas a Union Type Schema: "An array of two or more simple type definitions.classValueTypeSchemaThis class represents aJsonSchemaA primitive type.Fields in com.fasterxml.jackson.module.jsonSchema.types declared as JsonSchema Modifier and Type Field Description private JsonSchemaArraySchema.SchemaAdditionalItems. jsonSchemaprivate JsonSchemaArraySchema.SingleItems. jsonSchemaprotected JsonSchemaHyperSchema.LinkDescriptionObject. jsonSchemaThis 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 JsonSchemaLinkDescriptionObject. jsonSchemaThis 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 JsonSchemaObjectSchema.SchemaAdditionalProperties. jsonSchemaprivate JsonSchema[]ArraySchema.ArrayItems. jsonSchemasprivate JsonSchemaObjectSchema.SchemaDependency. parentMustMatchprotected JsonSchemaHyperSchema.LinkDescriptionObject. targetSchemaThis property value is a jsonSchema that defines the expected structure of the JSON representation of the target of the link.private JsonSchemaLinkDescriptionObject. targetSchemaThis 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.types with type parameters of type JsonSchema Modifier and Type Field Description private java.util.Map<java.lang.String,JsonSchema>ObjectSchema. patternPropertiesThis 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. propertiesThis attribute is an object with property definitions that define the valid values of instance object property values.Methods in com.fasterxml.jackson.module.jsonSchema.types that return JsonSchema Modifier and Type Method Description JsonSchemaArraySchema.SchemaAdditionalItems. getJsonSchema()JsonSchemaObjectSchema.SchemaAdditionalProperties. getJsonSchema()JsonSchema[]ArraySchema.ArrayItems. getJsonSchemas()JsonSchemaObjectSchema.SchemaDependency. getParentMustMatch()JsonSchemaArraySchema.SingleItems. getSchema()JsonSchemaLinkDescriptionObject. getSchema()JsonSchemaLinkDescriptionObject. getTargetSchema()JsonSchemaObjectSchema. putPatternProperty(java.lang.String regex, JsonSchema value)JsonSchemaObjectSchema. putProperty(com.fasterxml.jackson.databind.BeanProperty property, JsonSchema value)JsonSchemaObjectSchema. putProperty(java.lang.String name, JsonSchema value)Methods in com.fasterxml.jackson.module.jsonSchema.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.types with parameters of type JsonSchema Modifier and Type Method Description booleanObjectSchema. addSchemaDependency(java.lang.String depender, JsonSchema parentMustMatch)voidObjectSchema. putOptionalProperty(com.fasterxml.jackson.databind.BeanProperty property, JsonSchema jsonSchema)voidObjectSchema. putOptionalProperty(java.lang.String name, JsonSchema jsonSchema)JsonSchemaObjectSchema. putPatternProperty(java.lang.String regex, JsonSchema value)JsonSchemaObjectSchema. putProperty(com.fasterxml.jackson.databind.BeanProperty property, JsonSchema value)JsonSchemaObjectSchema. putProperty(java.lang.String name, JsonSchema value)voidArraySchema. setItemsSchema(JsonSchema jsonSchema)voidArraySchema.SingleItems. setSchema(JsonSchema jsonSchema)LinkDescriptionObjectLinkDescriptionObject. setSchema(JsonSchema schema)LinkDescriptionObjectLinkDescriptionObject. setTargetSchema(JsonSchema targetSchema)Method parameters in com.fasterxml.jackson.module.jsonSchema.types with type arguments of type JsonSchema Modifier and Type Method Description voidObjectSchema. setPatternProperties(java.util.Map<java.lang.String,JsonSchema> patternProperties)voidObjectSchema. setProperties(java.util.Map<java.lang.String,JsonSchema> properties)Constructors in com.fasterxml.jackson.module.jsonSchema.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)
-