@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.
Files changed (137) hide show
  1. package/README.md +28 -34
  2. package/dist/packages/memory/src/sql.js +54 -5
  3. package/dist/packages/protocol/src/generated/validators.cjs +1 -1
  4. package/dist/packages/protocol/src/index.d.ts +1 -6
  5. package/dist/packages/protocol/src/index.js +3 -16
  6. package/dist/packages/protocol/src/types.d.ts +1 -1
  7. package/dist/packages/runtime/src/index.js +1 -1
  8. package/package.json +2 -3
  9. package/packages/protocol/schemas/current/archive.schema.json +16 -16
  10. package/packages/protocol/schemas/current/character.schema.json +21 -21
  11. package/packages/protocol/schemas/current/common.schema.json +15 -15
  12. package/packages/protocol/schemas/current/context.schema.json +24 -24
  13. package/packages/protocol/schemas/current/conversation.schema.json +39 -39
  14. package/packages/protocol/schemas/current/environment.schema.json +18 -18
  15. package/packages/protocol/schemas/current/memory.schema.json +66 -66
  16. package/packages/protocol/schemas/current/model-provider.schema.json +40 -40
  17. package/packages/protocol/schemas/current/planning.schema.json +61 -61
  18. package/packages/protocol/schemas/current/provider-common.schema.json +6 -6
  19. package/release.json +7 -12
  20. package/specs/README.md +3 -86
  21. package/specs/current/README.md +3 -5
  22. package/specs/current/examples/archive-fork.json +12 -12
  23. package/specs/current/examples/archive-resume.json +12 -12
  24. package/specs/current/examples/character-instance.json +1 -1
  25. package/specs/current/examples/character-template.json +1 -1
  26. package/specs/current/examples/context-after-inspection.json +1 -1
  27. package/specs/current/examples/context-chat.json +1 -1
  28. package/specs/current/examples/context-daily.json +1 -1
  29. package/specs/current/examples/context-no-speech.json +1 -1
  30. package/specs/current/examples/conversation-delivery.json +1 -1
  31. package/specs/current/examples/conversation-live-request.json +1 -1
  32. package/specs/current/examples/conversation-live-response.json +1 -1
  33. package/specs/current/examples/conversation-no-speech-request.json +1 -1
  34. package/specs/current/examples/conversation-no-speech-response.json +1 -1
  35. package/specs/current/examples/conversation-requested-request.json +1 -1
  36. package/specs/current/examples/conversation-requested-response.json +1 -1
  37. package/specs/current/examples/environment-chat.json +1 -1
  38. package/specs/current/examples/environment-game.json +1 -1
  39. package/specs/current/examples/environment-no-speech.json +1 -1
  40. package/specs/current/examples/intent-checkpoint.json +1 -1
  41. package/specs/current/examples/memory-episode.json +1 -1
  42. package/specs/current/examples/memory-event-conversation.json +1 -1
  43. package/specs/current/examples/memory-event-observed.json +2 -2
  44. package/specs/current/examples/memory-event-plan-proposal.json +2 -2
  45. package/specs/current/examples/memory-event-proposed.json +2 -2
  46. package/specs/current/examples/memory-fact.json +1 -1
  47. package/specs/current/examples/memory-relationship.json +1 -1
  48. package/specs/current/examples/memory-working-context.json +1 -1
  49. package/specs/current/examples/plan-cancel-request.json +1 -1
  50. package/specs/current/examples/plan-cancel-result.json +1 -1
  51. package/specs/current/examples/plan-daily.json +1 -1
  52. package/specs/current/examples/plan-partial-decision.json +1 -1
  53. package/specs/current/examples/portable-memory.jsonl +9 -9
  54. package/specs/current/examples/task-outcome.json +1 -1
  55. package/specs/current/examples/task-progress.json +1 -1
  56. package/specs/current/model-provider/examples/capabilities.json +1 -1
  57. package/specs/current/model-provider/examples/error.json +1 -1
  58. package/specs/current/model-provider/examples/request.json +1 -1
  59. package/specs/current/model-provider/examples/response.json +1 -1
  60. package/docs/npm-publishing.md +0 -44
  61. package/packages/protocol/schemas/action-result.schema.json +0 -187
  62. package/packages/protocol/schemas/action.schema.json +0 -68
  63. package/packages/protocol/schemas/archive-manifest.schema.json +0 -126
  64. package/packages/protocol/schemas/capability.schema.json +0 -131
  65. package/packages/protocol/schemas/character-instance.schema.json +0 -73
  66. package/packages/protocol/schemas/character-template.schema.json +0 -67
  67. package/packages/protocol/schemas/common.schema.json +0 -154
  68. package/packages/protocol/schemas/derived-memory.schema.json +0 -145
  69. package/packages/protocol/schemas/memory-event.schema.json +0 -123
  70. package/packages/protocol/schemas/model-provider.schema.json +0 -326
  71. package/packages/protocol/schemas/perception.schema.json +0 -89
  72. package/packages/protocol/schemas/permission-policy.schema.json +0 -153
  73. package/packages/protocol/schemas/v0.2/archive.schema.json +0 -205
  74. package/packages/protocol/schemas/v0.2/character.schema.json +0 -344
  75. package/packages/protocol/schemas/v0.2/common.schema.json +0 -239
  76. package/packages/protocol/schemas/v0.2/context.schema.json +0 -230
  77. package/packages/protocol/schemas/v0.2/conversation.schema.json +0 -340
  78. package/packages/protocol/schemas/v0.2/environment.schema.json +0 -244
  79. package/packages/protocol/schemas/v0.2/memory.schema.json +0 -495
  80. package/packages/protocol/schemas/v0.2/planning.schema.json +0 -443
  81. package/packages/protocol/schemas/world-event.schema.json +0 -74
  82. package/specs/character/README.md +0 -84
  83. package/specs/character/examples/archive-manifest.json +0 -32
  84. package/specs/character/examples/character-instance.json +0 -20
  85. package/specs/character/examples/character-template.json +0 -19
  86. package/specs/memory/README.md +0 -80
  87. package/specs/memory/examples/derived-memory.json +0 -21
  88. package/specs/memory/examples/memory-event.json +0 -35
  89. package/specs/model-provider/README.md +0 -85
  90. package/specs/model-provider/examples/capabilities.json +0 -10
  91. package/specs/model-provider/examples/error.json +0 -18
  92. package/specs/model-provider/examples/request.json +0 -17
  93. package/specs/model-provider/examples/response.json +0 -19
  94. package/specs/v0.2/README.md +0 -421
  95. package/specs/v0.2/examples/archive-fork.json +0 -64
  96. package/specs/v0.2/examples/archive-resume.json +0 -63
  97. package/specs/v0.2/examples/character-instance.json +0 -57
  98. package/specs/v0.2/examples/character-template.json +0 -45
  99. package/specs/v0.2/examples/context-after-inspection.json +0 -44
  100. package/specs/v0.2/examples/context-chat.json +0 -27
  101. package/specs/v0.2/examples/context-daily.json +0 -69
  102. package/specs/v0.2/examples/context-no-speech.json +0 -27
  103. package/specs/v0.2/examples/conversation-delivery.json +0 -17
  104. package/specs/v0.2/examples/conversation-live-request.json +0 -31
  105. package/specs/v0.2/examples/conversation-live-response.json +0 -23
  106. package/specs/v0.2/examples/conversation-no-speech-request.json +0 -23
  107. package/specs/v0.2/examples/conversation-no-speech-response.json +0 -22
  108. package/specs/v0.2/examples/conversation-requested-request.json +0 -31
  109. package/specs/v0.2/examples/conversation-requested-response.json +0 -23
  110. package/specs/v0.2/examples/environment-chat.json +0 -43
  111. package/specs/v0.2/examples/environment-game.json +0 -80
  112. package/specs/v0.2/examples/environment-no-speech.json +0 -47
  113. package/specs/v0.2/examples/intent-checkpoint.json +0 -29
  114. package/specs/v0.2/examples/memory-episode.json +0 -28
  115. package/specs/v0.2/examples/memory-event-conversation.json +0 -32
  116. package/specs/v0.2/examples/memory-event-observed.json +0 -50
  117. package/specs/v0.2/examples/memory-event-plan-proposal.json +0 -82
  118. package/specs/v0.2/examples/memory-event-proposed.json +0 -53
  119. package/specs/v0.2/examples/memory-fact.json +0 -23
  120. package/specs/v0.2/examples/memory-relationship.json +0 -25
  121. package/specs/v0.2/examples/memory-working-context.json +0 -24
  122. package/specs/v0.2/examples/plan-cancel-request.json +0 -16
  123. package/specs/v0.2/examples/plan-cancel-result.json +0 -21
  124. package/specs/v0.2/examples/plan-daily.json +0 -57
  125. package/specs/v0.2/examples/plan-partial-decision.json +0 -28
  126. package/specs/v0.2/examples/portable-memory.jsonl +0 -9
  127. package/specs/v0.2/examples/task-outcome.json +0 -21
  128. package/specs/v0.2/examples/task-progress.json +0 -19
  129. package/specs/world-adapter/README.md +0 -114
  130. package/specs/world-adapter/examples/action-result-unknown.json +0 -23
  131. package/specs/world-adapter/examples/action-result.json +0 -45
  132. package/specs/world-adapter/examples/action.json +0 -17
  133. package/specs/world-adapter/examples/capability.json +0 -44
  134. package/specs/world-adapter/examples/perception.json +0 -30
  135. package/specs/world-adapter/examples/permission-decision.json +0 -14
  136. package/specs/world-adapter/examples/permission-policy.json +0 -17
  137. 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.0:conversation",
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.3.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.3.0:common#/$defs/binding"
26
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/binding"
27
27
  },
