pattern : String

pattern

String

A string instance is considered valid if the regular expression matches the instance successfully.

Value This keyword must be set to a valid ECMA-262 regular expression
Kind Assertion
Applies To String
Dialect Draft 4
Changed In None
Introduced In Draft 1
Vocabulary Validation
Specification https://json-schema.org/draft-04/draft-fge-json-schema-validation-00#rfc.section.5.2.3
Metaschema http://json-schema.org/draft-04/schema#
Official Tests
Default ".*"
Annotation None
Affected By None
Affects None
Also See