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

termCode

A Schema.org Property

This term is in the "new" area - implementation feedback and adoption from applications and websites can help improve our definitions.
A code that identifies this DefinedTerm within a DefinedTermSet

Values expected to be one of these types

Used on these types


Sub-properties

Source

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


Examples

Example 1
Copied
Example notes or example HTML without markup.
<div>
   <h1>Library of Congress Resource Type: <b>Manuscript</b></h1>
   Code: <b>Man</b>
</div>
Example encoded as Microdata embedded in HTML.
<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>
Example encoded as RDFa embedded in HTML.
<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>
Example encoded as JSON-LD in a HTML script tag.
{
 "@context": "https://schema.org/",
 "@type": "DefinedTerm",
 "termCode": "Man",
 "inDefinedTermSet": "http://id.loc.gov/vocabulary/resourceTypes"
}
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
<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>
Example encoded as Microdata embedded in HTML.
<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>
Example encoded as RDFa embedded in HTML.
<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>
Example encoded as JSON-LD in a HTML script tag.
{
 "@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"
}
Structured representation of the JSON-LD example.
https://iot.schema.org/termCode
iot.schema.org
CC-MAIN-2023-40
19001
application/http; msgtype=response
sha1:RTZZIYJSHR34RZMDMOGN3R5TJ4HF2LEA
<urn:uuid:6c7855f5-b993-424d-8994-7e650a77387b>
2023-09-27T05:01:23Z
142.251.111.102
text/html
sha1:4OHBLQ3J2XT77S6C4IY7QX2ZIPFZE67O
<urn:uuid:fe021037-1b9d-4987-8dc4-3ee9efd12fe4>
https://iot.schema.org/termCode
response
<urn:uuid:3bb793c5-6255-4b08-af33-80ab444dd5b0>
isPartOf: CC-MAIN-2023-40
publisher: Common Crawl
description: Wide crawl of the web for September/October 2023
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-200
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/