diff options
Diffstat (limited to 'json/tests/draft-next/patternProperties.json')
-rw-r--r-- | json/tests/draft-next/patternProperties.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/json/tests/draft-next/patternProperties.json b/json/tests/draft-next/patternProperties.json index c276e64..c7aca3d 100644 --- a/json/tests/draft-next/patternProperties.json +++ b/json/tests/draft-next/patternProperties.json @@ -3,6 +3,7 @@ "description": "patternProperties validates properties matching a regex", "schema": { + "$schema": "https://json-schema.org/draft/next/schema", "patternProperties": { "f.*o": {"type": "integer"} } @@ -48,6 +49,7 @@ { "description": "multiple simultaneous patternProperties are validated", "schema": { + "$schema": "https://json-schema.org/draft/next/schema", "patternProperties": { "a*": {"type": "integer"}, "aaa*": {"maximum": 20} @@ -89,6 +91,7 @@ { "description": "regexes are not anchored by default and are case sensitive", "schema": { + "$schema": "https://json-schema.org/draft/next/schema", "patternProperties": { "[0-9]{2,}": { "type": "boolean" }, "X_": { "type": "string" } @@ -120,6 +123,7 @@ { "description": "patternProperties with boolean schemas", "schema": { + "$schema": "https://json-schema.org/draft/next/schema", "patternProperties": { "f.*": true, "b.*": false @@ -156,6 +160,7 @@ { "description": "patternProperties with null valued instance properties", "schema": { + "$schema": "https://json-schema.org/draft/next/schema", "patternProperties": { "^.*bar$": {"type": "null"} } |