Skip to content

Commit fdabd3f

Browse files
authored
Merge pull request #795 from anmolbhadoriya5849/fix/issue-768-additionalItems-case
Remove valid case for additionalItems validation
2 parents a247442 + 232f079 commit fdabd3f

File tree

5 files changed

+0
-81
lines changed

5 files changed

+0
-81
lines changed

tests/draft2019-09/additionalItems.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -127,23 +127,6 @@
127127
}
128128
]
129129
},
130-
{
131-
"description": "additionalItems does not look in applicators, valid case",
132-
"schema": {
133-
"$schema": "https://json-schema.org/draft/2019-09/schema",
134-
"allOf": [
135-
{ "items": [ { "type": "integer" } ] }
136-
],
137-
"additionalItems": { "type": "boolean" }
138-
},
139-
"tests": [
140-
{
141-
"description": "items defined in allOf are not examined",
142-
"data": [ 1, null ],
143-
"valid": true
144-
}
145-
]
146-
},
147130
{
148131
"description": "additionalItems does not look in applicators, invalid case",
149132
"schema": {

tests/draft3/additionalItems.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -94,22 +94,6 @@
9494
}
9595
]
9696
},
97-
{
98-
"description": "additionalItems does not look in applicators",
99-
"schema": {
100-
"extends": [
101-
{ "items": [ { "type": "integer" } ] }
102-
],
103-
"additionalItems": { "type": "boolean" }
104-
},
105-
"tests": [
106-
{
107-
"description": "items defined in extends are not examined",
108-
"data": [ 1, null ],
109-
"valid": true
110-
}
111-
]
112-
},
11397
{
11498
"description": "additionalItems with heterogeneous array",
11599
"schema": {

tests/draft4/additionalItems.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -94,22 +94,6 @@
9494
}
9595
]
9696
},
97-
{
98-
"description": "additionalItems does not look in applicators, valid case",
99-
"schema": {
100-
"allOf": [
101-
{ "items": [ { "type": "integer" } ] }
102-
],
103-
"additionalItems": { "type": "boolean" }
104-
},
105-
"tests": [
106-
{
107-
"description": "items defined in allOf are not examined",
108-
"data": [ 1, null ],
109-
"valid": true
110-
}
111-
]
112-
},
11397
{
11498
"description": "additionalItems does not look in applicators, invalid case",
11599
"schema": {

tests/draft6/additionalItems.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -117,22 +117,6 @@
117117
}
118118
]
119119
},
120-
{
121-
"description": "additionalItems does not look in applicators, valid case",
122-
"schema": {
123-
"allOf": [
124-
{ "items": [ { "type": "integer" } ] }
125-
],
126-
"additionalItems": { "type": "boolean" }
127-
},
128-
"tests": [
129-
{
130-
"description": "items defined in allOf are not examined",
131-
"data": [ 1, null ],
132-
"valid": true
133-
}
134-
]
135-
},
136120
{
137121
"description": "additionalItems does not look in applicators, invalid case",
138122
"schema": {

tests/draft7/additionalItems.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -117,22 +117,6 @@
117117
}
118118
]
119119
},
120-
{
121-
"description": "additionalItems does not look in applicators, valid case",
122-
"schema": {
123-
"allOf": [
124-
{ "items": [ { "type": "integer" } ] }
125-
],
126-
"additionalItems": { "type": "boolean" }
127-
},
128-
"tests": [
129-
{
130-
"description": "items defined in allOf are not examined",
131-
"data": [ 1, null ],
132-
"valid": true
133-
}
134-
]
135-
},
136120
{
137121
"description": "additionalItems does not look in applicators, invalid case",
138122
"schema": {

0 commit comments

Comments
 (0)