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
- #definition ⇒ CanonicalSchema?
- #definitions ⇒ Hash[String, CanonicalSchema]
- #draft ⇒ JSONSchema::draft
- #eql? ⇒ Boolean
- #hash ⇒ Integer
- #inspect ⇒ String
- #intersect ⇒ CanonicalSchema
- #kind ⇒ kind
- #negate ⇒ CanonicalSchema?
- #satisfiable? ⇒ Boolean
- #to_json_schema ⇒ Object
- #view ⇒ view
Instance Method Details
#== ⇒ Boolean
53 |
# File 'sig/jsonschema.rbs', line 53
def ==: (untyped other) -> bool
|
#definition ⇒ CanonicalSchema?
49 |
# File 'sig/jsonschema.rbs', line 49
def definition: (String uri) -> CanonicalSchema?
|
#definitions ⇒ Hash[String, CanonicalSchema]
50 |
# File 'sig/jsonschema.rbs', line 50
def definitions: () -> Hash[String, CanonicalSchema]
|
#draft ⇒ JSONSchema::draft
44 |
# File 'sig/jsonschema.rbs', line 44
def draft: () -> JSONSchema::draft
|
#eql? ⇒ Boolean
54 |
# File 'sig/jsonschema.rbs', line 54
def eql?: (untyped other) -> bool
|
#hash ⇒ Integer
55 |
# File 'sig/jsonschema.rbs', line 55
def hash: () -> Integer
|
#inspect ⇒ String
52 |
# File 'sig/jsonschema.rbs', line 52
def inspect: () -> String
|
#intersect ⇒ CanonicalSchema
47 |
# File 'sig/jsonschema.rbs', line 47
def intersect: (CanonicalSchema other) -> CanonicalSchema
|
#negate ⇒ CanonicalSchema?
48 |
# File 'sig/jsonschema.rbs', line 48
def negate: () -> CanonicalSchema?
|
#satisfiable? ⇒ Boolean
51 |
# File 'sig/jsonschema.rbs', line 51
def satisfiable?: () -> bool
|
#to_json_schema ⇒ Object
43 |
# File 'sig/jsonschema.rbs', line 43
def to_json_schema: () -> untyped
|