File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 9090 " c" {:type " string" }
9191 " d" {:type " string" }
9292 " e" {:type " string" }}
93- :required [" spec-tools.json-schema-test/a"
94- " spec-tools.json-schema-test/b"
95- " spec-tools.json-schema-test/c"
96- " spec-tools.json-schema-test/d"
97- " a"
98- " b"
99- " c"
100- " d" ]}))
93+ :allOf [{ : required [" spec-tools.json-schema-test/a" ]}
94+ { :anyOf [{ :required [ " spec-tools.json-schema-test/b" ]}
95+ { :allOf [{ :required [ " spec-tools.json-schema-test/c" ]}
96+ { :required [ " spec-tools.json-schema-test/d" ]}]}]}
97+ { :required [ " a" ]}
98+ { :anyOf [{ :required [ " b" ]}
99+ { :allOf [{ :required [ " c" ]}
100+ { :required [ " d" ]}]}]} ]}))
101101 (is (= (jsc/transform ::keys-no-req )
102102 {:type " object"
103103 :title " spec-tools.json-schema-test/keys-no-req"
You can’t perform that action at this time.
0 commit comments