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

Use $id consistently in examples #244

Merged
merged 1 commit into from
Nov 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion learn/examples/geographical-location.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "https://example.com/geographical-location.schema.json",
"$id": "https://example.com/geographical-location.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Longitude and Latitude Values",
"description": "A geographical coordinate.",
Expand Down
4 changes: 2 additions & 2 deletions learn/miscellaneous-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ This example introduces:

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

```json
{
"id": "https://example.com/arrays.schema.json",
"$id": "https://example.com/arrays.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A representation of a person, company, organization, or place",
"type": "object",
Expand Down