@mhome/core-protocol 1.57.0 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,302 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://mhome.ai/schema/core/matter-plugin-management.v1.schema.json",
4
- "title": "Matter Plugin management payloads",
5
- "$defs": {
6
- "nodeDetailRequest": {
7
- "type": "object",
8
- "additionalProperties": false,
9
- "properties": {
10
- "matterNodeIds": {
11
- "type": "array",
12
- "minItems": 1,
13
- "maxItems": 20,
14
- "uniqueItems": true,
15
- "items": {
16
- "type": "string",
17
- "minLength": 1,
18
- "maxLength": 128
19
- }
20
- }
21
- },
22
- "required": [
23
- "matterNodeIds"
24
- ]
25
- },
26
- "nodeDetailResponse": {
27
- "type": "object",
28
- "additionalProperties": false,
29
- "properties": {
30
- "spaceId": {
31
- "type": "string",
32
- "minLength": 1,
33
- "maxLength": 128
34
- },
35
- "items": {
36
- "type": "array",
37
- "items": {
38
- "type": "object",
39
- "additionalProperties": false,
40
- "properties": {
41
- "matterNodeId": {
42
- "type": "string",
43
- "minLength": 1,
44
- "maxLength": 128
45
- },
46
- "node": {
47
- "anyOf": [
48
- {
49
- "type": "object"
50
- },
51
- {
52
- "type": "null"
53
- }
54
- ]
55
- },
56
- "error": {
57
- "anyOf": [
58
- {
59
- "type": "object",
60
- "additionalProperties": false,
61
- "properties": {
62
- "message": {
63
- "type": "string"
64
- }
65
- },
66
- "required": [
67
- "message"
68
- ]
69
- },
70
- {
71
- "type": "null"
72
- }
73
- ]
74
- }
75
- },
76
- "required": [
77
- "matterNodeId",
78
- "node",
79
- "error"
80
- ]
81
- }
82
- }
83
- },
84
- "required": [
85
- "spaceId",
86
- "items"
87
- ]
88
- },
89
- "inventoryResponse": {
90
- "type": "object",
91
- "additionalProperties": false,
92
- "properties": {
93
- "spaceId": {
94
- "type": "string",
95
- "minLength": 1,
96
- "maxLength": 128
97
- },
98
- "fabric": {
99
- "anyOf": [
100
- {
101
- "type": "object"
102
- },
103
- {
104
- "type": "null"
105
- }
106
- ]
107
- },
108
- "membershipComplete": {
109
- "type": "boolean"
110
- },
111
- "inventoryComplete": {
112
- "type": "boolean"
113
- },
114
- "nodes": {
115
- "type": "array",
116
- "items": {
117
- "type": "object",
118
- "additionalProperties": false,
119
- "properties": {
120
- "matterNodeId": {
121
- "type": "string",
122
- "minLength": 1,
123
- "maxLength": 128
124
- },
125
- "summary": {
126
- "anyOf": [
127
- {
128
- "type": "object"
129
- },
130
- {
131
- "type": "null"
132
- }
133
- ]
134
- },
135
- "inventoryComplete": {
136
- "anyOf": [
137
- {
138
- "type": "boolean"
139
- },
140
- {
141
- "type": "null"
142
- }
143
- ]
144
- },
145
- "devices": {
146
- "type": "array",
147
- "items": {
148
- "type": "object",
149
- "additionalProperties": false,
150
- "properties": {
151
- "sourceDeviceId": {
152
- "type": "string",
153
- "minLength": 1,
154
- "maxLength": 128
155
- },
156
- "name": {
157
- "anyOf": [
158
- {
159
- "type": "string"
160
- },
161
- {
162
- "type": "null"
163
- }
164
- ]
165
- },
166
- "reachable": {
167
- "anyOf": [
168
- {
169
- "type": "boolean"
170
- },
171
- {
172
- "type": "null"
173
- }
174
- ]
175
- },
176
- "parentSourceDeviceId": {
177
- "anyOf": [
178
- {
179
- "type": "string",
180
- "minLength": 1,
181
- "maxLength": 128
182
- },
183
- {
184
- "type": "null"
185
- }
186
- ]
187
- },
188
- "manufacturerName": {
189
- "anyOf": [
190
- {
191
- "type": "string"
192
- },
193
- {
194
- "type": "null"
195
- }
196
- ]
197
- },
198
- "productName": {
199
- "anyOf": [
200
- {
201
- "type": "string"
202
- },
203
- {
204
- "type": "null"
205
- }
206
- ]
207
- },
208
- "endpointId": {
209
- "anyOf": [
210
- {
211
- "type": "integer",
212
- "minimum": 0
213
- },
214
- {
215
- "type": "null"
216
- }
217
- ]
218
- },
219
- "endpointIds": {
220
- "anyOf": [
221
- {
222
- "type": "array",
223
- "items": {
224
- "type": "integer",
225
- "minimum": 0
226
- }
227
- },
228
- {
229
- "type": "null"
230
- }
231
- ]
232
- },
233
- "capabilities": {
234
- "anyOf": [
235
- {
236
- "type": "array",
237
- "items": {
238
- "type": "string"
239
- }
240
- },
241
- {
242
- "type": "null"
243
- }
244
- ]
245
- }
246
- },
247
- "required": [
248
- "sourceDeviceId",
249
- "name",
250
- "reachable",
251
- "parentSourceDeviceId",
252
- "manufacturerName",
253
- "productName",
254
- "endpointId",
255
- "endpointIds",
256
- "capabilities"
257
- ]
258
- }
259
- }
260
- },
261
- "required": [
262
- "matterNodeId",
263
- "summary",
264
- "inventoryComplete",
265
- "devices"
266
- ]
267
- }
268
- },
269
- "errors": {
270
- "type": "array",
271
- "items": {
272
- "type": "object",
273
- "additionalProperties": false,
274
- "properties": {
275
- "source": {
276
- "enum": [
277
- "fabric",
278
- "inventory"
279
- ]
280
- },
281
- "message": {
282
- "type": "string"
283
- }
284
- },
285
- "required": [
286
- "source",
287
- "message"
288
- ]
289
- }
290
- }
291
- },
292
- "required": [
293
- "spaceId",
294
- "fabric",
295
- "membershipComplete",
296
- "inventoryComplete",
297
- "nodes",
298
- "errors"
299
- ]
300
- }
301
- }
302
- }