hasEnumerationValue
Defined in the pending.schema.org extension.Canonical URL: http://schema.org/hasEnumerationValue
Value contained in value set.
Usage: Fewer than 10 domains
- Leave public feedback on this term 💬
- Check for open issues.
- 'hasEnumerationValue' is mentioned in extension layer: pending
Values expected to be one of these types |
---|
Text
|
Used on these types |
---|
EnumerationValueSet
|
Super-properties |
---|
hasPart |
Source
https://github.com/schemaorg/schemaorg/issues/894
Examples
<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/EnumerationValueSet" id="C1"> <h1>Defined Values in <span itemprop="name">The Mammal Classification List</span></h1> <ul> <li itemprop="hasEnumerationValue" itemscope itemtype="http://schema.org/EnumerationValue"> <span itemprop="name">Carnivore</span> - <span itemprop="description">A mammal that feeds on other animals</span> <link itemprop="partOfEnumerationValueSet" href="#C1"/> </li> </ul> </div>
<div vocab="http://schema.org/" typeof="EnumerationValueSet" id="C1"> <h1>Defined Values in <span property="name">The Mammal Classification List</span></h1> <ul> <li property="hasEnumerationValue" typeof="EnumerationValue"> <span property="name">Carnivore</span> - <span property="description">A mammal that feeds on other animals</span> <link property="partOfEnumerationValueSet" href="#C1"/> </li> </ul> </div>
{ "@context": "http://schema.org/", "@type": "EnumerationValueSet", "@id": "_C1", "name": "The Mammal Classification List", "hasEnumerationValue": { "@type": "EnumerationValue", "name": "Carnivore", "description": "A mammal that feeds on other animals", "partOfEnumerationValueSet": "_C1" } }
<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/EnumerationValueSet" 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="hasEnumerationValue" itemid="http://id.loc.gov/vocabulary/iso639-2/cze">cze</span></li> <li>...</li> </ul> </div> <div itemscope itemtype="http://schema.org/EnumerationValue" itemid="http://id.loc.gov/vocabulary/iso639-2/cze"> <meta itemprop="enumerationValueCode" content="cze"> <h2>Czech; tchèque; Tschechisch</h2> <link itemprop="partOfEnumerationValueSet" 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="EnumerationValueSet" 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="hasEnumerationValue" resource="http://id.loc.gov/vocabulary/iso639-2/cze">cze</span></li> <li>...</li> </ul> </div> <div vocab="http://schema.org/" typeof="EnumerationValueSet" resource=="http://id.loc.gov/vocabulary/iso639-2/cze"> <meta property="enumerationValueCode" content="cze"> <h2>Czech; tchèque; Tschechisch</h2> <link property="partOfEnumerationValueSet" 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": "EnumerationValueSet", "@id": "http://id.loc.gov/vocabulary/iso639-2", "name": "ISO 639-2: Codes for the Representation of Names of Languages" "hasEnumerationValue": "http://id.loc.gov/vocabulary/iso639-2/cze" }, { "@type": "EnumerationValue", "@id": "http://id.loc.gov/vocabulary/iso639-2/cze", "enumerationValueCode": "cze", "name": { "en": "Czech", "fr": "tchèque", "de": "Tschechisch" }, "partOfEnumerationValueSet": "http://id.loc.gov/vocabulary/iso639-2" }
<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/EnumerationValueSet" 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="hasEnumerationValue" itemid="http://id.loc.gov/vocabulary/iso639-2/cze">cze</span></li> <li>...</li> </ul> </div> <div itemscope itemtype="http://schema.org/EnumerationValue" itemid="http://id.loc.gov/vocabulary/iso639-2/cze"> <meta itemprop="enumerationValueCode" content="cze"> <h2>Czech; tchèque; Tschechisch</h2> <link itemprop="partOfEnumerationValueSet" 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="EnumerationValueSet" 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="hasEnumerationValue" resource="http://id.loc.gov/vocabulary/iso639-2/cze">cze</span></li> <li>...</li> </ul> </div> <div vocab="http://schema.org/" typeof="EnumerationValueSet" resource=="http://id.loc.gov/vocabulary/iso639-2/cze"> <meta property="enumerationValueCode" content="cze"> <h2>Czech; tchèque; Tschechisch</h2> <link property="partOfEnumerationValueSet" 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": "EnumerationValueSet", "@id": "http://id.loc.gov/vocabulary/iso639-2", "name": "ISO 639-2: Codes for the Representation of Names of Languages" "hasEnumerationValue": "http://id.loc.gov/vocabulary/iso639-2/cze" }, { "@type": "EnumerationValue", "@id": "http://id.loc.gov/vocabulary/iso639-2/cze", "enumerationValueCode": "cze", "name": { "en": "Czech", "fr": "tchèque", "de": "Tschechisch" }, "partOfEnumerationValueSet": "http://id.loc.gov/vocabulary/iso639-2" }
Schema Version 3.2