Note: you are viewing the development version of schema.org. See How we work for more details.

termCode

This term is proposed for full integration into Schema.org, pending implementation feedback and adoption from applications and websites.

Thing > Property > termCode

A code that identifies this DefinedTerm within a DefinedTermSet
Values expected to be one of these types
Text
Used on these types
DefinedTerm
Sub-properties
codeValue

Source

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

Examples

Example 1
<div>
   <h1>Library of Congress Resource Type: <b>Manuscript</b></h1>
   Code: <b>Man</b>
</div>
<div itemscope itemtype="https://schema.org/DefinedTerm">
   <h1>Library of Congress Resource Type: <b><span itemprop="name">Manuscript</span></b></h1>
   Code: <b><span itemprop="termCode">Man</span></b>
   <link itemprop="inDefinedTermSet" href="http://id.loc.gov/vocabulary/resourceTypes"/>
</div>
<div vocab="https://schema.org/" typeof="DefinedTerm">
   <h1>Library of Congress Resource Type: <b><span property="name">Manuscript</span></b></h1>
   Code: <b><span property="termCode">Man</span></b>
   <link property="inDefinedTermSet" href="http://id.loc.gov/vocabulary/resourceTypes"/>
</div>
{
 "@context": "https://schema.org/",
 "@type": "DefinedTerm",
 "termCode": "Man",
 "inDefinedTermSet": "http://id.loc.gov/vocabulary/resourceTypes"
}
Example 2
<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="https://schema.org/DefinedTerm">
	<h1>Occupation Term defined by <a itemprop="inDefinedTermSet" href="http://onetonline.org">O*Net Online</a></h1>
	<h2><span itemprop="termCode">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="https://schema.org/" typeof="DefinedTerm">
	<h1>Occupation Term defined by <a property="inDefinedTermSet" href="http://onetonline.org">O*Net Online</a></h1>
	<h2><span property="termCode">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": "https://schema.org/",
 "@type": "DefinedTerm",
 "name": "Shoe Machine Operators and Tenders",
 "termCode": "51-6042.00",
 "description": "Operate or tend a variety of machines to join, decorate, reinforce, or finish shoes and shoe parts.",
 "inDefinedTermSet": "http://onetonline.org"
}