28
28
  "requestId": {
29
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
29
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
30
30
  },
31
31
  "correlationId": {
32
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
32
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
33
33
  },
34
34
  "channelId": {
35
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
35
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
36
36
  },
37
37
  "speakerParticipantId": {
38
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
50
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
51
51
  },
52
52
  "contextRevision": {
53
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
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.3.0:common#/$defs/utc"
65
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/utc"
66
66
  },
67
67
  "deadlineAt": {
68
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/utc"
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.3.0:common#/$defs/id"
76
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
77
77
  },
78
78
  "participantId": {
79
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
79
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
80
80
  },
81
81
  "recordedAt": {
82
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/utc"
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.3.0:common#/$defs/extensions"
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.3.0:common#/$defs/extensionName"
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.3.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.3.0:common#/$defs/binding"
167
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/binding"
168
168
  },
169
169
  "requestId": {
170
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
170
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
171
171
  },
172
172
  "correlationId": {
173
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
173
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
174
174
  },
175
175
  "channelId": {
176
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
176
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
177
177
  },
178
178
  "speakerParticipantId": {
179
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
191
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
192
192
  },
193
193
  "createdAt": {
194
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/utc"
194
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/utc"
195
195
  },
196
196
  "expiresAt": {
197
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/utc"
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.3.0:common#/$defs/extensions"
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.3.0:common#/$defs/extensionName"
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.3.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.3.0:common#/$defs/binding"
284
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/binding"
285
285
  },
