jschon.vocabulary.applicator
- class jschon.vocabulary.applicator.AdditionalPropertiesKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- depends_on: Tuple[str, ...] = ('properties', 'patternProperties')
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 = 'additionalProperties'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.AllOfKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = 'allOf'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.AnyOfKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = 'anyOf'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.ContainsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('array',)
The types of instance that the keyword can evaluate.
- key: str = 'contains'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.DependentSchemasKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('object',)
The types of instance that the keyword can evaluate.
- key: str = 'dependentSchemas'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.ElseKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- depends_on: Tuple[str, ...] = ('if',)
Keywords that must be evaluated before this keyword can be evaluated.
- key: str = 'else'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.IfKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = 'if'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.ItemsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- depends_on: Tuple[str, ...] = ('prefixItems',)
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 = 'items'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.NotKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = 'not'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.OneOfKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = 'oneOf'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.PatternPropertiesKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('object',)
The types of instance that the keyword can evaluate.
- key: str = 'patternProperties'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.PrefixItemsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('array',)
The types of instance that the keyword can evaluate.
- key: str = 'prefixItems'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.PropertiesKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('object',)
The types of instance that the keyword can evaluate.
- key: str = 'properties'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.PropertyNamesKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('object',)
The types of instance that the keyword can evaluate.
- key: str = 'propertyNames'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.ThenKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- depends_on: Tuple[str, ...] = ('if',)
Keywords that must be evaluated before this keyword can be evaluated.
- key: str = 'then'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.applicator.UnevaluatedItemsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- depends_on: Tuple[str, ...] = ('prefixItems', 'items', 'contains', '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
- class jschon.vocabulary.applicator.UnevaluatedPropertiesKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- depends_on: Tuple[str, ...] = ('properties', 'patternProperties', 'additionalProperties', 'if', 'then', 'else', 'dependentSchemas', 'allOf', 'anyOf', 'oneOf', 'not')
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.
- parentschema: JSONSchema