@mhome/app-facade-protocol 1.62.0 → 1.66.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.
- package/README.md +19 -5
- package/contract/entity-presentation-v1.md +22 -0
- package/contract/integration-presentation-v1.md +27 -0
- package/contract/pod-directory-v1.md +3 -3
- package/fixtures/binding-list.response.json +1 -1
- package/fixtures/entity-presentation.conformance.json +54 -0
- package/fixtures/hub-state.configured.json +1 -1
- package/fixtures/hub-state.revoked.json +1 -1
- package/fixtures/integration-presentation.conformance.json +206 -0
- package/fixtures/presentation/cases.json +578 -152
- package/fixtures/route-list.response.json +2 -2
- package/fixtures/route-update.request.json +1 -1
- package/fixtures/route-update.response.json +1 -1
- package/fixtures/shared-account-grant-list.response.json +1 -1
- package/manifest/app-facade.v1.json +15 -1
- package/manifest/authorization.v1.json +6 -8
- package/manifest/host-provision-targets.v1.json +1 -1
- package/manifest/hub-targets.v1.json +1 -1
- package/manifest/pod-targets.v1.json +1 -1
- package/manifest/routing.v1.json +1 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +5 -1
- package/schema/entity-presentation.v1.schema.json +83 -0
- package/schema/facade-response.v1.schema.json +7 -45
- package/schema/hub-state.v1.schema.json +2 -2
- package/schema/integration-presentation.v1.schema.json +81 -0
- package/schema/messaging-frame.v3.schema.json +9 -9
- package/schema/system-clients.v1.schema.json +2 -2
- package/schema/system-hosts-runtime.v1.schema.json +2 -2
- package/schema/system-hosts.v1.schema.json +2 -2
- package/schema/system-instances.v1.schema.json +2 -2
- package/schema/topology.v1.schema.json +2 -2
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"externalActorId": "user-1",
|
|
14
14
|
"tenantId": "tenant-1",
|
|
15
15
|
"userId": "mhome-user-1",
|
|
16
|
-
"
|
|
16
|
+
"spaceId": "scope-1",
|
|
17
17
|
"displayName": "Telegram",
|
|
18
18
|
"projections": {
|
|
19
19
|
"notification": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"conversationId": "chat-2",
|
|
38
38
|
"audience": "shared",
|
|
39
39
|
"tenantId": "tenant-1",
|
|
40
|
-
"
|
|
40
|
+
"spaceId": "scope-2",
|
|
41
41
|
"boundByUserId": "mhome-user-1",
|
|
42
42
|
"displayName": "Project room",
|
|
43
43
|
"projections": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.66.0",
|
|
4
4
|
"callSchema": "schema/facade-call.v1.schema.json",
|
|
5
5
|
"routing": "manifest/routing.v1.json",
|
|
6
6
|
"routingSchema": "schema/routing.v1.schema.json",
|
|
@@ -230,6 +230,20 @@
|
|
|
230
230
|
"/app/card-skins/override/set": "#/definitions/empty",
|
|
231
231
|
"/app/card-skins/override/reset": "#/definitions/empty"
|
|
232
232
|
}
|
|
233
|
+
},
|
|
234
|
+
"entityPresentation": {
|
|
235
|
+
"schema": "schema/entity-presentation.v1.schema.json",
|
|
236
|
+
"contract": "contract/entity-presentation-v1.md",
|
|
237
|
+
"requestTargets": [
|
|
238
|
+
"/app/entity/presentation/get"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"integrationPresentation": {
|
|
242
|
+
"schema": "schema/integration-presentation.v1.schema.json",
|
|
243
|
+
"contract": "contract/integration-presentation-v1.md",
|
|
244
|
+
"requestTargets": [
|
|
245
|
+
"/app/integration/presentation/get"
|
|
246
|
+
]
|
|
233
247
|
}
|
|
234
248
|
},
|
|
235
249
|
"authorization": "manifest/authorization.v1.json",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "1.
|
|
2
|
+
"contractVersion": "1.66.0",
|
|
3
3
|
"operations": {
|
|
4
4
|
"/app/agent/context/get": "spaceRead",
|
|
5
5
|
"/app/agent/credit/usage": "spaceRead",
|
|
@@ -64,21 +64,21 @@
|
|
|
64
64
|
"/app/client/page/list": "spaceRead",
|
|
65
65
|
"/app/client/page/open": "spaceWrite",
|
|
66
66
|
"/app/client/page/report": "spaceRead",
|
|
67
|
-
"/app/dashboard/canvas/
|
|
67
|
+
"/app/dashboard/canvas/list": "spaceRead",
|
|
68
68
|
"/app/dashboard/canvas/content/get": "spaceRead",
|
|
69
69
|
"/app/dashboard/canvas/create": "spaceWrite",
|
|
70
70
|
"/app/dashboard/canvas/delete": "spaceWrite",
|
|
71
|
+
"/app/dashboard/canvas/layout/get": "spaceRead",
|
|
71
72
|
"/app/dashboard/canvas/layout/update": "spaceWrite",
|
|
72
73
|
"/app/dashboard/canvas/rename": "spaceWrite",
|
|
73
74
|
"/app/dashboard/canvas/reorder": "spaceWrite",
|
|
74
75
|
"/app/dashboard/card/add": "spaceWrite",
|
|
75
|
-
"/app/dashboard/card/
|
|
76
|
+
"/app/dashboard/card/list": "spaceRead",
|
|
76
77
|
"/app/dashboard/card/copy": "spaceWrite",
|
|
77
78
|
"/app/dashboard/card/delete": "spaceWrite",
|
|
78
79
|
"/app/dashboard/card/detail/get": "spaceRead",
|
|
79
80
|
"/app/dashboard/card/main-view/update": "spaceWrite",
|
|
80
81
|
"/app/dashboard/card/move": "spaceWrite",
|
|
81
|
-
"/app/dashboard/list": "spaceRead",
|
|
82
82
|
"/app/device/activity/recent/list": "spaceRead",
|
|
83
83
|
"/app/device/brief/list": "spaceRead",
|
|
84
84
|
"/app/device/detail/get": "spaceRead",
|
|
@@ -94,6 +94,8 @@
|
|
|
94
94
|
"/app/entity/detail/get": "spaceRead",
|
|
95
95
|
"/app/entity/history/list": "spaceRead",
|
|
96
96
|
"/app/entity/list": "spaceRead",
|
|
97
|
+
"/app/entity/presentation/get": "spaceRead",
|
|
98
|
+
"/app/integration/presentation/get": "spaceRead",
|
|
97
99
|
"/app/group/brief/list": "spaceRead",
|
|
98
100
|
"/app/group/delete": "spaceWrite",
|
|
99
101
|
"/app/group/detail/get": "spaceRead",
|
|
@@ -212,10 +214,8 @@
|
|
|
212
214
|
"/app/pod/space/list": "spaceRead",
|
|
213
215
|
"/app/quickword/list": "spaceRead",
|
|
214
216
|
"/app/quickword/run": "spaceWrite",
|
|
215
|
-
"/app/room/brief/list": "spaceRead",
|
|
216
217
|
"/app/room/create": "spaceWrite",
|
|
217
218
|
"/app/room/delete": "spaceWrite",
|
|
218
|
-
"/app/room/detail/get": "spaceRead",
|
|
219
219
|
"/app/room/devices/move": "spaceWrite",
|
|
220
220
|
"/app/room/devices/remove": "spaceWrite",
|
|
221
221
|
"/app/room/list": "spaceRead",
|
|
@@ -316,11 +316,9 @@
|
|
|
316
316
|
"/integration/composite/refresh": "spaceWrite",
|
|
317
317
|
"/integration/disconnect": "spaceWrite",
|
|
318
318
|
"/integration/entity/batchGetName": "spaceRead",
|
|
319
|
-
"/integration/entity/get": "spaceRead",
|
|
320
319
|
"/integration/entity/getHistory": "spaceRead",
|
|
321
320
|
"/integration/group/get": "spaceRead",
|
|
322
321
|
"/integration/install": "spaceWrite",
|
|
323
|
-
"/integration/meta/get": "spaceRead",
|
|
324
322
|
"/integration/model/get": "spaceRead",
|
|
325
323
|
"/integration/providerEnv/refresh": "spaceWrite",
|
|
326
324
|
"/integration/uninstall": "spaceWrite",
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"protocol": "mhome.app-facade",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.66.0",
|
|
4
4
|
"manifest": "manifest/app-facade.v1.json",
|
|
5
5
|
"schemas": {
|
|
6
6
|
"hostAuthorization": "schema/host-authorization.v1.schema.json",
|
|
7
7
|
"hostAccess": "schema/host-access.v1.schema.json",
|
|
8
|
+
"entityPresentation": "schema/entity-presentation.v1.schema.json",
|
|
9
|
+
"integrationPresentation": "schema/integration-presentation.v1.schema.json",
|
|
8
10
|
"capabilityDescriptor": "schema/capability-descriptor.v1.schema.json",
|
|
9
11
|
"cardSkinPackage": "schema/card-skin-package.v1.schema.json",
|
|
10
12
|
"cardSkins": "schema/card-skins.v1.schema.json",
|
|
@@ -26,6 +28,8 @@
|
|
|
26
28
|
"person": "schema/person.v1.schema.json"
|
|
27
29
|
},
|
|
28
30
|
"fixtures": {
|
|
31
|
+
"entityPresentation": "fixtures/entity-presentation.conformance.json",
|
|
32
|
+
"integrationPresentation": "fixtures/integration-presentation.conformance.json",
|
|
29
33
|
"valid": "fixtures",
|
|
30
34
|
"invalid": "fixtures/invalid",
|
|
31
35
|
"hostAccess": "schema/host-access.v1.schema.json",
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mhome.ai/schema/entity-presentation.v1.schema.json",
|
|
4
|
+
"$defs": {
|
|
5
|
+
"input": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"entityType",
|
|
10
|
+
"entityId"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"entityType": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"pattern": "\\S"
|
|
16
|
+
},
|
|
17
|
+
"entityId": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"pattern": "\\S"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"output": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"additionalProperties": false,
|
|
26
|
+
"required": [
|
|
27
|
+
"entityEntry",
|
|
28
|
+
"entityCard",
|
|
29
|
+
"twinAutomations"
|
|
30
|
+
],
|
|
31
|
+
"properties": {
|
|
32
|
+
"entityEntry": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"required": [
|
|
35
|
+
"uid",
|
|
36
|
+
"type"
|
|
37
|
+
],
|
|
38
|
+
"properties": {
|
|
39
|
+
"uid": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"type": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"integration": {
|
|
46
|
+
"type": [
|
|
47
|
+
"string",
|
|
48
|
+
"null"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"additionalProperties": true
|
|
53
|
+
},
|
|
54
|
+
"entityCard": {
|
|
55
|
+
"type": [
|
|
56
|
+
"object",
|
|
57
|
+
"null"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": true
|
|
60
|
+
},
|
|
61
|
+
"twinAutomations": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"required": [
|
|
66
|
+
"id",
|
|
67
|
+
"name"
|
|
68
|
+
],
|
|
69
|
+
"properties": {
|
|
70
|
+
"id": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"name": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"additionalProperties": false
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -13,74 +13,33 @@
|
|
|
13
13
|
"const": "success"
|
|
14
14
|
},
|
|
15
15
|
"data": true,
|
|
16
|
-
"text": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
16
|
"warnings": {
|
|
20
17
|
"type": "array",
|
|
21
18
|
"items": {
|
|
22
19
|
"$ref": "#/$defs/problem"
|
|
23
20
|
}
|
|
24
21
|
}
|
|
25
|
-
}
|
|
26
|
-
"oneOf": [
|
|
27
|
-
{
|
|
28
|
-
"required": [
|
|
29
|
-
"data"
|
|
30
|
-
],
|
|
31
|
-
"properties": {
|
|
32
|
-
"data": true
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"required": [
|
|
37
|
-
"text"
|
|
38
|
-
],
|
|
39
|
-
"properties": {
|
|
40
|
-
"text": true
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
]
|
|
22
|
+
}
|
|
44
23
|
},
|
|
45
24
|
{
|
|
46
25
|
"type": "object",
|
|
47
26
|
"additionalProperties": false,
|
|
48
27
|
"required": [
|
|
49
|
-
"status"
|
|
28
|
+
"status",
|
|
29
|
+
"data"
|
|
50
30
|
],
|
|
51
31
|
"properties": {
|
|
52
32
|
"status": {
|
|
53
33
|
"const": "partial"
|
|
54
34
|
},
|
|
55
35
|
"data": true,
|
|
56
|
-
"text": {
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
36
|
"warnings": {
|
|
60
37
|
"type": "array",
|
|
61
38
|
"items": {
|
|
62
39
|
"$ref": "#/$defs/problem"
|
|
63
40
|
}
|
|
64
41
|
}
|
|
65
|
-
}
|
|
66
|
-
"oneOf": [
|
|
67
|
-
{
|
|
68
|
-
"required": [
|
|
69
|
-
"data"
|
|
70
|
-
],
|
|
71
|
-
"properties": {
|
|
72
|
-
"data": true
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"required": [
|
|
77
|
-
"text"
|
|
78
|
-
],
|
|
79
|
-
"properties": {
|
|
80
|
-
"text": true
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
]
|
|
42
|
+
}
|
|
84
43
|
},
|
|
85
44
|
{
|
|
86
45
|
"type": "object",
|
|
@@ -95,6 +54,9 @@
|
|
|
95
54
|
},
|
|
96
55
|
"error": {
|
|
97
56
|
"$ref": "#/$defs/problem"
|
|
57
|
+
},
|
|
58
|
+
"data": {
|
|
59
|
+
"type": "string"
|
|
98
60
|
}
|
|
99
61
|
}
|
|
100
62
|
},
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"title": "Authoritative cloud Hub lifecycle state",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
|
-
"required": ["
|
|
7
|
+
"required": ["spaceId", "configured"],
|
|
8
8
|
"properties": {
|
|
9
|
-
"
|
|
9
|
+
"spaceId": { "type": "string", "minLength": 1 },
|
|
10
10
|
"configured": { "type": "boolean" },
|
|
11
11
|
"hub": { "$ref": "#/$defs/hub" },
|
|
12
12
|
"operation": { "$ref": "#/$defs/operation" },
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://mhome.ai/schema/integration-presentation.v1.schema.json",
|
|
4
|
+
"$defs": {
|
|
5
|
+
"input": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"integrationId"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"integrationId": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"pattern": "\\S"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"output": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"required": [
|
|
22
|
+
"integrationId",
|
|
23
|
+
"integrationNames",
|
|
24
|
+
"integrationIconUrls",
|
|
25
|
+
"typeNames",
|
|
26
|
+
"twinNames",
|
|
27
|
+
"entityStandalone",
|
|
28
|
+
"groupSupported",
|
|
29
|
+
"capabilities"
|
|
30
|
+
],
|
|
31
|
+
"properties": {
|
|
32
|
+
"integrationId": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"pattern": "\\S"
|
|
35
|
+
},
|
|
36
|
+
"integrationNames": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"additionalProperties": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"integrationIconUrls": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"additionalProperties": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"typeNames": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"additionalProperties": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"twinNames": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"additionalProperties": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"entityStandalone": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"additionalProperties": {
|
|
63
|
+
"type": "boolean"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"groupSupported": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"additionalProperties": {
|
|
69
|
+
"type": "boolean"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"capabilities": {
|
|
73
|
+
"type": "array",
|
|
74
|
+
"items": {
|
|
75
|
+
"$ref": "https://mhome.ai/schema/capability-descriptor.v1.schema.json"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"placement",
|
|
381
381
|
"accountId",
|
|
382
382
|
"tenantId",
|
|
383
|
-
"
|
|
383
|
+
"spaceId",
|
|
384
384
|
"grantedByUserId",
|
|
385
385
|
"createdAtMs",
|
|
386
386
|
"updatedAtMs"
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
"tenantId": {
|
|
399
399
|
"$ref": "#/$defs/id"
|
|
400
400
|
},
|
|
401
|
-
"
|
|
401
|
+
"spaceId": {
|
|
402
402
|
"$ref": "#/$defs/id"
|
|
403
403
|
},
|
|
404
404
|
"grantedByUserId": {
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
"externalActorId",
|
|
428
428
|
"tenantId",
|
|
429
429
|
"userId",
|
|
430
|
-
"
|
|
430
|
+
"spaceId",
|
|
431
431
|
"projections",
|
|
432
432
|
"providerData"
|
|
433
433
|
],
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
"tenantId": {
|
|
454
454
|
"$ref": "#/$defs/id"
|
|
455
455
|
},
|
|
456
|
-
"
|
|
456
|
+
"spaceId": {
|
|
457
457
|
"$ref": "#/$defs/id"
|
|
458
458
|
},
|
|
459
459
|
"displayName": {
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
"accountId",
|
|
485
485
|
"conversationId",
|
|
486
486
|
"tenantId",
|
|
487
|
-
"
|
|
487
|
+
"spaceId",
|
|
488
488
|
"boundByUserId",
|
|
489
489
|
"projections",
|
|
490
490
|
"providerData"
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
"tenantId": {
|
|
512
512
|
"$ref": "#/$defs/id"
|
|
513
513
|
},
|
|
514
|
-
"
|
|
514
|
+
"spaceId": {
|
|
515
515
|
"$ref": "#/$defs/id"
|
|
516
516
|
},
|
|
517
517
|
"displayName": {
|
|
@@ -863,7 +863,7 @@
|
|
|
863
863
|
"routeId": {
|
|
864
864
|
"$ref": "#/$defs/id"
|
|
865
865
|
},
|
|
866
|
-
"
|
|
866
|
+
"spaceId": {
|
|
867
867
|
"$ref": "#/$defs/id"
|
|
868
868
|
},
|
|
869
869
|
"projections": {
|
|
@@ -2516,7 +2516,7 @@
|
|
|
2516
2516
|
"conversationId": {
|
|
2517
2517
|
"$ref": "#/$defs/id"
|
|
2518
2518
|
},
|
|
2519
|
-
"
|
|
2519
|
+
"spaceId": {
|
|
2520
2520
|
"$ref": "#/$defs/id"
|
|
2521
2521
|
},
|
|
2522
2522
|
"createdAtMs": {
|
|
@@ -2533,7 +2533,7 @@
|
|
|
2533
2533
|
"placement",
|
|
2534
2534
|
"accountId",
|
|
2535
2535
|
"conversationId",
|
|
2536
|
-
"
|
|
2536
|
+
"spaceId",
|
|
2537
2537
|
"createdAtMs"
|
|
2538
2538
|
]
|
|
2539
2539
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"additionalProperties": false,
|
|
4
4
|
"required": [
|
|
5
5
|
"contract",
|
|
6
|
-
"
|
|
6
|
+
"spaceId",
|
|
7
7
|
"observedAtMs",
|
|
8
8
|
"sessions"
|
|
9
9
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"contract": {
|
|
12
12
|
"const": "mhome.system.clients.v1"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"spaceId": {
|
|
15
15
|
"type": "string"
|
|
16
16
|
},
|
|
17
17
|
"observedAtMs": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"additionalProperties": false,
|
|
4
4
|
"required": [
|
|
5
5
|
"contract",
|
|
6
|
-
"
|
|
6
|
+
"spaceId",
|
|
7
7
|
"hostId",
|
|
8
8
|
"result"
|
|
9
9
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"contract": {
|
|
12
12
|
"const": "mhome.system.hosts.runtime.v1"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"spaceId": {
|
|
15
15
|
"type": "string"
|
|
16
16
|
},
|
|
17
17
|
"hostId": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"additionalProperties": false,
|
|
4
4
|
"required": [
|
|
5
5
|
"contract",
|
|
6
|
-
"
|
|
6
|
+
"spaceId",
|
|
7
7
|
"observedAtMs",
|
|
8
8
|
"hosts"
|
|
9
9
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"contract": {
|
|
12
12
|
"const": "mhome.system.hosts.v1"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"spaceId": {
|
|
15
15
|
"type": "string"
|
|
16
16
|
},
|
|
17
17
|
"observedAtMs": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"additionalProperties": false,
|
|
4
4
|
"required": [
|
|
5
5
|
"contract",
|
|
6
|
-
"
|
|
6
|
+
"spaceId",
|
|
7
7
|
"observedAtMs",
|
|
8
8
|
"instances"
|
|
9
9
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"contract": {
|
|
12
12
|
"const": "mhome.system.instances.v1"
|
|
13
13
|
},
|
|
14
|
-
"
|
|
14
|
+
"spaceId": {
|
|
15
15
|
"type": "string"
|
|
16
16
|
},
|
|
17
17
|
"observedAtMs": {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"additionalProperties": false,
|
|
7
7
|
"required": [
|
|
8
8
|
"contract",
|
|
9
|
-
"
|
|
9
|
+
"spaceId",
|
|
10
10
|
"generation",
|
|
11
11
|
"revision",
|
|
12
12
|
"observedAtMs",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"properties": {
|
|
17
17
|
"contract": { "const": "mhome.space.topology.v1" },
|
|
18
|
-
"
|
|
18
|
+
"spaceId": { "type": "string", "minLength": 1 },
|
|
19
19
|
"generation": { "type": "string", "minLength": 1 },
|
|
20
20
|
"revision": { "type": "integer", "minimum": 0 },
|
|
21
21
|
"observedAtMs": { "type": "integer", "minimum": 0 },
|