Skip to content

Commit 92707d4

Browse files
minor formatting fix
1 parent 4b8cc8c commit 92707d4

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@ You've got a JSON Schema with `$ref` pointers to other files and/or URLs. Maybe
2222

2323
```javascript
2424
{
25-
"definitions": {
26-
"person": {
27-
// references an external file
28-
"$ref": "schemas/people/Bruce-Wayne.json"
29-
},
30-
"place": {
31-
// references a sub-schema in an external file
32-
"$ref": "schemas/places.yaml#/definitions/Gotham-City"
33-
},
34-
"thing": {
35-
// references a URL
36-
"$ref": "http://wayne-enterprises.com/things/batmobile"
37-
},
38-
"color": {
39-
// references a value in an external file via an internal reference
40-
"$ref": "#/definitions/thing/properties/colors/black-as-the-night"
41-
}
25+
"definitions": {
26+
"person": {
27+
// references an external file
28+
"$ref": "schemas/people/Bruce-Wayne.json"
29+
},
30+
"place": {
31+
// references a sub-schema in an external file
32+
"$ref": "schemas/places.yaml#/definitions/Gotham-City"
33+
},
34+
"thing": {
35+
// references a URL
36+
"$ref": "http://wayne-enterprises.com/things/batmobile"
37+
},
38+
"color": {
39+
// references a value in an external file via an internal reference
40+
"$ref": "#/definitions/thing/properties/colors/black-as-the-night"
4241
}
42+
}
4343
}
4444
```
4545

0 commit comments

Comments
 (0)