@twin.org/dataspace-models 0.0.3-next.21 → 0.0.3-next.23

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 (108) hide show
  1. package/dist/es/index.js +20 -20
  2. package/dist/es/index.js.map +1 -1
  3. package/dist/es/models/api/controlPlane/ICompleteTransferRequest.js.map +1 -0
  4. package/dist/es/models/api/controlPlane/ICompleteTransferResponse.js.map +1 -0
  5. package/dist/es/models/api/controlPlane/IGetTransferProcessRequest.js.map +1 -0
  6. package/dist/es/models/api/controlPlane/IGetTransferProcessResponse.js.map +1 -0
  7. package/dist/es/models/api/controlPlane/IRequestTransferRequest.js.map +1 -0
  8. package/dist/es/models/api/controlPlane/IRequestTransferResponse.js.map +1 -0
  9. package/dist/es/models/api/controlPlane/IStartTransferRequest.js.map +1 -0
  10. package/dist/es/models/api/controlPlane/IStartTransferResponse.js.map +1 -0
  11. package/dist/es/models/api/controlPlane/ISuspendTransferRequest.js.map +1 -0
  12. package/dist/es/models/api/controlPlane/ISuspendTransferResponse.js.map +1 -0
  13. package/dist/es/models/api/controlPlane/ITerminateTransferRequest.js.map +1 -0
  14. package/dist/es/models/api/controlPlane/ITerminateTransferResponse.js.map +1 -0
  15. package/dist/es/models/controlPlane/IDataspaceControlPlaneComponent.js.map +1 -0
  16. package/dist/es/models/controlPlane/IDataspaceControlPlaneResolverComponent.js.map +1 -0
  17. package/dist/es/models/controlPlane/INegotiationCallback.js.map +1 -0
  18. package/dist/es/models/controlPlane/ITransferContext.js.map +1 -0
  19. package/dist/es/models/controlPlane/ITransferProcess.js.map +1 -0
  20. package/dist/es/models/controlPlane/api/ITransferContextResponse.js.map +1 -0
  21. package/dist/es/models/controlPlane/transferProcessRole.js.map +1 -0
  22. package/dist/es/models/dataPlane/IDataspaceDataPlaneComponent.js.map +1 -0
  23. package/dist/es/schemas/DataspaceActivity.json +724 -18
  24. package/dist/types/index.d.ts +20 -20
  25. package/docs/changelog.md +14 -0
  26. package/docs/reference/classes/TransferProcess.md +6 -6
  27. package/docs/reference/interfaces/IActivityLogDates.md +1 -1
  28. package/docs/reference/interfaces/IActivityLogDetails.md +2 -2
  29. package/docs/reference/interfaces/IActivityLogEntry.md +6 -6
  30. package/docs/reference/interfaces/IActivityLogStatusNotification.md +1 -1
  31. package/docs/reference/interfaces/IActivityQuery.md +2 -2
  32. package/docs/reference/interfaces/ICompleteTransferResponse.md +1 -1
  33. package/docs/reference/interfaces/IDataAssetEntitiesResponse.md +2 -2
  34. package/docs/reference/interfaces/IDataAssetGetEntitiesRequest.md +6 -6
  35. package/docs/reference/interfaces/IDataAssetItemListResult.md +1 -1
  36. package/docs/reference/interfaces/IDataAssetQueryRequest.md +5 -5
  37. package/docs/reference/interfaces/IDataspaceActivity.md +1 -1
  38. package/docs/reference/interfaces/IDataspaceControlPlaneComponent.md +4 -4
  39. package/docs/reference/interfaces/IEntitySet.md +1 -1
  40. package/docs/reference/interfaces/IFilteringQuery.md +1 -1
  41. package/docs/reference/interfaces/IGetTransferProcessResponse.md +1 -1
  42. package/docs/reference/interfaces/IRequestTransferResponse.md +1 -1
  43. package/docs/reference/interfaces/IStartTransferResponse.md +1 -1
  44. package/docs/reference/interfaces/ISuspendTransferResponse.md +1 -1
  45. package/docs/reference/interfaces/ITerminateTransferResponse.md +1 -1
  46. package/docs/reference/interfaces/ITransferContext.md +3 -3
  47. package/docs/reference/interfaces/ITransferProcess.md +6 -6
  48. package/package.json +1 -1
  49. package/dist/es/models/api/control-plane/ICompleteTransferRequest.js.map +0 -1
  50. package/dist/es/models/api/control-plane/ICompleteTransferResponse.js.map +0 -1
  51. package/dist/es/models/api/control-plane/IGetTransferProcessRequest.js.map +0 -1
  52. package/dist/es/models/api/control-plane/IGetTransferProcessResponse.js.map +0 -1
  53. package/dist/es/models/api/control-plane/IRequestTransferRequest.js.map +0 -1
  54. package/dist/es/models/api/control-plane/IRequestTransferResponse.js.map +0 -1
  55. package/dist/es/models/api/control-plane/IStartTransferRequest.js.map +0 -1
  56. package/dist/es/models/api/control-plane/IStartTransferResponse.js.map +0 -1
  57. package/dist/es/models/api/control-plane/ISuspendTransferRequest.js.map +0 -1
  58. package/dist/es/models/api/control-plane/ISuspendTransferResponse.js.map +0 -1
  59. package/dist/es/models/api/control-plane/ITerminateTransferRequest.js.map +0 -1
  60. package/dist/es/models/api/control-plane/ITerminateTransferResponse.js.map +0 -1
  61. package/dist/es/models/control-plane/IDataspaceControlPlaneComponent.js.map +0 -1
  62. package/dist/es/models/control-plane/IDataspaceControlPlaneResolverComponent.js.map +0 -1
  63. package/dist/es/models/control-plane/INegotiationCallback.js.map +0 -1
  64. package/dist/es/models/control-plane/ITransferContext.js.map +0 -1
  65. package/dist/es/models/control-plane/ITransferProcess.js.map +0 -1
  66. package/dist/es/models/control-plane/api/ITransferContextResponse.js.map +0 -1
  67. package/dist/es/models/control-plane/transferProcessRole.js.map +0 -1
  68. package/dist/es/models/data-plane/IDataspaceDataPlaneComponent.js.map +0 -1
  69. /package/dist/es/models/api/{control-plane → controlPlane}/ICompleteTransferRequest.js +0 -0
  70. /package/dist/es/models/api/{control-plane → controlPlane}/ICompleteTransferResponse.js +0 -0
  71. /package/dist/es/models/api/{control-plane → controlPlane}/IGetTransferProcessRequest.js +0 -0
  72. /package/dist/es/models/api/{control-plane → controlPlane}/IGetTransferProcessResponse.js +0 -0
  73. /package/dist/es/models/api/{control-plane → controlPlane}/IRequestTransferRequest.js +0 -0
  74. /package/dist/es/models/api/{control-plane → controlPlane}/IRequestTransferResponse.js +0 -0
  75. /package/dist/es/models/api/{control-plane → controlPlane}/IStartTransferRequest.js +0 -0
  76. /package/dist/es/models/api/{control-plane → controlPlane}/IStartTransferResponse.js +0 -0
  77. /package/dist/es/models/api/{control-plane → controlPlane}/ISuspendTransferRequest.js +0 -0
  78. /package/dist/es/models/api/{control-plane → controlPlane}/ISuspendTransferResponse.js +0 -0
  79. /package/dist/es/models/api/{control-plane → controlPlane}/ITerminateTransferRequest.js +0 -0
  80. /package/dist/es/models/api/{control-plane → controlPlane}/ITerminateTransferResponse.js +0 -0
  81. /package/dist/es/models/{control-plane → controlPlane}/IDataspaceControlPlaneComponent.js +0 -0
  82. /package/dist/es/models/{control-plane → controlPlane}/IDataspaceControlPlaneResolverComponent.js +0 -0
  83. /package/dist/es/models/{control-plane → controlPlane}/INegotiationCallback.js +0 -0
  84. /package/dist/es/models/{control-plane → controlPlane}/ITransferContext.js +0 -0
  85. /package/dist/es/models/{control-plane → controlPlane}/ITransferProcess.js +0 -0
  86. /package/dist/es/models/{control-plane → controlPlane}/api/ITransferContextResponse.js +0 -0
  87. /package/dist/es/models/{control-plane → controlPlane}/transferProcessRole.js +0 -0
  88. /package/dist/es/models/{data-plane → dataPlane}/IDataspaceDataPlaneComponent.js +0 -0
  89. /package/dist/types/models/api/{control-plane → controlPlane}/ICompleteTransferRequest.d.ts +0 -0
  90. /package/dist/types/models/api/{control-plane → controlPlane}/ICompleteTransferResponse.d.ts +0 -0
  91. /package/dist/types/models/api/{control-plane → controlPlane}/IGetTransferProcessRequest.d.ts +0 -0
  92. /package/dist/types/models/api/{control-plane → controlPlane}/IGetTransferProcessResponse.d.ts +0 -0
  93. /package/dist/types/models/api/{control-plane → controlPlane}/IRequestTransferRequest.d.ts +0 -0
  94. /package/dist/types/models/api/{control-plane → controlPlane}/IRequestTransferResponse.d.ts +0 -0
  95. /package/dist/types/models/api/{control-plane → controlPlane}/IStartTransferRequest.d.ts +0 -0
  96. /package/dist/types/models/api/{control-plane → controlPlane}/IStartTransferResponse.d.ts +0 -0
  97. /package/dist/types/models/api/{control-plane → controlPlane}/ISuspendTransferRequest.d.ts +0 -0
  98. /package/dist/types/models/api/{control-plane → controlPlane}/ISuspendTransferResponse.d.ts +0 -0
  99. /package/dist/types/models/api/{control-plane → controlPlane}/ITerminateTransferRequest.d.ts +0 -0
  100. /package/dist/types/models/api/{control-plane → controlPlane}/ITerminateTransferResponse.d.ts +0 -0
  101. /package/dist/types/models/{control-plane → controlPlane}/IDataspaceControlPlaneComponent.d.ts +0 -0
  102. /package/dist/types/models/{control-plane → controlPlane}/IDataspaceControlPlaneResolverComponent.d.ts +0 -0
  103. /package/dist/types/models/{control-plane → controlPlane}/INegotiationCallback.d.ts +0 -0
  104. /package/dist/types/models/{control-plane → controlPlane}/ITransferContext.d.ts +0 -0
  105. /package/dist/types/models/{control-plane → controlPlane}/ITransferProcess.d.ts +0 -0
  106. /package/dist/types/models/{control-plane → controlPlane}/api/ITransferContextResponse.d.ts +0 -0
  107. /package/dist/types/models/{control-plane → controlPlane}/transferProcessRole.d.ts +0 -0
  108. /package/dist/types/models/{data-plane → dataPlane}/IDataspaceDataPlaneComponent.d.ts +0 -0
