forked from OpenInterConnect/IoTDataModels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoic.r.operational.state.json
48 lines (48 loc) · 1.68 KB
/
oic.r.operational.state.json
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
{
"id": "http://openinterconnect.org/schemas/oic.r.operational.state#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2016 Open Interconnect Consortium, Inc. All rights reserved.",
"title": "Operational State",
"definitions": {
"oic.r.operational.state": {
"type": "object",
"properties": {
"machineStates": {
"type": "string",
"description": "ReadOnly, Comma separated list of the possible operational states."
},
"currentMachineState": {
"type": "string",
"description": "Current state of operation of the device."
},
"jobStates": {
"type": "string",
"description": "ReadOnly, Comma separate list of the possible job states."
},
"currentJobState": {
"type": "string",
"description": "Currently active jobState"
},
"runningTime": {
"type": "string",
"description": "ReadOnly, Elapsed time in the current operational state"
},
"remainingTime": {
"type": "string",
"description": "ReadOnly, Time till completion of the current operational state"
},
"progressPercentage": {
"type": "integer",
"description": "ReadOnly, Percentage completeness of the current jobState"
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "oic.core.json#/definitions/oic.core"},
{"$ref": "oic.baseResource.json#/definitions/oic.r.baseresource"},
{"$ref": "#/definitions/oic.r.operational.state"}
],
"required": ["machineStates", "currentMachineState"]
}