16
16
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
17
17
18
18
<!-- Style Sheets -->
19
- <link rel="stylesheet" type="text/css" href="../static/css/bootstrap/bootstrap.css">
20
- <link rel="stylesheet" type="text/css" href="../static/css/bootstrap/bootstrap-responsive.css">
21
- <link rel="stylesheet" type="text/css" href="../static/css/bootstrap/font-awesome.css">
19
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/
[email protected] /dist/css/bootstrap.min.css"/>
22
20
<link rel="stylesheet" href="../common/prettify.css" type="text/css" />
23
21
<link rel="shortcut icon" href="../favicon.ico" />
24
22
@@ -67,91 +65,87 @@ function getDrafts($spec)
67
65
?>
68
66
69
67
<body>
70
- <div class="navbar navbar-static- top">
71
- <div class="navbar-inner ">
72
- <div class="row-fluid ">
73
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse ">
74
- <span class="icon-bar"></span>
75
- <span class="icon-bar"></span >
76
- <span class="icon-bar"></span >
77
- </a >
78
- <a class="brand" href="../"><img src="../images/json-ld-data-24.png" alt="JSON-LD logo"> JSON-LD</a >
79
- <div class="nav -collapse">
80
- <ul class="nav">
81
- <li>
82
- <a href="../playground/"><span class="icon-beer"></span> Playground</a>
83
- </li>
84
- <li>
85
- <a href="../learn.html"><span class="icon-book"></span> Documentation</a>
86
- </li>
87
- <li><a href="../#developers"><span class="icon-beaker"></span> Developers</a></li >
88
- <li class="dropdown" >
89
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" >
90
- <span class="icon-folder-open"></span> Specifications <b class="caret"></b >
91
- </a>
92
- <ul class="dropdown-menu">
93
- <li class="nav -header"><strong>W3C Recommendations</strong></li>
94
- <li><a href="https://www.w3.org/TR/json-ld/">Syntax</a></li>
95
- <li><a href="https://www.w3.org/TR/json-ld-api/">Processing Algorithms and API</a></li>
96
- <li><a href="https://www.w3.org/TR/json-ld-framing/">Framing</a></li>
97
- <li class="divider"></li>
98
- <li class="nav -header"><strong>Latest Drafts</strong></li>
99
- <li><a href="https://w3c.github.io/json-ld-syntax/">Syntax</a></li>
100
- <li><a href="https://w3c.github.io/json-ld-api/">Processing Algorithms and API</a></li>
101
- <li><a href="https://w3c.github.io/json-ld-framing/">Framing</a></li>
102
- <li><a href="https://w3c.github.io/json-ld-bp/">Best Practices</a></li>
103
- <li><a href="https://w3c.github.io/json-ld-streaming/">Streaming</a></li>
104
- <li><a href="https://json-ld.github.io/json-ld-star/">JSON-LD-star</a></li>
105
- <li><a href="https://w3c.github.io/json-ld-cbor/">CBOR</a></li>
106
- <li><a href="https://github.com/w3c/json-ld-rc/">Recommended Context</a></li>
107
- <li><a href="https://json-ld.github.io/yaml-ld/">YAML-LD</a></li>
108
- <li><a href="/spec/">1.0 drafts (historic)</a></li>
109
- </ul>
110
- </li>
111
- <li><a href="../images/"><span class="icon-picture"></span> Branding</a></li >
112
- </ul >
113
- </div >
114
- <!--/.nav-collapse -- >
68
+ <nav class="navbar navbar-expand-md sticky- top bg-body ">
69
+ <div class="container ">
70
+ <a class="navbar-brand active" href="../ ">
71
+ <img class="align-text-top" src="../images/json-ld- data-24.png" alt="JSON-LD logo ">
72
+ JSON-LD
73
+ </a >
74
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation" >
75
+ <span class="navbar-toggler-icon"></span >
76
+ </button >
77
+ <div class="collapse navbar -collapse" id="navbarNav ">
78
+ <ul class="navbar- nav">
79
+ <li class="nav-item" >
80
+ <a class="nav-link" href="../playground/">Playground</a>
81
+ </li>
82
+ <li class="nav-item" >
83
+ <a class="nav-link" href="../learn.html">Documentation</a>
84
+ </li>
85
+ <li class="nav-item" >
86
+ <a class="nav-link" href="../#developers">Developers</a >
87
+ </li >
88
+ <li class="nav-item dropdown" >
89
+ <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">Specifications </a>
90
+ <ul class="dropdown-menu">
91
+ <li class="dropdown -header"><strong>W3C Recommendations</strong></li>
92
+ <li><a class="dropdown-item" href="https://www.w3.org/TR/json-ld/">Syntax</a></li>
93
+ <li><a class="dropdown-item" href="https://www.w3.org/TR/json-ld-api/">Processing Algorithms and API</a></li>
94
+ <li><a class="dropdown-item" href="https://www.w3.org/TR/json-ld-framing/">Framing</a></li>
95
+ <li><hr class="dropdown- divider"></li>
96
+ <li class="dropdown -header"><strong>Latest Drafts</strong></li>
97
+ <li><a class="dropdown-item" href="https://w3c.github.io/json-ld-syntax/">Syntax</a></li>
98
+ <li><a class="dropdown-item" href="https://w3c.github.io/json-ld-api/">Processing Algorithms and API</a></li>
99
+ <li><a class="dropdown-item" href="https://w3c.github.io/json-ld-framing/">Framing</a></li>
100
+ <li><a class="dropdown-item" href="https://w3c.github.io/json-ld-bp/">Best Practices</a></li>
101
+ <li><a class="dropdown-item" href="https://w3c.github.io/json-ld-streaming/">Streaming</a></li>
102
+ <li><a class="dropdown-item" href="https://json-ld.github.io/json-ld-star/">JSON-LD-star</a></li>
103
+ <li><a class="dropdown-item" href="https://w3c.github.io/json-ld-cbor/">CBOR</a></li>
104
+ <li><a class="dropdown-item" href="https://github.com/w3c/json-ld-rc/">Recommended Context</a></li>
105
+ <li><a class="dropdown-item" href="https://json-ld.github.io/yaml-ld/">YAML-LD</a></li>
106
+ <li><a class="dropdown-item" href="/spec/">1.0 drafts (historic)</a></li>
107
+ </ul>
108
+ </li>
109
+ <li class="nav-item" >
110
+ <a class="nav-link" href="../images/">Branding</a >
111
+ </li >
112
+ </ul >
115
113
</div>
116
114
</div>
117
- </div >
115
+ </nav >
118
116
119
- <div class="container">
120
- <br>
117
+ <div class="container my-4">
121
118
<h1>Specifications</h1>
122
- <p>
119
+ <p class="my-4" >
123
120
JSON-LD has been designed to be a modular set of specifications. It consists of
124
121
two base specifications: The JSON-LD Syntax and the JSON-LD API. All other
125
122
JSON-LD specifications are layered upon the previous two specifications,
126
123
allowing the community to build experimental extensions on top of the base
127
124
specifications.
128
125
<p>
129
- <div id="syntax">
130
126
<h2><a href="latest/json-ld/">The JSON-LD Syntax</a></h2>
131
- <p>
127
+ <p class="mt-4" >
132
128
Defines JSON-LD, a JSON-based format to serialize Linked Data. The syntax is
133
129
designed to easily integrate into deployed systems that already use JSON,
134
130
and provides a smooth upgrade path from JSON to JSON-LD. It is primarily
135
131
intended to be a way to use Linked Data in Web-based programming environments,
136
132
to build interoperable Web services, and to store Linked Data in JSON-based
137
133
storage engines.
138
134
</p>
139
- <p>
135
+ <p class="mb-4" >
140
136
Links to JSON-LD specifications: <a href="latest/json-ld/">Latest</a><?php
141
137
$ drafts = getDrafts ('json-ld ' ) + getDrafts ('json-ld-syntax ' );
142
138
foreach ($ drafts as $ date => $ dir ) {
143
139
print (", <a href= \"$ dir/ \"> $ date</a> " );
144
140
}
145
141
?>
146
- </div>
147
- <div id="api">
148
142
<h2><a href="latest/json-ld-api/">The JSON-LD API</a></h2>
149
- <p>
143
+ <p class="mt-4" >
150
144
An Application Programming Interface (API) and a set of algorithms for
151
145
programmatic transformations of JSON-LD documents. This API defines algorithms
152
146
for applying and removing JSON-LD contexts.
153
147
</p>
154
- <p>
148
+ <p class="mb-4" >
155
149
Links to JSON-LD API specifications: <a href="latest/json-ld-api/">Latest</a><?php
156
150
157
151
$ drafts = getDrafts ('json-ld-api ' );
@@ -162,13 +156,11 @@ function getDrafts($spec)
162
156
163
157
?>
164
158
</p>
165
- </div>
166
- <div id="best-practices">
167
159
<h2><a href="https://w3c.github.io/json-ld-bp">JSON-LD Best Practices</a></h2>
168
- <p>
160
+ <p class="mt-4" >
169
161
Best practices for publishing JSON-LD and building APIs.
170
162
</p>
171
- <p>
163
+ <p class="mb-4" >
172
164
Links to JSON-LD API specifications: <a href="https://w3c.github.io/json-ld-bp">Latest</a><?php
173
165
174
166
$ drafts = getDrafts ('json-ld-api-best-practices ' );
@@ -179,17 +171,15 @@ function getDrafts($spec)
179
171
180
172
?>
181
173
</p>
182
- </div>
183
- <div id="framing">
184
174
<h2><a href="latest/json-ld-framing/">JSON-LD Framing</a></h2>
185
- <p>
175
+ <p class="mt-4" >
186
176
JSON-LD Framing allows developers to perform <em>query by example</em>
187
177
and force a specific tree layout to a JSON-LD document. It allows developers
188
178
to restructure data retrieved from the Web according to the specific needs of
189
179
their application. Restructuring JSON-LD data before your application processes
190
180
it leads to simpler code when processing data from external sources.
191
181
</p>
192
- <p>
182
+ <p class="mb-4" >
193
183
Links to JSON-LD Framing specifications: <a href="latest/json-ld-framing/">Latest</a><?php
194
184
195
185
$ drafts = getDrafts ('json-ld-framing ' );
@@ -200,14 +190,12 @@ function getDrafts($spec)
200
190
201
191
?>
202
192
</p>
203
-
204
- </div>
205
193
<h2><a href="latest/json-ld-rdf/">JSON-LD RDF API</a></h2>
206
- <p>
194
+ <p class="mt-4" >
207
195
JSON-LD RDF API describes access methods for transforming and abstract RDF
208
196
represention into JSON-LD and back.
209
197
</p>
210
- <p>
198
+ <p class="mb-4" >
211
199
Links to JSON-LD RDF API specifications: <a href="latest/json-ld-rdf/">Latest</a><?php
212
200
213
201
$ drafts = getDrafts ('json-ld-rdf ' );
@@ -218,16 +206,16 @@ function getDrafts($spec)
218
206
219
207
?>
220
208
</p>
209
+ </div> <!-- /container -->
221
210
222
- <hr >
223
- <div id=" footer" >
224
- <p id="copyright ">
225
- JSON-LD Specifications are covered by the <a href="https://www.w3.org/Consortium/Legal/2015/doc-license">W3C DOCUMENT LICENSE</a> except where an alternate is specified.
226
- Part of the <a href="http://payswarm.com/">PaySwarm</a> standardization initiative.
211
+ <div class="container pt-4 pb-3" >
212
+ <footer>
213
+ <p class="text-body-secondary ">
214
+ JSON-LD Specifications are covered by the <a href="https://www.w3.org/Consortium/Legal/2015/doc-license">W3C DOCUMENT LICENSE</a> except where an alternate is specified.
215
+ Part of the <a href="http://payswarm.com/">PaySwarm</a> standardization initiative.
227
216
</p>
228
- </div>
229
-
230
- </div> <!-- /container -->
217
+ </footer>
218
+ </div>
231
219
232
220
<!-- script tags -->
233
221
<script type="text/javascript" src="../static/js/bootstrap/bootstrap.js"></script>
0 commit comments