Skip to content

Commit 7fea72a

Browse files
committed
Issue schemaorg#1698: Added Occupation and examples.
1 parent 7c19bf4 commit 7fea72a

File tree

2 files changed

+372
-0
lines changed

2 files changed

+372
-0
lines changed
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
TYPES: Person, Occupation
2+
3+
PRE-MARKUP:
4+
5+
See JSON example.
6+
7+
MICRODATA:
8+
9+
TODO
10+
11+
RDFA:
12+
13+
TODO
14+
15+
JSON:
16+
17+
<script type="application/ld+json">
18+
{
19+
"@context": "http://schema.org/",
20+
"@type": "Person",
21+
"name": "Peter Venkman",
22+
"hasOccupation": {
23+
"@type": "Occupation",
24+
"name": "Parapsychologist",
25+
"educationRequirements": "PhD in parapsychology",
26+
}
27+
}
28+
</script>
29+
30+
TYPES: Person, Occupation, Role
31+
32+
PRE-MARKUP:
33+
34+
See JSON example.
35+
36+
MICRODATA:
37+
38+
TODO
39+
40+
RDFA:
41+
42+
TODO
43+
44+
JSON:
45+
46+
<script type="application/ld+json">
47+
{
48+
"@context": "http://schema.org/",
49+
"@type": "Person",
50+
"name": "Albert Einstein",
51+
"hasOccupation": [
52+
{
53+
"@type": "Role",
54+
"hasOccupation": {
55+
"name": "Patent examiner",
56+
"occupationalCategory": "23-2099.00"
57+
},
58+
"startDate": "1901",
59+
"endDate": "1906"
60+
},
61+
{
62+
"@type": "Occupation",
63+
"name": "Professor of Physics",
64+
"educationRequirements": "PhD in Physics",
65+
}
66+
]
67+
}
68+
</script>
69+
70+
TYPES: JobPosting, Occupation
71+
72+
PRE-MARKUP:
73+
74+
See JSON example.
75+
76+
MICRODATA:
77+
78+
TODO
79+
80+
RDFA:
81+
82+
TODO
83+
84+
JSON:
85+
86+
<script type="application/ld+json">
87+
{
88+
"@context": "http://schema.org/",
89+
"@type": "JobPosting",
90+
"name": "Mobile App Developer",
91+
"hiringOrganization": {
92+
"@type": "Organization",
93+
"name": "ACME Software",
94+
},
95+
"relevantOccupation": {
96+
"@type": "Occupation",
97+
"name": "Software Developers, Applications",
98+
"occupationalCategory": "15-1132.00"
99+
}
100+
}
101+
</script>
102+
103+
TYPES: Occupation, MonetaryAmountDistribution
104+
105+
PRE-MARKUP:
106+
107+
See JSON example.
108+
109+
MICRODATA:
110+
111+
TODO
112+
113+
RDFA:
114+
115+
TODO
116+
117+
JSON:
118+
119+
<script type="application/ld+json">
120+
{
121+
"@context": "http://schema.org/",
122+
"@type": "Occupation",
123+
"name": "Nurse Practioner",
124+
"educationRequirements": "Graduate degree in nursing",
125+
"occupationalCategory": "29-1171.00",
126+
"occupationalLocation": {
127+
"@type": "Country",
128+
"name": "USA",
129+
"sameAs": "https://www.wikidata.org/wiki/Q30"
130+
},
131+
"qualifications": "Registered nurse licensure in state where practicing",
132+
"responsibilities": "Diagnose and treat acute, episodic, or chronic illness, independently or as part of a healthcare team.",
133+
"skills": ["Active listening", "Critical thinking", "Social awareness"],
134+
"estimatedSalary": {
135+
"@type": "MonetaryAmountDistribution",
136+
"duration": "1Y",
137+
"currency": "USD",
138+
"percentile10": 72000,
139+
"percentile25": 86000,
140+
"median": 109000,
141+
"percentile75": 120000,
142+
"percentile90": 140000
143+
}
144+
}
145+
</script>

