disallow : String | Array<String>

disallow

String | Array<String>

Validation succeeds if the type of the instance does not match the type represented by the given type, or does not match at least one of the given types.

Value This keyword is opposite of the type keyword. If the instance is set to either a string that corresponds to one of the supported types, or any instance matching the values in a non-empty array of unique strings that correspond to one of the supported types, the instance is invalid
Kind Assertion
Applies To Any
Dialect Draft 3
Changed In None
Introduced In Draft 1
Vocabulary Core
Specification https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.25
Metaschema http://json-schema.org/draft-03/schema#
Official Tests draft3/disallow.json
Default [ "null", "boolean", "object", "array", "number", "string", "any"]
Annotation None
Affected By None
Affects None