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 59
59
}
60
60
}
61
61
},
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
+ ]
69
79
},
70
80
"tests" : [
71
81
{
90
100
}
91
101
}
92
102
},
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
+ ]
100
120
},
101
121
"tests" : [
102
122
{
You can’t perform that action at this time.
0 commit comments