eg-0231
From
v29.4
JSON-LD
{
"@context": "https://schema.org/",
"@type": "Legislation",
"@id": "http://law.country.zz/legislation/5634AB",
"legislationIdentifier": "5634AB",
"keywords": "customs",
"workExample": [
{
"@type": "Legislation",
"@id": "http://law.country.zz/legislation/5634AB/en",
"inLanguage": "English",
"encoding": [
{
"@type": "LegislationObject",
"@id": "customs-code-en.html",
"legislationLegalValue": { "@id": "https://schema.org/OfficialLegalValue" },
"encodingFormat": "HTML"
},
{
"@type": "LegislationObject",
"@id": "customs-code-en.pdf",
"legislationLegalValue": { "@id": "https://schema.org/DefinitiveLegalValue" },
"encodingFormat": "PDF"
}
]
},
{
"@type": "Legislation",
"@id": "http://law.country.zz/legislation/5634AB/fr",
"inLanguage": "French",
"encoding": [
{
"@type": "LegislationObject",
"@id": "customs-code-fr.html",
"legislationLegalValue": { "@id": "https://schema.org/OfficialLegalValue" },
"encodingFormat": "HTML"
},
{
"@type": "LegislationObject",
"@id": "customs-code-fr.pdf",
"legislationLegalValue": { "@id": "https://schema.org/DefinitiveLegalValue" },
"encodingFormat": "PDF"
}
]
}
]
}RDFa
<h1>An illustration of declaring "Work", "Expression" and "Manifestation" levels</h1>
<div vocab="https://schema.org/" resource="http://law.country.zz/legislation/5634AB" typeof="Legislation">
<h2>The Customs Code</h2>
<div id="global">
<div>Document number : <span property="legislationIdentifier">5634AB</span></div>
<div>Subject matter : <span property="keywords">customs</span></div>
</div>
<div id="lang-en" property="workExample" resource="http://law.country.zz/legislation/5634AB/en" typeof="Legislation">
<span property="inLanguage">English</span> - <span property="name" lang="en">The Customs Code</span> :
<ul>
<li>
<a property="encoding" typeof="LegislationObject" href="customs-code-en.html">
<link property="legislationLegalValue" href="https://schema.org/OfficialLegalValue" />
in <span property="encodingFormat">HTML</span> (informative only)
</a>
</li>
<li>
<a property="encoding" typeof="LegislationObject" href="customs-code-en.pdf">
<link property="legislationLegalValue" href="https://schema.org/DefinitiveLegalValue" />
in <span property="encodingFormat">PDF</span> (authentic)
</a>
</li>
</ul>
</div>
<div id="lang-fr" property="workExample" resource="http://law.country.zz/legislation/5634AB/fr" typeof="Legislation">
<span property="inLanguage">French</span> - <span property="name" lang="fr">Le code des douanes</span> :
<ul>
<li>
<a property="encoding" typeof="LegislationObject" href="customs-code-fr.html">
<link property="legislationLegalValue" href="https://schema.org/OfficialLegalValue" />
en <span property="encodingFormat">HTML</span> (valeur informative seulement)
</a>
</li>
<li>
<a property="encoding" typeof="LegislationObject" href="customs-code-fr.pdf">
<link property="legislationLegalValue" href="https://schema.org/DefinitiveLegalValue" />
en <span property="encodingFormat">PDF</span> (authentique)
</a>
</li>
</ul>
</div>
</div>Microdata
<h1>An illustration of declaring "Work", "Expression" and "Manifestation" levels</h1>
<div itemscope itemid="http://law.country.zz/legislation/5634AB" itemtype="https://schema.org/Legislation">
<h2>The Customs Code</h2>
<div id="global">
<div>Document number : <span itemprop="https://schema.org/legislationIdentifier">5634AB</span></div>
<div>Subject matter : <span itemprop="https://schema.org/keywords">customs</span></div>
</div>
<div id="lang-en" itemscope itemprop="https://schema.org/workExample" itemid="http://law.country.zz/legislation/5634AB/en" itemtype="https://schema.org/Legislation">
<span itemprop="https://schema.org/inLanguage">English</span> - <span itemprop="https://schema.org/name" lang="en">The Customs Code</span> :
<ul>
<li>
<a itemscope itemprop="https://schema.org/encoding" itemtype="https://schema.org/LegislationObject" itemid="customs-code-en.html" href="customs-code-en.html">
<link itemprop="https://schema.org/legislationLegalValue" href="https://schema.org/OfficialLegalValue" />
in <span itemprop="https://schema.org/encodingFormat">HTML</span> (informative only)
</a>
</li>
<li>
<a itemscope itemprop="https://schema.org/encoding" itemtype="https://schema.org/LegislationObject" itemid="customs-code-en.pdf" href="customs-code-en.pdf">
<link itemprop="https://schema.org/legislationLegalValue" href="https://schema.org/DefinitiveLegalValue" />
in <span itemprop="https://schema.org/encodingFormat">PDF</span> (authentic)
</a>
</li>
</ul>
</div>
<div id="lang-fr" itemscope itemprop="https://schema.org/workExample" resource="http://law.country.zz/legislation/5634AB/fr" itemtype="https://schema.org/Legislation">
<span itemprop="https://schema.org/inLanguage">French</span> - <span itemprop="https://schema.org/name" lang="fr">Le code des douanes</span> :
<ul>
<li>
<a itemscope itemprop="https://schema.org/encoding" itemtype="https://schema.org/LegislationObject" itemid="customs-code-fr.html" href="customs-code-fr.html">
<link itemprop="https://schema.org/legislationLegalValue" href="https://schema.org/OfficialLegalValue" />
en <span itemprop="https://schema.org/encodingFormat">HTML</span> (valeur informative seulement)
</a>
</li>
<li>
<a itemscope itemprop="https://schema.org/encoding" itemtype="https://schema.org/LegislationObject" itemid="customs-code-fr.pdf" href="customs-code-fr.pdf">
<link itemprop="https://schema.org/legislationLegalValue" href="https://schema.org/DefinitiveLegalValue" />
en <span itemprop="https://schema.org/encodingFormat">PDF</span> (authentique)
</a>
</li>
</ul>
</div>
</div>Pre-Markup
<h1>An illustration of declaring "Work", "Expression" and "Manifestation" levels</h1>
<div>
<h2>The Customs Code</h2>
<div id="global">
<div>Date of document : 20 December 1979</div>
<div>Subject matter : customs</div>
</div>
<div id="lang-en">
English - The Customs Code :
<ul>
<li><a href="customs-code-en.html">in HTML (informative only)</a></li>
<li><a href="customs-code-en.pdf">in PDF (authentic)</a></li>
</ul>
</div>
<div id="lang-fr">
French - Le code des douanes :
<ul>
<li><a href="customs-code-fr.html">en HTML (valeur informative seulement)</a></li>
<li><a href="customs-code-fr.pdf">en PDF (authentique)</a></li>
</ul>
</div>
</div>