-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtask.jsonld
More file actions
100 lines (99 loc) · 2.22 KB
/
Copy pathtask.jsonld
File metadata and controls
100 lines (99 loc) · 2.22 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://example.com/task.json",
"title": "Task",
"type": "object",
"required": [
"@context",
"@type",
"@id",
"process_id",
"run_id",
"task_type",
"task_initiator",
"task_priority",
"task_creation_time",
"task_dependencies",
"task_tags",
"task_retry_count",
"task_timeout",
"task_properties"],
"properties": {
"@context": {
"type": "string",
"const": "https://example.com/task.jsonld"
},
"@type": {
"type": "string",
"const": "Task"
},
"@id": {
"type": "string",
"pattern": "^urn:uuid:[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[8|9|aA|bB][a-f0-9]{3}-[a-f0-9]{12}$"
},
"process_id": {
"type": "string",
"format": "uri"
},
"run_id": {
"type": "string",
"format": "uri"
},
"job_id": {
"type": "string",
"format": "uri"
},
"task_type": {
"type": "string",
"enum": ["automatic", "manual"]
},
"task_initiator": {
"type": "string"
},
"task_priority": {
"type": "string",
"enum": ["high", "medium", "low"]
},
"task_creation_time": {
"type": "string",
"format": "date-time"
},
"task_dependencies": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
}
},
"task_tags": {
"type": "array",
"items": {
"type": "string"
}
},
"task_retry_count": {
"type": "integer",
"minimum": 0
},
"task_timeout": {
"type": "string",
"pattern": "^PT\\d+[HMS]$"
},
"task_properties": {
"type": "object",
"properties": {
"merge_type": {
"type": "string"
},
"time_horizon": {
"type": "string"
},
"scenario_time": {
"type": "string",
"format": "date-time"
}
},
"required": ["merge_type", "time_horizon"]
}
}
}