@@ -2944,10 +2944,10 @@ https://example.com/schemas/common#/$defs/allOf/1
2944
2944
</t >
2945
2945
</section >
2946
2946
2947
- <section title =" Nested Results" >
2947
+ <section title =" Results from Subschemas " >
2948
2948
<t >
2949
- Nested results are generated from keywords which create a new dynamic
2950
- scope by applying a subschema to the instance or a child of the instance.
2949
+ Evaluation results generated by applying a subschema to the instance
2950
+ or a child of the instance.
2951
2951
Keywords which have multiple subschemas (e.g. "anyOf") will generally
2952
2952
generate an output unit for each subschema. In order to accommodate
2953
2953
potentially multiple results, the value of this property MUST be an
@@ -2958,16 +2958,16 @@ https://example.com/schemas/common#/$defs/allOf/1
2958
2958
and will hold all output units in a flat list.
2959
2959
</t >
2960
2960
<t >
2961
- For "hierarchical", this property will hold nested results in a tree
2962
- structure where each output unit may itself have nested results.
2961
+ For "hierarchical", this property will contain results in a tree
2962
+ structure where each output unit may itself have further nested results.
2963
2963
</t >
2964
2964
<t >
2965
2965
The sequence of output units within this list is not specified and
2966
2966
MAY be determined by the implementation. Sets of output units are
2967
2967
considered equivalent if they contain the same units, in any order.
2968
2968
</t >
2969
2969
<t >
2970
- The JSON key for nested results is "nested ".
2970
+ The JSON key for these additional results is "details ".
2971
2971
</t >
2972
2972
</section >
2973
2973
@@ -2977,13 +2977,13 @@ https://example.com/schemas/common#/$defs/allOf/1
2977
2977
<t >
2978
2978
The output MUST be an object containing a boolean property named "valid". When
2979
2979
additional information about the result is required, the output MUST also contain
2980
- "nested " as described below.
2980
+ "details " as described below.
2981
2981
<list >
2982
2982
<t >
2983
2983
"valid" - a boolean value indicating the overall validation success or failure
2984
2984
</t >
2985
2985
<t >
2986
- "nested " - the collection of results produced by subschemas
2986
+ "details " - the collection of results produced by subschemas
2987
2987
</t >
2988
2988
</list >
2989
2989
For these examples, the following schema and instances will be used.
@@ -3177,11 +3177,11 @@ https://example.com/schemas/common#/$defs/allOf/1
3177
3177
root output unit.
3178
3178
</t >
3179
3179
<t >
3180
- The root output unit contains "valid" for the overall result and "nested "
3180
+ The root output unit contains "valid" for the overall result and "details "
3181
3181
for the list of specific results. All other information is explicitly
3182
3182
omitted from the root output unit. If the root schema produces errors or
3183
3183
annotations, then the output node for the root MUST be present within the
3184
- root output unit's "nested " list with those errors or annotations.
3184
+ root output unit's "details " list with those errors or annotations.
3185
3185
</t >
3186
3186
<t >
3187
3187
Output units which do not contain errors or annotations SHOULD be excluded
@@ -3194,7 +3194,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3194
3194
// failing results
3195
3195
{
3196
3196
"valid": false,
3197
- "nested ": [
3197
+ "details ": [
3198
3198
{
3199
3199
"valid": false,
3200
3200
"evaluationPath": "/properties/foo/allOf/0",
@@ -3228,7 +3228,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3228
3228
// passing results
3229
3229
{
3230
3230
"valid": true,
3231
- "nested ": [
3231
+ "details ": [
3232
3232
{
3233
3233
"valid": true,
3234
3234
"evaluationPath": "",
@@ -3316,13 +3316,13 @@ https://example.com/schemas/common#/$defs/allOf/1
3316
3316
"evaluationPath": "",
3317
3317
"schemaLocation": "https://json-schema.org/schemas/example#",
3318
3318
"instanceLocation": "",
3319
- "nested ": [
3319
+ "details ": [
3320
3320
{
3321
3321
"valid": false,
3322
3322
"evaluationPath": "/properties/foo",
3323
3323
"schemaLocation": "https://json-schema.org/schemas/example#/properties/foo",
3324
3324
"instanceLocation": "/foo",
3325
- "nested ": [
3325
+ "details ": [
3326
3326
{
3327
3327
"valid": false,
3328
3328
"evaluationPath": "/properties/foo/allOf/0",
@@ -3337,7 +3337,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3337
3337
"evaluationPath": "/properties/foo/allOf/1",
3338
3338
"schemaLocation": "https://json-schema.org/schemas/example#/properties/foo/allOf/1",
3339
3339
"instanceLocation": "/foo",
3340
- "nested ": [
3340
+ "details ": [
3341
3341
{
3342
3342
"valid": false,
3343
3343
"evaluationPath": "/properties/foo/allOf/1/properties/foo-prop",
@@ -3362,13 +3362,13 @@ https://example.com/schemas/common#/$defs/allOf/1
3362
3362
"evaluationPath": "/properties/bar",
3363
3363
"schemaLocation": "https://json-schema.org/schemas/example#/properties/bar",
3364
3364
"instanceLocation": "/bar",
3365
- "nested ": [
3365
+ "details ": [
3366
3366
{
3367
3367
"valid": false,
3368
3368
"evaluationPath": "/properties/bar/$ref",
3369
3369
"schemaLocation": "https://json-schema.org/schemas/example#/$defs/bar",
3370
3370
"instanceLocation": "/bar",
3371
- "nested ": [
3371
+ "details ": [
3372
3372
{
3373
3373
"valid": false,
3374
3374
"evaluationPath": "/properties/bar/$ref/properties/bar-prop",
@@ -3398,13 +3398,13 @@ https://example.com/schemas/common#/$defs/allOf/1
3398
3398
"bar"
3399
3399
]
3400
3400
},
3401
- "nested ": [
3401
+ "details ": [
3402
3402
{
3403
3403
"valid": true,
3404
3404
"evaluationPath": "/properties/foo",
3405
3405
"schemaLocation": "https://json-schema.org/schemas/example#/properties/foo",
3406
3406
"instanceLocation": "/foo",
3407
- "nested ": [
3407
+ "details ": [
3408
3408
{
3409
3409
"valid": true,
3410
3410
"evaluationPath": "/properties/foo/allOf/0",
@@ -3425,7 +3425,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3425
3425
"unspecified-prop"
3426
3426
]
3427
3427
},
3428
- "nested ": [
3428
+ "details ": [
3429
3429
{
3430
3430
"valid": true,
3431
3431
"evaluationPath": "/properties/foo/allOf/1/properties/foo-prop",
@@ -3450,7 +3450,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3450
3450
"evaluationPath": "/properties/bar",
3451
3451
"schemaLocation": "https://json-schema.org/schemas/example#/properties/bar",
3452
3452
"instanceLocation": "/bar",
3453
- "nested ": [
3453
+ "details ": [
3454
3454
{
3455
3455
"valid": true,
3456
3456
"evaluationPath": "/properties/bar/$ref",
@@ -3462,7 +3462,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3462
3462
"bar-prop"
3463
3463
]
3464
3464
},
3465
- "nested ": [
3465
+ "details ": [
3466
3466
{
3467
3467
"valid": true,
3468
3468
"evaluationPath": "/properties/bar/$ref/properties/bar-prop",
0 commit comments