summaryrefslogtreecommitdiff
path: root/json/tests/draft2019-09/minLength.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2019-09/minLength.json')
-rw-r--r--json/tests/draft2019-09/minLength.json10
1 files changed, 8 insertions, 2 deletions
diff --git a/json/tests/draft2019-09/minLength.json b/json/tests/draft2019-09/minLength.json
index 64db948..19dec2c 100644
--- a/json/tests/draft2019-09/minLength.json
+++ b/json/tests/draft2019-09/minLength.json
@@ -1,7 +1,10 @@
[
{
"description": "minLength validation",
- "schema": {"minLength": 2},
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
+ "minLength": 2
+ },
"tests": [
{
"description": "longer is valid",
@@ -32,7 +35,10 @@
},
{
"description": "minLength validation with a decimal",
- "schema": {"minLength": 2.0},
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
+ "minLength": 2.0
+ },
"tests": [
{
"description": "longer is valid",