codeValue
Defined in the pending.schema.org extension.Canonical URL: http://schema.org/codeValue
A short textual code that uniquely identifies the value.
Usage: Between 10 and 100 domains
- Leave public feedback on this term 💬
- Check for open issues.
- 'codeValue' is mentioned in extension layer: health-lifesci
- 'codeValue' is mentioned in extension layer: pending
| Values expected to be one of these types |
|---|
Text
|
| Used on these types |
|---|
CategoryCode
|
| Used on types defined in extensions |
|---|
MedicalCode - defined in the health-lifesci extension |
Source
https://github.com/schemaorg/schemaorg/issues/894
Examples
<div> <h1>Library of Congress Resource Type: <b>Manuscript</b></h1> Code: <b>Man</b> </div>
<div itemscope itemtype="http://schema.org/CategoryCode"> <h1>Library of Congress Resource Type: <b><span itemprop="name">Manuscript</span></b></h1> Code: <b><span itemprop="codeValue">Man</span></b> <link itemprop="inCodeSet" href="http://id.loc.gov/vocabulary/resourceTypes"/> </div>
<div vocab="http://schema.org/" typeof="CategoryCode"> <h1>Library of Congress Resource Type: <b><span property="name">Manuscript</span></b></h1> Code: <b><span property="codeValue">Man</span></b> <link property="inCodeSet" href="http://id.loc.gov/vocabulary/resourceTypes"/> </div>
{
"@context": "http://schema.org/",
"@type": "CategoryCode",
"codeValue": "Man",
"inCodeSet": "http://id.loc.gov/vocabulary/resourceTypes"
}
<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"
}
<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