Skip to content

Commit 2a0d4c7

Browse files
committed
update hierarchical examples to have code block titles
1 parent 3e81674 commit 2a0d4c7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jsonschema-validation-output-machines.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,7 @@ Output units which do not contain errors or annotations SHOULD be excluded from
250250
this format, however implementations MAY choose to include them for
251251
completeness.
252252

253-
```jsonc
254-
// failing results
253+
```json "Failing Results"
255254
{
256255
"valid": false,
257256
"details": [
@@ -284,8 +283,9 @@ completeness.
284283
}
285284
]
286285
}
286+
```
287287

288-
// passing results
288+
```json "Passing Results"
289289
{
290290
"valid": true,
291291
"details": [
@@ -362,8 +362,7 @@ All output units are included in this format.
362362

363363
The location properties of the root output unit MAY be omitted.
364364

365-
```jsonc
366-
// failing results (errors)
365+
```json "failing Results
367366
{
368367
"valid": false,
369368
"evaluationPath": "",
@@ -451,8 +450,9 @@ The location properties of the root output unit MAY be omitted.
451450
}
452451
]
453452
}
453+
```
454454

455-
// passing results (annotations)
455+
```json "Passing Results
456456
{
457457
"valid": true,
458458
"evaluationPath": "",

0 commit comments

Comments
 (0)