diff options
author | Julian Berman <Julian@GrayVines.com> | 2022-08-31 17:37:32 +0300 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2022-08-31 17:37:32 +0300 |
commit | 2f15a98f9243b77ff8f546e8b28cbbdabd7fef23 (patch) | |
tree | 3e6370ffbd0dcb95f2bb93037702c1976497303c /json/tests/draft-next/pattern.json | |
parent | 575e786be8bad3f7bc628e2abe09defc3d7fb0bd (diff) | |
parent | 65802a7ebcd0b661c829307354ab0c24e1e05031 (diff) | |
download | jsonschema-2f15a98f9243b77ff8f546e8b28cbbdabd7fef23.tar.gz |
Merge commit '65802a7ebcd0b661c829307354ab0c24e1e05031'
* commit '65802a7ebcd0b661c829307354ab0c24e1e05031':
Squashed 'json/' changes from 4cfead7ba..6eaf7dff4
Diffstat (limited to 'json/tests/draft-next/pattern.json')
-rw-r--r-- | json/tests/draft-next/pattern.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/json/tests/draft-next/pattern.json b/json/tests/draft-next/pattern.json index 92db0f9..09c6d0f 100644 --- a/json/tests/draft-next/pattern.json +++ b/json/tests/draft-next/pattern.json @@ -1,7 +1,10 @@ [ { "description": "pattern validation", - "schema": {"pattern": "^a*$"}, + "schema": { + "$schema": "https://json-schema.org/draft/next/schema", + "pattern": "^a*$" + }, "tests": [ { "description": "a matching pattern is valid", @@ -47,7 +50,10 @@ }, { "description": "pattern is not anchored", - "schema": {"pattern": "a+"}, + "schema": { + "$schema": "https://json-schema.org/draft/next/schema", + "pattern": "a+" + }, "tests": [ { "description": "matches a substring", |