Class JsonSchemaProperty

java.lang.Object
org.apache.juneau.dto.jsonschema.JsonSchema
org.apache.juneau.dto.jsonschema.JsonSchemaProperty
Direct Known Subclasses:
JsonSchemaPropertySimpleArray

public class JsonSchemaProperty extends JsonSchema
Represents a JSON property in the JSON-Schema core specification.
  • Constructor Details

    • JsonSchemaProperty

      Default constructor.
    • JsonSchemaProperty

      public JsonSchemaProperty(String name)
      Convenience constructor.
      Parameters:
      name - The name of this property.
    • JsonSchemaProperty

      public JsonSchemaProperty(String name, JsonType type)
      Convenience constructor.
      Parameters:
      name - The name of this property.
      type - The JSON type of this property.