diff options
Diffstat (limited to 'json/tests/draft2020-12/maxLength.json')
-rw-r--r-- | json/tests/draft2020-12/maxLength.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/json/tests/draft2020-12/maxLength.json b/json/tests/draft2020-12/maxLength.json index 748b4da..b6eb034 100644 --- a/json/tests/draft2020-12/maxLength.json +++ b/json/tests/draft2020-12/maxLength.json @@ -1,7 +1,10 @@ [ { "description": "maxLength validation", - "schema": {"maxLength": 2}, + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "maxLength": 2 + }, "tests": [ { "description": "shorter is valid", @@ -32,7 +35,10 @@ }, { "description": "maxLength validation with a decimal", - "schema": {"maxLength": 2.0}, + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "maxLength": 2.0 + }, "tests": [ { "description": "shorter is valid", |