1<!DOCTYPE html> 2<html 3 prefix=" 4 xhv: http://www.w3.org/1999/xhtml/vocab# 5 xsd: http://www.w3.org/2001/XMLSchema# 6 rdfs: http://www.w3.org/2000/01/rdf-schema# 7 dc: http://purl.org/dc/terms/ 8 vcard: http://www.w3.org/2006/vcard/ns# 9 v: http://rdf.data-vocabulary.org/#" 10 lang="en" > 11 <head> 12 <title>Specifications - JSON-LD - JSON for Linked Data</title> 13 14 <!-- Meta Tags --> 15 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 16 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> 17 18 <!-- Style Sheets --> 19 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css"> 20 <link rel="stylesheet" type="text/css" href="/static/css/rdf-font/rdf-font.css"> 21 <style> 22 /* fomantic overrides */ 23 html { scroll-padding-top: 5em; } 24 body { background-color: #f7f7f7; } 25 .ui.main.container { margin-top: 7em; } 26 .ui.top.menu .header.item { border: none !important; padding-left: 0; } 27 .ui.top.menu .header.item > span { font-size: 150%; } 28 .ui.top.menu .header.item > img { margin-right: 1rem; } 29 .ui.basic.masthead.segment { padding: 5em 0 3em; background: white; box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2), -1px -1px 0 rgba(0, 0, 0, 0.1) } 30 .ui.basic.masthead.segment + .ui.main.container { margin-top: 3em; } 31 pre.ui.segment { overflow-x: auto; } 32 .ui.fitted.tab.segment > .ui.table { border-left: 0; border-top: 0; border-right: 0; margin-top: 0; } 33 .ui.table th:empty { display: none; } 34 .ui.basic.footer.segment { border-top: 1px solid rgba(34,36,38,.15); margin-top: 4em; padding-top: 2em; } 35 /* RDF Font gets priority */ 36 i.rdf-icon-rdf.icon { font-family: 'rdf-font'; } 37 </style> 38 39 <link rel="shortcut icon" href="/favicon.ico" /> 40 41 <!-- Script tags --> 42
42<script>
vendor: 359 bytes, lines 42-48
42 43 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 44 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 45 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 46 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 47 48 ga('create', '
48UA-40462488-1
vendor: 53 bytes, lines 48-50
48', 'json-ld.org'); 49 ga('send', 'pageview'); 50
50</script>
50 51 </head> 52 53 <body> 54 <div class="ui top fixed menu"> 55 <div class="ui wide container"> 56 <!-- Brand --> 57 <a class="header item" href="/"> 58 <img src="/images/json-ld-data-24.png" alt="JSON-LD logo"> 59 <span>JSON-LD</span> 60 </a> 61 62 <!-- Main menu items --> 63 <a class="item " href="/playground/"> 64 <i class="beer icon"></i> Playground 65 </a> 66 67 <a class="item " href="/learn/"> 68 <i class="book icon"></i> Documentation 69 </a> 70 71 <a class="item" href="/#developers"> 72 <i class="flask icon"></i> Developers 73 </a> 74 75 <!-- Dropdown menu --> 76 <div class="ui simple dropdown item"> 77 <i class="folder open icon"></i> 78 Specifications 79 <i class="dropdown icon"></i> 80 <div class="menu"> 81 <div class="header"><strong>W3C Recommendations</strong></div> 82 <a class="item" href="https://www.w3.org/TR/json-ld/">Syntax</a> 83 <a class="item" href="https://www.w3.org/TR/json-ld-api/">Processing Algorithms and API</a> 84 <a class="item" href="https://www.w3.org/TR/json-ld-framing/">Framing</a> 85 86 <div class="divider"></div> 87 88 <div class="header"><strong>Latest Drafts</strong></div> 89 <a class="item" href="https://w3c.github.io/json-ld-syntax/">Syntax</a> 90 <a class="item" href="https://w3c.github.io/json-ld-api/">Processing Algorithms and API</a> 91 <a class="item" href="https://w3c.github.io/json-ld-framing/">Framing</a> 92 <a class="item" href="https://w3c.github.io/json-ld-bp/">Best Practices</a> 93 <a class="item" href="https://w3c.github.io/json-ld-streaming/">Streaming</a> 94 <a class="item" href="https://json-ld.github.io/json-ld-star/">JSON-LD-star</a> 95 <a class="item" href="https://w3c.github.io/cbor-ld/">CBOR-LD</a> 96 <a class="item" href="https://github.com/w3c/json-ld-rc/">Recommended Context</a> 97 <a class="item" href="https://w3c.github.io/yaml-ld/">YAML-LD</a> 98 <a class="item" href="/spec/">1.0 drafts (historic)</a> 99 </div> 100 </div> 101 102 <a class="item " href="/images/"> 103 <i class="image icon"></i> Branding 104 </a> 105 </div> 106 </div> 107 108 109 110 <div class="ui main wide container"> 111 <h1 id="specifications" tabindex="-1">Specifications</h1> 112<p>JSON-LD has been designed to be a modular set of specifications. It 113consists of two base specifications: The JSON-LD Syntax and the JSON-LD 114API. All other JSON-LD specifications are layered upon the previous two 115specifications, allowing the community to build experimental extensions 116on top of the base specifications.</p> 117<h2 id="syntax" tabindex="-1"><a href="latest/json-ld/">The JSON-LD Syntax</a></h2> 118<p>Defines JSON-LD, a JSON-based format to serialize Linked Data. The 119syntax is designed to easily integrate into deployed systems that 120already use JSON, and provides a smooth upgrade path from JSON to 121JSON-LD. It is primarily intended to be a way to use Linked Data in 122Web-based programming environments, to build interoperable Web services, 123and to store Linked Data in JSON-based storage engines.</p> 124<p>Links to JSON-LD specifications: <a href="latest/json-ld/">Latest</a>, <a href="FCGS/json-ld/20180607">20180607</a>, <a href="ED/json-ld/20180215">20180215</a>, <a href="REC/json-ld/20140116">20140116</a>, <a href="PR/json-ld/20131105">20131105</a>, <a href="CR/json-ld/20130910">20130910</a>, <a href="ED/json-ld/20130630">20130630</a>, <a href="WD/json-ld/20130411">20130411</a>, <a href="FCGS/json-ld/20130328">20130328</a>, <a href="FCGS/json-ld-syntax/20130222">20130222</a>, <a href="FCGS/json-ld-syntax/20130202">20130202</a>, <a href="ED/json-ld-syntax/20121225">20121225</a>, <a href="ED/json-ld-syntax/20120930">20120930</a>, <a href="ED/json-ld-syntax/20120830">20120830</a>, <a href="WD/json-ld-syntax/20120712">20120712</a>, <a href="FCGS/json-ld-syntax/20120626">20120626</a>, <a href="ED/json-ld-syntax/20120522">20120522</a>, <a href="ED/json-ld-syntax/20120426">20120426</a>, <a href="ED/json-ld-syntax/20120318">20120318</a>, <a href="ED/json-ld-syntax/20120122">20120122</a>, <a href="ED/json-ld-syntax/20120112">20120112</a>, <a href="ED/json-ld-syntax/20111023">20111023</a>, <a href="ED/json-ld-syntax/20111016">20111016</a>, <a href="ED/json-ld-syntax/20110911">20110911</a>, <a href="ED/json-ld-syntax/20110817">20110817</a>, <a href="ED/json-ld-syntax/20110808">20110808</a>, <a href="ED/json-ld-syntax/20110803">20110803</a>, <a href="ED/json-ld-syntax/20110615">20110615</a>, <a href="ED/json-ld-syntax/20110507">20110507</a>, <a href="ED/json-ld-syntax/20110201">20110201</a>, <a href="ED/json-ld-syntax/20101128">20101128</a>, <a href="ED/json-ld-syntax/20101024">20101024</a>, <a href="ED/json-ld-syntax/20101014">20101014</a>, <a href="ED/json-ld-syntax/20100823">20100823</a>, <a href="ED/json-ld-syntax/20100529">20100529</a></p> 125<h2 id="api" tabindex="-1"><a href="latest/json-ld-api/">The JSON-LD API</a></h2> 126<p>An Application Programming Interface (API) and a set of algorithms for 127programmatic transformations of JSON-LD documents. This API defines 128algorithms for applying and removing JSON-LD contexts.</p> 129<p>Links to JSON-LD API specifications: <a href="latest/json-ld-api/">Latest</a>, <a href="FCGS/json-ld-api/20180607">20180607</a>, <a href="ED/json-ld-api/20180215">20180215</a>, <a href="REC/json-ld-api/20140116">20140116</a>, <a href="PR/json-ld-api/20131105">20131105</a>, <a href="CR/json-ld-api/20130910">20130910</a>, <a href="WD/json-ld-api/20130516">20130516</a>, <a href="WD/json-ld-api/20130514">20130514</a>, <a href="WD/json-ld-api/20130411">20130411</a>, <a href="FCGS/json-ld-api/20130328">20130328</a>, <a href="ED/json-ld-api/20121225">20121225</a>, <a href="ED/json-ld-api/20120930">20120930</a>, <a href="ED/json-ld-api/20120830">20120830</a>, <a href="WD/json-ld-api/20120712">20120712</a>, <a href="FCGS/json-ld-api/20120626">20120626</a>, <a href="ED/json-ld-api/20120524">20120524</a>, <a href="ED/json-ld-api/20120426">20120426</a>, <a href="ED/json-ld-api/20120112">20120112</a>, <a href="ED/json-ld-api/20111023">20111023</a>, <a href="ED/json-ld-api/20111016">20111016</a></p> 130<h2 id="best-practices" tabindex="-1"><a href="https://w3c.github.io/json-ld-bp">
130JSON-LD Best Practices</a></h2> 131<p>Best practices for publishing JSON-LD and building APIs.</p> 132<p>Links to JSON-LD API specifications: 133<a href="https://w3c.github.io/json-ld-bp">Latest</a></p> 134<h2 id="framing" tabindex="-1"><a href="latest/json-ld-framing/">JSON-LD Framing</a></h2> 135<p>JSON-LD Framing allows developers to perform <em>query by example</em> and 136force a specific tree layout to a JSON-LD document. It allows developers 137to restructure data retrieved from the Web according to the specific 138needs of their application. Restructuring JSON-LD data before your 139application processes it leads to simpler code when processing data from 140external sources.</p> 141<p>Links to JSON-LD Framing specifications: 142<a href="latest/json-ld-framing/">Latest</a>, <a href="FCGS/json-ld-framing/20180607">20180607</a>, <a href="ED/json-ld-framing/20180215">20180215</a>, <a href="ED/json-ld-framing/20120830">20120830</a></p> 143<h2 id="json-ld-rdf-api" tabindex="-1"><a href="latest/json-ld-rdf/">JSON-LD RDF API</a></h2> 144<p>JSON-LD RDF API describes access methods for transforming and abstract 145RDF represention into JSON-LD and back.</p> 146<p>Links to JSON-LD RDF API specifications: 147<a href="latest/json-ld-rdf/">Latest</a></p> 148<div id="footer" class="ui message"> 149<p>JSON-LD Specifications are covered by the <a href="https://www.w3.org/Consortium/Legal/2015/doc-license">W3C DOCUMENT 150LICENSE</a> except 151where an alternate is specified.</p> 152</div> 153 154 </div> 155 156 <div class="ui basic footer segment" id="footer"> 157 <div class="ui container" id="copyright"> 158 <p>Website content released under a 159 <a href="https://creativecommons.org/about/cc0">Creative Commons CC0 Public Domain Dedication</a> 160 except where an alternate is specified.</p> 161 </div> 162 </div> 163 164 <!-- Script tags --> 165
165<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
165 166
166<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js"></script>
166 167
167<script> 168 $('.ui.popup').each((i, el) => { 169 $(el).prev().popup({ on: 'click', inline: true, preserve: true }); 170 }); 171 </script>
171 172
172<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"dda04c35300f4e59a141460057798d3d","r":1,"spa":2}' crossorigin="anonymous"></script>
172 173</body> 174</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.