From 31948a41afcad922d908ff1b62af2215c113ff66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Schweigh=C3=B6fer?= Date: Wed, 21 Nov 2018 10:06:18 +0100 Subject: [PATCH] Use $id consistently in examples --- learn/examples/geographical-location.schema.json | 2 +- learn/miscellaneous-examples.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/learn/examples/geographical-location.schema.json b/learn/examples/geographical-location.schema.json index 86656397..1e0fc9cf 100644 --- a/learn/examples/geographical-location.schema.json +++ b/learn/examples/geographical-location.schema.json @@ -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.", diff --git a/learn/miscellaneous-examples.md b/learn/miscellaneous-examples.md index 37b0dee4..29bb7747 100644 --- a/learn/miscellaneous-examples.md +++ b/learn/miscellaneous-examples.md @@ -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.", @@ -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",