Skip to content

Commit b1f9a19

Browse files
committed
Changes as per ad-hoc OGC/OpenEO discussion on 05DEC2024.
1 parent 56d7b44 commit b1f9a19

File tree

2 files changed

+57
-14
lines changed

2 files changed

+57
-14
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
type: string
22
nullable: false
33
enum:
4-
- created
5-
- queued
6-
- running
7-
- cancelled
8-
- finished
9-
- error
104
- accepted
11-
- succeeded
5+
- running
6+
- successful
127
- failed
138
- dismissed

openapi/schemas/processes-core/statusInfo.yaml

+55-7
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,77 @@ allOf:
33
- type: object
44
required:
55
- id
6-
- status
7-
- created
8-
- process
96
- type
7+
- status
108
properties:
119
id:
1210
type: string
13-
process:
14-
$ref: process.yaml
1511
type:
1612
type: string
17-
example:
13+
description:
14+
An indication of the API that created this job. This can be an
15+
OGC API such as processes, coverages, etc. OR an openeo API.
16+
This values needs to come from a controlled vocabulary the the
17+
current set of values is "process" (indicating that this job was
18+
created by an OAProc process), "wps" (indicating that this job
19+
was created by a WPS process) or openeo (indicating that this
20+
job was created by an OpenEO process).
21+
examples:
1822
- process
1923
- wps
2024
- openeo
25+
process:
26+
description:
27+
The value of this parameter is a description of the entity that
28+
created this job. The value of this property depends on the value
29+
of the "type" property.
30+
31+
If the value of the "type" property is "process" or "wps" then
32+
this property SHALL be present and its value SHALL be a description
33+
of the process that created this job encoded in-line or referenced
34+
via a link.
35+
36+
If the value of the "type" property is "openeo" then this property
37+
SHALL be present in the status response and its value SHALL be the
38+
process graph as per the OpenEO specification.
39+
40+
If the value of the "type" property is not "process", "wps" or
41+
"openeo" then the value of the property SHOULD be a link pointing
42+
to the entity that created this job (e.g. an asychronous coverage
43+
request URL).
44+
oneOf:
45+
- type: object
46+
- $ref: "../common-core/link.yaml"
2147
status:
48+
description:
49+
The status of the job. The value space depends on the value of
50+
the "type" property.
51+
52+
If the value of the "type" property is not "openeo" then the value
53+
space of this property SHALL be defined in "statusCode.yaml".
54+
55+
If the value of the "type" property is "openop" then the value
56+
space of this property SHALL be "created", "queued", "running",
57+
"canceled", "finished" or "error".
2258
oneOf:
23-
$ref: "statusCode.yaml"
59+
- $ref: "statusCode.yaml"
60+
- type: string
61+
enum:
62+
- created
63+
- queued
64+
- running
65+
- canceled
66+
- finished
67+
- error
2468
message:
2569
type: string
2670
exception:
2771
$ref: "../common-core/exception.yaml"
2872
created:
73+
description:
74+
The date/time that this job was created.
75+
If the value of the "type" property is "openeo" then this property
76+
SHALL be present in the status response.
2977
type: string
3078
format: date-time
3179
started:

0 commit comments

Comments
 (0)