core + pending (Pending Extension): these terms are pending wider review. Feedback is welcomed!

inCodeSet

Defined in the pending.schema.org extension.
Canonical URL: http://schema.org/inCodeSet

Thing > Property > isPartOf > inCodeSet

A CategoryCodeSet that contains this catagory code.
Values expected to be one of these types
CategoryCodeSet
URL
Used on these types
CategoryCode
Super-properties
isPartOf

Source

https://github.com/schemaorg/schemaorg/issues/894



Examples

Example 1
<div>
	 <h1 >Defined Values in The Mammal Classification List</h1>
	 <ul>
		<li>Carnivore - A mammal that feeds on other animals</li>
	 </ul>
</div>
<div itemscope itemtype="http://schema.org/CategoryCodeSet" id="C1">
	 <h1>Defined Values in <span itemprop="name">The Mammal Classification List</span></h1>
	 <ul>
		<li itemprop="hasCategoryCode" itemscope itemtype="http://schema.org/CategoryCode">
			<span itemprop="name">Carnivore</span> - <span itemprop="description">A mammal that feeds on other animals</span>
			<link itemprop="inCodeSet" href="#C1"/>
		</li>
	 </ul>
</div>
<div vocab="http://schema.org/" typeof="CategoryCodeSet" id="C1">
	 <h1>Defined Values in <span property="name">The Mammal Classification List</span></h1>
	 <ul>
		<li property="hasCategoryCode" typeof="CategoryCode">
			<span property="name">Carnivore</span> - <span property="description">A mammal that feeds on other animals</span>
			<link property="inCodeSet" href="#C1"/>
		</li>
	 </ul>
</div>
{
 "@context": "http://schema.org/",
 "@type": "CategoryCodeSet",
 "@id": "_C1",
 "name": "The Mammal Classification List",
 "hasCategoryCode": {
	"@type": "CategoryCode",
	"name": "Carnivore",
	"description": "A mammal that feeds on other animals",
	"inCodeSet": "_C1"
	}
}
Example 2
<div>
	<div>
	 <h1><a href="http://openjurist.org/dictionary/Ballentine">Ballentine'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'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's Law Dictionary
	</div>
</div>
<div>
	<div itemscope itemtype="http://schema.org/CategoryCodeSet">
	<meta itemprop="alernateType" content="http://schema.org/Book">
	 <h1><a itemprop="itemid" href="http://openjurist.org/dictionary/Ballentine"><span itemprop="name">Ballentine's Law Dictionary</span></a></h1>
	</div>
	<div itemscope itemtype="http://schema.org/CategoryCode">
		<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's Law Dictionary
		<link itemprop="inCodeSet" href="http://openjurist.org/dictionary/Ballentine">
	</div>
	<div itemscope itemtype="http://schema.org/CategoryCode">
		<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's Law Dictionary
		<link itemprop="inCodeSet" href="http://openjurist.org/dictionary/Ballentine">
	</div>
</div>
<div  vocab="http://schema.org/">
	<div typeof"CategoryCodeSet Book">
	 <h1><a property="itemid" href="http://openjurist.org/dictionary/Ballentine"><span property="name">Ballentine's Law Dictionary</span></a></h1>
	</div>
	<div typeof="CategoryCode">
		<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's Law Dictionary
		<link property="inCodeSet" href="http://openjurist.org/dictionary/Ballentine">
	</div>
	<div typeof="CategoryCode">
		<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's Law Dictionary
		<link property="inCodeSet" href="http://openjurist.org/dictionary/Ballentine">
	</div>
</div>
[
	{
		"@context": "http://schema.org/"
	},
	{
		"@type": ["CategoryCodeSet","Book"],
		"@id": "http://openjurist.org/dictionary/Ballentine",
		"name": "Ballentine's Law Dictionary"
	},
	{
		"@type": "CategoryCode",
		"@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.",
		"inCodeSet": "http://openjurist.org/dictionary/Ballentine"
	},
	{
		"@type": "CategoryCode",
		"@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.",
		"inCodeSet": "http://openjurist.org/dictionary/Ballentine"
	}
]
Example 3
<div>
	<h1>Occupation Term defined by <a href="http://onetonline.org">O*Net Online</a></h1>
	<h2>51-6042.00 - Shoe Machine Operators and Tenders</h2>
	Operate or tend a variety of machines to join, decorate, reinforce, or finish shoes and shoe parts.
</div>
<div itemscope itemtype="http://schema.org/CategoryCode">
	<h1>Occupation Term defined by <a itemprop="inCodeSet" href="http://onetonline.org">O*Net Online</a></h1>
	<h2><span itemprop="codeValue">51-6042.00</span> - <span itemprop="name">Shoe Machine Operators and Tenders</span></h2>
	<span itemprop="description">Operate or tend a variety of machines to join, decorate, reinforce, or finish shoes and shoe parts.</span>
