summaryrefslogtreecommitdiff
path: root/json/tests/draft-next/pattern.json
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-08-31 17:37:32 +0300
committerJulian Berman <Julian@GrayVines.com>2022-08-31 17:37:32 +0300
commit2f15a98f9243b77ff8f546e8b28cbbdabd7fef23 (patch)
tree3e6370ffbd0dcb95f2bb93037702c1976497303c /json/tests/draft-next/pattern.json
parent575e786be8bad3f7bc628e2abe09defc3d7fb0bd (diff)
parent65802a7ebcd0b661c829307354ab0c24e1e05031 (diff)
downloadjsonschema-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.json10
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",