jschon.vocabulary.legacy
- class jschon.vocabulary.legacy.AdditionalItemsKeyword_2019_09(parentschema, value)
- Parameters
parentschema (jschon.jsonschema.JSONSchema) –
value (JSONCompatible) –
- evaluate(instance, result)
- Parameters
instance (jschon.json.JSON) –
result (jschon.jsonschema.Result) –
- 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.
- json: JSON
- key: str = 'additionalItems'
- parentschema: JSONSchema
- class jschon.vocabulary.legacy.ItemsKeyword_2019_09(parentschema, value)
- Parameters
parentschema (jschon.jsonschema.JSONSchema) –
value (JSONCompatible) –
- evaluate(instance, result)
- Parameters
instance (jschon.json.JSON) –
result (jschon.jsonschema.Result) –
- Return type
None
- instance_types: Tuple[str, ...] = ('array',)
The types of instance that the keyword can evaluate.
- json: JSON
- key: str = 'items'
- parentschema: JSONSchema
- class jschon.vocabulary.legacy.RecursiveAnchorKeyword_2019_09(parentschema, value)
- Parameters
parentschema (jschon.jsonschema.JSONSchema) –
value (JSONCompatible) –
- json: JSON
- key: str = '$recursiveAnchor'
- parentschema: JSONSchema
- static: bool = True
- class jschon.vocabulary.legacy.RecursiveRefKeyword_2019_09(parentschema, value)
- Parameters
parentschema (jschon.jsonschema.JSONSchema) –
value (str) –
- __init__(parentschema, value)
- Parameters
parentschema (jschon.jsonschema.JSONSchema) –
value (str) –
- evaluate(instance, result)
- Parameters
instance (jschon.json.JSON) –
result (jschon.jsonschema.Result) –
- Return type
None
- resolve()
- Return type
None
- json: JSON
- key: str = '$recursiveRef'
- parentschema: JSONSchema
- class jschon.vocabulary.legacy.UnevaluatedItemsKeyword_2019_09(parentschema, value)
- Parameters
parentschema (jschon.jsonschema.JSONSchema) –
value (JSONCompatible) –
- evaluate(instance, result)
- Parameters
instance (jschon.json.JSON) –
result (jschon.jsonschema.Result) –
- Return type
None
- depends_on: Tuple[str, ...] = ('items', 'additionalItems', 'if', 'then', 'else', 'allOf', 'anyOf', 'oneOf', 'not')
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.
- json: JSON
- key: str = 'unevaluatedItems'
- parentschema: JSONSchema