jschon.vocabulary.core
- class jschon.vocabulary.core.AnchorKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- __init__(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- key: str = '$anchor'
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.core.CommentKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = '$comment'
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.core.DefsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = '$defs'
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.core.DynamicAnchorKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- __init__(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- key: str = '$dynamicAnchor'
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.core.DynamicRefKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- __init__(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- resolve()
- Return type:
None
- key: str = '$dynamicRef'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.core.IdKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- __init__(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- key: str = '$id'
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.core.RefKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- __init__(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- resolve()
- Return type:
None
- key: str = '$ref'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.core.SchemaKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- __init__(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- key: str = '$schema'
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.core.VocabularyKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (Mapping[str, bool]) –
- __init__(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (Mapping[str, bool]) –
- key: str = '$vocabulary'
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.