Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit 0cce2e0

Browse files
authored
Merge pull request #244 from Xiphoseer/master
Use $id consistently in examples
2 parents a0f5574 + 31948a4 commit 0cce2e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

learn/examples/geographical-location.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": "https://example.com/geographical-location.schema.json",
2+
"$id": "https://example.com/geographical-location.schema.json",
33
"$schema": "http://json-schema.org/draft-07/schema#",
44
"title": "Longitude and Latitude Values",
55
"description": "A geographical coordinate.",

learn/miscellaneous-examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ This example introduces:
6161

6262
```json
6363
{
64-
"id": "https://example.com/geographical-location.schema.json",
64+
"$id": "https://example.com/geographical-location.schema.json",
6565
"$schema": "http://json-schema.org/draft-07/schema#",
6666
"title": "Longitude and Latitude Values",
6767
"description": "A geographical coordinate.",
@@ -105,7 +105,7 @@ We also introduce the following with this example:
105105

106106
```json
107107
{
108-
"id": "https://example.com/arrays.schema.json",
108+
"$id": "https://example.com/arrays.schema.json",
109109
"$schema": "http://json-schema.org/draft-07/schema#",
110110
"description": "A representation of a person, company, organization, or place",
111111
"type": "object",

0 commit comments

Comments
 (0)