jschon.vocabulary.legacy
- class jschon.vocabulary.legacy.AdditionalItemsKeyword_2019_09(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- 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.
- parentschema: JSONSchema
- class jschon.vocabulary.legacy.ItemsKeyword_2019_09(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- 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.
- parentschema: JSONSchema
- 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.
- parentschema: JSONSchema
- 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:
parentschema (JSONSchema) –
value (str) –
- __init__(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- resolve()
- Return type:
None
- key: str = '$recursiveRef'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.legacy.UnevaluatedItemsKeyword_2019_09(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- 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.
- key: str = 'unevaluatedItems'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema