jschon.vocabulary.validation

class jschon.vocabulary.validation.ConstKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

json: JSON
key: str = 'const'
parentschema: JSONSchema
class jschon.vocabulary.validation.DependentRequiredKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('object',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'dependentRequired'
parentschema: JSONSchema
class jschon.vocabulary.validation.EnumKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

json: JSON
key: str = 'enum'
parentschema: JSONSchema
class jschon.vocabulary.validation.ExclusiveMaximumKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('number',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'exclusiveMaximum'
parentschema: JSONSchema
class jschon.vocabulary.validation.ExclusiveMinimumKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('number',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'exclusiveMinimum'
parentschema: JSONSchema
class jschon.vocabulary.validation.MaxContainsKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

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.

json: JSON
key: str = 'maxContains'
parentschema: JSONSchema
class jschon.vocabulary.validation.MaxItemsKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('array',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'maxItems'
parentschema: JSONSchema
class jschon.vocabulary.validation.MaxLengthKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('string',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'maxLength'
parentschema: JSONSchema
class jschon.vocabulary.validation.MaxPropertiesKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('object',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'maxProperties'
parentschema: JSONSchema
class jschon.vocabulary.validation.MaximumKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('number',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'maximum'
parentschema: JSONSchema
class jschon.vocabulary.validation.MinContainsKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

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.

json: JSON
key: str = 'minContains'
parentschema: JSONSchema
class jschon.vocabulary.validation.MinItemsKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('array',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'minItems'
parentschema: JSONSchema
class jschon.vocabulary.validation.MinLengthKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('string',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'minLength'
parentschema: JSONSchema
class jschon.vocabulary.validation.MinPropertiesKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('object',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'minProperties'
parentschema: JSONSchema
class jschon.vocabulary.validation.MinimumKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('number',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'minimum'
parentschema: JSONSchema
class jschon.vocabulary.validation.MultipleOfKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('number',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'multipleOf'
parentschema: JSONSchema
class jschon.vocabulary.validation.PatternKeyword(parentschema, value)
Parameters
__init__(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('string',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'pattern'
parentschema: JSONSchema
class jschon.vocabulary.validation.RequiredKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('object',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'required'
parentschema: JSONSchema
class jschon.vocabulary.validation.TypeKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

json: JSON
key: str = 'type'
parentschema: JSONSchema
class jschon.vocabulary.validation.UniqueItemsKeyword(parentschema, value)
Parameters
evaluate(instance, result)
Parameters
Return type

None

instance_types: Tuple[str, ...] = ('array',)

The types of instance that the keyword can evaluate.

json: JSON
key: str = 'uniqueItems'
parentschema: JSONSchema