java.lang.Object
com.fasterxml.jackson.module.jsonSchema.JsonSchema
com.fasterxml.jackson.module.jsonSchema.types.HyperSchema

public class HyperSchema extends JsonSchema
This class represents the HyperSchema portion of a JsonSchema It is a skeleton intended as a starting point for customization.
  • Field Details

    • readOnly

      protected String readOnly
      This attribute indicates that the instance property SHOULD NOT be changed. Attempts by a user agent to modify the value of this property are expected to be rejected by a server.
    • contentEncoding

      protected String contentEncoding
      If the instance property value is a string, this attribute defines that the string SHOULD be interpreted as binary data and decoded using the encoding named by this jsonSchema property. RFC 2045, Sec 6.1 [RFC2045] lists the possible values for this property.
    • pathStart

      protected String pathStart
      This attribute is a URI that defines what the instance's URI MUST start with in order to validate. The value of the "pathStart" attribute MUST be resolved as per RFC 3986, Sec 5 [RFC3986], and is relative to the instance's URI. When multiple schemas have been referenced for an instance, the user agent can determine if this jsonSchema is applicable for a particular instance by determining if the URI of the instance begins with the the value of the "pathStart" attribute. If the URI of the instance does not start with this URI, or if another jsonSchema specifies a starting URI that is longer and also matches the instance, this jsonSchema SHOULD NOT be applied to the instance. Any jsonSchema that does not have a pathStart attribute SHOULD be considered applicable to all the instances for which it is referenced.
    • mediaType

      protected String mediaType
      This attribute defines the media type of the instance representations that this jsonSchema is defining.
    • fragmentResolution

      protected String fragmentResolution
      This property indicates the fragment resolution protocol to use for resolving fragment identifiers in URIs within the instance representations. This applies to the instance object URIs and all children of the instance object's URIs. The default fragment resolution protocol is "slash-delimited", which is defined below. Other fragment resolution protocols MAY be used, but are not defined in this document. The fragment identifier is based on RFC 2396, Sec 5 [RFC2396], and defines the mechanism for resolving references to entities within a document.
  • Constructor Details

    • HyperSchema

      public HyperSchema()
  • Method Details

    • getType

      public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes getType()
      Specified by:
      getType in class JsonSchema
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class JsonSchema
    • _equals

      protected boolean _equals(HyperSchema that)