From da4a56845aae0583f3a7028652215f8cfe811e29 Mon Sep 17 00:00:00 2001 From: anmolbhadoriya5849 Date: Mon, 24 Nov 2025 14:21:44 +0530 Subject: [PATCH 1/9] Remove valid case for additionalItems validation Removed valid test case for additionalItems schema validation. --- tests/draft7/additionalItems.json | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/draft7/additionalItems.json b/tests/draft7/additionalItems.json index 2c7d1558..6ef4212b 100644 --- a/tests/draft7/additionalItems.json +++ b/tests/draft7/additionalItems.json @@ -117,22 +117,6 @@ } ] }, - { - "description": "additionalItems does not look in applicators, valid case", - "schema": { - "allOf": [ - { "items": [ { "type": "integer" } ] } - ], - "additionalItems": { "type": "boolean" } - }, - "tests": [ - { - "description": "items defined in allOf are not examined", - "data": [ 1, null ], - "valid": true - } - ] - }, { "description": "additionalItems does not look in applicators, invalid case", "schema": { From f3488882277af08d52e84693cc7f99da0ef6c6b6 Mon Sep 17 00:00:00 2001 From: anmolbhadoriya5849 Date: Wed, 26 Nov 2025 04:09:07 +0530 Subject: [PATCH 2/9] Remove valid test case for additionalItems Removed a valid test case for additionalItems schema validation. --- tests/draft2019-09/additionalItems.json | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/draft2019-09/additionalItems.json b/tests/draft2019-09/additionalItems.json index 9a7ae4f8..874613c0 100644 --- a/tests/draft2019-09/additionalItems.json +++ b/tests/draft2019-09/additionalItems.json @@ -127,23 +127,6 @@ } ] }, - { - "description": "additionalItems does not look in applicators, valid case", - "schema": { - "$schema": "https://json-schema.org/draft/2019-09/schema", - "allOf": [ - { "items": [ { "type": "integer" } ] } - ], - "additionalItems": { "type": "boolean" } - }, - "tests": [ - { - "description": "items defined in allOf are not examined", - "data": [ 1, null ], - "valid": true - } - ] - }, { "description": "additionalItems does not look in applicators, invalid case", "schema": { From 8ba96359651cd0fb2acac9468b5bdd2364ee594a Mon Sep 17 00:00:00 2001 From: anmolbhadoriya5849 Date: Wed, 26 Nov 2025 04:14:52 +0530 Subject: [PATCH 3/9] Remove test for additionalItems applicators Removed test case for additionalItems not looking in applicators. --- tests/draft3/additionalItems.json | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/draft3/additionalItems.json b/tests/draft3/additionalItems.json index ab44a2eb..7212377c 100644 --- a/tests/draft3/additionalItems.json +++ b/tests/draft3/additionalItems.json @@ -94,22 +94,6 @@ } ] }, - { - "description": "additionalItems does not look in applicators", - "schema": { - "extends": [ - { "items": [ { "type": "integer" } ] } - ], - "additionalItems": { "type": "boolean" } - }, - "tests": [ - { - "description": "items defined in extends are not examined", - "data": [ 1, null ], - "valid": true - } - ] - }, { "description": "additionalItems with heterogeneous array", "schema": { From a3feff79b0eb1939aa97ae720ded52d4458436a5 Mon Sep 17 00:00:00 2001 From: anmolbhadoriya5849 Date: Wed, 26 Nov 2025 04:15:54 +0530 Subject: [PATCH 4/9] Remove valid case for additionalItems validation Removed a valid test case for additionalItems schema validation. --- tests/draft4/additionalItems.json | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/draft4/additionalItems.json b/tests/draft4/additionalItems.json index c9e68154..fc33819b 100644 --- a/tests/draft4/additionalItems.json +++ b/tests/draft4/additionalItems.json @@ -94,22 +94,6 @@ } ] }, - { - "description": "additionalItems does not look in applicators, valid case", - "schema": { - "allOf": [ - { "items": [ { "type": "integer" } ] } - ], - "additionalItems": { "type": "boolean" } - }, - "tests": [ - { - "description": "items defined in allOf are not examined", - "data": [ 1, null ], - "valid": true - } - ] - }, { "description": "additionalItems does not look in applicators, invalid case", "schema": { From 756eebd6a8f646238027989cecb7899ff98a7d2c Mon Sep 17 00:00:00 2001 From: anmolbhadoriya5849 Date: Wed, 26 Nov 2025 04:16:39 +0530 Subject: [PATCH 5/9] Remove valid case for additionalItems validation Removed a valid test case for additionalItems schema validation. --- tests/draft6/additionalItems.json | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/draft6/additionalItems.json b/tests/draft6/additionalItems.json index 2c7d1558..6ef4212b 100644 --- a/tests/draft6/additionalItems.json +++ b/tests/draft6/additionalItems.json @@ -117,22 +117,6 @@ } ] }, - { - "description": "additionalItems does not look in applicators, valid case", - "schema": { - "allOf": [ - { "items": [ { "type": "integer" } ] } - ], - "additionalItems": { "type": "boolean" } - }, - "tests": [ - { - "description": "items defined in allOf are not examined", - "data": [ 1, null ], - "valid": true - } - ] - }, { "description": "additionalItems does not look in applicators, invalid case", "schema": { From 0d54c8286e89c7c2c242ef2fddad5e3bbc36cbc5 Mon Sep 17 00:00:00 2001 From: anmolbhadoriya5849 Date: Wed, 26 Nov 2025 04:18:28 +0530 Subject: [PATCH 6/9] Remove test for additionalProperties behavior Removed test case for additionalProperties not examining applicators. --- tests/v1/additionalProperties.json | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/v1/additionalProperties.json b/tests/v1/additionalProperties.json index 301b4552..a318de1a 100644 --- a/tests/v1/additionalProperties.json +++ b/tests/v1/additionalProperties.json @@ -120,23 +120,6 @@ } ] }, - { - "description": "additionalProperties does not look in applicators", - "schema": { - "$schema": "https://json-schema.org/v1", - "allOf": [ - {"properties": {"foo": {}}} - ], - "additionalProperties": {"type": "boolean"} - }, - "tests": [ - { - "description": "properties defined in allOf are not examined", - "data": {"foo": 1, "bar": true}, - "valid": false - } - ] - }, { "description": "additionalProperties with null valued instance properties", "schema": { From df833be4dc3225df8f34f846abb1dca12fd579b0 Mon Sep 17 00:00:00 2001 From: anmolbhadoriya5849 Date: Wed, 26 Nov 2025 04:23:18 +0530 Subject: [PATCH 7/9] Remove test case for additionalProperties behavior Removed test case for additionalProperties not considering applicators. --- tests/draft2020-12/additionalProperties.json | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/draft2020-12/additionalProperties.json b/tests/draft2020-12/additionalProperties.json index 9618575e..9bf55499 100644 --- a/tests/draft2020-12/additionalProperties.json +++ b/tests/draft2020-12/additionalProperties.json @@ -124,24 +124,6 @@ } ] }, - { - "description": "additionalProperties does not look in applicators", - "specification":[ { "core": "10.2", "quote": "Subschemas of applicator keywords evaluate the instance completely independently such that the results of one such subschema MUST NOT impact the results of sibling subschemas." } ], - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "allOf": [ - {"properties": {"foo": {}}} - ], - "additionalProperties": {"type": "boolean"} - }, - "tests": [ - { - "description": "properties defined in allOf are not examined", - "data": {"foo": 1, "bar": true}, - "valid": false - } - ] - }, { "description": "additionalProperties with null valued instance properties", "specification": [ { "core":"10.3.2.3" } ], From b4032b968258c276f5d7eb67c1fc3b868fecaf40 Mon Sep 17 00:00:00 2001 From: anmolbhadoriya5849 Date: Wed, 26 Nov 2025 13:41:15 +0530 Subject: [PATCH 8/9] Revert removal of additionalProperties applicator tests in draft2020-12 --- tests/draft2020-12/additionalProperties.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/draft2020-12/additionalProperties.json b/tests/draft2020-12/additionalProperties.json index 9bf55499..9618575e 100644 --- a/tests/draft2020-12/additionalProperties.json +++ b/tests/draft2020-12/additionalProperties.json @@ -124,6 +124,24 @@ } ] }, + { + "description": "additionalProperties does not look in applicators", + "specification":[ { "core": "10.2", "quote": "Subschemas of applicator keywords evaluate the instance completely independently such that the results of one such subschema MUST NOT impact the results of sibling subschemas." } ], + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "allOf": [ + {"properties": {"foo": {}}} + ], + "additionalProperties": {"type": "boolean"} + }, + "tests": [ + { + "description": "properties defined in allOf are not examined", + "data": {"foo": 1, "bar": true}, + "valid": false + } + ] + }, { "description": "additionalProperties with null valued instance properties", "specification": [ { "core":"10.3.2.3" } ], From 232f0795e771f32cc54b617bacf802a40cd946d2 Mon Sep 17 00:00:00 2001 From: anmolbhadoriya5849 Date: Wed, 26 Nov 2025 13:43:53 +0530 Subject: [PATCH 9/9] Revert removal of additionalProperties applicator tests in v1 --- tests/v1/additionalProperties.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/v1/additionalProperties.json b/tests/v1/additionalProperties.json index a318de1a..301b4552 100644 --- a/tests/v1/additionalProperties.json +++ b/tests/v1/additionalProperties.json @@ -120,6 +120,23 @@ } ] }, + { + "description": "additionalProperties does not look in applicators", + "schema": { + "$schema": "https://json-schema.org/v1", + "allOf": [ + {"properties": {"foo": {}}} + ], + "additionalProperties": {"type": "boolean"} + }, + "tests": [ + { + "description": "properties defined in allOf are not examined", + "data": {"foo": 1, "bar": true}, + "valid": false + } + ] + }, { "description": "additionalProperties with null valued instance properties", "schema": {