Package org.apache.juneau.dto.jsonschema
Class JsonSchemaRef
java.lang.Object
org.apache.juneau.dto.jsonschema.JsonSchema
org.apache.juneau.dto.jsonschema.JsonSchemaRef
Convenience class for representing a schema reference such as "{'$ref':'/url/to/ref'}" .
An instance of this object is equivalent to calling...
JsonSchema
-
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
-
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
-
JsonSchemaRef
Constructor.The value can be of any of the following types:
URI
,URL
,String
. Strings must be valid URIs.URIs defined by
UriResolver
can be used for values.- Parameters:
uri
- The URI of the target reference. Can benull .
-