File tree Expand file tree Collapse file tree 3 files changed +0
-78
lines changed Expand file tree Collapse file tree 3 files changed +0
-78
lines changed Original file line number Diff line number Diff line change 127
127
}
128
128
]
129
129
},
130
- {
131
- "description" : " nested anyOf, to check validation semantics" ,
132
- "schema" : {
133
- "anyOf" : [
134
- {
135
- "anyOf" : [
136
- {
137
- "type" : " null"
138
- }
139
- ]
140
- }
141
- ]
142
- },
143
- "tests" : [
144
- {
145
- "description" : " null is valid" ,
146
- "data" : null ,
147
- "valid" : true
148
- },
149
- {
150
- "description" : " anything non-null is invalid" ,
151
- "data" : 123 ,
152
- "valid" : false
153
- }
154
- ]
155
- },
156
130
{
157
131
"description" : " nested anyOf, to check validation semantics" ,
158
132
"schema" : {
Original file line number Diff line number Diff line change 160
160
}
161
161
]
162
162
},
163
- {
164
- "description" : " nested anyOf, to check validation semantics" ,
165
- "schema" : {
166
- "anyOf" : [
167
- {
168
- "anyOf" : [
169
- {
170
- "type" : " null"
171
- }
172
- ]
173
- }
174
- ]
175
- },
176
- "tests" : [
177
- {
178
- "description" : " null is valid" ,
179
- "data" : null ,
180
- "valid" : true
181
- },
182
- {
183
- "description" : " anything non-null is invalid" ,
184
- "data" : 123 ,
185
- "valid" : false
186
- }
187
- ]
188
- },
189
163
{
190
164
"description" : " nested anyOf, to check validation semantics" ,
191
165
"schema" : {
Original file line number Diff line number Diff line change 160
160
}
161
161
]
162
162
},
163
- {
164
- "description" : " nested anyOf, to check validation semantics" ,
165
- "schema" : {
166
- "anyOf" : [
167
- {
168
- "anyOf" : [
169
- {
170
- "type" : " null"
171
- }
172
- ]
173
- }
174
- ]
175
- },
176
- "tests" : [
177
- {
178
- "description" : " null is valid" ,
179
- "data" : null ,
180
- "valid" : true
181
- },
182
- {
183
- "description" : " anything non-null is invalid" ,
184
- "data" : 123 ,
185
- "valid" : false
186
- }
187
- ]
188
- },
189
163
{
190
164
"description" : " nested anyOf, to check validation semantics" ,
191
165
"schema" : {
You can’t perform that action at this time.
0 commit comments