File tree Expand file tree Collapse file tree 1 file changed +34
-14
lines changed Expand file tree Collapse file tree 1 file changed +34
-14
lines changed Original file line number Diff line number Diff line change 5959 }
6060 }
6161 },
62- "if" : {
63- "const" : " skip not_a_real_anchor"
64- },
65- "then" : true ,
66- "else" : {
67- "$ref" : " #/$defs/const_not_anchor"
68- }
62+ "oneOf" : [
63+ {
64+ "const" : " skip not_a_real_anchor"
65+ },
66+ {
67+ "allOf" : [
68+ {
69+ "not" : {
70+ "const" : " skip not_a_real_anchor"
71+ }
72+ },
73+ {
74+ "$ref" : " #/$defs/const_not_anchor"
75+ }
76+ ]
77+ }
78+ ]
6979 },
7080 "tests" : [
7181 {
90100 }
91101 }
92102 },
93- "if" : {
94- "const" : " skip not_a_real_id"
95- },
96- "then" : true ,
97- "else" : {
98- "$ref" : " #/$defs/const_not_id"
99- }
103+ "oneOf" : [
104+ {
105+ "const" :" skip not_a_real_id"
106+ },
107+ {
108+ "allOf" : [
109+ {
110+ "not" : {
111+ "const" : " skip not_a_real_id"
112+ }
113+ },
114+ {
115+ "$ref" : " #/$defs/const_not_id"
116+ }
117+ ]
118+ }
119+ ]
100120 },
101121 "tests" : [
102122 {
You can’t perform that action at this time.
0 commit comments