3
3
title : HERO
4
4
version : " 1.0.0"
5
5
paths :
6
- /upload/validation :
6
+ /provider/ upload/validation :
7
7
post :
8
- summary : Endpoint to upload validation JSON on the platform .
8
+ summary : Endpoint to upload validation JSON payloads .
9
9
requestBody :
10
10
required : true
11
11
content :
@@ -16,13 +16,13 @@ paths:
16
16
' 200 ' :
17
17
description : The JSON was uploaded successfully.
18
18
' 500 ' :
19
- description : A problem occurred while processing the JSON upload request.
19
+ description : A problem when processing the json upload request occured .
20
20
tags :
21
21
- Upload
22
22
23
- /upload/approval :
23
+ /provider/ upload/approval :
24
24
post :
25
- summary : Endpoint to upload approval JSON on the platform .
25
+ summary : Endpoint to upload approval JSON payloads .
26
26
requestBody :
27
27
required : true
28
28
content :
33
33
' 200 ' :
34
34
description : The JSON was uploaded successfully.
35
35
' 500 ' :
36
- description : A problem occurred while processing the JSON upload request.
36
+ description : A problem when processing the json upload request occured .
37
37
tags :
38
38
- Upload
39
39
@@ -42,50 +42,44 @@ components:
42
42
UploadPayload :
43
43
type : object
44
44
properties :
45
+ created :
46
+ type : string
47
+ format : date-time
48
+ modified :
49
+ type : string
50
+ format : date-time
51
+ id :
52
+ type : string
45
53
title :
46
54
type : string
47
55
description :
48
56
type : string
49
- refersTo :
50
- type : array
51
- items :
52
- $ref : ' #/components/schemas/RefersTo'
53
- isDefinedBy :
54
- type : string
55
- hasTarget :
56
- $ref : ' #/components/schemas/HasTarget'
57
- lockoutPoints :
58
- type : integer
59
- example : 2
60
- hasStep :
61
- type : array
62
- items :
63
- $ref : ' #/components/schemas/Step'
64
- trace :
57
+ isAdoptedBy :
65
58
type : string
66
-
67
- RefersTo :
68
- type : object
69
- properties :
70
- identifier :
59
+ machineDepartment :
71
60
type : string
72
- title :
61
+ machineManufacturer :
73
62
type : string
74
- format :
63
+ machineName :
75
64
type : string
76
- accessUrl :
65
+ machineSite :
77
66
type : string
78
- format : uri
79
-
80
- HasTarget :
81
- type : object
82
- properties :
83
67
machineType :
84
68
type : string
85
- machineName :
69
+ status :
70
+ type : string
71
+ type :
86
72
type : string
87
- location :
73
+ user :
88
74
type : string
75
+ hasStep :
76
+ type : array
77
+ items :
78
+ $ref : ' #/components/schemas/Step'
79
+ references :
80
+ type : array
81
+ items :
82
+ $ref : ' #/components/schemas/Reference'
89
83
90
84
Step :
91
85
type : object
@@ -94,22 +88,42 @@ components:
94
88
type : string
95
89
description :
96
90
type : string
91
+ energyPoint :
92
+ $ref : ' #/components/schemas/EnergyPoint'
97
93
hasStep :
98
94
type : array
99
95
items :
100
96
$ref : ' #/components/schemas/Step'
101
- energyPointType :
97
+ hasStepVerification :
98
+ type : array
99
+ items :
100
+ $ref : ' #/components/schemas/StepVerification'
101
+ isOptional :
102
+ type : boolean
103
+ references :
104
+ type : array
105
+ items :
106
+ $ref : ' #/components/schemas/Reference'
107
+ substepsPolicy :
102
108
type : string
109
+
110
+ EnergyPoint :
111
+ type : object
112
+ properties :
103
113
energyPointIdentifier :
104
114
type : string
105
- refersTo :
115
+ energySource :
116
+ type : string
117
+ isEnergyPoint :
118
+ type : boolean
119
+ ppe :
106
120
type : array
107
121
items :
108
- $ref : ' #/components/schemas/RefersTo '
109
- isOptional :
110
- type : boolean
111
- stepVerification :
112
- $ref : ' #/components/schemas/StepVerification '
122
+ type : string
123
+ typeOfLock :
124
+ type : array
125
+ items :
126
+ type : string
113
127
114
128
StepVerification :
115
129
type : object
@@ -119,6 +133,22 @@ components:
119
133
description :
120
134
type : string
121
135
136
+ Reference :
137
+ type : object
138
+ properties :
139
+ format :
140
+ type : string
141
+ resource :
142
+ type : object
143
+ properties :
144
+ key :
145
+ type : string
146
+ url :
147
+ type : string
148
+ format : uri
149
+ title :
150
+ type : string
151
+
122
152
tags :
123
153
- name : Upload
124
- description : Endpoints for uploading JSON payloads.
154
+ description : Endpoints for uploading Validation and Approval JSON payloads.
0 commit comments