File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 2262
2262
Omitting this keyword has the same behavior as an empty object.
2263
2263
</t >
2264
2264
</section >
2265
+ <section title =" dependentProperties" >
2266
+ <t >
2267
+ This keyword specifies subschemas that are evaluted if the instance is
2268
+ an object and contains a certain property with a certain string value.
2269
+ </t >
2270
+ <t >
2271
+ This keyword's value MUST be an object. Each value in the object MUST be
2272
+ an object whose values MUST be valid JSON Schemas.
2273
+ </t >
2274
+ <t >
2275
+ If the outer object key is a property in the instance and the inner
2276
+ object key is equal to the value of that property, the entire instance
2277
+ must validate against the schema. Its use is dependent on the presence
2278
+ and value of the property.
2279
+ </t >
2280
+ <t >
2281
+ Omitting this keyword has the same behavior as an empty object.
2282
+ </t >
2283
+ </section >
2265
2284
</section >
2266
2285
</section >
2267
2286
<section title =" Keywords for Applying Subschemas to Child Instances" >
@@ -3854,6 +3873,7 @@ https://example.com/schemas/common#/$defs/count/minimum
3854
3873
<t hangText =" draft-bhutton-json-schema-next" >
3855
3874
<list style =" symbols" >
3856
3875
<t >"contains" now applies to objects as well as arrays</t >
3876
+ <t >Add "propertyDependencies" keyword</t >
3857
3877
</list >
3858
3878
</t >
3859
3879
<t hangText =" draft-bhutton-json-schema-00" >
You can’t perform that action at this time.
0 commit comments