Skip to content

Commit

Permalink
Issue schemaorg#1698: Added Occupation and examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
vholland committed Jul 31, 2017
1 parent 7c19bf4 commit 7fea72a
Show file tree
Hide file tree
Showing 2 changed files with 372 additions and 0 deletions.
145 changes: 145 additions & 0 deletions data/ext/pending/issue-1698-examples.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
TYPES: Person, Occupation

PRE-MARKUP:

See JSON example.

MICRODATA:

TODO

RDFA:

TODO

JSON:

<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Person",
"name": "Peter Venkman",
"hasOccupation": {
"@type": "Occupation",
"name": "Parapsychologist",
"educationRequirements": "PhD in parapsychology",
}
}
</script>

TYPES: Person, Occupation, Role

PRE-MARKUP:

See JSON example.

MICRODATA:

TODO

RDFA:

TODO

JSON:

<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Person",
"name": "Albert Einstein",
"hasOccupation": [
{
"@type": "Role",
"hasOccupation": {
"name": "Patent examiner",
"occupationalCategory": "23-2099.00"
},
"startDate": "1901",
"endDate": "1906"
},
{
"@type": "Occupation",
"name": "Professor of Physics",
"educationRequirements": "PhD in Physics",
}
]
}
</script>

TYPES: JobPosting, Occupation

PRE-MARKUP:

See JSON example.

MICRODATA:

TODO

RDFA:

TODO

JSON:

<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "JobPosting",
"name": "Mobile App Developer",
"hiringOrganization": {
"@type": "Organization",
"name": "ACME Software",
},
"relevantOccupation": {
"@type": "Occupation",
"name": "Software Developers, Applications",
"occupationalCategory": "15-1132.00"
}
}
</script>

TYPES: Occupation, MonetaryAmountDistribution

PRE-MARKUP:

See JSON example.

MICRODATA:

TODO

RDFA:

TODO

JSON:

<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Occupation",
"name": "Nurse Practioner",
"educationRequirements": "Graduate degree in nursing",
"occupationalCategory": "29-1171.00",
"occupationalLocation": {
"@type": "Country",
"name": "USA",
"sameAs": "https://www.wikidata.org/wiki/Q30"
},
"qualifications": "Registered nurse licensure in state where practicing",
"responsibilities": "Diagnose and treat acute, episodic, or chronic illness, independently or as part of a healthcare team.",
"skills": ["Active listening", "Critical thinking", "Social awareness"],
"estimatedSalary": {
"@type": "MonetaryAmountDistribution",
"duration": "1Y",
"currency": "USD",
"percentile10": 72000,
"percentile25": 86000,
"median": 109000,
"percentile75": 120000,
"percentile90": 140000
}
}
</script>
227 changes: 227 additions & 0 deletions data/ext/pending/issue-1698.rdfa
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
<div>
<!-- Occupation, issue 1698 -->

<div typeof="rdfs:Class" resource="http://schema.org/Occupation">
<span class="h" property="rdfs:label">Occupation</span>
<span property="rdfs:comment">A profession, may involve prolonged training and/or a formal qualification.</span>
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Intangible">Intangible</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/educationRequirements">
<span class="h" property="rdfs:label">educationRequirements</span>
<span property="rdfs:comment">Educational background needed for the position or Occupation.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/estimatedSalary">
<span class="h" property="rdfs:label">estimatedSalary</span>
<span property="rdfs:comment">The estimated salary for this occupation in the given occupationLocation.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/MonetaryAmountDistribution">MonetaryAmountDistribution</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/experienceRequirements">
<span class="h" property="rdfs:label">experienceRequirements</span>
<span property="rdfs:comment">Description of skills and experience needed for the position or Occupation.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/occupationalCategory">
<span class="h" property="rdfs:label">occupationalCategory</span>
<span property="rdfs:comment">Category or categories describing the job. Use BLS O*NET-SOC taxonomy: http://www.onetcenter.org/taxonomy.html. Ideally includes textual label and formal code, with the property repeated for each applicable value.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/occupationLocation">
<span class="h" property="rdfs:label">occupationLocation</span>
<span property="rdfs:comment"> The region/country for which this occupational description is appropriate. Note that educational requirements and qualifications can vary between jurisdictions.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/AdministrativeArea">AdministrativeArea</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/qualifications">
<span class="h" property="rdfs:label">qualifications</span>
<span property="rdfs:comment">Specific qualifications required for this role or Occupation.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/responsibilities">
<span class="h" property="rdfs:label">responsibilities</span>
<span property="rdfs:comment">Responsibilities associated with this role or Occupation.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/skills">
<span class="h" property="rdfs:label">skills</span>
<span property="rdfs:comment">Skills required to fulfill this role or in this Occupation.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/hasOccupation">
<span class="h" property="rdfs:label">hasOccupation</span>
<span property="rdfs:comment">The Person's occupation. For past professions, use Role for expressing dates.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Person">Person</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Occupation">Occupation</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/relevantOccupation">
<span class="h" property="rdfs:label">relevantOccupation</span>
<span property="rdfs:comment">The Occupation for the JobPosting.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Occupation">Occupation</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdfs:Class" resource="http://schema.org/QuantitativeValueDistribution">
<span class="h" property="rdfs:label">QuantitativeValueDistribution</span>
<span property="rdfs:comment">A statistical distribution of values.</span>
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>
<div typeof="rdf:Property" resource="http://schema.org/duration">
<span class="h" property="rdfs:label">duration</span>
<span property="rdfs:comment">The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MediaObject">MediaObject</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Event">Event</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Movie">Movie</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MusicRecording">MusicRecording</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Duration">Duration</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>
<div typeof="rdf:Property" resource="http://schema.org/percentile10">
<span class="h" property="rdfs:label">percentile10</span>
<span property="rdfs:comment">The 10th percentile value.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>
<div typeof="rdf:Property" resource="http://schema.org/percentile25">
<span class="h" property="rdfs:label">percentile25</span>
<span property="rdfs:comment">The 25th percentile value.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>
<div typeof="rdf:Property" resource="http://schema.org/median">
<span class="h" property="rdfs:label">median</span>
<span property="rdfs:comment">The median value.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>
<div typeof="rdf:Property" resource="http://schema.org/percentile75">
<span class="h" property="rdfs:label">percentile75</span>
<span property="rdfs:comment">The 75th percentile value.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>
<div typeof="rdf:Property" resource="http://schema.org/percentile90">
<span class="h" property="rdfs:label">percentile90</span>
<span property="rdfs:comment">The 90th percentile value.</span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdfs:Class" resource="http://schema.org/MonetaryAmountDistribution">
<span class="h" property="rdfs:label">MonetaryAmountDistribution</span>
<span property="rdfs:comment">A statistical distribution of monetary amounts.</span>
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/QuantitativeValue">QuantitativeValueDistribution</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>

<div typeof="rdf:Property" resource="http://schema.org/currency">
<span class="h" property="rdfs:label">currency</span>
<span property="rdfs:comment">The currency in which the monetary amount is expressed (in 3-letter [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217) format).</span>
<span>domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/DatedMoneySpecification">DatedMoneySpecification</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MonetaryAmount">MonetaryAmount</a></span>
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MonetaryAmountDistribution">MonetaryAmountDistribution</a></span>
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>

<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
<span property="schema:category">issue-1698</span>
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
</div>


</div>

0 comments on commit 7fea72a

Please sign in to comment.