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 Annotation
Applies To Object
Dialect 2019-09
Changed In Draft 4
Introduced In Draft 3
Vocabulary Applicator
Specification https://json-schema.org/draft/2019-09/draft-handrews-json-schema-02#rfc.section.9.3.2.2
Metaschema https://json-schema.org/draft/2019-09/meta/applicator
Official Tests draft2019-09/patternProperties.json
Default {}
Annotation Array The set of instance property names validated by this keyword's subschema
Affected By None
Affects
Also See