Class ContainerTypeSchema

Direct Known Subclasses:
ArraySchema, ObjectSchema

public abstract class ContainerTypeSchema extends SimpleTypeSchema
This class encapsulates the functionality of container type JsonSchema Array and Object
  • Field Details

    • enums

      protected Set<String> enums
      This provides an enumeration of all possible values that are valid for the instance property. This MUST be an array, and each item in the array represents a possible value for the instance value. If this attribute is defined, the instance value MUST be one of the values in the array in order for the schema to be valid. Comparison of enum values uses the same algorithm as defined in "uniqueItems" (Section 5.15).
    • oneOf

      protected Set<Object> oneOf
      This provides an enumeration of all possible values that are valid for the instance property. This MUST be an array, and each item in the array represents a possible value for the instance value. If this attribute is defined, the instance value MUST be one of the values in the array in order for the schema to be valid. Comparison of enum values uses the same algorithm as defined in "uniqueItems" (Section 5.15).
  • Constructor Details

    • ContainerTypeSchema

      public ContainerTypeSchema()
  • Method Details