@@ -1956,11 +1956,11 @@ keyword's annotation causes `contains` to assume a minimum value of 1.
1956
1956
1957
1957
The value of this keyword MUST be a valid JSON Schema.
1958
1958
1959
- This keyword applies its subschema to array elements or object property values .
1959
+ This keyword applies its subschema to array elements.
1960
1960
1961
- An instance is valid against ` contains ` if the number of elements or property
1962
- values that are valid against its subschema is with the inclusive range of the
1963
- minimum and (if any) maximum number of occurrences.
1961
+ An instance is valid against ` contains ` if the number of elements that are valid
1962
+ against its subschema is with the inclusive range of the minimum and (if any)
1963
+ maximum number of occurrences.
1964
1964
1965
1965
The maximum number of occurrences is provided by the ` maxContains ` keyword
1966
1966
within the same schema object as ` contains ` . If ` maxContains ` is absent, the
@@ -1970,24 +1970,23 @@ The minimum number of occurrences is provided by the `minContains` keyword
1970
1970
within the same schema object as ` contains ` . If ` minContains ` is absent, the
1971
1971
minimum number of occurrences MUST be 1.
1972
1972
1973
- Implementations MAY implement the dependency on ` minContians ` and ` maxContains `
1973
+ Implementations MAY implement the dependency on ` minContains ` and ` maxContains `
1974
1974
by inspecting their values rather than reading annotations produced by those
1975
1975
keywords.
1976
1976
1977
- This keyword produces an annotation value which is an array of the indexes or
1978
- property names to which this keyword validates successfully when applying its
1979
- subschema, in ascending order. The value MAY be a boolean ` true ` if the
1980
- subschema validates successfully when applied to every index or property value
1981
- of the instance. The annotation MUST be present if the instance array or object
1982
- to which this keyword's schema applies is empty.
1977
+ This keyword produces an annotation value which is an array of the indexes to
1978
+ which this keyword validates successfully when applying its subschema, in
1979
+ ascending order. The value MAY be a boolean ` true ` if the subschema validates
1980
+ successfully when applied to every index of the instance. The annotation MUST be
1981
+ present if the instance array or object to which this keyword's schema applies
1982
+ is empty.
1983
1983
1984
1984
This annotation affects the behavior of ` unevaluatedItems ` in the Unevaluated
1985
1985
vocabulary.
1986
1986
1987
- The subschema MUST be applied to every array element or object property value
1988
- even after the first match has been found, in order to collect annotations for
1989
- use by other keywords. This is to ensure that all possible annotations are
1990
- collected.
1987
+ The subschema MUST be applied to every array element even after the first match
1988
+ has been found, in order to collect annotations for use by other keywords. This
1989
+ is to ensure that all possible annotations are collected.
1991
1990
1992
1991
## A Vocabulary for Unevaluated Locations
1993
1992
0 commit comments