@@ -1,33 +1,739 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://schema.twindev.org/dataspace/DataspaceActivity",
4
- "description": "Activity Streams Activity expected by the Dataspace Data Plane",
5
4
  "title": "DataspaceActivity",
6
- "allOf": [
7
- {
8
- "$ref": "https://schema.twindev.org/w3c-activity-streams/ActivityStreamsActivity"
5
+ "description": "A dataspace activity that restricts an activity so that it can be handled by a Dataspace Data Plane",
6
+ "type": "object",
7
+ "properties": {
8
+ "object": {
9
+ "anyOf": [
10
+ {
11
+ "properties": {
12
+ "type": {
13
+ "anyOf": [
14
+ {
15
+ "type": "string"
16
+ },
17
+ {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "string"
21
+ }
22
+ }
23
+ ]
24
+ },
25
+ "@context": {
26
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
27
+ }
28
+ },
29
+ "required": [
30
+ "type",
31
+ "@context"
32
+ ],
33
+ "type": "object",
34
+ "$comment": "Inlined utility base type O & { type: ObjectOrArray<string> } so utility transformations can operate on concrete properties instead of a $ref."
35
+ },
36
+ {
37
+ "type": "array",
38
+ "items": {
39
+ "properties": {
40
+ "type": {
41
+ "anyOf": [
42
+ {
43
+ "type": "string"
44
+ },
45
+ {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string"
49
+ }
50
+ }
51
+ ]
52
+ },
53
+ "@context": {
54
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
55
+ }
56
+ },
57
+ "required": [
58
+ "type",
59
+ "@context"
60
+ ],
61
+ "type": "object",
62
+ "$comment": "Inlined utility base type O & { type: ObjectOrArray<string> } so utility transformations can operate on concrete properties instead of a $ref."
63
+ }
64
+ }
65
+ ],
66
+ "description": "Activity's Object"
9
67
  },
68
+ "target": {
69
+ "properties": {
70
+ "type": {
71
+ "anyOf": [
72
+ {
73
+ "type": "string"
74
+ },
75
+ {
76
+ "type": "array",
77
+ "items": {
78
+ "type": "string"
79
+ }
80
+ }
81
+ ]
82
+ },
83
+ "@context": {
84
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
85
+ }
86
+ },
87
+ "required": [
88
+ "type",
89
+ "@context"
90
+ ],
91
+ "type": "object",
92
+ "$comment": "Inlined utility base type T & { type: ObjectOrArray<string> } so utility transformations can operate on concrete properties instead of a $ref.",
93
+ "description": "Activity's target"
94
+ }
95
+ },
96
+ "required": [
97
+ "object"
98
+ ],
99
+ "allOf": [
10
100
  {
101
+ "description": "A W3C Activity from Activity Streams.\n\nAn `Activity` describes an action performed by an `actor` on an `object`, and\ncan optionally include a `target`, `result`, `origin`, or `instrument`.",
11
102
  "type": "object",
12
103
  "properties": {
13
- "object": {
14
- "type": "object",
15
- "required": [
16
- "@context",
17
- "type"
18
- ]
104
+ "@context": {
105
+ "$ref": "https://schema.twindev.org/w3c-activity-streams/ActivityStreamsContextType",
106
+ "description": "The LD Context.",
107
+ "$comment": "Inherited from ActivityStreamsActivity"
19
108
  },
20
- "target": {
21
- "type": "object",
22
- "required": [
23
- "@context",
24
- "type"
25
- ]
109
+ "type": {
110
+ "anyOf": [
111
+ {
112
+ "$ref": "https://schema.twindev.org/w3c-activity-streams/ActivityStreamsTypes"
113
+ },
114
+ {
115
+ "type": "string"
116
+ },
117
+ {
118
+ "type": "array",
119
+ "items": {
120
+ "anyOf": [
121
+ {
122
+ "$ref": "https://schema.twindev.org/w3c-activity-streams/ActivityStreamsTypes"
123
+ },
124
+ {
125
+ "type": "string"
126
+ }
127
+ ]
128
+ }
129
+ }
130
+ ],
131
+ "description": "Activity Type.",
132
+ "$comment": "Inherited from ActivityStreamsActivity"
133
+ },
134
+ "id": {
135
+ "type": "string",
136
+ "description": "Global identifier.",
137
+ "format": "uri",
138
+ "$comment": "Inherited from ActivityStreamsObject"
139
+ },
140
+ "name": {
141
+ "anyOf": [
142
+ {
143
+ "type": "string"
144
+ },
145
+ {
146
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
147
+ }
148
+ ],
149
+ "description": "Natural language name.",
150
+ "$comment": "Inherited from ActivityStreamsObject"
151
+ },
152
+ "nameMap": {
153
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap",
154
+ "description": "Natural language name map.",
155
+ "$comment": "Inherited from ActivityStreamsObject"
156
+ },
157
+ "summary": {
158
+ "anyOf": [
159
+ {
160
+ "type": "string"
161
+ },
162
+ {
163
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
164
+ }
165
+ ],
166
+ "description": "Summary of the Activity.",
167
+ "$comment": "Inherited from ActivityStreamsActivity"
168
+ },
169
+ "summaryMap": {
170
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap",
171
+ "description": "Natural language summary map.",
172
+ "$comment": "Inherited from ActivityStreamsObject"
173
+ },
174
+ "content": {
175
+ "anyOf": [
176
+ {
177
+ "type": "string"
178
+ },
179
+ {
180
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
181
+ }
182
+ ],
183
+ "description": "Natural language content.",
184
+ "$comment": "Inherited from ActivityStreamsObject"
185
+ },
186
+ "contentMap": {
187
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap",
188
+ "description": "Natural language content map.",
189
+ "$comment": "Inherited from ActivityStreamsObject"
190
+ },
191
+ "url": {
192
+ "anyOf": [
193
+ {
194
+ "type": "string"
195
+ },
196
+ {
197
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
198
+ },
199
+ {
200
+ "type": "array",
201
+ "items": {
202
+ "anyOf": [
203
+ {
204
+ "type": "string"
205
+ },
206
+ {
207
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
208
+ }
209
+ ]
210
+ }
211
+ }
212
+ ],
213
+ "description": "A link to the representation of the object.\n\nThe value can be a URI or an embedded node object.",
214
+ "$comment": "Inherited from ActivityStreamsObject"
215
+ },
216
+ "image": {
217
+ "anyOf": [
218
+ {
219
+ "type": "string"
220
+ },
221
+ {
222
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
223
+ },
224
+ {
225
+ "type": "array",
226
+ "items": {
227
+ "anyOf": [
228
+ {
229
+ "type": "string"
230
+ },
231
+ {
232
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
233
+ }
234
+ ]
235
+ }
236
+ }
237
+ ],
238
+ "description": "A graphical representation of the object.\n\nThe value can be a URI or an embedded `Image`/`Link` object.",
239
+ "$comment": "Inherited from ActivityStreamsObject"
240
+ },
241
+ "icon": {
242
+ "anyOf": [
243
+ {
244
+ "type": "string"
245
+ },
246
+ {
247
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
248
+ },
249
+ {
250
+ "type": "array",
251
+ "items": {
252
+ "anyOf": [
253
+ {
254
+ "type": "string"
255
+ },
256
+ {
257
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
258
+ }
259
+ ]
260
+ }
261
+ }
262
+ ],
263
+ "description": "An icon for the object.\n\nThe value can be a URI or an embedded `Image`/`Link` object.",
264
+ "$comment": "Inherited from ActivityStreamsObject"
265
+ },
266
+ "published": {
267
+ "type": "string",
268
+ "description": "Published date-time.",
269
+ "format": "date-time",
270
+ "$comment": "Inherited from ActivityStreamsObject"
271
+ },
272
+ "updated": {
273
+ "type": "string",
274
+ "description": "Updated date-time.",
275
+ "format": "date-time",
276
+ "$comment": "Inherited from ActivityStreamsObject"
277
+ },
278
+ "startTime": {
279
+ "type": "string",
280
+ "description": "Start time.",
281
+ "format": "date-time",
282
+ "$comment": "Inherited from ActivityStreamsObject"
283
+ },
284
+ "endTime": {
285
+ "type": "string",
286
+ "description": "End time.",
287
+ "format": "date-time",
288
+ "$comment": "Inherited from ActivityStreamsObject"
289
+ },
290
+ "duration": {
291
+ "type": "string",
292
+ "description": "Duration.",
293
+ "format": "duration",
294
+ "$comment": "Inherited from ActivityStreamsObject"
295
+ },
296
+ "generator": {
297
+ "anyOf": [
298
+ {
299
+ "type": "string"
300
+ },
301
+ {
302
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
303
+ },
304
+ {
305
+ "type": "array",
306
+ "items": {
307
+ "anyOf": [
308
+ {
309
+ "type": "string"
310
+ },
311
+ {
312
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
313
+ }
314
+ ]
315
+ }
316
+ }
317
+ ],
318
+ "description": "The generator of the Activity.",
319
+ "$comment": "Inherited from ActivityStreamsActivity"
320
+ },
321
+ "attachment": {
322
+ "anyOf": [
323
+ {
324
+ "type": "string"
325
+ },
326
+ {
327
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
328
+ },
329
+ {
330
+ "type": "array",
331
+ "items": {
332
+ "anyOf": [
333
+ {
334
+ "type": "string"
335
+ },
336
+ {
337
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
338
+ }
339
+ ]
340
+ }
341
+ }
342
+ ],
343
+ "description": "Attachments.",
344
+ "$comment": "Inherited from ActivityStreamsObject"
345
+ },
346
+ "attributedTo": {
347
+ "anyOf": [
348
+ {
349
+ "type": "string"
350
+ },
351
+ {
352
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
353
+ },
354
+ {
355
+ "type": "array",
356
+ "items": {
357
+ "anyOf": [
358
+ {
359
+ "type": "string"
360
+ },
361
+ {
362
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
363
+ }
364
+ ]
365
+ }
366
+ }
367
+ ],
368
+ "description": "Objects attributed to.",
369
+ "$comment": "Inherited from ActivityStreamsObject"
370
+ },
371
+ "audience": {
372
+ "anyOf": [
373
+ {
374
+ "type": "string"
375
+ },
376
+ {
377
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
378
+ },
379
+ {
380
+ "type": "array",
381
+ "items": {
382
+ "anyOf": [
383
+ {
384
+ "type": "string"
385
+ },
386
+ {
387
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
388
+ }
389
+ ]
390
+ }
391
+ }
392
+ ],
393
+ "description": "Audience.",
394
+ "$comment": "Inherited from ActivityStreamsObject"
395
+ },
396
+ "context": {
397
+ "anyOf": [
398
+ {
399
+ "type": "string"
400
+ },
401
+ {
402
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
403
+ },
404
+ {
405
+ "type": "array",
406
+ "items": {
407
+ "anyOf": [
408
+ {
409
+ "type": "string"
410
+ },
411
+ {
412
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
413
+ }
414
+ ]
415
+ }
416
+ }
417
+ ],
418
+ "description": "Context.",
419
+ "$comment": "Inherited from ActivityStreamsObject"
420
+ },
421
+ "location": {
422
+ "anyOf": [
423
+ {
424
+ "type": "string"
425
+ },
426
+ {
427
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
428
+ },
429
+ {
430
+ "type": "array",
431
+ "items": {
432
+ "anyOf": [
433
+ {
434
+ "type": "string"
435
+ },
436
+ {
437
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
438
+ }
439
+ ]
440
+ }
441
+ }
442
+ ],
443
+ "description": "Location.",
444
+ "$comment": "Inherited from ActivityStreamsObject"
445
+ },
446
+ "tag": {
447
+ "anyOf": [
448
+ {
449
+ "type": "string"
450
+ },
451
+ {
452
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
453
+ },
454
+ {
455
+ "type": "array",
456
+ "items": {
457
+ "anyOf": [
458
+ {
459
+ "type": "string"
460
+ },
461
+ {
462
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
463
+ }
464
+ ]
465
+ }
466
+ }
467
+ ],
468
+ "description": "Tag.",
469
+ "$comment": "Inherited from ActivityStreamsObject"
470
+ },
471
+ "inReplyTo": {
472
+ "anyOf": [
473
+ {
474
+ "type": "string"
475
+ },
476
+ {
477
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
478
+ },
479
+ {
480
+ "type": "array",
481
+ "items": {
482
+ "anyOf": [
483
+ {
484
+ "type": "string"
485
+ },
486
+ {
487
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
488
+ }
489
+ ]
490
+ }
491
+ }
492
+ ],
493
+ "description": "In reply to.",
494
+ "$comment": "Inherited from ActivityStreamsObject"
495
+ },
496
+ "replies": {
497
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
498
+ "description": "Replies collection.\n\nTypically an embedded `Collection` of Objects that are replies to this object.",
499
+ "$comment": "Inherited from ActivityStreamsObject"
500
+ },
501
+ "preview": {
502
+ "anyOf": [
503
+ {
504
+ "type": "string"
505
+ },
506
+ {
507
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
508
+ },
509
+ {
510
+ "type": "array",
511
+ "items": {
512
+ "anyOf": [
513
+ {
514
+ "type": "string"
515
+ },
516
+ {
517
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
518
+ }
519
+ ]
520
+ }
521
+ }
522
+ ],
523
+ "description": "Preview.",
524
+ "$comment": "Inherited from ActivityStreamsObject"
525
+ },
526
+ "to": {
527
+ "anyOf": [
528
+ {
529
+ "type": "string"
530
+ },
531
+ {
532
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
533
+ },
534
+ {
535
+ "type": "array",
536
+ "items": {
537
+ "anyOf": [
538
+ {
539
+ "type": "string"
540
+ },
541
+ {
542
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
543
+ }
544
+ ]
545
+ }
546
+ }
547
+ ],
548
+ "description": "To.",
549
+ "$comment": "Inherited from ActivityStreamsObject"
550
+ },
551
+ "bto": {
552
+ "anyOf": [
553
+ {
554
+ "type": "string"
555
+ },
556
+ {
557
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
558
+ },
559
+ {
560
+ "type": "array",
561
+ "items": {
562
+ "anyOf": [
563
+ {
564
+ "type": "string"
565
+ },
566
+ {
567
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
568
+ }
569
+ ]
570
+ }
571
+ }
572
+ ],
573
+ "description": "BTo.",
574
+ "$comment": "Inherited from ActivityStreamsObject"
575
+ },
576
+ "cc": {
577
+ "anyOf": [
578
+ {
579
+ "type": "string"
580
+ },
581
+ {
582
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
583
+ },
584
+ {
585
+ "type": "array",
586
+ "items": {
587
+ "anyOf": [
588
+ {
589
+ "type": "string"
590
+ },
591
+ {
592
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
593
+ }
594
+ ]
595
+ }
596
+ }
597
+ ],
598
+ "description": "CC.",
599
+ "$comment": "Inherited from ActivityStreamsObject"
600
+ },
601
+ "bcc": {
602
+ "anyOf": [
603
+ {
604
+ "type": "string"
605
+ },
606
+ {
607
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
608
+ },
609
+ {
610
+ "type": "array",
611
+ "items": {
612
+ "anyOf": [
613
+ {
614
+ "type": "string"
615
+ },
616
+ {
617
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
618
+ }
619
+ ]
620
+ }
621
+ }
622
+ ],
623
+ "description": "BCC.",
624
+ "$comment": "Inherited from ActivityStreamsObject"
625
+ },
626
+ "mediaType": {
627
+ "type": "string",
628
+ "description": "MIME media type of the referenced resource.",
629
+ "$comment": "Inherited from ActivityStreamsObject"
630
+ },
631
+ "actor": {
632
+ "anyOf": [
633
+ {
634
+ "type": "string"
635
+ },
636
+ {
637
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
638
+ },
639
+ {
640
+ "type": "array",
641
+ "items": {
642
+ "anyOf": [
643
+ {
644
+ "type": "string"
645
+ },
646
+ {
647
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
648
+ }
649
+ ]
650
+ }
651
+ }
652
+ ],
653
+ "description": "The Actor behind the Activity.",
654
+ "$comment": "Inherited from ActivityStreamsActivity"
655
+ },
656
+ "result": {
657
+ "anyOf": [
658
+ {
659
+ "type": "string"
660
+ },
661
+ {
662
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
663
+ },
664
+ {
665
+ "type": "array",
666
+ "items": {
667
+ "anyOf": [
668
+ {
669
+ "type": "string"
670
+ },
671
+ {
672
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
673
+ }
674
+ ]
675
+ }
676
+ }
677
+ ],
678
+ "description": "Result of the Activity.",
679
+ "$comment": "Inherited from ActivityStreamsActivity"
680
+ },
681
+ "origin": {
682
+ "anyOf": [
683
+ {
684
+ "type": "string"
685
+ },
686
+ {
687
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
688
+ },
689
+ {
690
+ "type": "array",
691
+ "items": {
692
+ "anyOf": [
693
+ {
694
+ "type": "string"
695
+ },
696
+ {
697
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
698
+ }
699
+ ]
700
+ }
701
+ }
702
+ ],
703
+ "description": "Activity's origin.",
704
+ "$comment": "Inherited from ActivityStreamsActivity"
705
+ },
706
+ "instrument": {
707
+ "anyOf": [
708
+ {
709
+ "type": "string"
710
+ },
711
+ {
712
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
713
+ },
714
+ {
715
+ "type": "array",
716
+ "items": {
717
+ "anyOf": [
718
+ {
719
+ "type": "string"
720
+ },
721
+ {
722
+ "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
723
+ }
724
+ ]
725
+ }
726
+ }
727
+ ],
728
+ "description": "Instrument used in the Activity.",
729
+ "$comment": "Inherited from ActivityStreamsActivity"
26
730
  }
27
731
  },
28
732
  "required": [
29
- "object"
30
- ]
733
+ "@context",
734
+ "type"
735
+ ],
736
+ "$comment": "Inlined utility base type ActivityStreamsActivity so utility transformations can operate on concrete properties instead of a $ref."
31
737
  }
32
738
  ]
33
739
  }