Uses of Class
org.apache.juneau.bean.jsonschema.JsonSchema
Packages that use JsonSchema
Package
Description
JSON Schema Data Transfer Objects
REST DTO Examples
-
Uses of JsonSchema in org.apache.juneau.bean.jsonschema
Subclasses of JsonSchema in org.apache.juneau.bean.jsonschemaModifier and TypeClassDescriptionclassRepresents a JSON property in the JSON-Schema core specification.classConvenience class for representing a property that's an array of simple types.classConvenience class for representing a schema reference such as"{'$ref':'/url/to/ref'}" .Methods in org.apache.juneau.bean.jsonschema that return JsonSchemaModifier and TypeMethodDescriptionJsonSchema.addAdditionalItems(JsonSchema... additionalItems) Bean property appender:additionalItems .JsonSchema.addAllOf(JsonSchema... allOf) Bean property appender:allOf .JsonSchema.addAnyOf(JsonSchema... anyOf) Bean property appender:anyOf .JsonSchema.addDef(String name, JsonSchema def) Bean property appender:$defs .JsonSchema.addDefinition(String name, JsonSchema definition) Bean property appender:definitions .JsonSchema.addDependency(String name, JsonSchema dependency) Bean property appender:dependencies .JsonSchema.addDependentRequired(String name, List<String> required) Bean property appender:dependentRequired .JsonSchema.addDependentSchema(String name, JsonSchema schema) Bean property appender:dependentSchemas .Bean property appender:enum .JsonSchema.addExamples(Object... examples) Bean property appender:examples .JsonSchema.addItems(JsonSchema... items) Bean property appender:items .JsonSchema.addOneOf(JsonSchema... oneOf) Bean property appender:oneOf .JsonSchema.addPatternProperties(JsonSchemaProperty... properties) Bean property appender:patternProperties .JsonSchema.addPrefixItems(JsonSchema... prefixItems) Bean property appender:prefixItems .JsonSchema.addProperties(JsonSchema... properties) Bean property appender:properties .JsonSchema.addRequired(String... required) Bean property appender:required .JsonSchema.addRequired(List<String> required) Bean property appender:required .JsonSchema.addRequired(JsonSchemaProperty... properties) Bean property appender:required .Bean property appender:type .Return theJsonSchemaobject at the specified URI.JsonSchema.getAdditionalPropertiesAsSchema()Bean property getter:additionalProperties .JsonSchema.getElse()Bean property getter:else .JsonSchema.getIf()Bean property getter:if .JsonSchema.getItemsAsSchema()Bean property getter:items .JsonSchema.getNot()Bean property getter:not .JsonSchemaProperty.getNot()JsonSchemaRef.getNot()JsonSchema.getProperty(String name) Returns the property with the specified name.JsonSchema.getProperty(String name, boolean resolve) Returns the property with the specified name.JsonSchema.getThen()Bean property getter:then .JsonSchema.getUnevaluatedItems()Bean property getter:unevaluatedItems .JsonSchemaProperty.getUnevaluatedItems()JsonSchemaRef.getUnevaluatedItems()JsonSchema.getUnevaluatedProperties()Bean property getter:unevaluatedProperties .Subclasses must implement either this method orJsonSchemaMap.getReader(URI)to load the schema with the specified URI.JsonSchema.resolve()Resolve schema if reference.JsonSchemaProperty.resolve()JsonSchemaRef.resolve()JsonSchema.setAdditionalItems(Object additionalItems) Bean property setter:additionalItems .JsonSchema.setAdditionalProperties(Object additionalProperties) Bean property setter:additionalProperties .JsonSchema.setAllOf(List<JsonSchema> allOf) Bean property setter:allOf .JsonSchema.setAnyOf(List<JsonSchema> anyOf) Bean property setter:anyOf .Bean property setter:const .JsonSchema.setContentEncoding(String contentEncoding) Bean property setter:contentEncoding .JsonSchema.setContentMediaType(String contentMediaType) Bean property setter:contentMediaType .JsonSchema.setDefinitions(Map<String, JsonSchema> definitions) Bean property setter:definitions .JsonSchema.setDefs(Map<String, JsonSchema> defs) Bean property setter:$defs .JsonSchema.setDependencies(Map<String, JsonSchema> dependencies) Bean property setter:dependencies .JsonSchema.setDependentRequired(Map<String, List<String>> dependentRequired) Bean property setter:dependentRequired .JsonSchema.setDependentSchemas(Map<String, JsonSchema> dependentSchemas) Bean property setter:dependentSchemas .JsonSchema.setDescription(String description) Bean property setter:description .JsonSchema.setElse(JsonSchema else_) Bean property setter:else .Bean property setter:enum .JsonSchema.setExamples(List<Object> examples) Bean property setter:examples .JsonSchema.setExclusiveMaximum(Number exclusiveMaximum) Bean property setter:exclusiveMaximum .JsonSchema.setExclusiveMinimum(Number exclusiveMinimum) Bean property setter:exclusiveMinimum .Deprecated.Bean property setter:$id .JsonSchema.setIf(JsonSchema if_) Bean property setter:if .Bean property setter:items .JsonSchema.setMaximum(Number maximum) Bean property setter:maximum .JsonSchema.setMaxItems(Integer maxItems) Bean property setter:maxItems .JsonSchema.setMaxLength(Integer maxLength) Bean property setter:maxLength .JsonSchema.setMaxProperties(Integer maxProperties) Bean property setter:maxProperties .JsonSchema.setMinimum(Number minimum) Bean property setter:minimum .JsonSchema.setMinItems(Integer minItems) Bean property setter:minItems .JsonSchema.setMinLength(Integer minLength) Bean property setter:minLength .JsonSchema.setMinProperties(Integer minProperties) Bean property setter:minProperties .JsonSchema.setMultipleOf(Number multipleOf) Bean property setter:multipleOf .Bean property setter:name .JsonSchema.setNot(JsonSchema not) Bean property setter:not .JsonSchema.setOneOf(List<JsonSchema> oneOf) Bean property setter:oneOf .JsonSchema.setPattern(String pattern) Bean property setter:pattern .JsonSchema.setPatternProperties(Map<String, JsonSchema> patternProperties) Bean property setter:patternProperties .JsonSchema.setPrefixItems(JsonSchemaArray prefixItems) Bean property setter:prefixItems .JsonSchema.setProperties(Map<String, JsonSchema> properties) Bean property setter:properties .JsonSchema.setReadOnly(Boolean readOnly) Bean property setter:readOnly .Bean property setter:$ref .JsonSchema.setRequired(List<String> required) Bean property setter:required .JsonSchema.setSchemaMap(JsonSchemaMap schemaMap) Associates a schema map with this schema for resolving other schemas identified through$ref properties.JsonSchema.setSchemaVersionUri(Object schemaVersion) Bean property setter:$schema .JsonSchema.setThen(JsonSchema then_) Bean property setter:then .Bean property setter:title .Bean property setter:type .JsonSchema.setUnevaluatedItems(JsonSchema unevaluatedItems) Bean property setter:unevaluatedItems .JsonSchema.setUnevaluatedProperties(JsonSchema unevaluatedProperties) Bean property setter:unevaluatedProperties .JsonSchema.setUniqueItems(Boolean uniqueItems) Bean property setter:uniqueItems .JsonSchema.setWriteOnly(Boolean writeOnly) Bean property setter:writeOnly .Methods in org.apache.juneau.bean.jsonschema that return types with arguments of type JsonSchemaModifier and TypeMethodDescriptionJsonSchema.getAdditionalItemsAsSchemaArray()Bean property getter:additionalItems .JsonSchema.getAllOf()Bean property getter:allOf .JsonSchema.getAnyOf()Bean property getter:anyOf .JsonSchema.getDefinitions()Bean property getter:definitions .JsonSchema.getDefs()Bean property getter:$defs .JsonSchema.getDependencies()Bean property getter:dependencies .JsonSchema.getDependentSchemas()Bean property getter:dependentSchemas .JsonSchema.getOneOf()Bean property getter:oneOf .JsonSchema.getPatternProperties()Bean property getter:patternProperties .JsonSchema.getProperties()Bean property getter:properties .Methods in org.apache.juneau.bean.jsonschema with parameters of type JsonSchemaModifier and TypeMethodDescriptionJsonSchemaMap.add(JsonSchema... schemas) Convenience method for pre-populating this map with the specified schemas.JsonSchema.addAdditionalItems(JsonSchema... additionalItems) Bean property appender:additionalItems .JsonSchemaProperty.addAdditionalItems(JsonSchema... additionalItems) JsonSchemaPropertySimpleArray.addAdditionalItems(JsonSchema... additionalItems) JsonSchemaRef.addAdditionalItems(JsonSchema... additionalItems) JsonSchemaArray.addAll(JsonSchema... schemas) Convenience method for adding one or moreJsonSchemaobjects to this array.JsonSchema.addAllOf(JsonSchema... allOf) Bean property appender:allOf .JsonSchemaProperty.addAllOf(JsonSchema... allOf) JsonSchemaPropertySimpleArray.addAllOf(JsonSchema... allOf) JsonSchemaRef.addAllOf(JsonSchema... allOf) JsonSchema.addAnyOf(JsonSchema... anyOf) Bean property appender:anyOf .JsonSchemaProperty.addAnyOf(JsonSchema... anyOf) JsonSchemaPropertySimpleArray.addAnyOf(JsonSchema... anyOf) JsonSchemaRef.addAnyOf(JsonSchema... anyOf) JsonSchema.addDef(String name, JsonSchema def) Bean property appender:$defs .JsonSchemaProperty.addDef(String name, JsonSchema def) JsonSchemaPropertySimpleArray.addDef(String name, JsonSchema def) JsonSchemaRef.addDef(String name, JsonSchema def) JsonSchema.addDefinition(String name, JsonSchema definition) Bean property appender:definitions .JsonSchemaProperty.addDefinition(String name, JsonSchema definition) JsonSchemaPropertySimpleArray.addDefinition(String name, JsonSchema definition) JsonSchemaRef.addDefinition(String name, JsonSchema definition) JsonSchema.addDependency(String name, JsonSchema dependency) Bean property appender:dependencies .JsonSchemaProperty.addDependency(String name, JsonSchema dependency) JsonSchemaPropertySimpleArray.addDependency(String name, JsonSchema dependency) JsonSchemaRef.addDependency(String name, JsonSchema dependency) JsonSchema.addDependentSchema(String name, JsonSchema schema) Bean property appender:dependentSchemas .JsonSchemaProperty.addDependentSchema(String name, JsonSchema schema) JsonSchemaPropertySimpleArray.addDependentSchema(String name, JsonSchema schema) JsonSchemaRef.addDependentSchema(String name, JsonSchema schema) JsonSchema.addItems(JsonSchema... items) Bean property appender:items .JsonSchemaProperty.addItems(JsonSchema... items) JsonSchemaPropertySimpleArray.addItems(JsonSchema... items) JsonSchemaRef.addItems(JsonSchema... items) JsonSchema.addOneOf(JsonSchema... oneOf) Bean property appender:oneOf .JsonSchemaProperty.addOneOf(JsonSchema... oneOf) JsonSchemaPropertySimpleArray.addOneOf(JsonSchema... oneOf) JsonSchemaRef.addOneOf(JsonSchema... oneOf) JsonSchema.addPrefixItems(JsonSchema... prefixItems) Bean property appender:prefixItems .JsonSchemaProperty.addPrefixItems(JsonSchema... prefixItems) JsonSchemaPropertySimpleArray.addPrefixItems(JsonSchema... prefixItems) JsonSchemaRef.addPrefixItems(JsonSchema... prefixItems) JsonSchema.addProperties(JsonSchema... properties) Bean property appender:properties .JsonSchemaProperty.addProperties(JsonSchema... properties) JsonSchemaPropertySimpleArray.addProperties(JsonSchema... properties) JsonSchemaRef.addProperties(JsonSchema... properties) JsonSchema.setElse(JsonSchema else_) Bean property setter:else .JsonSchema.setIf(JsonSchema if_) Bean property setter:if .protected voidJsonSchema.setMaster(JsonSchema master) Sets the master schema for this schema and all child schema objects.JsonSchema.setNot(JsonSchema not) Bean property setter:not .JsonSchemaProperty.setNot(JsonSchema not) JsonSchemaPropertySimpleArray.setNot(JsonSchema not) JsonSchemaRef.setNot(JsonSchema not) JsonSchema.setThen(JsonSchema then_) Bean property setter:then .JsonSchema.setUnevaluatedItems(JsonSchema unevaluatedItems) Bean property setter:unevaluatedItems .JsonSchemaProperty.setUnevaluatedItems(JsonSchema unevaluatedItems) JsonSchemaPropertySimpleArray.setUnevaluatedItems(JsonSchema unevaluatedItems) JsonSchemaRef.setUnevaluatedItems(JsonSchema unevaluatedItems) JsonSchema.setUnevaluatedProperties(JsonSchema unevaluatedProperties) Bean property setter:unevaluatedProperties .JsonSchemaProperty.setUnevaluatedProperties(JsonSchema unevaluatedProperties) JsonSchemaPropertySimpleArray.setUnevaluatedProperties(JsonSchema unevaluatedProperties) JsonSchemaRef.setUnevaluatedProperties(JsonSchema unevaluatedProperties) Method parameters in org.apache.juneau.bean.jsonschema with type arguments of type JsonSchemaModifier and TypeMethodDescriptionJsonSchema.setAllOf(List<JsonSchema> allOf) Bean property setter:allOf .JsonSchemaProperty.setAllOf(List<JsonSchema> allOf) JsonSchemaPropertySimpleArray.setAllOf(List<JsonSchema> allOf) JsonSchemaRef.setAllOf(List<JsonSchema> allOf) JsonSchema.setAnyOf(List<JsonSchema> anyOf) Bean property setter:anyOf .JsonSchemaProperty.setAnyOf(List<JsonSchema> anyOf) JsonSchemaPropertySimpleArray.setAnyOf(List<JsonSchema> anyOf) JsonSchemaRef.setAnyOf(List<JsonSchema> anyOf) JsonSchema.setDefinitions(Map<String, JsonSchema> definitions) Bean property setter:definitions .JsonSchemaProperty.setDefinitions(Map<String, JsonSchema> definitions) JsonSchemaPropertySimpleArray.setDefinitions(Map<String, JsonSchema> definitions) JsonSchemaRef.setDefinitions(Map<String, JsonSchema> definitions) JsonSchema.setDefs(Map<String, JsonSchema> defs) Bean property setter:$defs .JsonSchema.setDependencies(Map<String, JsonSchema> dependencies) Bean property setter:dependencies .JsonSchemaProperty.setDependencies(Map<String, JsonSchema> dependencies) JsonSchemaPropertySimpleArray.setDependencies(Map<String, JsonSchema> dependencies) JsonSchemaRef.setDependencies(Map<String, JsonSchema> dependencies) JsonSchema.setDependentSchemas(Map<String, JsonSchema> dependentSchemas) Bean property setter:dependentSchemas .JsonSchemaProperty.setDependentSchemas(Map<String, JsonSchema> dependentSchemas) JsonSchemaPropertySimpleArray.setDependentSchemas(Map<String, JsonSchema> dependentSchemas) JsonSchemaRef.setDependentSchemas(Map<String, JsonSchema> dependentSchemas) JsonSchema.setOneOf(List<JsonSchema> oneOf) Bean property setter:oneOf .JsonSchemaProperty.setOneOf(List<JsonSchema> oneOf) JsonSchemaPropertySimpleArray.setOneOf(List<JsonSchema> oneOf) JsonSchemaRef.setOneOf(List<JsonSchema> oneOf) JsonSchema.setPatternProperties(Map<String, JsonSchema> patternProperties) Bean property setter:patternProperties .JsonSchemaProperty.setPatternProperties(Map<String, JsonSchema> patternProperties) JsonSchemaPropertySimpleArray.setPatternProperties(Map<String, JsonSchema> patternProperties) JsonSchemaRef.setPatternProperties(Map<String, JsonSchema> patternProperties) JsonSchema.setProperties(Map<String, JsonSchema> properties) Bean property setter:properties .JsonSchemaProperty.setProperties(Map<String, JsonSchema> properties) JsonSchemaPropertySimpleArray.setProperties(Map<String, JsonSchema> properties) JsonSchemaRef.setProperties(Map<String, JsonSchema> properties) Constructors in org.apache.juneau.bean.jsonschema with parameters of type JsonSchemaModifierConstructorDescriptionJsonSchemaArray(JsonSchema... schemas) Constructor with predefined types to add to this list. -
Uses of JsonSchema in org.apache.juneau.examples.rest.dto
Methods in org.apache.juneau.examples.rest.dto that return JsonSchemaModifier and TypeMethodDescriptionJsonSchemaResource.get()[HTTP GET /dto/jsonSchema] Get the JSON-Schema document.JsonSchemaResource.put(JsonSchema schema) [HTTP PUT /dto/jsonSchema] Overwrite the JSON-Schema documentMethods in org.apache.juneau.examples.rest.dto with parameters of type JsonSchemaModifier and TypeMethodDescriptionJsonSchemaResource.put(JsonSchema schema) [HTTP PUT /dto/jsonSchema] Overwrite the JSON-Schema document
setIdUri(Object)instead.