-
Notifications
You must be signed in to change notification settings - Fork 13
/
dishwasherOperationalState.json
121 lines (121 loc) · 3.83 KB
/
dishwasherOperationalState.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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"id": "dishwasherOperationalState",
"version": 1,
"status": "deprecated",
"name": "Dishwasher Operational State",
"ephemeral": false,
"attributes": {
"completionTime": {
"schema": {
"type": "object",
"properties": {
"value": {
"title": "Iso8601Date",
"type": "string",
"pattern": "^(?:[1-9]\\d{3}-?(?:(?:0[1-9]|1[0-2])-?(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-?(?:29|30)|(?:0[13578]|1[02])-?31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-?02-?29)T(?:[01]\\d|2[0-3]):?[0-5]\\d:?[0-5]\\d(?:\\.\\d{3})?(?:Z|[+-][01]\\d(?::?[0-5]\\d)?)$"
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"enumCommands": []
},
"machineState": {
"schema": {
"type": "object",
"properties": {
"value": {
"title": "MachineState",
"type": "string",
"enum": [
"pause",
"run",
"stop"
]
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"setter": "setMachineState",
"enumCommands": []
},
"supportedMachineStates": {
"schema": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"title": "MachineState",
"type": "string",
"enum": [
"pause",
"run",
"stop"
]
}
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"enumCommands": []
},
"dishwasherJobState": {
"schema": {
"type": "object",
"properties": {
"value": {
"title": "DishwasherJobState",
"type": "string",
"enum": [
"airwash",
"cooling",
"drying",
"finish",
"preDrain",
"prewash",
"rinse",
"spin",
"unknown",
"wash",
"wrinklePrevent"
]
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"enumCommands": []
}
},
"commands": {
"setMachineState": {
"name": "setMachineState",
"arguments": [
{
"name": "state",
"optional": false,
"schema": {
"title": "MachineState",
"type": "string",
"enum": [
"pause",
"run",
"stop"
]
}
}
]
}
}
}