rs-client-libraries 0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. config/staging_templates/README.md +17 -0
  2. config/staging_templates/yaml/additionalParameter.yaml +30 -0
  3. config/staging_templates/yaml/bbox.yaml +34 -0
  4. config/staging_templates/yaml/binaryInputValue.yaml +15 -0
  5. config/staging_templates/yaml/confClasses.yaml +22 -0
  6. config/staging_templates/yaml/descriptionType.yaml +36 -0
  7. config/staging_templates/yaml/dpr_openapi_schema.yaml +223 -0
  8. config/staging_templates/yaml/exception.yaml +31 -0
  9. config/staging_templates/yaml/execute.yaml +34 -0
  10. config/staging_templates/yaml/format.yaml +25 -0
  11. config/staging_templates/yaml/inlineOrRefData.yaml +18 -0
  12. config/staging_templates/yaml/inputDescription.yaml +32 -0
  13. config/staging_templates/yaml/inputValue.yaml +17 -0
  14. config/staging_templates/yaml/inputValueNoObject.yaml +22 -0
  15. config/staging_templates/yaml/jobControlOptions.yaml +19 -0
  16. config/staging_templates/yaml/jobList.yaml +27 -0
  17. config/staging_templates/yaml/landingPage.yaml +28 -0
  18. config/staging_templates/yaml/link.yaml +31 -0
  19. config/staging_templates/yaml/metadata.yaml +22 -0
  20. config/staging_templates/yaml/output.yaml +20 -0
  21. config/staging_templates/yaml/outputDescription.yaml +22 -0
  22. config/staging_templates/yaml/process.yaml +23 -0
  23. config/staging_templates/yaml/processList.yaml +27 -0
  24. config/staging_templates/yaml/processSummary.yaml +37 -0
  25. config/staging_templates/yaml/qualifiedInputValue.yaml +22 -0
  26. config/staging_templates/yaml/reference.yaml +21 -0
  27. config/staging_templates/yaml/results.yaml +16 -0
  28. config/staging_templates/yaml/schema.yaml +144 -0
  29. config/staging_templates/yaml/staging_openapi_schema.yaml +223 -0
  30. config/staging_templates/yaml/statusCode.yaml +22 -0
  31. config/staging_templates/yaml/statusInfo.yaml +52 -0
  32. config/staging_templates/yaml/subscriber.yaml +33 -0
  33. config/staging_templates/yaml/transmissionMode.yaml +19 -0
  34. rs_client/__init__.py +18 -0
  35. rs_client/ogcapi/__init__.py +15 -0
  36. rs_client/ogcapi/dpr_client.py +231 -0
  37. rs_client/ogcapi/ogcapi_client.py +282 -0
  38. rs_client/ogcapi/staging_client.py +178 -0
  39. rs_client/rs_client.py +277 -0
  40. rs_client/stac/__init__.py +15 -0
  41. rs_client/stac/auxip_client.py +70 -0
  42. rs_client/stac/cadip_client.py +70 -0
  43. rs_client/stac/catalog_client.py +479 -0
  44. rs_client/stac/stac_base.py +313 -0
  45. rs_client_libraries-0.2.dist-info/LICENSE +201 -0
  46. rs_client_libraries-0.2.dist-info/METADATA +44 -0
  47. rs_client_libraries-0.2.dist-info/RECORD +62 -0
  48. rs_client_libraries-0.2.dist-info/WHEEL +4 -0
  49. rs_common/__init__.py +20 -0
  50. rs_common/config.py +69 -0
  51. rs_common/init_opentelemetry.py +250 -0
  52. rs_common/logging.py +107 -0
  53. rs_common/prefect_utils.py +407 -0
  54. rs_common/utils.py +70 -0
  55. rs_workflows/__init__.py +15 -0
  56. rs_workflows/auxip_flow.py +70 -0
  57. rs_workflows/cadip_flow.py +69 -0
  58. rs_workflows/catalog_flow.py +71 -0
  59. rs_workflows/dpr_flow.py +272 -0
  60. rs_workflows/flow_utils.py +127 -0
  61. rs_workflows/on_demand_processing.py +243 -0
  62. rs_workflows/staging_flow.py +78 -0
