Skip to content

Commit b11e1dc

Browse files
authored
Merge pull request #1428 from json-schema-org/gregsdennis/markdown-errata
markdown errata
2 parents d083fac + c13033f commit b11e1dc

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

jsonschema-core.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,10 +2079,10 @@ 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
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.
20862086

20872087
### Output Formats
20882088

@@ -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)