@@ -2079,10 +2079,10 @@ consumers will need to properly interpret validation results.
2079
2079
### Format
2080
2080
2081
2081
JSON Schema output is defined using the JSON Schema data instance model as
2082
- described in section 4.2.1. Implementations MAY deviate from this as supported
2083
- by their specific languages and platforms, however it is RECOMMENDED that the
2084
- output be convertible to the JSON format defined herein via serialization or
2085
- other means.
2082
+ described in [ Instance Data Model ] ( #data-model ) . Implementations MAY deviate
2083
+ from this as supported by their specific languages and platforms, however it
2084
+ is RECOMMENDED that the output be convertible to the JSON format defined herein
2085
+ via serialization or other means.
2086
2086
2087
2087
### Output Formats
2088
2088
@@ -2092,8 +2092,7 @@ section for the requirements of each format.
2092
2092
- * Flag* : A boolean which simply indicates the overall validation result with no
2093
2093
further details.
2094
2094
- * List* : Provides validation information in a flat list structure.
2095
-
2096
- Hierarchical: Provides validation information in a hierarchical structure that
2095
+ - * Hierarchical* : Provides validation information in a hierarchical structure that
2097
2096
follows the evaluation paths generated while processing the schema.
2098
2097
2099
2098
An implementation MUST provide the "flag" format and SHOULD provide at least one
@@ -2283,7 +2282,6 @@ For these examples, the following schema and instances will be used.
2283
2282
}
2284
2283
```
2285
2284
2286
-
2287
2285
``` json "Failing instance"
2288
2286
{
2289
2287
"foo" : {"foo-prop" : " not 1" , "other-prop" : false },
@@ -2324,9 +2322,9 @@ allows their users to craft their own messages.
2324
2322
2325
2323
The passing instance will produce the following annotations:
2326
2324
2327
- - The keyword ` title ` evaluated at `` by following the path `` will produce
2325
+ - The keyword ` title ` evaluated at the instance root by the root schema will produce
2328
2326
` "root" ` .
2329
- - The keyword ` properties ` evaluated at `` by following the path `` will produce
2327
+ - The keyword ` properties ` evaluated at instance root by the root schema will produce
2330
2328
` ["foo", "bar"] ` .
2331
2329
- The keyword ` title ` evaluated at ` /properties/foo ` by following the path
2332
2330
` /properties/foo ` will produce ` "foo-title" ` .
0 commit comments