@@ -0,0 +1,17 @@
1
+
2
+ # What are the .yml templates in rs-client staging wrappers used for ?
3
+
4
+ <p>
5
+ In order to validate the format of the inputs and outputs of the different endpoint wrappers contained in
6
+ the StagingClient class, we used OGC standards: the OGC process documentation (https://ogcapi.ogc.org/processes) precisely describes what should be the input and output formats of these endpoints thanks to yaml schemas.
7
+
8
+ All yaml schemas have been downloaded from this link:
9
+ https://github.com/opengeospatial/ogcapi-processes/tree/1.0-draft.6.metanorma/core/openapi/schemas
10
+
11
+ You can also find some examples of valid data samples to provide for each endpoint in this link:
12
+ https://developer.ogc.org/api/processes/index.html#tag/Capabilities/operation/getLandingPage
13
+
14
+
15
+ # CAUTION
16
+
17
+ Yaml schemas can be updated regularly: check the repo (https://github.com/opengeospatial/ogcapi-processes) regularly to see if new versions of these templates have been released.
@@ -0,0 +1,30 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ type: object
15
+ required:
16
+ - name
17
+ - value
18
+ properties:
19
+ name:
20
+ type: string
21
+ value:
22
+ type: array
23
+ items:
24
+ oneOf:
25
+ - type: string
26
+ - type: number
27
+ - type: integer
28
+ - type: array
29
+ items: {}
30
+ - type: object
@@ -0,0 +1,34 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ type: object
16
+ required:
17
+ - bbox
18
+ properties:
19
+ bbox:
20
+ type: array
21
+ oneOf:
22
+ - minItems: 4
23
+ maxItems: 4
24
+ - minItems: 6
25
+ maxItems: 6
26
+ items:
27
+ type: number
28
+ crs:
29
+ type: string
30
+ format: uri
31
+ default: "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
32
+ enum:
33
+ - "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
34
+ - "http://www.opengis.net/def/crs/OGC/0/CRS84h"
@@ -0,0 +1,15 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ type: string
15
+ format: byte
@@ -0,0 +1,22 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ type: object
15
+ required:
16
+ - conformsTo
17
+ properties:
18
+ conformsTo:
19
+ type: array
20
+ items:
21
+ type: string
22
+ example: "http://www.opengis.net/spec/ogcapi-processes-1/1.0/conf/core"
@@ -0,0 +1,36 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ type: object
15
+ properties:
16
+ title:
17
+ type: string
18
+ description:
19
+ type: string
20
+ keywords:
21
+ type: array
22
+ items:
23
+ type: string
24
+ metadata:
25
+ type: array
26
+ items:
27
+ $ref: "metadata.yaml"
28
+ additionalParameters:
29
+ allOf:
30
+ - $ref: "metadata.yaml"
31
+ - type: object
32
+ properties:
33
+ parameters:
34
+ type: array
35
+ items:
36
+ $ref: "additionalParameter.yaml"
@@ -0,0 +1,223 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # -------------- CAUTON: this schema is defined both in rs-server and rs-client-libraries
16
+ # repos (/config/staging_templates/staging_openapi_schema.yaml) - if the current file
17
+ # is updated, don't forget to update the file from the other repository
18
+
19
+ openapi: 3.0.0
20
+ info:
21
+ title: RS Staging API
22
+ version: 1.0.0
23
+ paths:
24
+ /dpr/processes:
25
+ get:
26
+ summary: Get a list of processes
27
+ responses:
28
+ '200':
29
+ description: Returns list of all available processes from config.
30
+ content:
31
+ application/json:
32
+ schema:
33
+ $ref: './processList.yaml'
34
+ /dpr/processes/{process_id}:
35
+ get:
36
+ summary: Get information on a specific process
37
+ parameters:
38
+ - name: process_id
39
+ in: path
40
+ required: true
41
+ schema:
42
+ type: string
43
+ responses:
44
+ '200':
45
+ description: Returns a description of a specific process
46
+ content:
47
+ application/json:
48
+ schema:
49
+ $ref: './process.yaml'
50
+ '404':
51
+ description: The requested URI was not found.
52
+ content:
53
+ application/json:
54
+ schema:
55
+ $ref: './exception.yaml'
56
+ text/html:
57
+ schema:
58
+ type: string
59
+ /dpr/processes/{process_id}/execution:
60
+ post:
61
+ summary: Execute a process
62
+ parameters:
63
+ - name: process_id
64
+ in: path
65
+ required: true
66
+ schema:
67
+ type: string
68
+ # Here both the request and the response need to be validates according to yaml schemas
69
+ requestBody:
70
+ description: Check the body from the request used to execute the process
71
+ content:
72
+ application/json:
73
+ schema:
74
+ $ref: './execute.yaml'
75
+ required: true
76
+
77
+ responses:
78
+ '200':
79
+ description: Result of synchronous execution
80
+ content:
81
+ application/json:
82
+ schema:
83
+ $ref: './statusInfo.yaml'
84
+ '201':
85
+ description: Started asynchronous execution. Created job.
86
+ content:
87
+ application/json:
88
+ schema:
89
+ $ref: './statusInfo.yaml'
90
+ "404":
91
+ description: The requested URI was not found.
92
+ content:
93
+ application/json:
94
+ schema:
95
+ $ref: './exception.yaml'
96
+ "500":
97
+ description: A server error occurred.
98
+ content:
99
+ application/json:
100
+ schema:
101
+ $ref: './exception.yaml'
102
+ /dpr/jobs:
103
+ get:
104
+ summary: Returns the status of all jobs.
105
+ responses:
106
+ '200':
107
+ description: Returns the status of all jobs.
108
+ content:
109
+ application/json:
110
+ schema:
111
+ $ref: './jobList.yaml'
112
+ '404':
113
+ description: The requested URI was not found.
114
+ content:
115
+ application/json:
116
+ schema:
117
+ $ref: './exception.yaml'
118
+ text/html:
119
+ schema:
120
+ type: string
121
+ /dpr/jobs/{job-id}:
122
+ get:
123
+ summary: Returns the status of a job.
124
+ parameters:
125
+ - name: job-id
126
+ in: path
127
+ description: local identifier of a job
128
+ required: true
129
+ schema:
130
+ type: string
131
+ responses:
132
+ '200':
133
+ description: The status of a job.
134
+ content:
135
+ application/json:
136
+ schema:
137
+ $ref: 'statusInfo.yaml'
138
+ '404':
139
+ description: The requested URI was not found.
140
+ content:
141
+ application/json:
142
+ schema:
143
+ $ref: './exception.yaml'
144
+ text/html:
145
+ schema:
146
+ type: string
147
+ '500':
148
+ description: A server error occurred.
149
+ content:
150
+ application/json:
151
+ schema:
152
+ $ref: './exception.yaml'
153
+ text/html:
154
+ schema:
155
+ type: string
156
+ delete:
157
+ summary: Deletes a specific job.
158
+ parameters:
159
+ - name: job-id
160
+ in: path
161
+ required: true
162
+ schema:
163
+ type: string
164
+ description: The ID of the job to be deleted.
165
+ responses:
166
+ '200':
167
+ description: Deletes a specific job.
168
+ content:
169
+ application/json:
170
+ schema:
171
+ $ref: './statusInfo.yaml'
172
+ '404':
173
+ description: The requested URI was not found.
174
+ content:
175
+ application/json:
176
+ schema:
177
+ $ref: './exception.yaml'
178
+ text/html:
179
+ schema:
180
+ type: string
181
+ '500':
182
+ description: A server error occurred.
183
+ content:
184
+ application/json:
185
+ schema:
186
+ $ref: './exception.yaml'
187
+ text/html:
188
+ schema:
189
+ type: string
190
+ /dpr/jobs/{job-id}/results:
191
+ get:
192
+ summary: Returns the results of a given job
193
+ parameters:
194
+ - name: job-id
195
+ in: path
196
+ required: true
197
+ schema:
198
+ type: string
199
+ responses:
200
+ '200':
201
+ description: Returns the status of all jobs.
202
+ content:
203
+ application/json:
204
+ schema:
205
+ $ref: './results.yaml'
206
+ '404':
207
+ description: The requested URI was not found.
208
+ content:
209
+ application/json:
210
+ schema:
211
+ $ref: './exception.yaml'
212
+ text/html:
213
+ schema:
214
+ type: string
215
+ '500':
216
+ description: A server error occurred.
217
+ content:
218
+ application/json:
219
+ schema:
220
+ $ref: './exception.yaml'
221
+ text/html:
222
+ schema:
223
+ type: string
@@ -0,0 +1,31 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ title: Exception Schema
16
+ description: JSON schema for exceptions based on RFC 7807
17
+ type: object
18
+ required:
19
+ - type
20
+ properties:
21
+ type:
22
+ type: string
23
+ title:
24
+ type: string
25
+ status:
26
+ type: integer
27
+ detail:
28
+ type: string
29
+ instance:
30
+ type: string
31
+ additionalProperties: true
@@ -0,0 +1,34 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ type: object
16
+ properties:
17
+ inputs:
18
+ additionalProperties:
19
+ oneOf:
20
+ - $ref: "inlineOrRefData.yaml"
21
+ - type: array
22
+ items:
23
+ $ref: "inlineOrRefData.yaml"
24
+ outputs:
25
+ additionalProperties:
26
+ $ref: "output.yaml"
27
+ response:
28
+ type: string
29
+ enum:
30
+ - raw
31
+ - document
32
+ default: raw
33
+ subscriber:
34
+ $ref: "subscriber.yaml"
@@ -0,0 +1,25 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ type: object
16
+ properties:
17
+ mediaType:
18
+ type: string
19
+ encoding:
20
+ type: string
21
+ schema:
22
+ oneOf:
23
+ - type: string
24
+ format: url
25
+ - type: object
@@ -0,0 +1,18 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ oneOf:
16
+ - $ref: "inputValueNoObject.yaml"
17
+ - $ref: "qualifiedInputValue.yaml"
18
+ - $ref: "link.yaml"
@@ -0,0 +1,32 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ allOf:
16
+ - $ref: "descriptionType.yaml"
17
+ - type: object
18
+ required:
19
+ - schema
20
+ properties:
21
+ minOccurs:
22
+ type: integer
23
+ default: 1
24
+ maxOccurs:
25
+ oneOf:
26
+ - type: integer
27
+ default: 1
28
+ - type: string
29
+ enum:
30
+ - "unbounded"
31
+ schema:
32
+ $ref: "schema.yaml"
@@ -0,0 +1,17 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ oneOf:
16
+ - $ref: "inputValueNoObject.yaml"
17
+ - type: object
@@ -0,0 +1,22 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ anyOf:
16
+ - type: string
17
+ - type: number
18
+ - type: integer
19
+ - type: boolean
20
+ - type: array
21
+ - $ref: "binaryInputValue.yaml"
22
+ - $ref: "bbox.yaml"
@@ -0,0 +1,19 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ type: string
16
+ enum:
17
+ - sync-execute
18
+ - async-execute
19
+ - dismiss
@@ -0,0 +1,27 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ type: object
16
+ required:
17
+ - jobs
18
+ - links
19
+ properties:
20
+ jobs:
21
+ type: array
22
+ items:
23
+ $ref: "statusInfo.yaml"
24
+ links:
25
+ type: array
26
+ items:
27
+ $ref: "link.yaml"
@@ -0,0 +1,28 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ type: object
16
+ required:
17
+ - links
18
+ properties:
19
+ title:
20
+ type: string
21
+ example: Example processing server
22
+ description:
23
+ type: string
24
+ example: Example server implementing the OGC API - Processes 1.0 Standard
25
+ links:
26
+ type: array
27
+ items:
28
+ $ref: "link.yaml"
@@ -0,0 +1,31 @@
1
+ # Copyright 2024 CS Group
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ type: object
16
+ required:
17
+ - href
18
+ properties:
19
+ href:
20
+ type: string
21
+ rel:
22
+ type: string
23
+ example: service
24
+ type:
25
+ type: string
26
+ example: application/json
27
+ hreflang:
28
+ type: string
29
+ example: en
30
+ title:
31
+ type: string