Skip to content

Commit 65ca470

Browse files
committed
Merge branch 'gregsdennis/output-spec2' of github.com:json-schema-org/json-schema-spec into gregsdennis/output-spec2
2 parents a12ded6 + d7fb199 commit 65ca470

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

jsonschema-validation-output-machines.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ For these examples, the following schema and instances will be used.
104104
"properties": {
105105
"foo": {
106106
"allOf": [
107-
{ "required": [ "unspecified-prop" ] },
107+
{ "required": ["unspecified-prop"] },
108108
{
109109
"type": "object",
110110
"title": "foo-title",
@@ -118,9 +118,7 @@ For these examples, the following schema and instances will be used.
118118
}
119119
]
120120
},
121-
"bar": {
122-
"$ref": "#/$defs/bar"
123-
}
121+
"bar": { "$ref": "#/$defs/bar" }
124122
},
125123
"$defs": {
126124
"bar": {
@@ -140,8 +138,8 @@ For these examples, the following schema and instances will be used.
140138

141139
```json "failing instance"
142140
{
143-
"foo": {"foo-prop": "not 1", "other-prop": false},
144-
"bar": {"bar-prop": 2}
141+
"foo": { "foo-prop": "not 1", "other-prop": false },
142+
"bar": { "bar-prop": 2 }
145143
}
146144
```
147145

@@ -151,7 +149,7 @@ For these examples, the following schema and instances will be used.
151149
"foo-prop": 1,
152150
"unspecified-prop": true
153151
},
154-
"bar": {"bar-prop": 20}
152+
"bar": { "bar-prop": 20 }
155153
}
156154
```
157155

0 commit comments

Comments
 (0)