</div>
<div vocab="http://schema.org/" typeof="CategoryCode">
	<h1>Occupation Term defined by <a property="inCodeSet" href="http://onetonline.org">O*Net Online</a></h1>
	<h2><span property="codeValue">51-6042.00</span> - <span property="name">Shoe Machine Operators and Tenders</span></h2>
	<span property="description">Operate or tend a variety of machines to join, decorate, reinforce, or finish shoes and shoe parts.</span>
</div>
{
 "@context": "http://schema.org/",
 "@type": "CategoryCode",
 "name": "Shoe Machine Operators and Tenders",
 "codeValue": "51-6042.00",
 "description": "Operate or tend a variety of machines to join, decorate, reinforce, or finish shoes and shoe parts.",
 "inCodeSet": "http://onetonline.org"
}
Example 4
<div>
	<h1>ISO 639-2: Codes for the Representation of Names of Languages<h1>
	<h2>Listing of codes:</h2>
	<ul>
		<li>...</li>
		<li>cze</li>
		<li>...</li>
	</ul>
</div>
<div>
	<h2>Czech; tchèque; Tschechisch</h2>
	<h3>From: ISO 639-2: Codes for the Representation of Names of Languages</h3>
	English: Czech</br>
	French: tchèque</br>
	German: Tschechisch</br>
</div>
<div itemscope itemtype="http://schema.org/CategoryCodeSet" itemid="http://id.loc.gov/vocabulary/iso639-2">
	<h1 itemprop="name">ISO 639-2: Codes for the Representation of Names of Languages<h1>
	<h2>Listing of codes:</h2>
	<ul>
		<li>...</li>
		<li><span itemprop="hasCategoryCode" itemid="http://id.loc.gov/vocabulary/iso639-2/cze">cze</span></li>
		<li>...</li>
	</ul>
</div>
<div itemscope itemtype="http://schema.org/CategoryCode" itemid="http://id.loc.gov/vocabulary/iso639-2/cze">
	<meta itemprop="codeValue" content="cze">
	<h2>Czech; tchèque; Tschechisch</h2>
	<link itemprop="inCodeSet" href="http://id.loc.gov/vocabulary/iso639-2">
	<h3>From: ISO 639-2: Codes for the Representation of Names of Languages</h3>
	<span itemprop="name" xml:lang="en" content="Czech">English: Czech</span></br>
	<span itemprop="name" xml:lang="fr" content="tchèque">French: tchèque</span></br>
	<span itemprop="name" xml:lang="de" content="Tschechisch">German: Tschechisch</span></br>
</div>
<div vocab="http://schema.org/" typeof="CategoryCodeSet" resource="http://id.loc.gov/vocabulary/iso639-2">
	<h1 property="name">ISO 639-2: Codes for the Representation of Names of Languages<h1>
	<h2>Listing of codes:</h2>
	<ul>
		<li>...</li>
		<li><span property="hasCategoryCode" resource="http://id.loc.gov/vocabulary/iso639-2/cze">cze</span></li>
		<li>...</li>
	</ul>
</div>
<div vocab="http://schema.org/" typeof="CategoryCode" resource=="http://id.loc.gov/vocabulary/iso639-2/cze">
	<meta property="codeValue" content="cze">
	<h2>Czech; tchèque; Tschechisch</h2>
	<link property="inCodeSet" href="http://id.loc.gov/vocabulary/iso639-2">
	<h3>From: ISO 639-2: Codes for the Representation of Names of Languages</h3>
	<span property="name" xml:lang="en" content="Czech">English: Czech</span></br>
	<span property="name" xml:lang="fr" content="tchèque">French: tchèque</span></br>
	<span property="name" xml:lang="de" content="Tschechisch">German: Tschechisch</span></br>
</div>
[
	{
		"@context": "http://schema.org/"
	},
	{
		"@type": "CategoryCodeSet",
		"@id": "http://id.loc.gov/vocabulary/iso639-2",
		"name": "ISO 639-2: Codes for the Representation of Names of Languages"
		"hasCategoryCode": "http://id.loc.gov/vocabulary/iso639-2/cze"
	},
	{
		"@type": "CategoryCode",
		"@id": "http://id.loc.gov/vocabulary/iso639-2/cze",
		"codeValue": "cze",
		"name": {
			"en": "Czech",
			"fr": "tchèque",
			"de": "Tschechisch"
		},
		"inCodeSet": "http://id.loc.gov/vocabulary/iso639-2"
	}

Schema Version 3.3