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

termCode

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

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="http://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="http://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": "http://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="http://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="http://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": "http://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"
}

Schema Version 3.4.