Skip to content

Commit 8ab3d25

Browse files
committed
found some errata in the output sections
1 parent 9a12223 commit 8ab3d25

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

jsonschema-core.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,7 +2079,7 @@ consumers will need to properly interpret validation results.
20792079
### Format
20802080

20812081
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
2082+
described in [Instance Data Model](#data-model). Implementations MAY deviate from this as supported
20832083
by their specific languages and platforms, however it is RECOMMENDED that the
20842084
output be convertible to the JSON format defined herein via serialization or
20852085
other means.
@@ -2092,8 +2092,7 @@ section for the requirements of each format.
20922092
- *Flag*: A boolean which simply indicates the overall validation result with no
20932093
further details.
20942094
- *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
20972096
follows the evaluation paths generated while processing the schema.
20982097

20992098
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.
22832282
}
22842283
```
22852284

2286-
22872285
```json "Failing instance"
22882286
{
22892287
"foo": {"foo-prop": "not 1", "other-prop": false},
@@ -2324,9 +2322,9 @@ allows their users to craft their own messages.
23242322

23252323
The passing instance will produce the following annotations:
23262324

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
23282326
`"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
23302328
`["foo", "bar"]`.
23312329
- The keyword `title` evaluated at `/properties/foo` by following the path
23322330
`/properties/foo` will produce `"foo-title"`.

0 commit comments

Comments
 (0)