Package org.apache.juneau.dto.jsonschema
Class JsonSchemaPropertySimpleArray
java.lang.Object
org.apache.juneau.dto.jsonschema.JsonSchema
org.apache.juneau.dto.jsonschema.JsonSchemaProperty
org.apache.juneau.dto.jsonschema.JsonSchemaPropertySimpleArray
Convenience class for representing a property that's an array of simple types.
An instance of this object is equivalent to calling...
JsonSchemaProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.juneau.dto.jsonschema.JsonSchema
JsonSchema.BooleanOrSchemaArraySwap, JsonSchema.BooleanOrSchemaSwap, JsonSchema.JsonSchemaOrSchemaArraySwap, JsonSchema.JsonTypeOrJsonTypeArraySwap
-
Constructor Summary
ConstructorDescriptionJsonSchemaPropertySimpleArray
(String name, JsonType elementType) Constructor. -
Method Summary
Methods inherited from class org.apache.juneau.dto.jsonschema.JsonSchema
addAdditionalItems, addAllOf, addAnyOf, addDefinition, addDependency, addEnum, addItems, addOneOf, addPatternProperties, addProperties, addRequired, addRequired, addRequired, addTypes, getAdditionalItems, getAdditionalItemsAsBoolean, getAdditionalItemsAsSchemaArray, getAdditionalProperties, getAdditionalPropertiesAsBoolean, getAdditionalPropertiesAsSchema, getAllOf, getAnyOf, getDefinitions, getDependencies, getDescription, getEnum, getId, getItems, getItemsAsSchema, getItemsAsSchemaArray, getMaximum, getMaxItems, getMaxLength, getMaxProperties, getMinimum, getMinItems, getMinLength, getMinProperties, getMultipleOf, getName, getNot, getOneOf, getPattern, getPatternProperties, getProperties, getProperty, getProperty, getRef, getRequired, getSchemaVersionUri, getTitle, getType, getTypeAsJsonType, getTypeAsJsonTypeArray, getUniqueItems, isExclusiveMaximum, isExclusiveMinimum, resolve, setAdditionalItems, setAdditionalProperties, setAllOf, setAnyOf, setDefinitions, setDependencies, setDescription, setEnum, setExclusiveMaximum, setExclusiveMinimum, setId, setItems, setMaster, setMaximum, setMaxItems, setMaxLength, setMaxProperties, setMinimum, setMinItems, setMinLength, setMinProperties, setMultipleOf, setName, setNot, setOneOf, setPattern, setPatternProperties, setProperties, setRef, setRequired, setSchemaMap, setSchemaVersionUri, setTitle, setType, setUniqueItems, toString
-
Constructor Details
-
JsonSchemaPropertySimpleArray
Constructor.- Parameters:
name
- The name of the schema property.elementType
- The JSON type of the elements in the array.
-