File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed
tests/vanilla/src/main/resources/org/everit/json/schema/issues/issue480 Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "schemaLocation" : " #" ,
3
+ "pointerToViolation" : " #" ,
4
+ "causingExceptions" : [{
5
+ "pointerToViolation" : " #" ,
6
+ "causingExceptions" : [{
7
+ "schemaLocation" : " #/oneOf/2" ,
8
+ "pointerToViolation" : " #" ,
9
+ "causingExceptions" : [],
10
+ "keyword" : " required" ,
11
+ "message" : " required key [rest-url] not found"
12
+ }],
13
+ "keyword" : " oneOf" ,
14
+ "message" : " #: 2 subschemas matched instead of one"
15
+ }],
16
+ "keyword" : " allOf" ,
17
+ "message" : " #: only 1 subschema matches out of 2"
18
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "oneOf" : [
3
+ {"required" : [" union-query" ]},
4
+ {"required" : [" sql-string" ]},
5
+ {"required" : [" rest-url" ]},
6
+ ],
7
+ "type" : " object" ,
8
+ "additionalProperties" : false ,
9
+ "properties" : {
10
+ "union-query" : {"type" : " string" },
11
+ "rest-url" : {"type" : " string" },
12
+ "sql-string" : {"type" : " string" },
13
+ }
14
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "union-query" : " xyz" ,
3
+ "sql-string" : " xyz" ,
4
+ }
You can’t perform that action at this time.
0 commit comments