@ifsoul/core 0.3.0 → 0.4.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 +28 -34
- package/dist/packages/memory/src/sql.js +54 -5
- package/dist/packages/protocol/src/generated/validators.cjs +1 -1
- package/dist/packages/protocol/src/index.d.ts +1 -6
- package/dist/packages/protocol/src/index.js +3 -16
- package/dist/packages/protocol/src/types.d.ts +1 -1
- package/dist/packages/runtime/src/index.js +1 -1
- package/package.json +2 -3
- package/packages/protocol/schemas/current/archive.schema.json +16 -16
- package/packages/protocol/schemas/current/character.schema.json +21 -21
- package/packages/protocol/schemas/current/common.schema.json +15 -15
- package/packages/protocol/schemas/current/context.schema.json +24 -24
- package/packages/protocol/schemas/current/conversation.schema.json +39 -39
- package/packages/protocol/schemas/current/environment.schema.json +18 -18
- package/packages/protocol/schemas/current/memory.schema.json +66 -66
- package/packages/protocol/schemas/current/model-provider.schema.json +40 -40
- package/packages/protocol/schemas/current/planning.schema.json +61 -61
- package/packages/protocol/schemas/current/provider-common.schema.json +6 -6
- package/release.json +7 -12
- package/specs/README.md +3 -86
- package/specs/current/README.md +3 -5
- package/specs/current/examples/archive-fork.json +12 -12
- package/specs/current/examples/archive-resume.json +12 -12
- package/specs/current/examples/character-instance.json +1 -1
- package/specs/current/examples/character-template.json +1 -1
- package/specs/current/examples/context-after-inspection.json +1 -1
- package/specs/current/examples/context-chat.json +1 -1
- package/specs/current/examples/context-daily.json +1 -1
- package/specs/current/examples/context-no-speech.json +1 -1
- package/specs/current/examples/conversation-delivery.json +1 -1
- package/specs/current/examples/conversation-live-request.json +1 -1
- package/specs/current/examples/conversation-live-response.json +1 -1
- package/specs/current/examples/conversation-no-speech-request.json +1 -1
- package/specs/current/examples/conversation-no-speech-response.json +1 -1
- package/specs/current/examples/conversation-requested-request.json +1 -1
- package/specs/current/examples/conversation-requested-response.json +1 -1
- package/specs/current/examples/environment-chat.json +1 -1
- package/specs/current/examples/environment-game.json +1 -1
- package/specs/current/examples/environment-no-speech.json +1 -1
- package/specs/current/examples/intent-checkpoint.json +1 -1
- package/specs/current/examples/memory-episode.json +1 -1
- package/specs/current/examples/memory-event-conversation.json +1 -1
- package/specs/current/examples/memory-event-observed.json +2 -2
- package/specs/current/examples/memory-event-plan-proposal.json +2 -2
- package/specs/current/examples/memory-event-proposed.json +2 -2
- package/specs/current/examples/memory-fact.json +1 -1
- package/specs/current/examples/memory-relationship.json +1 -1
- package/specs/current/examples/memory-working-context.json +1 -1
- package/specs/current/examples/plan-cancel-request.json +1 -1
- package/specs/current/examples/plan-cancel-result.json +1 -1
- package/specs/current/examples/plan-daily.json +1 -1
- package/specs/current/examples/plan-partial-decision.json +1 -1
- package/specs/current/examples/portable-memory.jsonl +9 -9
- package/specs/current/examples/task-outcome.json +1 -1
- package/specs/current/examples/task-progress.json +1 -1
- package/specs/current/model-provider/examples/capabilities.json +1 -1
- package/specs/current/model-provider/examples/error.json +1 -1
- package/specs/current/model-provider/examples/request.json +1 -1
- package/specs/current/model-provider/examples/response.json +1 -1
- package/docs/npm-publishing.md +0 -44
- package/packages/protocol/schemas/action-result.schema.json +0 -187
- package/packages/protocol/schemas/action.schema.json +0 -68
- package/packages/protocol/schemas/archive-manifest.schema.json +0 -126
- package/packages/protocol/schemas/capability.schema.json +0 -131
- package/packages/protocol/schemas/character-instance.schema.json +0 -73
- package/packages/protocol/schemas/character-template.schema.json +0 -67
- package/packages/protocol/schemas/common.schema.json +0 -154
- package/packages/protocol/schemas/derived-memory.schema.json +0 -145
- package/packages/protocol/schemas/memory-event.schema.json +0 -123
- package/packages/protocol/schemas/model-provider.schema.json +0 -326
- package/packages/protocol/schemas/perception.schema.json +0 -89
- package/packages/protocol/schemas/permission-policy.schema.json +0 -153
- package/packages/protocol/schemas/v0.2/archive.schema.json +0 -205
- package/packages/protocol/schemas/v0.2/character.schema.json +0 -344
- package/packages/protocol/schemas/v0.2/common.schema.json +0 -239
- package/packages/protocol/schemas/v0.2/context.schema.json +0 -230
- package/packages/protocol/schemas/v0.2/conversation.schema.json +0 -340
- package/packages/protocol/schemas/v0.2/environment.schema.json +0 -244
- package/packages/protocol/schemas/v0.2/memory.schema.json +0 -495
- package/packages/protocol/schemas/v0.2/planning.schema.json +0 -443
- package/packages/protocol/schemas/world-event.schema.json +0 -74
- package/specs/character/README.md +0 -84
- package/specs/character/examples/archive-manifest.json +0 -32
- package/specs/character/examples/character-instance.json +0 -20
- package/specs/character/examples/character-template.json +0 -19
- package/specs/memory/README.md +0 -80
- package/specs/memory/examples/derived-memory.json +0 -21
- package/specs/memory/examples/memory-event.json +0 -35
- package/specs/model-provider/README.md +0 -85
- package/specs/model-provider/examples/capabilities.json +0 -10
- package/specs/model-provider/examples/error.json +0 -18
- package/specs/model-provider/examples/request.json +0 -17
- package/specs/model-provider/examples/response.json +0 -19
- package/specs/v0.2/README.md +0 -421
- package/specs/v0.2/examples/archive-fork.json +0 -64
- package/specs/v0.2/examples/archive-resume.json +0 -63
- package/specs/v0.2/examples/character-instance.json +0 -57
- package/specs/v0.2/examples/character-template.json +0 -45
- package/specs/v0.2/examples/context-after-inspection.json +0 -44
- package/specs/v0.2/examples/context-chat.json +0 -27
- package/specs/v0.2/examples/context-daily.json +0 -69
- package/specs/v0.2/examples/context-no-speech.json +0 -27
- package/specs/v0.2/examples/conversation-delivery.json +0 -17
- package/specs/v0.2/examples/conversation-live-request.json +0 -31
- package/specs/v0.2/examples/conversation-live-response.json +0 -23
- package/specs/v0.2/examples/conversation-no-speech-request.json +0 -23
- package/specs/v0.2/examples/conversation-no-speech-response.json +0 -22
- package/specs/v0.2/examples/conversation-requested-request.json +0 -31
- package/specs/v0.2/examples/conversation-requested-response.json +0 -23
- package/specs/v0.2/examples/environment-chat.json +0 -43
- package/specs/v0.2/examples/environment-game.json +0 -80
- package/specs/v0.2/examples/environment-no-speech.json +0 -47
- package/specs/v0.2/examples/intent-checkpoint.json +0 -29
- package/specs/v0.2/examples/memory-episode.json +0 -28
- package/specs/v0.2/examples/memory-event-conversation.json +0 -32
- package/specs/v0.2/examples/memory-event-observed.json +0 -50
- package/specs/v0.2/examples/memory-event-plan-proposal.json +0 -82
- package/specs/v0.2/examples/memory-event-proposed.json +0 -53
- package/specs/v0.2/examples/memory-fact.json +0 -23
- package/specs/v0.2/examples/memory-relationship.json +0 -25
- package/specs/v0.2/examples/memory-working-context.json +0 -24
- package/specs/v0.2/examples/plan-cancel-request.json +0 -16
- package/specs/v0.2/examples/plan-cancel-result.json +0 -21
- package/specs/v0.2/examples/plan-daily.json +0 -57
- package/specs/v0.2/examples/plan-partial-decision.json +0 -28
- package/specs/v0.2/examples/portable-memory.jsonl +0 -9
- package/specs/v0.2/examples/task-outcome.json +0 -21
- package/specs/v0.2/examples/task-progress.json +0 -19
- package/specs/world-adapter/README.md +0 -114
- package/specs/world-adapter/examples/action-result-unknown.json +0 -23
- package/specs/world-adapter/examples/action-result.json +0 -45
- package/specs/world-adapter/examples/action.json +0 -17
- package/specs/world-adapter/examples/capability.json +0 -44
- package/specs/world-adapter/examples/perception.json +0 -30
- package/specs/world-adapter/examples/permission-decision.json +0 -14
- package/specs/world-adapter/examples/permission-policy.json +0 -17
- package/specs/world-adapter/examples/world-event.json +0 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "urn:ifsoul:protocol:0.
|
|
3
|
+
"$id": "urn:ifsoul:protocol:0.4.0:conversation",
|
|
4
4
|
"oneOf": [
|
|
5
5
|
{
|
|
6
6
|
"$ref": "#/$defs/request"
|
|
@@ -17,40 +17,40 @@
|
|
|
17
17
|
"type": "object",
|
|
18
18
|
"properties": {
|
|
19
19
|
"schemaVersion": {
|
|
20
|
-
"const": "0.
|
|
20
|
+
"const": "0.4.0"
|
|
21
21
|
},
|
|
22
22
|
"kind": {
|
|
23
23
|
"const": "conversation-request"
|
|
24
24
|
},
|
|
25
25
|
"binding": {
|
|
26
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
26
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/binding"
|
|
27
27
|
},
|
|
28
28
|
"requestId": {
|
|
29
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
29
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
30
30
|
},
|
|
31
31
|
"correlationId": {
|
|
32
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
32
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
33
33
|
},
|
|
34
34
|
"channelId": {
|
|
35
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
35
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
36
36
|
},
|
|
37
37
|
"speakerParticipantId": {
|
|
38
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
38
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
39
39
|
},
|
|
40
40
|
"recipientParticipantIds": {
|
|
41
41
|
"type": "array",
|
|
42
42
|
"items": {
|
|
43
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
43
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
44
44
|
},
|
|
45
45
|
"minItems": 0,
|
|
46
46
|
"maxItems": 32,
|
|
47
47
|
"uniqueItems": true
|
|
48
48
|
},
|
|
49
49
|
"environmentRevision": {
|
|
50
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
50
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
51
51
|
},
|
|
52
52
|
"contextRevision": {
|
|
53
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
53
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
54
54
|
},
|
|
55
55
|
"mode": {
|
|
56
56
|
"enum": ["host-requested", "live-channel"]
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
"enum": ["text", "speech", "vocalization", "gesture", "status"]
|
|
63
63
|
},
|
|
64
64
|
"receivedAt": {
|
|
65
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
65
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/utc"
|
|
66
66
|
},
|
|
67
67
|
"deadlineAt": {
|
|
68
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
68
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/utc"
|
|
69
69
|
},
|
|
70
70
|
"messages": {
|
|
71
71
|
"type": "array",
|
|
@@ -73,13 +73,13 @@
|
|
|
73
73
|
"type": "object",
|
|
74
74
|
"properties": {
|
|
75
75
|
"messageId": {
|
|
76
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
76
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
77
77
|
},
|
|
78
78
|
"participantId": {
|
|
79
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
79
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
80
80
|
},
|
|
81
81
|
"recordedAt": {
|
|
82
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
82
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/utc"
|
|
83
83
|
},
|
|
84
84
|
"modality": {
|
|
85
85
|
"enum": ["text", "speech", "vocalization", "gesture", "status"]
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
"maxItems": 50
|
|
104
104
|
},
|
|
105
105
|
"extensions": {
|
|
106
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
106
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/extensions"
|
|
107
107
|
},
|
|
108
108
|
"requiredExtensions": {
|
|
109
109
|
"type": "array",
|
|
110
110
|
"items": {
|
|
111
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
111
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/extensionName"
|
|
112
112
|
},
|
|
113
113
|
"minItems": 0,
|
|
114
114
|
"maxItems": 16,
|
|
@@ -158,43 +158,43 @@
|
|
|
158
158
|
"type": "object",
|
|
159
159
|
"properties": {
|
|
160
160
|
"schemaVersion": {
|
|
161
|
-
"const": "0.
|
|
161
|
+
"const": "0.4.0"
|
|
162
162
|
},
|
|
163
163
|
"kind": {
|
|
164
164
|
"const": "conversation-response"
|
|
165
165
|
},
|
|
166
166
|
"binding": {
|
|
167
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
167
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/binding"
|
|
168
168
|
},
|
|
169
169
|
"requestId": {
|
|
170
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
170
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
171
171
|
},
|
|
172
172
|
"correlationId": {
|
|
173
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
173
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
174
174
|
},
|
|
175
175
|
"channelId": {
|
|
176
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
176
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
177
177
|
},
|
|
178
178
|
"speakerParticipantId": {
|
|
179
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
179
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
180
180
|
},
|
|
181
181
|
"recipientParticipantIds": {
|
|
182
182
|
"type": "array",
|
|
183
183
|
"items": {
|
|
184
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
184
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
185
185
|
},
|
|
186
186
|
"minItems": 0,
|
|
187
187
|
"maxItems": 32,
|
|
188
188
|
"uniqueItems": true
|
|
189
189
|
},
|
|
190
190
|
"responseId": {
|
|
191
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
191
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
192
192
|
},
|
|
193
193
|
"createdAt": {
|
|
194
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
194
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/utc"
|
|
195
195
|
},
|
|
196
196
|
"expiresAt": {
|
|
197
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
197
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/utc"
|
|
198
198
|
},
|
|
199
199
|
"output": {
|
|
200
200
|
"oneOf": [
|
|
@@ -243,12 +243,12 @@
|
|
|
243
243
|
]
|
|
244
244
|
},
|
|
245
245
|
"extensions": {
|
|
246
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
246
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/extensions"
|
|
247
247
|
},
|
|
248
248
|
"requiredExtensions": {
|
|
249
249
|
"type": "array",
|
|
250
250
|
"items": {
|
|
251
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
251
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/extensionName"
|
|
252
252
|
},
|
|
253
253
|
"minItems": 0,
|
|
254
254
|
"maxItems": 16,
|
|
@@ -275,31 +275,31 @@
|
|
|
275
275
|
"type": "object",
|
|
276
276
|
"properties": {
|
|
277
277
|
"schemaVersion": {
|
|
278
|
-
"const": "0.
|
|
278
|
+
"const": "0.4.0"
|
|
279
279
|
},
|
|
280
280
|
"kind": {
|
|
281
281
|
"const": "conversation-delivery"
|
|
282
282
|
},
|
|
283
283
|
"binding": {
|
|
284
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
284
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/binding"
|
|
285
285
|
},
|
|
286
286
|
"requestId": {
|
|
287
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
287
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
288
288
|
},
|
|
289
289
|
"responseId": {
|
|
290
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
290
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
291
291
|
},
|
|
292
292
|
"correlationId": {
|
|
293
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
293
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
294
294
|
},
|
|
295
295
|
"channelId": {
|
|
296
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
296
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
297
297
|
},
|
|
298
298
|
"deliveryId": {
|
|
299
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
299
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
300
300
|
},
|
|
301
301
|
"recordedAt": {
|
|
302
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
302
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/utc"
|
|
303
303
|
},
|
|
304
304
|
"status": {
|
|
305
305
|
"enum": ["accepted", "delivered", "rejected", "unknown"]
|
|
@@ -310,12 +310,12 @@
|
|
|
310
310
|
"maxLength": 500
|
|
311
311
|
},
|
|
312
312
|
"extensions": {
|
|
313
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
313
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/extensions"
|
|
314
314
|
},
|
|
315
315
|
"requiredExtensions": {
|
|
316
316
|
"type": "array",
|
|
317
317
|
"items": {
|
|
318
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
318
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/extensionName"
|
|
319
319
|
},
|
|
320
320
|
"minItems": 0,
|
|
321
321
|
"maxItems": 16,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "urn:ifsoul:protocol:0.
|
|
3
|
+
"$id": "urn:ifsoul:protocol:0.4.0:environment",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"schemaVersion": {
|
|
7
|
-
"const": "0.
|
|
7
|
+
"const": "0.4.0"
|
|
8
8
|
},
|
|
9
9
|
"kind": {
|
|
10
10
|
"const": "environment-profile"
|
|
11
11
|
},
|
|
12
12
|
"binding": {
|
|
13
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
13
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/binding"
|
|
14
14
|
},
|
|
15
15
|
"hostId": {
|
|
16
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
16
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
17
17
|
},
|
|
18
18
|
"revision": {
|
|
19
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
19
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
20
20
|
},
|
|
21
21
|
"medium": {
|
|
22
22
|
"enum": ["game", "chat"]
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"type": "object",
|
|
26
26
|
"properties": {
|
|
27
27
|
"form": {
|
|
28
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
28
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
29
29
|
},
|
|
30
30
|
"description": {
|
|
31
31
|
"type": "string",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
"type": "object",
|
|
52
52
|
"properties": {
|
|
53
53
|
"claimId": {
|
|
54
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
54
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
55
55
|
},
|
|
56
56
|
"participantId": {
|
|
57
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
57
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
58
58
|
},
|
|
59
59
|
"environmentSubjectId": {
|
|
60
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
60
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
61
61
|
},
|
|
62
62
|
"issuerId": {
|
|
63
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
63
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"required": [
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"channelIds": {
|
|
105
105
|
"type": "array",
|
|
106
106
|
"items": {
|
|
107
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
107
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
108
108
|
},
|
|
109
109
|
"minItems": 0,
|
|
110
110
|
"maxItems": 16,
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"type": "object",
|
|
126
126
|
"properties": {
|
|
127
127
|
"intentId": {
|
|
128
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
128
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
129
129
|
},
|
|
130
130
|
"description": {
|
|
131
131
|
"type": "string",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"type": "object",
|
|
139
139
|
"properties": {
|
|
140
140
|
"name": {
|
|
141
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
141
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
142
142
|
},
|
|
143
143
|
"type": {
|
|
144
144
|
"enum": ["entity-ref", "choice", "quantity", "boolean"]
|
|
@@ -149,14 +149,14 @@
|
|
|
149
149
|
"choices": {
|
|
150
150
|
"type": "array",
|
|
151
151
|
"items": {
|
|
152
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
152
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
153
153
|
},
|
|
154
154
|
"minItems": 1,
|
|
155
155
|
"maxItems": 32,
|
|
156
156
|
"uniqueItems": true
|
|
157
157
|
},
|
|
158
158
|
"unit": {
|
|
159
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
159
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
|
|
160
160
|
},
|
|
161
161
|
"minimum": {
|
|
162
162
|
"type": "number"
|
|
@@ -182,15 +182,15 @@
|
|
|
182
182
|
"maxItems": 32
|
|
183
183
|
},
|
|
184
184
|
"worldTime": {
|
|
185
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
185
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/worldTime"
|
|
186
186
|
},
|
|
187
187
|
"extensions": {
|
|
188
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
188
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/extensions"
|
|
189
189
|
},
|
|
190
190
|
"requiredExtensions": {
|
|
191
191
|
"type": "array",
|
|
192
192
|
"items": {
|
|
193
|
-
"$ref": "urn:ifsoul:protocol:0.
|
|
193
|
+
"$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/extensionName"
|
|
194
194
|
},
|
|
195
195
|
"minItems": 0,
|
|
196
196
|
"maxItems": 16,
|