@mdbase-dev/connect-protocol 0.1.0-beta.100

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 (51) hide show
  1. package/LICENSE +21 -0
  2. package/dist/application-authorization.d.ts +32 -0
  3. package/dist/application-authorization.js +207 -0
  4. package/dist/capabilities.d.ts +73 -0
  5. package/dist/capabilities.js +92 -0
  6. package/dist/collection-setup.d.ts +90 -0
  7. package/dist/collection-setup.js +1 -0
  8. package/dist/compatibility.d.ts +37 -0
  9. package/dist/compatibility.js +65 -0
  10. package/dist/connect-problems.generated.d.ts +1388 -0
  11. package/dist/connect-problems.generated.js +574 -0
  12. package/dist/files.d.ts +269 -0
  13. package/dist/files.js +426 -0
  14. package/dist/index.d.ts +878 -0
  15. package/dist/index.js +94 -0
  16. package/dist/manifest.d.ts +62 -0
  17. package/dist/manifest.js +527 -0
  18. package/dist/mutation-fingerprint.d.ts +6 -0
  19. package/dist/mutation-fingerprint.js +116 -0
  20. package/dist/operations.d.ts +15 -0
  21. package/dist/operations.js +194 -0
  22. package/dist/type-packs.d.ts +133 -0
  23. package/dist/type-packs.js +30 -0
  24. package/package.json +42 -0
  25. package/schemas/application-capability-catalog.v1.json +40 -0
  26. package/schemas/application-capability-catalog.v2.json +68 -0
  27. package/schemas/catalog.json +17 -0
  28. package/schemas/connect-problem.v1.schema.json +5132 -0
  29. package/schemas/connect-problems.v1.catalog.json +351 -0
  30. package/schemas/connect-protocol.v1.schema.json +800 -0
  31. package/schemas/data-contract.schema.json +163 -0
  32. package/schemas/encrypted-relay.v1.schema.json +63 -0
  33. package/schemas/encrypted-relay.v2.schema.json +63 -0
  34. package/schemas/encrypted-relay.v3.schema.json +64 -0
  35. package/schemas/files.v1.schema.json +507 -0
  36. package/schemas/interop/v0.1/action-cancellation.schema.json +6 -0
  37. package/schemas/interop/v0.1/action-invocation.schema.json +6 -0
  38. package/schemas/interop/v0.1/action-outcome.schema.json +6 -0
  39. package/schemas/interop/v0.1/action-provider-declaration.schema.json +6 -0
  40. package/schemas/interop/v0.1/action-request.schema.json +6 -0
  41. package/schemas/interop/v0.1/conformance-claim.schema.json +6 -0
  42. package/schemas/interop/v0.1/event-source-declaration.schema.json +6 -0
  43. package/schemas/interop/v0.1/event.schema.json +6 -0
  44. package/schemas/interop/v0.1/profile.schema.json +456 -0
  45. package/schemas/mdbase-app.legacy-v1.schema.json +405 -0
  46. package/schemas/mdbase-app.schema.json +381 -0
  47. package/schemas/mdbase-query.v0.3.schema.json +171 -0
  48. package/schemas/notification-webhook.v1.schema.json +56 -0
  49. package/schemas/operation-catalog.v1.json +42 -0
  50. package/schemas/operation-mutation-classification.v1.json +537 -0
  51. package/schemas/sync.v1.schema.json +483 -0
