forked from json-schema-org/json-schema-org.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
documentation.html
66 lines (63 loc) · 3.11 KB
/
documentation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
layout: page
---
<h2>Specification</h2>
<div class="block">
<p>The latest Internet-Draft at the IETF is v5, published 2016-10-13.
(Due to a change in authorship the I-D numbering has been reset).
The specification is split into three parts, Core, Validation, and Hyper-Schema:</p>
<table class="key-value">
<tr>
<td class="key"><a href="latest/json-schema-core.html">JSON Schema Core</a></td>
<td class="value">defines the basic foundation of JSON Schema</td>
</tr>
<tr>
<td class="key"><a href="latest/json-schema-validation.html">JSON Schema Validation</a></td>
<td class="value">defines the validation keywords of JSON Schema</td>
</tr>
<tr>
<td class="key"><a href="latest/json-schema-hypermedia.html">JSON Hyper-Schema</a></td>
<td class="value">defines the hyper-media keywords of JSON Schema</td>
</tr>
</table>
<p>They are also available on the IETF main site: <a href="http://tools.ietf.org/html/draft-wright-json-schema-00">core (draft-wright-json-schema-00)</a>, <a href="http://tools.ietf.org/html/draft-wright-json-schema-validation-00">validation (draft-wright-json-schema-validation-00)</a> and <a href="http://tools.ietf.org/html/draft-wright-json-schema-hyperschema-00">hyper-schema (draft-wright-json-schema-hyperschema-00)</a>.
</p>
</div>
<h2>Meta-schemas</h2>
<div class="block">
<p>The meta-schemas are the schemas which define the JSON Schema and Hyper-Schema formats.</p>
<p>The latest meta-schema is draft-04. A future release with additional keywords will be published in the near future.</p>
<table class="key-value">
<tr>
<td class="key"><a href="http://json-schema.org/schema">Core/Validation Meta-Schema</a></td>
<td class="value">Used for schemas written for pure validation.</td>
</tr>
<tr>
<td class="key"><a href="http://json-schema.org/hyper-schema">Hyper Meta-Schema</a></td>
<td class="value">Used for schemas written for validation and hyper-linking.</td>
</tr>
</table>
</div>
<h2>Standard schemas</h2>
<div class="block">
<p>These sample schemas describe simple data structures which can be expressed as JSON:
</p>
<table class="key-value">
<tr>
<td class="key"><a href="http://json-schema.org/geo">Geographic Coordinate</a></td>
<td class="value">a location as longitude and latitude</td>
</tr>
<tr>
<td class="key"><a href="http://json-schema.org/card">Card</a></td>
<td class="value">a microformat-style representation of a person, company, organization, or place</td>
</tr>
<tr>
<td class="key"><a href="http://json-schema.org/calendar">Calendar</a></td>
<td class="value">a microformat-style representation of an event</td>
</tr>
<tr>
<td class="key"><a href="http://json-schema.org/address">Address</a></td>
<td class="value">a microformat-style representation of a street address</td>
</tr>
</table>
</div>