forked from smart-data-models/data-models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.org.yaml
319 lines (306 loc) · 10.7 KB
/
schema.org.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
---
# Copyright (c) 2020 Contributors to Smart-Data-Models
# see https://github.com/smart-data-models
ContactPoint:
properties:
areaServed:
$ref: "#/areaServed"
description: "The geographic area where a service or offered item is provided. Supersedes serviceArea."
availableLanguage:
description: "A language someone may use with or at the item, service or place. Please use one of the language codes from the IETF BCP 47 standard. See also inLanguage"
oneOf:
- type: string
- type: object
externalDocs:
url: "https://schema.org/availableLanguage"
x-ngsi:
model:
- "https://schema.org/Text"
- "https://schema.org/Language"
type: Property
contactOption:
description: "An option available on this contact point (e.g. a toll-free number or support for hearing-impaired callers)."
type: object
externalDocs:
url: "https://schema.org/contactOption"
x-ngsi:
model: "https://schema.org/ContactPointOption"
type: Property
contactType:
description: "A person or organization can have different contact points, for different purposes. For example, a sales contact point, a PR contact point and so on. This property is used to specify the kind of contact point."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
email:
description: "Email address."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
faxNumber:
description: "The fax number."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
hoursAvailable:
description: "The hours during which this service or contact is available."
type: object
externalDocs:
url: "https://schema.org/OpeningHoursSpecification"
x-ngsi:
model: "https://schema.org/OpeningHoursSpecification"
type: Property
productSupported:
description: "The product or service this support contact point is related to (such as product support for a particular product line). This can be a specific product or product line (e.g. \"iPhone\") or a general category of products or services (e.g. \"smartphones\")."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
telephone:
description: "The telephone number."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
type: object
x-ngsi:
uri: "https://schema.org/ContactPoint"
uri-prefix: "https://schema.org/"
GenderType:
description: "An enumeration of genders"
enum:
- Female
- Male
type: string
x-ngsi:
uri: "https://schema.org/GenderType"
uri-prefix: "https://schema.org/"
Person:
properties:
additionalName:
description: "An additional name for a Person, can be used for a middle name."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/additionalName"
uri-prefix: "https://schema.org/"
address:
$ref: "#/address"
email:
description: "Email address."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/email"
uri-prefix: "https://schema.org/"
familyName:
description: "Family name. In the U.S., the last name of an Person. This can be used along with givenName instead of the name property."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/familyName"
uri-prefix: "https://schema.org/"
faxNumber:
description: "The fax number."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/faxNumber"
uri-prefix: "https://schema.org/"
gender:
description: "Gender of something, typically a Person, but possibly also fictional characters, animals, etc. While http://schema.org/Male and http://schema.org/Female may be used, text strings are also acceptable for people who do not identify as a binary gender. The gender property can also be used in an extended sense to cover e.g. the gender of sports teams. As with the gender of individuals, we do not try to enumerate all possibilities. A mixed-gender SportsTeam can be indicated with a text value of \"Mixed\"."
enum:
- female
- male
type: string
x-ngsi:
model: "https://schema.org/GenderType"
type: EnumProperty
uri: "https://schema.org/gender"
uri-prefix: "https://schema.org/"
givenName:
description: "Given name. In the U.S., the first name of a Person. This can be used along with familyName instead of the name property."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/givenName"
uri-prefix: "https://schema.org/"
honorificPrefix:
description: "An honorific prefix preceding a Person's name such as Dr/Mrs/Mr."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/honorificPrefix"
uri-prefix: "https://schema.org/"
honorificSuffix:
description: |
An honorific suffix preceding a Person's name such as M.D. /PhD/MSCSW.
interactionStatistic InteractionCounter The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used. Supersedes interactionCount.
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/honorifcSuffix"
uri-prefix: "https://schema.org/"
isicV4:
description: "The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/isicV4"
uri-prefix: "https://schema.org/"
jobTitle:
description: "The job title of the person (for example, Financial Manager)."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/jobTitle"
uri-prefix: "https://schema.org/"
name:
$ref: "./ngsi-ld.yaml#/name"
taxID:
description: "The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/taxID"
uri-prefix: "https://schema.org/"
telephone:
description: "The telephone number."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/telephone"
uri-prefix: "https://schema.org/"
vatID:
description: "The Value-added Tax ID of the organization or person."
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri: "https://schema.org/vatID"
uri-prefix: "https://schema.org/"
type: object
x-ngsi:
uri: "https://schema.org/Person"
uri-prefix: "https://schema.org/"
PostalAddress:
properties:
addressCountry:
description: "The country. For example, USA. You can also provide the two-letter ISO 3166-1 alpha-2 country code.\n"
type: string
addressLocality:
description: "The locality in which the street address is, and which is in the region. For example, Mountain View.\n"
type: string
addressRegion:
description: "The region in which the locality is, and which is in the country. For example, California or another appropriate first-level Administrative division\n"
type: string
postOfficeBoxNumber:
description: "The post office box number for PO box addresses.\n"
type: string
postalCode:
description: "The postal code. For example, 94043.\n"
type: string
streetAddress:
description: "The street address. For example, 1600 Amphitheatre Pkwy.\n"
type: string
type: object
x-ngsi:
uri: "https://schema.org/PostalAddress"
uri-prefix: "https://schema.org/"
address:
allOf:
-
$ref: "#/PostalAddress"
description: "The mailing address.\n"
externalDocs:
url: "https://schema.org/address"
type: object
x-ngsi:
attr-type: Property
model: "https://schema.org/PostalAddress"
uri-prefix: "https://schema.org/"
alternateName:
description: "An alias for the item."
externalDocs:
url: "https://schema.org/alternateName"
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri-prefix: "https://schema.org/"
areaServed:
description: "The geographic area where a service or offered item is provided."
externalDocs:
url: "https://schema.org/areaServed"
oneOf:
-
type: string
-
$ref: "./geojson-ld.yaml#/Polygon"
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri-prefix: "https://schema.org/"
color:
description: "The color of the product."
externalDocs:
url: "https://schema.org/color"
type: string
x-ngsi:
model: "https://schema.org/Text"
type: Property
uri-prefix: "https://schema.org/"
contactPoint:
allOf:
-
$ref: "#/ContactPoint"
description: "A contact point for a person or organization."
externalDocs:
url: "https://schema.org/contactPoint"
type: object
x-ngsi:
attr-type: Property
model: "https://schema.org/ContactPoint"
uri-prefix: "https://schema.org/"
image:
description: "The image of the product."
externalDocs:
url: "https://schema.org/image"
format: uri
type: string
x-ngsi:
model: "https://schema.org/URL"
type: Property
uri-prefix: "https://schema.org/"
openingHours:
description: "The general opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas ',' separating each day. "
externalDocs:
url: "https://schema.org/openingHours"
items:
properties:
type:
type: string
values:
items:
type: string
type: array
type: object
type: array
x-ngsi:
model: "https://schema.org/OpeningHoursSpecification"
type: Property
uri-prefix: "https://schema.org/"