Class: JSONSchema::Canonical::CanonicalSchema

Inherits:
Object
  • Object
show all
Defined in:
sig/jsonschema.rbs

Overview

A schema reduced to canonical form: schemas accepting the same values share one form.

Instance Method Summary collapse

Instance Method Details

#==Boolean

Parameters:

  • other (Object)

Returns:

  • (Boolean)


53
# File 'sig/jsonschema.rbs', line 53

def ==: (untyped other) -> bool

#definitionCanonicalSchema?

Parameters:

  • uri (String)

Returns:



49
# File 'sig/jsonschema.rbs', line 49

def definition: (String uri) -> CanonicalSchema?

#definitionsHash[String, CanonicalSchema]

Returns:



50
# File 'sig/jsonschema.rbs', line 50

def definitions: () -> Hash[String, CanonicalSchema]

#draftJSONSchema::draft

Returns:

  • (JSONSchema::draft)


44
# File 'sig/jsonschema.rbs', line 44

def draft: () -> JSONSchema::draft

#eql?Boolean

Parameters:

  • other (Object)

Returns:

  • (Boolean)


54
# File 'sig/jsonschema.rbs', line 54

def eql?: (untyped other) -> bool

#hashInteger

Returns:

  • (Integer)


55
# File 'sig/jsonschema.rbs', line 55

def hash: () -> Integer

#inspectString

Returns:

  • (String)


52
# File 'sig/jsonschema.rbs', line 52

def inspect: () -> String

#intersectCanonicalSchema

Parameters:

Returns:



47
# File 'sig/jsonschema.rbs', line 47

def intersect: (CanonicalSchema other) -> CanonicalSchema

#kindkind

Returns:



45
# File 'sig/jsonschema.rbs', line 45

def kind: () -> kind

#negateCanonicalSchema?

Returns:



48
# File 'sig/jsonschema.rbs', line 48

def negate: () -> CanonicalSchema?

#satisfiable?Boolean

Returns:

  • (Boolean)


51
# File 'sig/jsonschema.rbs', line 51

def satisfiable?: () -> bool

#to_json_schemaObject

Returns:

  • (Object)


43
# File 'sig/jsonschema.rbs', line 43

def to_json_schema: () -> untyped

#viewview

Returns:



46
# File 'sig/jsonschema.rbs', line 46

def view: () -> view