File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 22622262 Omitting this keyword has the same behavior as an empty object.
22632263 </t >
22642264 </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 >
22652284 </section >
22662285 </section >
22672286 <section title =" Keywords for Applying Subschemas to Child Instances" >
@@ -3854,6 +3873,7 @@ https://example.com/schemas/common#/$defs/count/minimum
38543873 <t hangText =" draft-bhutton-json-schema-next" >
38553874 <list style =" symbols" >
38563875 <t >"contains" now applies to objects as well as arrays</t >
3876+ <t >Add "propertyDependencies" keyword</t >
38573877 </list >
38583878 </t >
38593879 <t hangText =" draft-bhutton-json-schema-00" >
You can’t perform that action at this time.
0 commit comments