summaryrefslogtreecommitdiff
path: root/json/tests/draft2020-12/minItems.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2020-12/minItems.json')
-rw-r--r--json/tests/draft2020-12/minItems.json10
1 files changed, 8 insertions, 2 deletions
diff --git a/json/tests/draft2020-12/minItems.json b/json/tests/draft2020-12/minItems.json
index d3b1872..9d6a8b6 100644
--- a/json/tests/draft2020-12/minItems.json
+++ b/json/tests/draft2020-12/minItems.json
@@ -1,7 +1,10 @@
[
{
"description": "minItems validation",
- "schema": {"minItems": 1},
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "minItems": 1
+ },
"tests": [
{
"description": "longer is valid",
@@ -27,7 +30,10 @@
},
{
"description": "minItems validation with a decimal",
- "schema": {"minItems": 1.0},
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "minItems": 1.0
+ },
"tests": [
{
"description": "longer is valid",