286
286
  "requestId": {
287
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
287
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
288
288
  },
289
289
  "responseId": {
290
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
290
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
291
291
  },
292
292
  "correlationId": {
293
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
293
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
294
294
  },
295
295
  "channelId": {
296
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
296
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
297
297
  },
298
298
  "deliveryId": {
299
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
299
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
300
300
  },
301
301
  "recordedAt": {
302
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/utc"
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.3.0:common#/$defs/extensions"
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.3.0:common#/$defs/extensionName"
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.0:environment",
3
+ "$id": "urn:ifsoul:protocol:0.4.0:environment",
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "schemaVersion": {
7
- "const": "0.3.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.3.0:common#/$defs/binding"
13
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/binding"
14
14
  },
15
15
  "hostId": {
16
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
16
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
17
17
  },
18
18
  "revision": {
19
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
54
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
55
55
  },
56
56
  "participantId": {
57
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
57
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
58
58
  },
59
59
  "environmentSubjectId": {
60
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
60
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/id"
61
61
  },
62
62
  "issuerId": {
63
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
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.3.0:common#/$defs/id"
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.3.0:common#/$defs/worldTime"
185
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/worldTime"
186
186
  },
187
187
  "extensions": {
188
- "$ref": "urn:ifsoul:protocol:0.3.0:common#/$defs/extensions"
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.3.0:common#/$defs/extensionName"
193
+ "$ref": "urn:ifsoul:protocol:0.4.0:common#/$defs/extensionName"
194
194
  },
195
195
  "minItems": 0,
196
196
  "maxItems": 16,