-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathprovider.json
More file actions
434 lines (434 loc) · 14.6 KB
/
provider.json
File metadata and controls
434 lines (434 loc) · 14.6 KB
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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "APEx Platform - OGC API Record",
"type": "object",
"required": [
"id",
"type",
"conformsTo",
"properties",
"links"
],
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for the APEx Service."
},
"type": {
"type": "string",
"description": "The type of the OGC API Record.",
"enum": [
"Feature"
]
},
"conformsTo": {
"type": "array",
"description": "The extensions/conformance classes used in this record.",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true,
"anyOf": [
{
"contains": {
"const": "http://www.opengis.net/spec/ogcapi-records-1/1.0/req/record-core"
}
}
]
},
"geometry": {
"type": "null"
},
"properties": {
"type": "object",
"required": [
"created",
"updated",
"type",
"title",
"description",
"contacts",
"themes",
"acl"
],
"properties": {
"created": {
"type": "string",
"description": "Create date/time of the record."
},
"updated": {
"type": "string",
"description": "Update date/time of the record."
},
"type": {
"type": "string",
"description": "Type of the OGC API Record",
"enum": [
"algoritm_provider"
]
},
"title": {
"type": "string",
"description": "Title of the Platform"
},
"description": {
"type": "string",
"description": "Description of the Platform"
},
"keywords": {
"type": "array",
"description": "The topic or topics of the Platform. Typically represented using free-form keywords, tags, key phrases, or classification codes.",
"items": {
"type": "string"
}
},
"language": {
"description": "The language used for textual values in this record representation.",
"$ref": "#/properties/properties/properties/languages/items"
},
"languages": {
"type": "array",
"description": "This list of languages in which this record is available.",
"items": {
"type": "object",
"description": "The language used for textual values in this record.",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "The language tag as per RFC-5646."
},
"name": {
"type": "string",
"minLength": 1,
"description": "The untranslated name of the language."
},
"alternate": {
"type": "string",
"description": "The name of the language in another well-understood language, usually English."
},
"dir": {
"type": "string",
"description": "The direction for text in this language. The default, `ltr` (left-to-right), represents the most common situation. However, care should be taken to set the value of `dir` appropriately if the language direction is not `ltr`. Other values supported are `rtl` (right-to-left), `ttb` (top-to-bottom), and `btt` (bottom-to-top).",
"enum": [
"ltr",
"rtl",
"ttb",
"btt"
],
"default": "ltr"
}
}
}
},
"contacts": {
"type": "array",
"description": "A list of contacts qualified by their role(s) in association to the Platform described by the record.",
"items": {
"type": "object",
"description": "Identification of, and means of communication with, person responsible\nfor the Platform.",
"properties": {
"name": {
"type": "string",
"description": "The name of the responsible person or team."
},
"position": {
"type": "string",
"description": "The name of the role or position of the responsible person or team taken from the organization's formal organizational hierarchy or chart."
},
"organization": {
"type": "string",
"description": "Organization/affiliation of the contact."
},
"logo": {
"description": "Graphic identifying a contact. The link relation should be `icon` and the media type should be an image media type.",
"allOf": [
{
"$ref": "#/properties/links/items"
},
{
"type": "object",
"required": [
"rel",
"type"
],
"properties": {
"rel": {
"enum": [
"icon"
]
}
}
}
]
},
"phones": {
"type": "array",
"description": "Telephone numbers at which contact can be made.",
"items": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "The value is the phone number itself.",
"pattern": "^\\+[1-9]{1}[0-9]{3,14}$"
},
"roles": {
"description": "The type of phone number (e.g. home, work, fax, etc.).",
"$ref": "#/properties/properties/properties/contacts/items/properties/roles"
}
}
}
},
"emails": {
"type": "array",
"description": "Email addresses at which contact can be made.",
"items": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "The value is the email number itself.",
"format": "email"
},
"roles": {
"description": "The type of email (e.g. home, work, etc.).",
"$ref": "#/properties/properties/properties/contacts/items/properties/roles"
}
}
}
},
"addresses": {
"type": "array",
"description": "Physical location at which contact can be made.",
"items": {
"type": "object",
"properties": {
"deliveryPoint": {
"type": "array",
"description": "Address lines for the location.",
"items": {
"type": "string"
}
},
"city": {
"type": "string",
"description": "City for the location."
},
"administrativeArea": {
"type": "string",
"description": "State or province of the location."
},
"postalCode": {
"type": "string",
"description": "ZIP or other postal code."
},
"country": {
"type": "string",
"description": "Country of the physical address. ISO 3166-1 is recommended."
},
"roles": {
"description": "The type of address (e.g. office, home, etc.).",
"$ref": "#/properties/properties/properties/contacts/items/properties/roles"
}
}
}
},
"links": {
"type": "array",
"description": "On-line information about the contact.",
"items": {
"allOf": [
{
"$ref": "#/properties/links/items"
},
{
"type": "object",
"required": [
"type"
]
}
]
}
},
"hoursOfService": {
"type": "string",
"description": "Time period when the contact can be contacted."
},
"contactInstructions": {
"type": "string",
"description": "Supplemental instructions on how or when to contact the\nresponsible party."
},
"roles": {
"description": "The set of named duties, job functions and/or permissions associated with this contact. (e.g. developer, administrator, etc.).",
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
}
}
}
},
"themes": {
"type": "array",
"description": "A knowledge organization system used to classify the Platform.",
"items": {
"type": "object",
"required": [
"concepts",
"scheme"
],
"properties": {
"concepts": {
"type": "array",
"description": "One or more entity/concept identifiers from this knowledge system. it is recommended that a resolvable URI be used for each entity/concept identifier.",
"minItems": 1,
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "An identifier for the concept."
},
"title": {
"type": "string",
"description": "A human readable title for the concept."
},
"description": {
"type": "string",
"description": "A human readable description for the concept."
},
"url": {
"type": "string",
"format": "uri",
"description": "A URI providing further description of the concept."
}
}
}
},
"scheme": {
"type": "string",
"description": "An identifier for the knowledge organization system used to classify the APEx service. It is recommended that the identifier be a resolvable URI. The list of schemes used in a searchable catalog can be determined by inspecting the server's OpenAPI document or, if the server implements CQL2, by exposing a queryable (e.g. named `scheme`) and enumerating the list of schemes in the queryable's schema definition."
}
}
}
},
"acl": {
"type": "object",
"properties": {
"admin": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
}
},
"linkTemplates": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "#/properties/links/items"
},
{
"type": "object",
"required": [
"uriTemplate"
],
"properties": {
"uriTemplate": {
"type": "string",
"description": "Supplies a resolvable URI to a remote resource (or resource fragment)."
},
"varBase": {
"type": "string",
"description": "The base URI to which the variable name can be appended to retrieve the definition of the variable as a JSON Schema fragment.",
"format": "uri"
},
"variables": {
"type": "object",
"description": "This object contains one key per substitution variable in the templated URL. Each key defines the schema of one substitution variable using a JSON Schema fragment and can thus include things like the data type of the variable, enumerations, minimum values, maximum values, etc."
}
}
}
]
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rel": {
"type": "string",
"description": "The type or semantics of the relation.",
"enum": [
"logo-light",
"logo-dark",
"website"
]
},
"type": {
"type": "string",
"description": "A hint indicating what the media type of the result of dereferencing the link should be."
},
"title": {
"type": "string",
"description": "Used to label the destination of a link such that it can be used as a human-readable identifier."
},
"href": {
"type": "string",
"format": "uri",
"description": "URL pointing to an external resource."
}
},
"required": [
"rel",
"type",
"title",
"href"
]
},
"minItems": 2,
"allOf": [
{
"contains": {
"type": "object",
"properties": {
"rel": {
"const": "logo-light"
}
}
}
},
{
"contains": {
"type": "object",
"properties": {
"rel": {
"const": "logo-dark"
}
}
}
}
]
}
}
}