schemaorg-coda :: Example

eg-0315

From v29.4

JSON-LD

[
	{
		"@context": "https://schema.org/"
	},
	{
		"@type": ["DefinedTermSet","Book"],
		"@id": "http://openjurist.org/dictionary/Ballentine",
		"name": "Ballentine's Law Dictionary"
	},
	{
		"@type": "DefinedTerm",
		"@id": "http://openjurist.org/dictionary/Ballentine/term/calendar-year",
		"name": "calendar year",
		"description": "The period from January 1st to December 31st, inclusive, of any year.",
		"inDefinedTermSet": "http://openjurist.org/dictionary/Ballentine"
	},
	{
		"@type": "DefinedTerm",
		"@id": "http://openjurist.org/dictionary/Ballentine/term/schema",
		"name": "schema",
		"description": "A representation of a plan or theory in the form of an outline or model.",
		"inDefinedTermSet": "http://openjurist.org/dictionary/Ballentine"
	}
]

RDFa

<div  vocab="https://schema.org/">
	<div typeof="DefinedTermSet Book">
	 <h1><a property="url" href="http://openjurist.org/dictionary/Ballentine"><span property="name">Ballentine&apos;s Law Dictionary</span></a></h1>
	</div>
	<div typeof="DefinedTerm">
		<h2>Dictionary term</h2>
		<link property="url" href="http://openjurist.org/dictionary/Ballentine/term/calendar-year"/>
		Name: <span property="name">calendar year</span><br/>
		Description: <span property="description">The period from January 1st to December 31st, inclusive, of any year.</span><br/>
		In Dictionary: Ballentine&apos;s Law Dictionary
		<link property="inDefinedTermSet" href="http://openjurist.org/dictionary/Ballentine">
	</div>
	<div typeof="DefinedTerm">
		<h2>Dictionary term</h2>
		<link propery="url" href="http://openjurist.org/dictionary/Ballentine/term/schema"/>
		Name: <span property="name">schema</span><br/>
		Description: <span property="description">A representation of a plan or theory in the form of an outline or model.</span><br/>
		In Dictionary: Ballentine&apos;s Law Dictionary
		<link property="inDefinedTermSet" href="http://openjurist.org/dictionary/Ballentine">
	</div>
</div>

Microdata

<div>
	<div itemscope itemtype="https://schema.org/DefinedTermSet">
	<link itemprop="additionalType" href="https://schema.org/Book">
	 <h1><a itemprop="url" href="http://openjurist.org/dictionary/Ballentine"><span itemprop="name">Ballentine&apos;s Law Dictionary</span></a></h1>
	</div>
	<div itemscope itemtype="https://schema.org/DefinedTerm">
		<h2>Dictionary term</h2>
		<link itemprop="url" href="http://openjurist.org/dictionary/Ballentine/term/calendar-year"/>
		Name: <span itemprop="name">calendar year</span><br/>
		Description: <span itemprop="description">The period from January 1st to December 31st, inclusive, of any year.</span><br/>
		In Dictionary: Ballentine&apos;s Law Dictionary
		<link itemprop="inDefinedTermSet" href="http://openjurist.org/dictionary/Ballentine">
	</div>
	<div itemscope itemtype="https://schema.org/DefinedTerm">
		<h2>Dictionary term</h2>
		<link itemprop="url" href="http://openjurist.org/dictionary/Ballentine/term/schema"/>
		Name: <span itemprop="name">schema</span><br/>
		Description: <span itemprop="description">A representation of a plan or theory in the form of an outline or model.</span><br/>
		In Dictionary: Ballentine&apos;s Law Dictionary
		<link itemprop="inDefinedTermSet" href="http://openjurist.org/dictionary/Ballentine">
	</div>
</div>

Pre-Markup

<div>
	<div>
	 <h1><a href="http://openjurist.org/dictionary/Ballentine">Ballentine&apos;s Law Dictionary</a></h1>
	</div>
	<div>
		<h2>Dictionary term</h2>
		Name: calendar year<br/>
		Description: The period from January 1st to December 31st, inclusive, of any year.<br/>
		In Dictionary: Ballentine&apos;s Law Dictionary
	</div>
	<div>
		<h2>Dictionary term</h2>
		Name: schema<br/>
		Description: A representation of a plan or theory in the form of an outline or model.<br/>
		In Dictionary: Ballentine&apos;s Law Dictionary
	</div>
</div>