2727
2727
</t >
2728
2728
<t >
2729
2729
Hierarchical - Provides validation information in a hierarchical
2730
- structure that mimics the dereferenced evaluation structure of the schema.
2730
+ structure that follows the evaluation paths generated while processing
2731
+ the schema.
2731
2732
</t >
2732
2733
</list >
2733
2734
An implementation MUST provide the "flag" format and SHOULD provide at least one
2753
2754
2754
2755
<section title =" Evaluation path" >
2755
2756
<t >
2756
- The location of the schema resource that produced the output unit, represented
2757
- by the path traversed during evaluation. The value MUST be expressed as a
2758
- JSON Pointer, and it MUST include any by-reference applicators such as
2759
- "$ref" or "$dynamicRef".
2757
+ The evalutaion path to the schema object that produced the output unit.
2758
+ The value MUST be expressed as a JSON Pointer, and it MUST include any
2759
+ by-reference applicators such as "$ref" or "$dynamicRef".
2760
2760
<cref >
2761
2761
The schema may not actually have a value at the location indicated
2762
2762
by this pointer. It is provided as an indication of the traversal
2779
2779
</t >
2780
2780
</section >
2781
2781
2782
- <section title =" Subschema Location" >
2782
+ <section title =" Schema Location" >
2783
2783
<t >
2784
- The absolute, dereferenced location of the schema resource that produced
2784
+ The absolute, dereferenced location of the schema object that produced
2785
2785
the output unit. The value MUST be expressed using the canonical IRI of the
2786
- relevant schema resource plus a JSON Pointer fragment that indicates the contained
2787
- subschema that produced the output. It MUST NOT include by-reference applicators
2786
+ relevant schema resource plus a JSON Pointer fragment that indicates the schema
2787
+ object that produced the output. It MUST NOT include by-reference applicators
2788
2788
such as "$ref" or "$dynamicRef".
2789
2789
<cref >
2790
2790
Note that "absolute" here is in the sense of "absolute filesystem path"
2791
2791
(meaning the complete location) rather than the "absolute-IRI"
2792
- terminology from RFC 3987 (meaning with scheme but without fragment).
2793
- Keyword absolute locations will have a fragment in order to
2794
- identify the keyword .
2792
+ terminology from RFC 3987 (meaning with scheme and without fragment).
2793
+ Schema locations will have a fragment in order to identify the specific
2794
+ schema object .
2795
2795
</cref >
2796
2796
</t >
2797
2797
<figure >
@@ -2844,7 +2844,7 @@ https://example.com/schemas/common#/$defs/count/minimum
2844
2844
</t >
2845
2845
<t >
2846
2846
Each keyword defines its own annotation data type (e.g. "properties"
2847
- produces a list of keywords, whereas "$ title" produces a string).
2847
+ produces a list of keywords, whereas "title" produces a string).
2848
2848
</t >
2849
2849
<t >
2850
2850
The JSON key for this information is "annotations".
@@ -2887,11 +2887,10 @@ https://example.com/schemas/common#/$defs/count/minimum
2887
2887
"nested" as described below.
2888
2888
<list >
2889
2889
<t >
2890
- "valid" - a boolean value indicating the overall validation success or
2891
- failure
2890
+ "valid" - a boolean value indicating the overall validation success or failure
2892
2891
</t >
2893
2892
<t >
2894
- "nested" - the collection of errors or annotations produced by a subschema
2893
+ "nested" - the collection of results produced by subschemas
2895
2894
</t >
2896
2895
</list >
2897
2896
For these examples, the following schema and instances will be used.
@@ -2963,21 +2962,21 @@ https://example.com/schemas/common#/$defs/count/minimum
2963
2962
<list >
2964
2963
<t >
2965
2964
The value at "/foo"
2966
- validated at "/properties/foo/allOf/0"
2965
+ evaluated at "/properties/foo/allOf/0"
2967
2966
by following the path "/properties/foo/allOf/0"
2968
2967
by the "required" keyword
2969
2968
is missing the property "unspecified-prop".
2970
2969
</t >
2971
2970
<t >
2972
2971
The value at "/foo/foo-prop"
2973
- validated at "/properties/foo/allOf/1/properties/foo-prop"
2972
+ evaluated at "/properties/foo/allOf/1/properties/foo-prop"
2974
2973
by following the path "/properties/foo/allOf/1/properties/foo-prop"
2975
2974
by the "const" keyword
2976
2975
is not the constant value 1.
2977
2976
</t >
2978
2977
<t >
2979
2978
The value at "/bar/bar-prop"
2980
- validated at "/$defs/bar/properties/bar-prop"
2979
+ evaluated at "/$defs/bar/properties/bar-prop"
2981
2980
by following the path "/properties/bar/$ref/properties/bar-prop"
2982
2981
by the "type" keyword
2983
2982
is not a number.
@@ -2999,55 +2998,55 @@ https://example.com/schemas/common#/$defs/count/minimum
2999
2998
<list >
3000
2999
<t >
3001
3000
The keyword "title"
3002
- validated at ""
3001
+ evaluated at ""
3003
3002
by following the path ""
3004
3003
will produce <sourcecode >"root"</sourcecode >.
3005
3004
</t >
3006
3005
<t >
3007
3006
The keyword "properties"
3008
- validated at ""
3007
+ evaluated at ""
3009
3008
by following the path ""
3010
3009
will produce <sourcecode >["foo", "bar"]</sourcecode >.
3011
3010
</t >
3012
3011
<t >
3013
3012
The keyword "title"
3014
- validated at "/properties/foo"
3013
+ evaluated at "/properties/foo"
3015
3014
by following the path "/properties/foo"
3016
3015
will produce <sourcecode >"foo-title"</sourcecode >.
3017
3016
</t >
3018
3017
<t >
3019
3018
The keyword "properties"
3020
- validated at "/properties/foo/allOf/1"
3019
+ evaluated at "/properties/foo/allOf/1"
3021
3020
by following the path "/properties/foo/allOf/1"
3022
3021
will produce <sourcecode >["foo-prop"]</sourcecode >.
3023
3022
</t >
3024
3023
<t >
3025
3024
The keyword "additionalProperties"
3026
- validated at "/properties/foo/allOf/1"
3025
+ evaluated at "/properties/foo/allOf/1"
3027
3026
by following the path "/properties/foo/allOf/1"
3028
3027
will produce <sourcecode >["unspecified-prop"]</sourcecode >.
3029
3028
</t >
3030
3029
<t >
3031
3030
The keyword "title"
3032
- validated at "/properties/foo/allOf/1/properties/foo-prop"
3031
+ evaluated at "/properties/foo/allOf/1/properties/foo-prop"
3033
3032
by following the path "/properties/foo/allOf/1/properties/foo-prop"
3034
3033
will produce <sourcecode >"foo-prop-title"</sourcecode >.
3035
3034
</t >
3036
3035
<t >
3037
3036
The keyword "title"
3038
- validated at "/$defs/bar"
3037
+ evaluated at "/$defs/bar"
3039
3038
by following the path "/properties/bar/$ref"
3040
3039
will produce <sourcecode >"bar-title"</sourcecode >.
3041
3040
</t >
3042
3041
<t >
3043
3042
The keyword "properties"
3044
- validated at "/$defs/bar"
3043
+ evaluated at "/$defs/bar"
3045
3044
by following the path "/properties/var/$ref"
3046
3045
will produce <sourcecode >["bar-prop"]</sourcecode >.
3047
3046
</t >
3048
3047
<t >
3049
3048
The keyword "title"
3050
- validated at "/$defs/bar/properties/bar-prop"
3049
+ evaluated at "/$defs/bar/properties/bar-prop"
3051
3050
by following the path "/properties/bar/$ref/properties/bar-prop"
3052
3051
will produce <sourcecode >"bar-prop-title"</sourcecode >.
3053
3052
</t >
@@ -3206,7 +3205,7 @@ https://example.com/schemas/common#/$defs/count/minimum
3206
3205
<t >
3207
3206
The "Hierarchical" structure is a tree structure that follows the
3208
3207
evaluation path during the validation process. Typically, it will
3209
- resemble the schema as if all referenced schemas were bundled in place
3208
+ resemble the schema as if all referenced schemas were inlined in place
3210
3209
of their associated by-reference keywords.
3211
3210
</t >
3212
3211
<t >
0 commit comments