From 29150e24ed59ad81bd8faa25386bcca17c30e199 Mon Sep 17 00:00:00 2001 From: Guflly <145608489+Guflly@users.noreply.github.com> Date: Fri, 31 Jul 2026 05:52:05 -0700 Subject: [PATCH] tests: add minLength specification links --- tests/draft2019-09/minLength.json | 10 ++++++++++ tests/draft2020-12/minLength.json | 10 ++++++++++ tests/draft3/minLength.json | 5 +++++ tests/draft4/minLength.json | 5 +++++ tests/draft6/minLength.json | 10 ++++++++++ tests/draft7/minLength.json | 10 ++++++++++ 6 files changed, 50 insertions(+) diff --git a/tests/draft2019-09/minLength.json b/tests/draft2019-09/minLength.json index 12782660c..04000ec42 100644 --- a/tests/draft2019-09/minLength.json +++ b/tests/draft2019-09/minLength.json @@ -1,6 +1,11 @@ [ { "description": "minLength validation", + "specification": [ + { + "validation": "6.3.2" + } + ], "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "minLength": 2 @@ -35,6 +40,11 @@ }, { "description": "minLength validation with a decimal", + "specification": [ + { + "validation": "6.3.2" + } + ], "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "minLength": 2.0 diff --git a/tests/draft2020-12/minLength.json b/tests/draft2020-12/minLength.json index 5076c5a92..9302f91c9 100644 --- a/tests/draft2020-12/minLength.json +++ b/tests/draft2020-12/minLength.json @@ -1,6 +1,11 @@ [ { "description": "minLength validation", + "specification": [ + { + "validation": "6.3.2" + } + ], "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "minLength": 2 @@ -35,6 +40,11 @@ }, { "description": "minLength validation with a decimal", + "specification": [ + { + "validation": "6.3.2" + } + ], "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "minLength": 2.0 diff --git a/tests/draft3/minLength.json b/tests/draft3/minLength.json index 6652c7509..e00d95579 100644 --- a/tests/draft3/minLength.json +++ b/tests/draft3/minLength.json @@ -1,6 +1,11 @@ [ { "description": "minLength validation", + "specification": [ + { + "core": "5.17" + } + ], "schema": {"minLength": 2}, "tests": [ { diff --git a/tests/draft4/minLength.json b/tests/draft4/minLength.json index 6652c7509..a4062797d 100644 --- a/tests/draft4/minLength.json +++ b/tests/draft4/minLength.json @@ -1,6 +1,11 @@ [ { "description": "minLength validation", + "specification": [ + { + "validation": "5.2.2" + } + ], "schema": {"minLength": 2}, "tests": [ { diff --git a/tests/draft6/minLength.json b/tests/draft6/minLength.json index 23c68fe3f..e4a275250 100644 --- a/tests/draft6/minLength.json +++ b/tests/draft6/minLength.json @@ -1,6 +1,11 @@ [ { "description": "minLength validation", + "specification": [ + { + "validation": "6.7" + } + ], "schema": {"minLength": 2}, "tests": [ { @@ -32,6 +37,11 @@ }, { "description": "minLength validation with a decimal", + "specification": [ + { + "validation": "6.7" + } + ], "schema": {"minLength": 2.0}, "tests": [ { diff --git a/tests/draft7/minLength.json b/tests/draft7/minLength.json index 23c68fe3f..2a9c8c17a 100644 --- a/tests/draft7/minLength.json +++ b/tests/draft7/minLength.json @@ -1,6 +1,11 @@ [ { "description": "minLength validation", + "specification": [ + { + "validation": "6.3.2" + } + ], "schema": {"minLength": 2}, "tests": [ { @@ -32,6 +37,11 @@ }, { "description": "minLength validation with a decimal", + "specification": [ + { + "validation": "6.3.2" + } + ], "schema": {"minLength": 2.0}, "tests": [ {