patternProperties : Object<String, Schema>
patternProperties
Object<String, Schema>Validation succeeds if, for each instance name that matches any regular expressions that appear as a property name in this keyword’s value, the child instance for that name successfully validates against each schema that corresponds to a matching regular expression.
Value | This keyword must be set to an object where each key is a valid ECMA-262 regular expression and each value is a valid JSON Schema |
---|---|
Kind | Applicator |
Applies To | Object |
Dialect | Draft 3 |
Changed In | None |
Introduced In | Draft 3 |
Vocabulary | Core |
Specification | https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.3 |
Metaschema | http://json-schema.org/draft-03/schema# |
Official Tests | draft3/patternProperties.json |
Default |
{}
|
Annotation | None |
Affected By | None |
Affects |
|
Also See |
|