Description
additionalItems
abiguity cref, L17
When we changed the specification to use annotations as the context in which some keywords behave, we included a clause that implementations which didn't use annotations may implement or optimize the processing of
additionalProperties
in another way which produces the same effect as the prior behaviour.
This sentence takes several reads to understand. Suggestion:
When we changed the specification to use annotations as the context in which some keywords behave, we included a clause that allowed implementations which didn't use annotations to optimize the processing of
additionalProperties
in another way in order to produce the same effect as the prior behaviour.
Therefore, "$id" MUST NOT contain a non-empty fragment, and SHOULD NOT contain an empty fragment.
This sounds contradictory. It may not be, but it sounds like it is. Can we add a couple examples of forbidden or unrecommended URIs?
I see that lines 1875-1877 refer to an appendix, but I don't see such invalid examples listed there.
Changed from
A value of 0 is allowed, but is only useful for setting a range of occurrences from 0 to the value of "maxContains". A value of 0 with no "maxContains" causes "contains" to always pass validation.
to
A value of 0 is allowed, but is only useful for setting a range of occurrences from 0 to the value of "maxContains". A value of 0 causes "minContains" to always pass validation (but validation can still fail against a "maxContains" keyword).
There is no longer any mention that minContains : 0
causes contains
to pass. I think this is important as the instance may not contain an item that matches contains
.
There was mention in core, L2375-2379, but maybe it bears repeating here.