jschon.vocabulary.legacy

class jschon.vocabulary.legacy.AdditionalItemsKeyword_2019_09(parentschema, value)
Parameters:
  • parentschema (JSONSchema) –

  • value (JSONCompatible) –

evaluate(instance, result)
Parameters:
Return type:

None

depends_on: Tuple[str, ...] = ('items',)

Keywords that must be evaluated before this keyword can be evaluated.

instance_types: Tuple[str, ...] = ('array',)

The types of instance that the keyword can evaluate.

key: str = 'additionalItems'

The keyword name as it appears in a schema object.

class jschon.vocabulary.legacy.ItemsKeyword_2019_09(parentschema, value)
Parameters:
  • parentschema (JSONSchema) –

  • value (JSONCompatible) –

evaluate(instance, result)
Parameters:
Return type:

None

instance_types: Tuple[str, ...] = ('array',)

The types of instance that the keyword can evaluate.

key: str = 'items'

The keyword name as it appears in a schema object.

class jschon.vocabulary.legacy.RecursiveAnchorKeyword_2019_09(parentschema, value)
Parameters:
  • parentschema (JSONSchema) –

  • value (JSONCompatible) –

key: str = '$recursiveAnchor'

The keyword name as it appears in a schema object.

static: bool = True

static = True (equivalent to instance_types = ()) indicates that the keyword does not ever evaluate any instance.

class jschon.vocabulary.legacy.RecursiveRefKeyword_2019_09(parentschema, value)
Parameters:
__init__(parentschema, value)
Parameters:
evaluate(instance, result)
Parameters:
Return type:

None

resolve()
Return type:

None

key: str = '$recursiveRef'

The keyword name as it appears in a schema object.

class jschon.vocabulary.legacy.UnevaluatedItemsKeyword_2019_09(parentschema, value)
Parameters:
  • parentschema (JSONSchema) –

  • value (JSONCompatible) –

evaluate(instance, result)
Parameters:
Return type:

None

depends_on: Tuple[str, ...] = ('items', 'additionalItems', 'if', 'then', 'else', 'allOf', 'anyOf', 'oneOf', 'not', '$ref', '$recursiveRef')

Keywords that must be evaluated before this keyword can be evaluated.

instance_types: Tuple[str, ...] = ('array',)

The types of instance that the keyword can evaluate.

key: str = 'unevaluatedItems'

The keyword name as it appears in a schema object.

class jschon.vocabulary.legacy.UnevaluatedPropertiesKeyword_2019_09(parentschema, value)
Parameters:
  • parentschema (JSONSchema) –

  • value (JSONCompatible) –

evaluate(instance, result)
Parameters:
Return type:

None

depends_on: Tuple[str, ...] = ('properties', 'patternProperties', 'additionalProperties', 'if', 'then', 'else', 'dependentSchemas', 'allOf', 'anyOf', 'oneOf', 'not', '$ref', '$recursiveRef')

Keywords that must be evaluated before this keyword can be evaluated.

instance_types: Tuple[str, ...] = ('object',)

The types of instance that the keyword can evaluate.

key: str = 'unevaluatedProperties'

The keyword name as it appears in a schema object.