@@ -0,0 +1,507 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mdbase.dev/connect/schemas/files.v1.json",
4
+ "title": "mdbase connect collection file protocol 1",
5
+ "oneOf": [
6
+ { "$ref": "#/$defs/applicationFileRequirement" },
7
+ { "$ref": "#/$defs/selectiveSyncPolicy" },
8
+ { "$ref": "#/$defs/fileCapability" },
9
+ { "$ref": "#/$defs/fileDescriptor" },
10
+ { "$ref": "#/$defs/listFilesRequest" },
11
+ { "$ref": "#/$defs/listFilesPage" },
12
+ { "$ref": "#/$defs/openUploadRequest" },
13
+ { "$ref": "#/$defs/openDownloadRequest" },
14
+ { "$ref": "#/$defs/moveFileRequest" },
15
+ { "$ref": "#/$defs/moveFileReceipt" },
16
+ { "$ref": "#/$defs/deleteFileRequest" },
17
+ { "$ref": "#/$defs/deleteFileReceipt" },
18
+ { "$ref": "#/$defs/transferSession" },
19
+ { "$ref": "#/$defs/transferStatus" },
20
+ { "$ref": "#/$defs/prepareUploadPartRequest" },
21
+ { "$ref": "#/$defs/preparedPart" },
22
+ { "$ref": "#/$defs/commitUploadRequest" },
23
+ { "$ref": "#/$defs/commitUploadReceipt" },
24
+ { "$ref": "#/$defs/abortTransferRequest" },
25
+ { "$ref": "#/$defs/getTransferStatusRequest" }
26
+ ],
27
+ "$defs": {
28
+ "uuid": { "type": "string", "format": "uuid" },
29
+ "digest": {
30
+ "type": "string",
31
+ "pattern": "^sha256:[0-9a-f]{64}$"
32
+ },
33
+ "path": {
34
+ "type": "string",
35
+ "minLength": 1,
36
+ "maxLength": 1024,
37
+ "pattern": "^(?!/)(?!\\.)(?!.*//)(?!.*\\\\)(?!.*/\\.)(?!(?:_contracts|_schemas|_types|_views|node_modules)(?:/|$))(?!.*\\/(?:_contracts|_schemas|_types|_views|node_modules)(?:/|$))(?!.*/$).+$"
38
+ },
39
+ "mediaClass": {
40
+ "enum": ["image", "audio", "video", "pdf", "other"]
41
+ },
42
+ "selectiveSyncPolicy": {
43
+ "type": "object",
44
+ "additionalProperties": false,
45
+ "required": ["file_classes", "excluded_folders"],
46
+ "properties": {
47
+ "file_classes": {
48
+ "type": "array",
49
+ "maxItems": 5,
50
+ "uniqueItems": true,
51
+ "items": { "$ref": "#/$defs/mediaClass" }
52
+ },
53
+ "excluded_folders": {
54
+ "type": "array",
55
+ "maxItems": 100,
56
+ "uniqueItems": true,
57
+ "items": { "$ref": "#/$defs/path" }
58
+ }
59
+ }
60
+ },
61
+ "fileDescriptor": {
62
+ "type": "object",
63
+ "additionalProperties": false,
64
+ "required": [
65
+ "file_id",
66
+ "path",
67
+ "revision",
68
+ "content_digest",
69
+ "size",
70
+ "media_class",
71
+ "modified_at"
72
+ ],
73
+ "properties": {
74
+ "file_id": { "$ref": "#/$defs/uuid" },
75
+ "path": { "$ref": "#/$defs/path" },
76
+ "revision": { "type": "string", "minLength": 1, "maxLength": 255 },
77
+ "content_digest": { "$ref": "#/$defs/digest" },
78
+ "size": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
79
+ "media_type": { "type": "string", "minLength": 1, "maxLength": 255 },
80
+ "media_class": { "$ref": "#/$defs/mediaClass" },
81
+ "modified_at": { "type": "string", "format": "date-time" }
82
+ }
83
+ },
84
+ "fileAction": {
85
+ "enum": ["list", "read", "add", "replace", "move", "delete"]
86
+ },
87
+ "fileScope": {
88
+ "oneOf": [
89
+ {
90
+ "type": "object",
91
+ "additionalProperties": false,
92
+ "required": ["kind", "folders"],
93
+ "properties": {
94
+ "kind": { "const": "selected_folders" },
95
+ "folders": {
96
+ "type": "array",
97
+ "minItems": 1,
98
+ "maxItems": 100,
99
+ "uniqueItems": true,
100
+ "items": { "$ref": "#/$defs/path" }
101
+ }
102
+ }
103
+ },
104
+ {
105
+ "type": "object",
106
+ "additionalProperties": false,
107
+ "required": ["kind"],
108
+ "properties": { "kind": { "const": "collection" } }
109
+ }
110
+ ]
111
+ },
112
+ "applicationFileRequirement": {
113
+ "type": "object",
114
+ "additionalProperties": false,
115
+ "required": ["actions", "scope"],
116
+ "properties": {
117
+ "actions": {
118
+ "type": "array",
119
+ "minItems": 1,
120
+ "maxItems": 6,
121
+ "uniqueItems": true,
122
+ "items": { "$ref": "#/$defs/fileAction" }
123
+ },
124
+ "scope": { "$ref": "#/$defs/fileScope" }
125
+ }
126
+ },
127
+ "fileCapability": {
128
+ "type": "object",
129
+ "additionalProperties": false,
130
+ "required": ["kind", "protocol_version", "actions", "scope"],
131
+ "properties": {
132
+ "kind": { "const": "files" },
133
+ "protocol_version": { "const": 1 },
134
+ "actions": {
135
+ "type": "array",
136
+ "minItems": 1,
137
+ "maxItems": 6,
138
+ "uniqueItems": true,
139
+ "items": { "$ref": "#/$defs/fileAction" }
140
+ },
141
+ "scope": { "$ref": "#/$defs/fileScope" }
142
+ }
143
+ },
144
+ "listFilesRequest": {
145
+ "type": "object",
146
+ "additionalProperties": false,
147
+ "required": ["protocol_version", "type"],
148
+ "properties": {
149
+ "protocol_version": { "const": 1 },
150
+ "type": { "const": "list_files" },
151
+ "folder": { "$ref": "#/$defs/path" },
152
+ "after": { "type": "string", "minLength": 1 },
153
+ "limit": { "type": "integer", "minimum": 1, "maximum": 1000 }
154
+ }
155
+ },
156
+ "listFilesPage": {
157
+ "type": "object",
158
+ "additionalProperties": false,
159
+ "required": ["protocol_version", "type", "files"],
160
+ "properties": {
161
+ "protocol_version": { "const": 1 },
162
+ "type": { "const": "files_page" },
163
+ "files": { "type": "array", "items": { "$ref": "#/$defs/fileDescriptor" } },
164
+ "next": { "type": "string", "minLength": 1 }
165
+ }
166
+ },
167
+ "openUploadRequest": {
168
+ "type": "object",
169
+ "additionalProperties": false,
170
+ "required": ["protocol_version", "type", "transfer_id", "path", "size", "content_digest"],
171
+ "properties": {
172
+ "protocol_version": { "const": 1 },
173
+ "type": { "const": "open_file_upload" },
174
+ "transfer_id": { "$ref": "#/$defs/uuid" },
175
+ "path": { "$ref": "#/$defs/path" },
176
+ "size": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
177
+ "content_digest": { "$ref": "#/$defs/digest" },
178
+ "media_type": { "type": "string", "minLength": 1, "maxLength": 255 },
179
+ "if_revision": { "type": "string", "minLength": 1, "maxLength": 255 }
180
+ }
181
+ },
182
+ "openDownloadRequest": {
183
+ "type": "object",
184
+ "additionalProperties": false,
185
+ "required": ["protocol_version", "type", "transfer_id", "file_id"],
186
+ "properties": {
187
+ "protocol_version": { "const": 1 },
188
+ "type": { "const": "open_file_download" },
189
+ "transfer_id": { "$ref": "#/$defs/uuid" },
190
+ "file_id": { "$ref": "#/$defs/uuid" },
191
+ "revision": { "type": "string", "minLength": 1, "maxLength": 255 }
192
+ }
193
+ },
194
+ "moveFileRequest": {
195
+ "type": "object",
196
+ "additionalProperties": false,
197
+ "required": [
198
+ "protocol_version", "type", "mutation_id", "file_id", "if_revision", "from_path", "path", "update_references"
199
+ ],
200
+ "properties": {
201
+ "protocol_version": { "const": 1 },
202
+ "type": { "const": "move_file" },
203
+ "mutation_id": { "$ref": "#/$defs/uuid" },
204
+ "file_id": { "$ref": "#/$defs/uuid" },
205
+ "if_revision": { "type": "string", "minLength": 1, "maxLength": 255 },
206
+ "from_path": { "$ref": "#/$defs/path" },
207
+ "path": { "$ref": "#/$defs/path" },
208
+ "update_references": { "type": "boolean" }
209
+ }
210
+ },
211
+ "moveFileReceipt": {
212
+ "type": "object",
213
+ "additionalProperties": false,
214
+ "required": ["protocol_version", "type", "mutation_id", "file"],
215
+ "properties": {
216
+ "protocol_version": { "const": 1 },
217
+ "type": { "const": "file_moved" },
218
+ "mutation_id": { "$ref": "#/$defs/uuid" },
219
+ "file": { "$ref": "#/$defs/fileDescriptor" }
220
+ }
221
+ },
222
+ "deleteFileRequest": {
223
+ "type": "object",
224
+ "additionalProperties": false,
225
+ "required": ["protocol_version", "type", "mutation_id", "file_id", "if_revision", "path"],
226
+ "properties": {
227
+ "protocol_version": { "const": 1 },
228
+ "type": { "const": "delete_file" },
229
+ "mutation_id": { "$ref": "#/$defs/uuid" },
230
+ "file_id": { "$ref": "#/$defs/uuid" },
231
+ "if_revision": { "type": "string", "minLength": 1, "maxLength": 255 },
232
+ "path": { "$ref": "#/$defs/path" }
233
+ }
234
+ },
235
+ "deleteFileReceipt": {
236
+ "type": "object",
237
+ "additionalProperties": false,
238
+ "required": ["protocol_version", "type", "mutation_id", "file_id", "previous_path", "revision"],
239
+ "properties": {
240
+ "protocol_version": { "const": 1 },
241
+ "type": { "const": "file_deleted" },
242
+ "mutation_id": { "$ref": "#/$defs/uuid" },
243
+ "file_id": { "$ref": "#/$defs/uuid" },
244
+ "previous_path": { "$ref": "#/$defs/path" },
245
+ "revision": { "type": "string", "minLength": 1, "maxLength": 255 }
246
+ }
247
+ },
248
+ "transferProtection": {
249
+ "enum": ["grant_aead_v1", "transport_tls"]
250
+ },
251
+ "transferStrategy": {
252
+ "oneOf": [
253
+ {
254
+ "type": "object",
255
+ "additionalProperties": false,
256
+ "required": ["kind"],
257
+ "properties": { "kind": { "const": "object_put" } }
258
+ },
259
+ {
260
+ "type": "object",
261
+ "additionalProperties": false,
262
+ "required": ["kind", "chunk_size"],
263
+ "properties": {
264
+ "kind": { "const": "framed_chunks" },
265
+ "chunk_size": { "type": "integer", "minimum": 65536, "maximum": 4194304 }
266
+ }
267
+ },
268
+ {
269
+ "type": "object",
270
+ "additionalProperties": false,
271
+ "required": ["kind", "part_size"],
272
+ "properties": {
273
+ "kind": { "const": "object_multipart" },
274
+ "part_size": { "type": "integer", "minimum": 5242880, "maximum": 5368709120 }
275
+ }
276
+ },
277
+ {
278
+ "type": "object",
279
+ "additionalProperties": false,
280
+ "required": ["kind", "part_size"],
281
+ "properties": {
282
+ "kind": { "const": "object_ranges" },
283
+ "part_size": { "type": "integer", "minimum": 65536, "maximum": 5368709120 }
284
+ }
285
+ }
286
+ ]
287
+ },
288
+ "transferSession": {
289
+ "type": "object",
290
+ "additionalProperties": false,
291
+ "required": [
292
+ "protocol_version",
293
+ "type",
294
+ "transfer_id",
295
+ "direction",
296
+ "protection",
297
+ "strategy",
298
+ "total_size",
299
+ "expires_at",
300
+ "received"
301
+ ],
302
+ "properties": {
303
+ "protocol_version": { "const": 1 },
304
+ "type": { "const": "file_transfer" },
305
+ "transfer_id": { "$ref": "#/$defs/uuid" },
306
+ "direction": { "enum": ["upload", "download"] },
307
+ "protection": { "$ref": "#/$defs/transferProtection" },
308
+ "strategy": { "$ref": "#/$defs/transferStrategy" },
309
+ "total_size": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
310
+ "expires_at": { "type": "string", "format": "date-time" },
311
+ "received": {
312
+ "type": "array",
313
+ "uniqueItems": true,
314
+ "items": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
315
+ },
316
+ "uploaded_parts": {
317
+ "type": "array",
318
+ "maxItems": 10000,
319
+ "items": { "$ref": "#/$defs/uploadedPart" }
320
+ }
321
+ }
322
+ },
323
+ "transferStatus": {
324
+ "type": "object",
325
+ "additionalProperties": false,
326
+ "required": ["protocol_version", "type", "transfer_id", "state", "received", "received_bytes", "uploaded_parts"],
327
+ "properties": {
328
+ "protocol_version": { "const": 1 },
329
+ "type": { "const": "file_transfer_status" },
330
+ "transfer_id": { "$ref": "#/$defs/uuid" },
331
+ "state": { "enum": ["open", "committed", "aborted", "expired"] },
332
+ "received": {
333
+ "type": "array",
334
+ "uniqueItems": true,
335
+ "items": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 }
336
+ },
337
+ "received_bytes": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
338
+ "uploaded_parts": {
339
+ "type": "array",
340
+ "maxItems": 10000,
341
+ "items": { "$ref": "#/$defs/uploadedPart" }
342
+ }
343
+ }
344
+ },
345
+ "prepareUploadPartRequest": {
346
+ "type": "object",
347
+ "additionalProperties": false,
348
+ "required": ["protocol_version", "type", "transfer_id", "part_number", "content_length"],
349
+ "properties": {
350
+ "protocol_version": { "const": 1 },
351
+ "type": { "const": "prepare_file_upload_part" },
352
+ "transfer_id": { "$ref": "#/$defs/uuid" },
353
+ "part_number": { "type": "integer", "minimum": 1, "maximum": 10000 },
354
+ "content_length": { "type": "integer", "minimum": 0, "maximum": 5368709120 }
355
+ }
356
+ },
357
+ "preparedPart": {
358
+ "type": "object",
359
+ "additionalProperties": false,
360
+ "required": ["protocol_version", "type", "transfer_id", "part_index", "offset", "content_length", "method", "url", "headers", "expires_at"],
361
+ "properties": {
362
+ "protocol_version": { "const": 1 },
363
+ "type": { "const": "file_part" },
364
+ "transfer_id": { "$ref": "#/$defs/uuid" },
365
+ "part_index": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
366
+ "offset": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
367
+ "content_length": { "type": "integer", "minimum": 0, "maximum": 5368709120 },
368
+ "method": { "const": "PUT" },
369
+ "url": { "type": "string", "format": "uri", "pattern": "^https://" },
370
+ "headers": {
371
+ "type": "object",
372
+ "additionalProperties": { "type": "string" }
373
+ },
374
+ "expires_at": { "type": "string", "format": "date-time" }
375
+ }
376
+ },
377
+ "uploadedPart": {
378
+ "type": "object",
379
+ "additionalProperties": false,
380
+ "required": ["part_number", "etag"],
381
+ "properties": {
382
+ "part_number": { "type": "integer", "minimum": 1, "maximum": 10000 },
383
+ "etag": { "type": "string", "minLength": 1, "maxLength": 255 }
384
+ }
385
+ },
386
+ "commitUploadRequest": {
387
+ "type": "object",
388
+ "additionalProperties": false,
389
+ "required": ["protocol_version", "type", "transfer_id"],
390
+ "properties": {
391
+ "protocol_version": { "const": 1 },
392
+ "type": { "const": "commit_file_upload" },
393
+ "transfer_id": { "$ref": "#/$defs/uuid" },
394
+ "parts": {
395
+ "type": "array",
396
+ "minItems": 1,
397
+ "maxItems": 10000,
398
+ "items": { "$ref": "#/$defs/uploadedPart" }
399
+ }
400
+ }
401
+ },
402
+ "commitUploadReceipt": {
403
+ "type": "object",
404
+ "additionalProperties": false,
405
+ "required": ["protocol_version", "type", "transfer_id", "file"],
406
+ "properties": {
407
+ "protocol_version": { "const": 1 },
408
+ "type": { "const": "file_upload_committed" },
409
+ "transfer_id": { "$ref": "#/$defs/uuid" },
410
+ "file": { "$ref": "#/$defs/fileDescriptor" }
411
+ }
412
+ },
413
+ "abortTransferRequest": {
414
+ "type": "object",
415
+ "additionalProperties": false,
416
+ "required": ["protocol_version", "type", "transfer_id"],
417
+ "properties": {
418
+ "protocol_version": { "const": 1 },
419
+ "type": { "const": "abort_file_transfer" },
420
+ "transfer_id": { "$ref": "#/$defs/uuid" }
421
+ }
422
+ },
423
+ "relayFileHeader": {
424
+ "type": "object",
425
+ "additionalProperties": false,
426
+ "required": [
427
+ "protocol_version",
428
+ "type",
429
+ "request_id",
430
+ "grant_id",
431
+ "transfer_id",
432
+ "chunk_index"
433
+ ],
434
+ "properties": {
435
+ "protocol_version": { "const": 1 },
436
+ "type": {
437
+ "enum": [
438
+ "upload_chunk",
439
+ "upload_acknowledged",
440
+ "download_request",
441
+ "download_chunk",
442
+ "rejected"
443
+ ]
444
+ },
445
+ "request_id": { "$ref": "#/$defs/uuid" },
446
+ "grant_id": { "$ref": "#/$defs/uuid" },
447
+ "transfer_id": { "$ref": "#/$defs/uuid" },
448
+ "chunk_index": {
449
+ "type": "integer",
450
+ "minimum": 0,
451
+ "maximum": 9007199254740991
452
+ }
453
+ }
454
+ },
455
+ "frameHeader": {
456
+ "type": "object",
457
+ "additionalProperties": false,
458
+ "required": [
459
+ "protocol_version",
460
+ "protection",
461
+ "grant_id",
462
+ "authority_id",
463
+ "collection_id",
464
+ "transfer_id",
465
+ "direction",
466
+ "chunk_size",
467
+ "chunk_index",
468
+ "offset",
469
+ "plaintext_length",
470
+ "total_size",
471
+ "scope_epoch"
472
+ ],
473
+ "properties": {
474
+ "protocol_version": { "const": 1 },
475
+ "protection": { "$ref": "#/$defs/transferProtection" },
476
+ "grant_id": { "$ref": "#/$defs/uuid" },
477
+ "authority_id": { "$ref": "#/$defs/uuid" },
478
+ "collection_id": { "$ref": "#/$defs/uuid" },
479
+ "transfer_id": { "$ref": "#/$defs/uuid" },
480
+ "direction": { "enum": ["upload", "download"] },
481
+ "chunk_size": { "type": "integer", "minimum": 65536, "maximum": 4194304 },
482
+ "chunk_index": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
483
+ "offset": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
484
+ "plaintext_length": { "type": "integer", "minimum": 0, "maximum": 4194304 },
485
+ "total_size": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 },
486
+ "scope_epoch": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
487
+ "key_id": { "type": "string", "minLength": 1, "maxLength": 255 }
488
+ },
489
+ "allOf": [
490
+ {
491
+ "if": { "properties": { "protection": { "const": "grant_aead_v1" } } },
492
+ "then": { "required": ["key_id"] }
493
+ }
494
+ ]
495
+ },
496
+ "getTransferStatusRequest": {
497
+ "type": "object",
498
+ "additionalProperties": false,
499
+ "required": ["protocol_version", "type", "transfer_id"],
500
+ "properties": {
501
+ "protocol_version": { "const": 1 },
502
+ "type": { "const": "get_file_transfer_status" },
503
+ "transfer_id": { "$ref": "#/$defs/uuid" }
504
+ }
505
+ }
506
+ }
507
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mdbase.dev/schemas/interop/v0.1/action-cancellation.schema.json",
4
+ "title": "mdbase action cancellation request",
5
+ "$ref": "profile.schema.json#/$defs/actionCancellation"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mdbase.dev/schemas/interop/v0.1/action-invocation.schema.json",
4
+ "title": "mdbase admitted action invocation",
5
+ "$ref": "profile.schema.json#/$defs/actionInvocation"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mdbase.dev/schemas/interop/v0.1/action-outcome.schema.json",
4
+ "title": "mdbase action outcome",
5
+ "$ref": "profile.schema.json#/$defs/actionOutcome"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mdbase.dev/schemas/interop/v0.1/action-provider-declaration.schema.json",
4
+ "title": "mdbase action-provider declaration",
5
+ "$ref": "profile.schema.json#/$defs/actionProviderDeclaration"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mdbase.dev/schemas/interop/v0.1/action-request.schema.json",
4
+ "title": "mdbase action request",
5
+ "$ref": "profile.schema.json#/$defs/actionRequest"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mdbase.dev/schemas/interop/v0.1/conformance-claim.schema.json",
4
+ "title": "mdbase interoperability conformance claim",
5
+ "$ref": "profile.schema.json#/$defs/conformanceClaim"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mdbase.dev/schemas/interop/v0.1/event-source-declaration.schema.json",
4
+ "title": "mdbase event-source declaration",
5
+ "$ref": "profile.schema.json#/$defs/eventSourceDeclaration"
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://mdbase.dev/schemas/interop/v0.1/event.schema.json",
4
+ "title": "mdbase CloudEvents event envelope",
5
+ "$ref": "profile.schema.json#/$defs/event"
6
+ }