data/ext/pending/issue-1698.rdfa

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
<div>
2+
<!-- Occupation, issue 1698 -->
3+
4+
<div typeof="rdfs:Class" resource="http://schema.org/Occupation">
5+
<span class="h" property="rdfs:label">Occupation</span>
6+
<span property="rdfs:comment">A profession, may involve prolonged training and/or a formal qualification.</span>
7+
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Intangible">Intangible</a></span>
8+
9+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
10+
<span property="schema:category">issue-1698</span>
11+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
12+
</div>
13+
14+
<div typeof="rdf:Property" resource="http://schema.org/educationRequirements">
15+
<span class="h" property="rdfs:label">educationRequirements</span>
16+
<span property="rdfs:comment">Educational background needed for the position or Occupation.</span>
17+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
18+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
19+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
20+
21+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
22+
<span property="schema:category">issue-1698</span>
23+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
24+
</div>
25+
26+
<div typeof="rdf:Property" resource="http://schema.org/estimatedSalary">
27+
<span class="h" property="rdfs:label">estimatedSalary</span>
28+
<span property="rdfs:comment">The estimated salary for this occupation in the given occupationLocation.</span>
29+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
30+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/MonetaryAmountDistribution">MonetaryAmountDistribution</a></span>
31+
32+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
33+
<span property="schema:category">issue-1698</span>
34+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
35+
</div>
36+
37+
<div typeof="rdf:Property" resource="http://schema.org/experienceRequirements">
38+
<span class="h" property="rdfs:label">experienceRequirements</span>
39+
<span property="rdfs:comment">Description of skills and experience needed for the position or Occupation.</span>
40+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
41+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
42+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
43+
44+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
45+
<span property="schema:category">issue-1698</span>
46+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
47+
</div>
48+
49+
<div typeof="rdf:Property" resource="http://schema.org/occupationalCategory">
50+
<span class="h" property="rdfs:label">occupationalCategory</span>
51+
<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>
52+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
53+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
54+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
55+
56+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
57+
<span property="schema:category">issue-1698</span>
58+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
59+
</div>
60+
61+
<div typeof="rdf:Property" resource="http://schema.org/occupationLocation">
62+
<span class="h" property="rdfs:label">occupationLocation</span>
63+
<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>
64+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
65+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/AdministrativeArea">AdministrativeArea</a></span>
66+
67+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
68+
<span property="schema:category">issue-1698</span>
69+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
70+
</div>
71+
72+
<div typeof="rdf:Property" resource="http://schema.org/qualifications">
73+
<span class="h" property="rdfs:label">qualifications</span>
74+
<span property="rdfs:comment">Specific qualifications required for this role or Occupation.</span>
75+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
76+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
77+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
78+
79+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
80+
<span property="schema:category">issue-1698</span>
81+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
82+
</div>
83+
84+
<div typeof="rdf:Property" resource="http://schema.org/responsibilities">
85+
<span class="h" property="rdfs:label">responsibilities</span>
86+
<span property="rdfs:comment">Responsibilities associated with this role or Occupation.</span>
87+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
88+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
89+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
90+
91+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
92+
<span property="schema:category">issue-1698</span>
93+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
94+
</div>
95+
96+
<div typeof="rdf:Property" resource="http://schema.org/skills">
97+
<span class="h" property="rdfs:label">skills</span>
98+
<span property="rdfs:comment">Skills required to fulfill this role or in this Occupation.</span>
99+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
100+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">Occupation</a></span>
101+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
102+
103+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
104+
<span property="schema:category">issue-1698</span>
105+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
106+
</div>
107+
108+
<div typeof="rdf:Property" resource="http://schema.org/hasOccupation">
109+
<span class="h" property="rdfs:label">hasOccupation</span>
110+
<span property="rdfs:comment">The Person's occupation. For past professions, use Role for expressing dates.</span>
111+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Person">Person</a></span>
112+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Occupation">Occupation</a></span>
113+
114+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
115+
<span property="schema:category">issue-1698</span>
116+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
117+
</div>
118+
119+
<div typeof="rdf:Property" resource="http://schema.org/relevantOccupation">
120+
<span class="h" property="rdfs:label">relevantOccupation</span>
121+
<span property="rdfs:comment">The Occupation for the JobPosting.</span>
122+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/JobPosting">JobPosting</a></span>
123+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Occupation">Occupation</a></span>
124+
125+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
126+
<span property="schema:category">issue-1698</span>
127+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
128+
</div>
129+
130+
<div typeof="rdfs:Class" resource="http://schema.org/QuantitativeValueDistribution">
131+
<span class="h" property="rdfs:label">QuantitativeValueDistribution</span>
132+
<span property="rdfs:comment">A statistical distribution of values.</span>
133+
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/QuantitativeValue">QuantitativeValue</a></span>
134+
135+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
136+
<span property="schema:category">issue-1698</span>
137+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
138+
</div>
139+
<div typeof="rdf:Property" resource="http://schema.org/duration">
140+
<span class="h" property="rdfs:label">duration</span>
141+
<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>
142+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MediaObject">MediaObject</a></span>
143+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Event">Event</a></span>
144+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/Movie">Movie</a></span>
145+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MusicRecording">MusicRecording</a></span>
146+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
147+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Duration">Duration</a></span>
148+
149+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
150+
<span property="schema:category">issue-1698</span>
151+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
152+
</div>
153+
<div typeof="rdf:Property" resource="http://schema.org/percentile10">
154+
<span class="h" property="rdfs:label">percentile10</span>
155+
<span property="rdfs:comment">The 10th percentile value.</span>
156+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
157+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>
158+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
159+
<span property="schema:category">issue-1698</span>
160+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
161+
</div>
162+
<div typeof="rdf:Property" resource="http://schema.org/percentile25">
163+
<span class="h" property="rdfs:label">percentile25</span>
164+
<span property="rdfs:comment">The 25th percentile value.</span>
165+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
166+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>
167+
168+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
169+
<span property="schema:category">issue-1698</span>
170+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
171+
</div>
172+
<div typeof="rdf:Property" resource="http://schema.org/median">
173+
<span class="h" property="rdfs:label">median</span>
174+
<span property="rdfs:comment">The median value.</span>
175+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
176+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>
177+
178+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
179+
<span property="schema:category">issue-1698</span>
180+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
181+
</div>
182+
<div typeof="rdf:Property" resource="http://schema.org/percentile75">
183+
<span class="h" property="rdfs:label">percentile75</span>
184+
<span property="rdfs:comment">The 75th percentile value.</span>
185+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
186+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>
187+
188+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
189+
<span property="schema:category">issue-1698</span>
190+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
191+
</div>
192+
<div typeof="rdf:Property" resource="http://schema.org/percentile90">
193+
<span class="h" property="rdfs:label">percentile90</span>
194+
<span property="rdfs:comment">The 90th percentile value.</span>
195+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/QuantitativeValueDistribution">QuantitativeValueDistribution</a></span>
196+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Number">Number</a></span>
197+
198+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
199+
<span property="schema:category">issue-1698</span>
200+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
201+
</div>
202+
203+
<div typeof="rdfs:Class" resource="http://schema.org/MonetaryAmountDistribution">
204+
<span class="h" property="rdfs:label">MonetaryAmountDistribution</span>
205+
<span property="rdfs:comment">A statistical distribution of monetary amounts.</span>
206+
<span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/QuantitativeValue">QuantitativeValueDistribution</a></span>
207+
208+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
209+
<span property="schema:category">issue-1698</span>
210+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
211+
</div>
212+
213+
<div typeof="rdf:Property" resource="http://schema.org/currency">
214+
<span class="h" property="rdfs:label">currency</span>
215+
<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>
216+
<span>domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/DatedMoneySpecification">DatedMoneySpecification</a></span>
217+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MonetaryAmount">MonetaryAmount</a></span>
218+
<span>Domain: <a property="http://schema.org/domainIncludes" href="http://schema.org/MonetaryAmountDistribution">MonetaryAmountDistribution</a></span>
219+
<span>Range: <a property="http://schema.org/rangeIncludes" href="http://schema.org/Text">Text</a></span>
220+
221+
<link property="http://schema.org/isPartOf" href="http://pending.schema.org" />
222+
<span property="schema:category">issue-1698</span>
223+
<a property="dc:source" href="https://github.com/schemaorg/schemaorg/issues/1698"></a>
224+
</div>
225+
226+
227+
</div>

0 commit comments

Comments
 (0)