2806
2806
with no further details.
2807
2807
</t >
2808
2808
<t >
2809
- Basic - Provides validation information in a flat list structure.
2809
+ List - Provides validation information in a flat list structure.
2810
2810
</t >
2811
2811
<t >
2812
2812
Hierarchical - Provides validation information in a hierarchical
2815
2815
</t >
2816
2816
</list >
2817
2817
An implementation MUST provide the "flag" format and SHOULD provide at least one
2818
- of the "basic " or "hierarchical" formats. Implementations SHOULD specify in
2818
+ of the "list " or "hierarchical" formats. Implementations SHOULD specify in
2819
2819
their documentation which formats they support.
2820
2820
</t >
2821
2821
@@ -2974,30 +2974,30 @@ https://example.com/schemas/common#/$defs/allOf/1
2974
2974
</t >
2975
2975
</section >
2976
2976
2977
- <section title =" Nested Results" >
2977
+ <section title =" Results from Subschemas " >
2978
2978
<t >
2979
- Nested results are generated from keywords which create a new dynamic
2980
- scope by applying a subschema to the instance or a child of the instance.
2979
+ Evaluation results generated by applying a subschema to the instance
2980
+ or a child of the instance.
2981
2981
Keywords which have multiple subschemas (e.g. "anyOf") will generally
2982
2982
generate an output unit for each subschema. In order to accommodate
2983
2983
potentially multiple results, the value of this property MUST be an
2984
2984
array of output units, even if only a single output unit is produced.
2985
2985
</t >
2986
2986
<t >
2987
- For "basic ", this property will appear only at the root output unit
2987
+ For "list ", this property will appear only at the root output unit
2988
2988
and will hold all output units in a flat list.
2989
2989
</t >
2990
2990
<t >
2991
- For "hierarchical", this property will hold nested results in a tree
2992
- structure where each output unit may itself have nested results.
2991
+ For "hierarchical", this property will contain results in a tree
2992
+ structure where each output unit may itself have further nested results.
2993
2993
</t >
2994
2994
<t >
2995
2995
The sequence of output units within this list is not specified and
2996
2996
MAY be determined by the implementation. Sets of output units are
2997
2997
considered equivalent if they contain the same units, in any order.
2998
2998
</t >
2999
2999
<t >
3000
- The JSON key for nested results is "nested ".
3000
+ The JSON key for these additional results is "details ".
3001
3001
</t >
3002
3002
</section >
3003
3003
@@ -3007,13 +3007,13 @@ https://example.com/schemas/common#/$defs/allOf/1
3007
3007
<t >
3008
3008
The output MUST be an object containing a boolean property named "valid". When
3009
3009
additional information about the result is required, the output MUST also contain
3010
- "nested " as described below.
3010
+ "details " as described below.
3011
3011
<list >
3012
3012
<t >
3013
3013
"valid" - a boolean value indicating the overall validation success or failure
3014
3014
</t >
3015
3015
<t >
3016
- "nested " - the collection of results produced by subschemas
3016
+ "details " - the collection of results produced by subschemas
3017
3017
</t >
3018
3018
</list >
3019
3019
For these examples, the following schema and instances will be used.
@@ -3201,17 +3201,17 @@ https://example.com/schemas/common#/$defs/allOf/1
3201
3201
</t >
3202
3202
</section >
3203
3203
3204
- <section title =" Basic " >
3204
+ <section title =" List " >
3205
3205
<t >
3206
- The "Basic " structure is a flat list of output units contained within a
3206
+ The "List " structure is a flat list of output units contained within a
3207
3207
root output unit.
3208
3208
</t >
3209
3209
<t >
3210
- The root output unit contains "valid" for the overall result and "nested "
3210
+ The root output unit contains "valid" for the overall result and "details "
3211
3211
for the list of specific results. All other information is explicitly
3212
3212
omitted from the root output unit. If the root schema produces errors or
3213
3213
annotations, then the output node for the root MUST be present within the
3214
- root output unit's "nested " list with those errors or annotations.
3214
+ root output unit's "details " list with those errors or annotations.
3215
3215
</t >
3216
3216
<t >
3217
3217
Output units which do not contain errors or annotations SHOULD be excluded
@@ -3224,7 +3224,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3224
3224
// failing results
3225
3225
{
3226
3226
"valid": false,
3227
- "nested ": [
3227
+ "details ": [
3228
3228
{
3229
3229
"valid": false,
3230
3230
"evaluationPath": "/properties/foo/allOf/0",
@@ -3258,7 +3258,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3258
3258
// passing results
3259
3259
{
3260
3260
"valid": true,
3261
- "nested ": [
3261
+ "details ": [
3262
3262
{
3263
3263
"valid": true,
3264
3264
"evaluationPath": "",
@@ -3346,13 +3346,13 @@ https://example.com/schemas/common#/$defs/allOf/1
3346
3346
"evaluationPath": "",
3347
3347
"schemaLocation": "https://json-schema.org/schemas/example#",
3348
3348
"instanceLocation": "",
3349
- "nested ": [
3349
+ "details ": [
3350
3350
{
3351
3351
"valid": false,
3352
3352
"evaluationPath": "/properties/foo",
3353
3353
"schemaLocation": "https://json-schema.org/schemas/example#/properties/foo",
3354
3354
"instanceLocation": "/foo",
3355
- "nested ": [
3355
+ "details ": [
3356
3356
{
3357
3357
"valid": false,
3358
3358
"evaluationPath": "/properties/foo/allOf/0",
@@ -3371,7 +3371,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3371
3371
"properties": [ "foo-prop" ],
3372
3372
"title": "foo-title"
3373
3373
},
3374
- "nested ": [
3374
+ "details ": [
3375
3375
{
3376
3376
"valid": false,
3377
3377
"evaluationPath": "/properties/foo/allOf/1/properties/foo-prop",
@@ -3399,7 +3399,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3399
3399
"evaluationPath": "/properties/bar",
3400
3400
"schemaLocation": "https://json-schema.org/schemas/example#/properties/bar",
3401
3401
"instanceLocation": "/bar",
3402
- "nested ": [
3402
+ "details ": [
3403
3403
{
3404
3404
"valid": false,
3405
3405
"evaluationPath": "/properties/bar/$ref",
@@ -3409,7 +3409,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3409
3409
"properties": [ "bar-prop" ],
3410
3410
"title": "bar-title"
3411
3411
},
3412
- "nested ": [
3412
+ "details ": [
3413
3413
{
3414
3414
"valid": false,
3415
3415
"evaluationPath": "/properties/bar/$ref/properties/bar-prop",
@@ -3442,13 +3442,13 @@ https://example.com/schemas/common#/$defs/allOf/1
3442
3442
"bar"
3443
3443
]
3444
3444
},
3445
- "nested ": [
3445
+ "details ": [
3446
3446
{
3447
3447
"valid": true,
3448
3448
"evaluationPath": "/properties/foo",
3449
3449
"schemaLocation": "https://json-schema.org/schemas/example#/properties/foo",
3450
3450
"instanceLocation": "/foo",
3451
- "nested ": [
3451
+ "details ": [
3452
3452
{
3453
3453
"valid": true,
3454
3454
"evaluationPath": "/properties/foo/allOf/0",
@@ -3469,7 +3469,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3469
3469
"unspecified-prop"
3470
3470
]
3471
3471
},
3472
- "nested ": [
3472
+ "details ": [
3473
3473
{
3474
3474
"valid": true,
3475
3475
"evaluationPath": "/properties/foo/allOf/1/properties/foo-prop",
@@ -3494,7 +3494,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3494
3494
"evaluationPath": "/properties/bar",
3495
3495
"schemaLocation": "https://json-schema.org/schemas/example#/properties/bar",
3496
3496
"instanceLocation": "/bar",
3497
- "nested ": [
3497
+ "details ": [
3498
3498
{
3499
3499
"valid": true,
3500
3500
"evaluationPath": "/properties/bar/$ref",
@@ -3506,7 +3506,7 @@ https://example.com/schemas/common#/$defs/allOf/1
3506
3506
"bar-prop"
3507
3507
]
3508
3508
},
3509
- "nested ": [
3509
+ "details ": [
3510
3510
{
3511
3511
"valid": true,
3512
3512
"evaluationPath": "/properties/bar/$ref/properties/bar-prop",
0 commit comments