| Package | Description |
|---|---|
| com.fasterxml.jackson.databind.jsonSchema.factories | |
| com.fasterxml.jackson.databind.jsonSchema.types |
| Modifier and Type | Field and Description |
|---|---|
protected JsonSchema |
SchemaFactory.schema |
| Modifier and Type | Method and Description |
|---|---|
JsonSchema |
SchemaFactoryWrapper.finalSchema() |
JsonSchema |
SchemaProducer.getSchema() |
JsonSchema |
SchemaFactory.getSchema() |
JsonSchema |
ArraySchemaFactory.getSchema() |
protected JsonSchema |
ObjectSchemaFactory.propertySchema(com.fasterxml.jackson.databind.BeanProperty writer) |
protected JsonSchema |
ObjectSchemaFactory.propertySchema(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable handler,
com.fasterxml.jackson.databind.JavaType propertyTypeHint) |
| Modifier and Type | Method and Description |
|---|---|
SchemaFactory |
SchemaFactoryWrapper.FactoryProvider.schemaFactory(JsonSchema schema) |
void |
SchemaFactory.setSchema(JsonSchema schema) |
| Constructor and Description |
|---|
SchemaFactory(com.fasterxml.jackson.databind.SerializerProvider provider,
JsonSchema schema) |
| Modifier and Type | Class and Description |
|---|---|
class |
AnySchema
This class represents a
JsonSchema of type any |
class |
ArraySchema |
class |
BooleanSchema
This class represents a
JsonSchema of type boolean |
class |
ContainerTypeSchema
This class encapsulates the functionality of container type
JsonSchema
Array and Object |
class |
HyperSchema
This class represents the HyperSchema portion of a
JsonSchema
It is a skeleton intended as a starting point for customization. |
class |
IntegerSchema
This class represents a
JsonSchema as an integer type |
class |
NullSchema
This class represents a
JsonSchema as a null type |
class |
NumberSchema
This class represents a
JsonSchema as a number type |
class |
ObjectSchema
This type represents a
JsonSchema as an object type |
class |
SimpleTypeSchema
This class encapsulates the functionality of
JsonSchema simple types |
class |
StringSchema
This represents a
JsonSchema as a String |
class |
UnionTypeSchema
This class represents a
JsonSchema as a Union Type Schema:
"An array of two or more simple type definitions. |
class |
ValueTypeSchema
This class represents a
JsonSchema
A primitive type. |
| Modifier and Type | Method and Description |
|---|---|
JsonSchema[] |
JsonSchema.getDisallow()
|
JsonSchema[] |
JsonSchema.getExtends()
|
JsonSchema |
ObjectSchema.SchemaAdditionalProperties.getJsonSchema()
|
JsonSchema |
ArraySchema.SchemaAdditionalItems.getJsonSchema() |
JsonSchema[] |
ArraySchema.ArrayItems.getJsonSchemas()
|
JsonSchema |
ObjectSchema.SchemaDependency.getParentMustMatch()
|
JsonSchema |
ArraySchema.SingleItems.getSchema()
|
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.
|
JsonSchema |
ObjectSchema.putPatternProperty(String regex,
JsonSchema value) |
JsonSchema |
ObjectSchema.putProperty(String name,
JsonSchema value) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,JsonSchema> |
ObjectSchema.getPatternProperties()
|
Map<String,JsonSchema> |
ObjectSchema.getProperties()
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ObjectSchema.addSchemaDependency(String depender,
JsonSchema parentMustMatch) |
void |
ObjectSchema.putOptionalProperty(String name,
JsonSchema jsonSchema) |
JsonSchema |
ObjectSchema.putPatternProperty(String regex,
JsonSchema value) |
JsonSchema |
ObjectSchema.putProperty(String name,
JsonSchema value) |
void |
JsonSchema.setDisallow(JsonSchema[] disallow)
|
void |
JsonSchema.setExtends(JsonSchema[] extendsextends)
|
void |
ArraySchema.setItemsSchema(JsonSchema jsonSchema)
Convenience method to set the json schema for the
ArraySchema.items
field |
void |
ArraySchema.SingleItems.setSchema(JsonSchema jsonSchema)
|
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectSchema.setPatternProperties(Map<String,JsonSchema> patternProperties)
|
void |
ObjectSchema.setProperties(Map<String,JsonSchema> properties)
|
| Constructor and Description |
|---|
ArraySchema.SchemaAdditionalItems(JsonSchema schema) |
ArraySchema.SingleItems(JsonSchema jsonSchema) |
ObjectSchema.SchemaAdditionalProperties(JsonSchema jsonSchema) |
ObjectSchema.SchemaDependency(String depender,
JsonSchema parentMustMatch) |
Copyright © 2012 fasterxml.com. All Rights Reserved.