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)


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

def ==: (untyped other) -> bool

#definitionsHash[String, CanonicalSchema]

Returns:



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

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

#draftJSONSchema::draft

Returns:

  • (JSONSchema::draft)


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

def draft: () -> JSONSchema::draft

#eql?Boolean

Parameters:

  • other (Object)

Returns:

  • (Boolean)


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

def eql?: (untyped other) -> bool

#hashInteger

Returns:

  • (Integer)


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

def hash: () -> Integer

#inspectString

Returns:

  • (String)


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

def inspect: () -> String

#kindkind

Returns:



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

def kind: () -> kind

#satisfiable?Boolean

Returns:

  • (Boolean)


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

def satisfiable?: () -> bool

#to_json_schemaObject

Returns:

  • (Object)


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

def to_json_schema: () -> untyped

#viewview

Returns:



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

def view: () -> view