Package org.apache.juneau.dto.jsonschema
Class JsonSchemaProperty
java.lang.Object
org.apache.juneau.dto.jsonschema.JsonSchema
org.apache.juneau.dto.jsonschema.JsonSchemaProperty
- Direct Known Subclasses:
JsonSchemaPropertySimpleArray
Represents a JSON property in the JSON-Schema core specification.
-
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
ConstructorDescriptionDefault constructor.JsonSchemaProperty
(String name) Convenience constructor.JsonSchemaProperty
(String name, JsonType type) Convenience 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
-
JsonSchemaProperty
public JsonSchemaProperty()Default constructor. -
JsonSchemaProperty
Convenience constructor.- Parameters:
name
- The name of this property.
-
JsonSchemaProperty
Convenience constructor.- Parameters:
name
- The name of this property.type
- The JSON type of this property.
-