public class CrestArraySchema extends com.fasterxml.jackson.module.jsonSchema.types.ArraySchema implements WithExampleSchema<List<Object>>
ArraySchema that includes the custom CREST JSON Schema attributes.com.fasterxml.jackson.module.jsonSchema.types.ArraySchema.AdditionalItems, com.fasterxml.jackson.module.jsonSchema.types.ArraySchema.ArrayItems, com.fasterxml.jackson.module.jsonSchema.types.ArraySchema.Items, com.fasterxml.jackson.module.jsonSchema.types.ArraySchema.ItemsDeserializer, com.fasterxml.jackson.module.jsonSchema.types.ArraySchema.NoAdditionalItems, com.fasterxml.jackson.module.jsonSchema.types.ArraySchema.SchemaAdditionalItems, com.fasterxml.jackson.module.jsonSchema.types.ArraySchema.SingleItemsadditionalItems, items, maxItems, minItems, uniqueItems| Constructor and Description |
|---|
CrestArraySchema() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getErrorOnWritePolicyFailure()
Get the error indicator for failed write policy.
|
List<Object> |
getExample()
Gets
example JSON Schema field. |
Integer |
getPropertyOrder()
Get the property order number.
|
ReadPolicy |
getReadPolicy()
Get the read policy for the property.
|
Boolean |
getReturnOnDemand()
Set the return-on-demand field.
|
WritePolicy |
getWritePolicy()
Get the write policy for the property.
|
void |
setErrorOnWritePolicyFailure(Boolean errorOnWritePolicyFailure)
Set the error indicator for failed write policy.
|
void |
setExample(String example)
Sets
example JSON Schema field. |
void |
setPropertyOrder(Integer order)
Set the property order number.
|
void |
setReadPolicy(ReadPolicy readPolicy)
Set the read policy for the property.
|
void |
setReturnOnDemand(Boolean returnOnDemand)
Get the return-on-demand field.
|
void |
setWritePolicy(WritePolicy policy)
Set the write policy for the property.
|
void |
validate(JsonValue object)
Validates
JsonSchema according to some set of validation rules. |
_equals, asArraySchema, equals, getAdditionalItems, getItems, getMaxItems, getMinItems, getType, getUniqueItems, isArraySchema, setAdditionalItems, setItems, setItemsSchema, setMaxItems, setMinItems, setUniqueItems_equals, asContainerSchema, asContainerTypeSchema, getEnums, getOneOf, isContainerTypeSchema, setEnums, setOneOf_equals, asSimpleTypeSchema, getDefault, getLinks, getPathStart, getTitle, isSimpleTypeSchema, setDefault, setLinks, setPathStart, setTitle_equals, arraysEqual, asAnySchema, asBooleanSchema, asIntegerSchema, asNullSchema, asNumberSchema, asObjectSchema, asStringSchema, asUnionTypeSchema, asValueSchemaSchema, asValueTypeSchema, enrichWithBeanProperty, equals, get$ref, get$schema, getDescription, getDisallow, getExtends, getId, getReadonly, getRequired, isAnySchema, isBooleanSchema, isIntegerSchema, isNullSchema, isNumberSchema, isObjectSchema, isStringSchema, isUnionTypeSchema, isValueTypeSchema, minimalForFormat, set$ref, set$schema, setDescription, setDisallow, setExtends, setId, setReadonly, setRequiredpublic WritePolicy getWritePolicy()
public void setWritePolicy(WritePolicy policy)
policy - The write policy.public ReadPolicy getReadPolicy()
public void setReadPolicy(ReadPolicy readPolicy)
readPolicy - The read policy.public Boolean getErrorOnWritePolicyFailure()
public void setErrorOnWritePolicyFailure(Boolean errorOnWritePolicyFailure)
errorOnWritePolicyFailure - Whether errors will be returned.public Boolean getReturnOnDemand()
true when a field is available, but must be explicitly requested, or false (default) when
always returned.public void setReturnOnDemand(Boolean returnOnDemand)
returnOnDemand - true when a field is available, but must be explicitly requested, or
false (default) when always returned.public Integer getPropertyOrder()
public void setPropertyOrder(Integer order)
order - The property order.public void validate(JsonValue object) throws javax.validation.ValidationException
JsonSchema according to some set of validation rules.object - JSON to validatejavax.validation.ValidationException - Indicates that JSON does not conform to a known JSON Schema format.public List<Object> getExample()
WithExampleSchemaexample JSON Schema field.getExample in interface WithExampleSchema<List<Object>>public void setExample(String example) throws IOException
WithExampleSchemaexample JSON Schema field.setExample in interface WithExampleSchema<List<Object>>example - The example value.IOException - When the type of schema cannot be parsed from the String value.Copyright © 2025 Open Identity Platform Community. All rights reserved.