Class: JSONSchema::Canonical::CanonicalSchema
- Inherits:
-
Object
- Object
- JSONSchema::Canonical::CanonicalSchema
- Defined in:
- sig/jsonschema.rbs
Overview
A schema reduced to canonical form: schemas accepting the same values share one form.
Instance Method Summary collapse
- #== ⇒ Boolean
- #covers ⇒ containment
- #definition ⇒ CanonicalSchema?
- #definitions ⇒ Hash[String, CanonicalSchema]
- #draft ⇒ JSONSchema::draft
- #eql? ⇒ Boolean
- #hash ⇒ Integer
- #inspect ⇒ String
- #intersect ⇒ CanonicalSchema
- #kind ⇒ kind
- #negate ⇒ CanonicalSchema
- #satisfiability ⇒ satisfiability
- #subtract ⇒ CanonicalSchema
- #to_json_schema ⇒ Object
- #union ⇒ CanonicalSchema
- #view ⇒ view
Instance Method Details
#== ⇒ Boolean
114 |
# File 'sig/jsonschema.rbs', line 114
def ==: (untyped other) -> bool
|
#covers ⇒ containment
108 |
# File 'sig/jsonschema.rbs', line 108
def covers: (CanonicalSchema other) -> containment
|
#definition ⇒ CanonicalSchema?
110 |
# File 'sig/jsonschema.rbs', line 110
def definition: (String uri) -> CanonicalSchema?
|
#definitions ⇒ Hash[String, CanonicalSchema]
111 |
# File 'sig/jsonschema.rbs', line 111
def definitions: () -> Hash[String, CanonicalSchema]
|
#draft ⇒ JSONSchema::draft
102 |
# File 'sig/jsonschema.rbs', line 102
def draft: () -> JSONSchema::draft
|
#eql? ⇒ Boolean
115 |
# File 'sig/jsonschema.rbs', line 115
def eql?: (untyped other) -> bool
|
#hash ⇒ Integer
116 |
# File 'sig/jsonschema.rbs', line 116
def hash: () -> Integer
|
#inspect ⇒ String
113 |
# File 'sig/jsonschema.rbs', line 113
def inspect: () -> String
|
#intersect ⇒ CanonicalSchema
105 |
# File 'sig/jsonschema.rbs', line 105
def intersect: (CanonicalSchema other) -> CanonicalSchema
|
#negate ⇒ CanonicalSchema
109 |
# File 'sig/jsonschema.rbs', line 109
def negate: () -> CanonicalSchema
|
#satisfiability ⇒ satisfiability
112 |
# File 'sig/jsonschema.rbs', line 112
def satisfiability: () -> satisfiability
|
#subtract ⇒ CanonicalSchema
107 |
# File 'sig/jsonschema.rbs', line 107
def subtract: (CanonicalSchema other) -> CanonicalSchema
|
#to_json_schema ⇒ Object
101 |
# File 'sig/jsonschema.rbs', line 101
def to_json_schema: () -> untyped
|
#union ⇒ CanonicalSchema
106 |
# File 'sig/jsonschema.rbs', line 106
def union: (CanonicalSchema other) -> CanonicalSchema
|