jschon.vocabulary.validation
- class jschon.vocabulary.validation.ConstKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = 'const'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.DependentRequiredKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('object',)
The types of instance that the keyword can evaluate.
- key: str = 'dependentRequired'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.EnumKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = 'enum'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.ExclusiveMaximumKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('number',)
The types of instance that the keyword can evaluate.
- key: str = 'exclusiveMaximum'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.ExclusiveMinimumKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('number',)
The types of instance that the keyword can evaluate.
- key: str = 'exclusiveMinimum'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MaxContainsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- depends_on: Tuple[str, ...] = ('contains',)
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 = 'maxContains'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MaxItemsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('array',)
The types of instance that the keyword can evaluate.
- key: str = 'maxItems'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MaxLengthKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('string',)
The types of instance that the keyword can evaluate.
- key: str = 'maxLength'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MaxPropertiesKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('object',)
The types of instance that the keyword can evaluate.
- key: str = 'maxProperties'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MaximumKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('number',)
The types of instance that the keyword can evaluate.
- key: str = 'maximum'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MinContainsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- depends_on: Tuple[str, ...] = ('contains', 'maxContains')
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 = 'minContains'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MinItemsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('array',)
The types of instance that the keyword can evaluate.
- key: str = 'minItems'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MinLengthKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('string',)
The types of instance that the keyword can evaluate.
- key: str = 'minLength'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MinPropertiesKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('object',)
The types of instance that the keyword can evaluate.
- key: str = 'minProperties'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MinimumKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('number',)
The types of instance that the keyword can evaluate.
- key: str = 'minimum'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.MultipleOfKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('number',)
The types of instance that the keyword can evaluate.
- key: str = 'multipleOf'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.PatternKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- __init__(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (str) –
- instance_types: Tuple[str, ...] = ('string',)
The types of instance that the keyword can evaluate.
- key: str = 'pattern'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.RequiredKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('object',)
The types of instance that the keyword can evaluate.
- key: str = 'required'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.TypeKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- key: str = 'type'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema
- class jschon.vocabulary.validation.UniqueItemsKeyword(parentschema, value)
- Parameters:
parentschema (JSONSchema) –
value (JSONCompatible) –
- instance_types: Tuple[str, ...] = ('array',)
The types of instance that the keyword can evaluate.
- key: str = 'uniqueItems'
The keyword name as it appears in a schema object.
- parentschema: JSONSchema