You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 2, 2023. It is now read-only.
This seems to have been using a more complex form of linking,
but just switch to the simple form used in most places as it
works and is easier to understand.
Copy file name to clipboardExpand all lines: examples.md
+7-15Lines changed: 7 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,15 @@ Here is a basic example of a JSON Schema:
12
12
Example schemas
13
13
---------------
14
14
15
-
These sample schemas describe simple data structures which can be expressed as JSON:
15
+
These sample schemas describe simple data structures which can be expressed as JSON. The "canonical url" links omit the ".json" extension, which is the correct
16
+
way to reference the schema in a ``$ref``, but is not friendly to web browsers.
17
+
The larger links use ".json" for browser compatibility.
|[Geographic Coordinate][geo.json] <br> [<small>(canonical url)</small>][geo]| a ___location as longitude and latitude |
19
-
|[Card][card.json] <br> [<small>(canonical url)</small>][card]| a microformat-style representation of a person, company, organization, or place |
20
-
|[Calendar][cal.json] <br> [<small>(canonical url)</small>][cal]| a microformat-style representation of an event |
21
-
|[Address][addr.json] <br> [<small>(canonical url)</small>][addr]| a microformat-style representation of a street address |
20
+
|[Geographic Coordinate](geo.json) <br> [<small>(canonical url)</small>](geo)| a ___location as longitude and latitude |
21
+
|[Card](card.json) <br> [<small>(canonical url)</small>](card)| a microformat-style representation of a person, company, organization, or place |
22
+
|[Calendar](cal.json) <br> [<small>(canonical url)</small>](cal)| a microformat-style representation of an event |
23
+
|[Address](addr.json) <br> [<small>(canonical url)</small>](addr)| a microformat-style representation of a street address |
22
24
23
25
Walkthroughs
24
26
------------
@@ -29,13 +31,3 @@ The two examples below are step-by-step guides into building a schema:
29
31
-[a more advanced example](example2.md), using JSON Schema to describe filesystem entries in a Unix-like /etc/fstab file.
30
32
31
33
The [Space Telescope Science Institute](http://www.stsci.edu/) has also published a [guide aimed at schema authors](http://spacetelescope.github.io/understanding-json-schema/).
0 commit comments