@arcforges/api-client 1.0.0-ci.19.1 → 1.0.0-ci.201.1

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 (43) hide show
  1. package/NOTICE +57 -5
  2. package/README.md +9 -2
  3. package/build-identity.json +192 -0
  4. package/contracts.binpb +0 -0
  5. package/dist/gen/http.d.ts +10 -0
  6. package/dist/gen/http.js +13 -0
  7. package/dist/index.d.ts +10 -1
  8. package/dist/index.js +20 -2
  9. package/dist/shapes/gen/AndroidUpdate.d.ts +41 -0
  10. package/dist/shapes/gen/AndroidUpdate.js +620 -0
  11. package/dist/shapes/gen/CatalogIndex.d.ts +49 -0
  12. package/dist/shapes/gen/CatalogIndex.js +703 -0
  13. package/dist/shapes/gen/CatalogRevocations.d.ts +46 -0
  14. package/dist/shapes/gen/CatalogRevocations.js +647 -0
  15. package/dist/shapes/gen/DeclarativePanel.d.ts +154 -0
  16. package/dist/shapes/gen/DeclarativePanel.js +2988 -0
  17. package/dist/shapes/gen/ExtensionManifest.d.ts +278 -0
  18. package/dist/shapes/gen/ExtensionManifest.js +3974 -0
  19. package/dist/shapes/gen/ExtensionWorkflow.d.ts +151 -0
  20. package/dist/shapes/gen/ExtensionWorkflow.js +2251 -0
  21. package/dist/shapes/gen/PackageInventory.d.ts +24 -0
  22. package/dist/shapes/gen/PackageInventory.js +327 -0
  23. package/dist/shapes/gen/PartReceipt.d.ts +21 -0
  24. package/dist/shapes/gen/PartReceipt.js +290 -0
  25. package/dist/shapes/gen/PolicyBody.d.ts +269 -0
  26. package/dist/shapes/gen/PolicyBody.js +4188 -0
  27. package/dist/shapes/gen/RealmDescriptor.d.ts +39 -0
  28. package/dist/shapes/gen/RealmDescriptor.js +627 -0
  29. package/package.json +15 -7
  30. package/sbom.cdx.json +17 -17
  31. package/schemas/public/http/v1/inventory.schema.json +49 -0
  32. package/schemas/public/http/v1/manifest.schema.json +1459 -0
  33. package/schemas/public/http/v1/panel.schema.json +963 -0
  34. package/schemas/public/http/v1/policy-body.schema.json +1376 -0
  35. package/schemas/public/http/v1/schema.json +30 -0
  36. package/schemas/public/http/v1/signed-formats.schema.json +748 -0
  37. package/schemas/public/http/v1/workflow.schema.json +715 -0
  38. package/schemas/public/proto/arcforges/events/v1/events.proto +14 -0
  39. package/schemas/public/proto/arcforges/foundation/v1/foundation.proto +373 -0
  40. package/schemas/public/proto/arcforges/hello/v1/hello.proto +23 -0
  41. package/schemas/public/proto/arcforges/publicapi/v1/content.proto +767 -0
  42. package/schemas/public/proto/arcforges/publicapi/v1/descriptors.proto +27 -0
  43. package/source.json +35 -10
@@ -0,0 +1,1459 @@
1
+ {
2
+ "title": "ExtensionManifest",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": {
6
+ "type": "string",
7
+ "const": "manifest.v1"
8
+ },
9
+ "packageId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 128,
13
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*\\.[a-z][a-z0-9-]*$"
14
+ },
15
+ "version": {
16
+ "type": "string",
17
+ "minLength": 1,
18
+ "maxLength": 256,
19
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-(?:0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*))*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$"
20
+ },
21
+ "publisherId": {
22
+ "type": "string",
23
+ "minLength": 1,
24
+ "maxLength": 128,
25
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
26
+ },
27
+ "signingKeyId": {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "maxLength": 128,
31
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
32
+ },
33
+ "name": {
34
+ "type": "object",
35
+ "propertyNames": {
36
+ "type": "string",
37
+ "pattern": "^[A-Za-z0-9]{1,8}(?:-[A-Za-z0-9]{1,8})*$"
38
+ },
39
+ "additionalProperties": {
40
+ "type": "string",
41
+ "minLength": 1,
42
+ "maxLength": 256
43
+ },
44
+ "minProperties": 1,
45
+ "maxProperties": 16
46
+ },
47
+ "description": {
48
+ "type": "object",
49
+ "propertyNames": {
50
+ "type": "string",
51
+ "pattern": "^[A-Za-z0-9]{1,8}(?:-[A-Za-z0-9]{1,8})*$"
52
+ },
53
+ "additionalProperties": {
54
+ "type": "string",
55
+ "minLength": 1,
56
+ "maxLength": 4096
57
+ },
58
+ "minProperties": 1,
59
+ "maxProperties": 16
60
+ },
61
+ "platforms": {
62
+ "type": "array",
63
+ "items": {
64
+ "$ref": "#/$defs/ManifestPlatform"
65
+ },
66
+ "minItems": 1
67
+ },
68
+ "contractRanges": {
69
+ "type": "array",
70
+ "items": {
71
+ "$ref": "#/$defs/ManifestContractRange"
72
+ }
73
+ },
74
+ "contributions": {
75
+ "type": "array",
76
+ "items": {
77
+ "$ref": "#/$defs/ManifestContribution"
78
+ },
79
+ "minItems": 1,
80
+ "maxItems": 256
81
+ },
82
+ "permissions": {
83
+ "type": "array",
84
+ "items": {
85
+ "$ref": "#/$defs/ManifestPermission"
86
+ }
87
+ },
88
+ "dependencies": {
89
+ "type": "array",
90
+ "items": {
91
+ "$ref": "#/$defs/ManifestDependency"
92
+ },
93
+ "minItems": 0,
94
+ "maxItems": 64
95
+ },
96
+ "executables": {
97
+ "type": "array",
98
+ "items": {
99
+ "$ref": "#/$defs/ManifestExecutable"
100
+ }
101
+ },
102
+ "privateState": {
103
+ "$ref": "#/$defs/ManifestPrivateState"
104
+ },
105
+ "resources": {
106
+ "type": "array",
107
+ "items": {
108
+ "$ref": "#/$defs/ManifestResource"
109
+ }
110
+ }
111
+ },
112
+ "required": [
113
+ "schemaVersion",
114
+ "packageId",
115
+ "version",
116
+ "publisherId",
117
+ "signingKeyId",
118
+ "name",
119
+ "description",
120
+ "platforms",
121
+ "contractRanges",
122
+ "contributions",
123
+ "permissions",
124
+ "dependencies",
125
+ "executables",
126
+ "resources"
127
+ ],
128
+ "additionalProperties": false,
129
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
130
+ "$comment": "SPDX-License-Identifier: Apache-2.0; contracts08 sections1-3. Declared document shape and cross-field invariants only; archive bytes, trust, installed schemas and owner authorization remain separate.",
131
+ "x-arcforges-max-bytes": 4194304,
132
+ "x-arcforges-rules": ["manifestProfile"],
133
+ "$defs": {
134
+ "ManifestResource": {
135
+ "title": "ManifestResource",
136
+ "type": "object",
137
+ "properties": {
138
+ "path": {
139
+ "type": "string",
140
+ "minLength": 1,
141
+ "maxLength": 1024,
142
+ "pattern": "^[A-Za-z0-9_.-]+(/[A-Za-z0-9_.-]+)*$"
143
+ },
144
+ "sha256": {
145
+ "type": "string",
146
+ "minLength": 1,
147
+ "maxLength": 64,
148
+ "pattern": "^[0-9a-f]{64}$"
149
+ },
150
+ "licence": {
151
+ "type": "string",
152
+ "minLength": 1,
153
+ "maxLength": 256
154
+ }
155
+ },
156
+ "required": ["path", "sha256", "licence"],
157
+ "additionalProperties": false
158
+ },
159
+ "ManifestContent": {
160
+ "title": "ManifestContent",
161
+ "type": "object",
162
+ "properties": {
163
+ "path": {
164
+ "type": "string",
165
+ "minLength": 1,
166
+ "maxLength": 1024,
167
+ "pattern": "^[A-Za-z0-9_.-]+(/[A-Za-z0-9_.-]+)*$"
168
+ },
169
+ "sha256": {
170
+ "type": "string",
171
+ "minLength": 1,
172
+ "maxLength": 64,
173
+ "pattern": "^[0-9a-f]{64}$"
174
+ },
175
+ "schemaVersion": {
176
+ "type": "string",
177
+ "minLength": 1,
178
+ "maxLength": 128,
179
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
180
+ }
181
+ },
182
+ "required": ["path", "sha256", "schemaVersion"],
183
+ "additionalProperties": false
184
+ },
185
+ "ManifestVersionRange": {
186
+ "title": "ManifestVersionRange",
187
+ "type": "object",
188
+ "properties": {
189
+ "major": {
190
+ "type": "integer",
191
+ "minimum": 0,
192
+ "maximum": 4294967295
193
+ },
194
+ "min": {
195
+ "type": "string",
196
+ "minLength": 1,
197
+ "maxLength": 256,
198
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-(?:0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*))*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$"
199
+ },
200
+ "max": {
201
+ "type": "string",
202
+ "minLength": 1,
203
+ "maxLength": 256,
204
+ "pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-(?:0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*))*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$"
205
+ }
206
+ },
207
+ "required": ["major", "min", "max"],
208
+ "additionalProperties": false
209
+ },
210
+ "ManifestContractRange": {
211
+ "title": "ManifestContractRange",
212
+ "type": "object",
213
+ "properties": {
214
+ "packageId": {
215
+ "type": "string",
216
+ "minLength": 1,
217
+ "maxLength": 128,
218
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*\\.[a-z][a-z0-9-]*$"
219
+ },
220
+ "range": {
221
+ "$ref": "#/$defs/ManifestVersionRange"
222
+ }
223
+ },
224
+ "required": ["packageId", "range"],
225
+ "additionalProperties": false
226
+ },
227
+ "ManifestDependency": {
228
+ "title": "ManifestDependency",
229
+ "type": "object",
230
+ "properties": {
231
+ "packageId": {
232
+ "type": "string",
233
+ "minLength": 1,
234
+ "maxLength": 128,
235
+ "pattern": "^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*\\.[a-z][a-z0-9-]*$"
236
+ },
237
+ "range": {
238
+ "$ref": "#/$defs/ManifestVersionRange"
239
+ }
240
+ },
241
+ "required": ["packageId", "range"],
242
+ "additionalProperties": false
243
+ },
244
+ "ManifestPlatform": {
245
+ "title": "ManifestPlatform",
246
+ "type": "object",
247
+ "properties": {
248
+ "os": {
249
+ "type": "string",
250
+ "enum": ["windows", "linux", "macos", "android", "any"]
251
+ },
252
+ "rid": {
253
+ "type": "string",
254
+ "minLength": 1,
255
+ "maxLength": 128,
256
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
257
+ }
258
+ },
259
+ "required": ["os", "rid"],
260
+ "additionalProperties": false
261
+ },
262
+ "ManifestExecutable": {
263
+ "title": "ManifestExecutable",
264
+ "type": "object",
265
+ "properties": {
266
+ "rid": {
267
+ "type": "string",
268
+ "minLength": 1,
269
+ "maxLength": 128,
270
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
271
+ },
272
+ "path": {
273
+ "type": "string",
274
+ "minLength": 1,
275
+ "maxLength": 1024,
276
+ "pattern": "^[A-Za-z0-9_.-]+(/[A-Za-z0-9_.-]+)*$"
277
+ },
278
+ "sha256": {
279
+ "type": "string",
280
+ "minLength": 1,
281
+ "maxLength": 64,
282
+ "pattern": "^[0-9a-f]{64}$"
283
+ },
284
+ "runtimeIds": {
285
+ "type": "array",
286
+ "items": {
287
+ "type": "string",
288
+ "minLength": 1,
289
+ "maxLength": 128,
290
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
291
+ }
292
+ },
293
+ "systemDependencyIds": {
294
+ "type": "array",
295
+ "items": {
296
+ "type": "string",
297
+ "minLength": 1,
298
+ "maxLength": 128,
299
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
300
+ }
301
+ }
302
+ },
303
+ "required": ["rid", "path", "sha256", "runtimeIds", "systemDependencyIds"],
304
+ "additionalProperties": false
305
+ },
306
+ "ManifestMigrationRange": {
307
+ "title": "ManifestMigrationRange",
308
+ "type": "object",
309
+ "properties": {
310
+ "min": {
311
+ "type": "integer",
312
+ "minimum": 0,
313
+ "maximum": 4294967295
314
+ },
315
+ "max": {
316
+ "type": "integer",
317
+ "minimum": 0,
318
+ "maximum": 4294967295
319
+ }
320
+ },
321
+ "required": ["min", "max"],
322
+ "additionalProperties": false
323
+ },
324
+ "ManifestPrivateState": {
325
+ "title": "ManifestPrivateState",
326
+ "type": "object",
327
+ "properties": {
328
+ "schemaVersion": {
329
+ "type": "integer",
330
+ "minimum": 0,
331
+ "maximum": 4294967295
332
+ },
333
+ "maxBytes": {
334
+ "type": "integer",
335
+ "minimum": 0,
336
+ "maximum": 268435456
337
+ },
338
+ "migrationRange": {
339
+ "$ref": "#/$defs/ManifestMigrationRange"
340
+ }
341
+ },
342
+ "required": ["schemaVersion", "maxBytes", "migrationRange"],
343
+ "additionalProperties": false
344
+ },
345
+ "ManifestCapabilityPermission": {
346
+ "title": "ManifestCapabilityPermission",
347
+ "type": "object",
348
+ "properties": {
349
+ "kind": {
350
+ "type": "string",
351
+ "const": "capability"
352
+ },
353
+ "reasonKey": {
354
+ "type": "string",
355
+ "minLength": 1,
356
+ "maxLength": 128,
357
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
358
+ },
359
+ "operationId": {
360
+ "type": "string",
361
+ "minLength": 1,
362
+ "maxLength": 128,
363
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
364
+ }
365
+ },
366
+ "required": ["kind", "reasonKey", "operationId"],
367
+ "additionalProperties": false
368
+ },
369
+ "ManifestResourcePermission": {
370
+ "title": "ManifestResourcePermission",
371
+ "type": "object",
372
+ "properties": {
373
+ "kind": {
374
+ "type": "string",
375
+ "const": "resource"
376
+ },
377
+ "reasonKey": {
378
+ "type": "string",
379
+ "minLength": 1,
380
+ "maxLength": 128,
381
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
382
+ },
383
+ "resourceKind": {
384
+ "type": "string",
385
+ "minLength": 1,
386
+ "maxLength": 128,
387
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
388
+ },
389
+ "access": {
390
+ "type": "string",
391
+ "enum": ["read", "write"]
392
+ }
393
+ },
394
+ "required": ["kind", "reasonKey", "resourceKind", "access"],
395
+ "additionalProperties": false
396
+ },
397
+ "ManifestNetworkPermission": {
398
+ "title": "ManifestNetworkPermission",
399
+ "type": "object",
400
+ "properties": {
401
+ "kind": {
402
+ "type": "string",
403
+ "const": "network"
404
+ },
405
+ "reasonKey": {
406
+ "type": "string",
407
+ "minLength": 1,
408
+ "maxLength": 128,
409
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
410
+ },
411
+ "origins": {
412
+ "type": "array",
413
+ "items": {
414
+ "type": "string",
415
+ "minLength": 1,
416
+ "maxLength": 2048,
417
+ "pattern": "^https://(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*|\\[(?:(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|::(?:[0-9A-Fa-f]{1,4}:){0,5}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){0}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,4}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){1}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){2}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){3}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,1}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){4}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,0}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3})|([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){1,7}:|([0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){1,5}(:[0-9A-Fa-f]{1,4}){1,2}|([0-9A-Fa-f]{1,4}:){1,4}(:[0-9A-Fa-f]{1,4}){1,3}|([0-9A-Fa-f]{1,4}:){1,3}(:[0-9A-Fa-f]{1,4}){1,4}|([0-9A-Fa-f]{1,4}:){1,2}(:[0-9A-Fa-f]{1,4}){1,5}|[0-9A-Fa-f]{1,4}:((:[0-9A-Fa-f]{1,4}){1,6})|:((:[0-9A-Fa-f]{1,4}){1,7}|:))\\])(?::(?:6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$"
418
+ },
419
+ "minItems": 1
420
+ }
421
+ },
422
+ "required": ["kind", "reasonKey", "origins"],
423
+ "additionalProperties": false
424
+ },
425
+ "ManifestBackgroundPermission": {
426
+ "title": "ManifestBackgroundPermission",
427
+ "type": "object",
428
+ "properties": {
429
+ "kind": {
430
+ "type": "string",
431
+ "const": "background"
432
+ },
433
+ "reasonKey": {
434
+ "type": "string",
435
+ "minLength": 1,
436
+ "maxLength": 128,
437
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
438
+ },
439
+ "enabled": {
440
+ "type": "boolean"
441
+ }
442
+ },
443
+ "required": ["kind", "reasonKey", "enabled"],
444
+ "additionalProperties": false
445
+ },
446
+ "ManifestPermission": {
447
+ "title": "ManifestPermission",
448
+ "oneOf": [
449
+ {
450
+ "$ref": "#/$defs/ManifestCapabilityPermission"
451
+ },
452
+ {
453
+ "$ref": "#/$defs/ManifestResourcePermission"
454
+ },
455
+ {
456
+ "$ref": "#/$defs/ManifestNetworkPermission"
457
+ },
458
+ {
459
+ "$ref": "#/$defs/ManifestBackgroundPermission"
460
+ }
461
+ ]
462
+ },
463
+ "ManifestResourceRef": {
464
+ "title": "ManifestResourceRef",
465
+ "type": "object",
466
+ "properties": {
467
+ "realmId": {
468
+ "type": "string",
469
+ "minLength": 1,
470
+ "maxLength": 36,
471
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
472
+ "x-arcforges-rules": ["nonzeroUuid"]
473
+ },
474
+ "workspaceId": {
475
+ "type": "string",
476
+ "minLength": 1,
477
+ "maxLength": 36,
478
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
479
+ "x-arcforges-rules": ["nonzeroUuid"]
480
+ },
481
+ "ownerAppId": {
482
+ "type": "string",
483
+ "minLength": 1,
484
+ "maxLength": 128,
485
+ "pattern": "^[A-Za-z][A-Za-z0-9._-]*$"
486
+ },
487
+ "resourceKind": {
488
+ "type": "string",
489
+ "minLength": 1,
490
+ "maxLength": 128,
491
+ "pattern": "^[A-Za-z][A-Za-z0-9._-]*$"
492
+ },
493
+ "resourceId": {
494
+ "type": "string",
495
+ "minLength": 1,
496
+ "maxLength": 36,
497
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
498
+ "x-arcforges-rules": ["nonzeroUuid"]
499
+ },
500
+ "displayHint": {
501
+ "type": "string",
502
+ "minLength": 1,
503
+ "maxLength": 256
504
+ },
505
+ "availability": {
506
+ "type": "string",
507
+ "enum": ["AlwaysKeep", "AvailableOffline", "OnDemand", "CloudOnly", "MissingExternal"]
508
+ },
509
+ "holdingDeviceId": {
510
+ "type": "string",
511
+ "minLength": 1,
512
+ "maxLength": 36,
513
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
514
+ "x-arcforges-rules": ["nonzeroUuid"]
515
+ }
516
+ },
517
+ "required": ["realmId", "ownerAppId", "resourceKind", "resourceId", "availability"],
518
+ "additionalProperties": false
519
+ },
520
+ "ManifestTextValue": {
521
+ "title": "ManifestTextValue",
522
+ "type": "object",
523
+ "properties": {
524
+ "kind": {
525
+ "type": "string",
526
+ "const": "text"
527
+ },
528
+ "value": {
529
+ "type": "string",
530
+ "minLength": 1,
531
+ "maxLength": 4096
532
+ }
533
+ },
534
+ "required": ["kind", "value"],
535
+ "additionalProperties": false
536
+ },
537
+ "ManifestBoolValue": {
538
+ "title": "ManifestBoolValue",
539
+ "type": "object",
540
+ "properties": {
541
+ "kind": {
542
+ "type": "string",
543
+ "const": "bool"
544
+ },
545
+ "value": {
546
+ "type": "boolean"
547
+ }
548
+ },
549
+ "required": ["kind", "value"],
550
+ "additionalProperties": false
551
+ },
552
+ "ManifestInt64Value": {
553
+ "title": "ManifestInt64Value",
554
+ "type": "object",
555
+ "properties": {
556
+ "kind": {
557
+ "type": "string",
558
+ "const": "int64"
559
+ },
560
+ "value": {
561
+ "type": "string",
562
+ "minLength": 1,
563
+ "maxLength": 20,
564
+ "pattern": "^(0|-[1-9][0-9]*|[1-9][0-9]*)$",
565
+ "x-arcforges-rules": ["int64"]
566
+ }
567
+ },
568
+ "required": ["kind", "value"],
569
+ "additionalProperties": false
570
+ },
571
+ "ManifestDecimalValue": {
572
+ "title": "ManifestDecimalValue",
573
+ "type": "object",
574
+ "properties": {
575
+ "kind": {
576
+ "type": "string",
577
+ "const": "decimal"
578
+ },
579
+ "value": {
580
+ "type": "string",
581
+ "minLength": 1,
582
+ "maxLength": 39,
583
+ "pattern": "^(0|-?[1-9][0-9]*|-?(0|[1-9][0-9]*)\\.[0-9]{0,8}[1-9])$",
584
+ "x-arcforges-rules": ["canonicalDecimal"]
585
+ }
586
+ },
587
+ "required": ["kind", "value"],
588
+ "additionalProperties": false
589
+ },
590
+ "ManifestEnumValue": {
591
+ "title": "ManifestEnumValue",
592
+ "type": "object",
593
+ "properties": {
594
+ "kind": {
595
+ "type": "string",
596
+ "const": "enum"
597
+ },
598
+ "value": {
599
+ "type": "string",
600
+ "minLength": 1,
601
+ "maxLength": 128,
602
+ "pattern": "^[A-Za-z][A-Za-z0-9._-]*$"
603
+ }
604
+ },
605
+ "required": ["kind", "value"],
606
+ "additionalProperties": false
607
+ },
608
+ "ManifestResourceRefValue": {
609
+ "title": "ManifestResourceRefValue",
610
+ "type": "object",
611
+ "properties": {
612
+ "kind": {
613
+ "type": "string",
614
+ "const": "resourceRef"
615
+ },
616
+ "value": {
617
+ "$ref": "#/$defs/ManifestResourceRef"
618
+ }
619
+ },
620
+ "required": ["kind", "value"],
621
+ "additionalProperties": false
622
+ },
623
+ "ManifestTypedValue": {
624
+ "title": "ManifestTypedValue",
625
+ "oneOf": [
626
+ {
627
+ "$ref": "#/$defs/ManifestTextValue"
628
+ },
629
+ {
630
+ "$ref": "#/$defs/ManifestBoolValue"
631
+ },
632
+ {
633
+ "$ref": "#/$defs/ManifestInt64Value"
634
+ },
635
+ {
636
+ "$ref": "#/$defs/ManifestDecimalValue"
637
+ },
638
+ {
639
+ "$ref": "#/$defs/ManifestEnumValue"
640
+ },
641
+ {
642
+ "$ref": "#/$defs/ManifestResourceRefValue"
643
+ }
644
+ ]
645
+ },
646
+ "ManifestParameter": {
647
+ "title": "ManifestParameter",
648
+ "type": "object",
649
+ "properties": {
650
+ "name": {
651
+ "type": "string",
652
+ "minLength": 1,
653
+ "maxLength": 128,
654
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
655
+ },
656
+ "type": {
657
+ "type": "string",
658
+ "enum": ["text", "bool", "int64", "decimal", "enum", "resourceRef"]
659
+ },
660
+ "required": {
661
+ "type": "boolean"
662
+ },
663
+ "default": {
664
+ "$ref": "#/$defs/ManifestTypedValue"
665
+ },
666
+ "min": {
667
+ "type": "string",
668
+ "minLength": 1,
669
+ "maxLength": 128
670
+ },
671
+ "max": {
672
+ "type": "string",
673
+ "minLength": 1,
674
+ "maxLength": 128
675
+ },
676
+ "maxLength": {
677
+ "type": "integer",
678
+ "minimum": 0,
679
+ "maximum": 262144
680
+ },
681
+ "values": {
682
+ "type": "array",
683
+ "items": {
684
+ "type": "string",
685
+ "minLength": 1,
686
+ "maxLength": 128,
687
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
688
+ },
689
+ "minItems": 1
690
+ }
691
+ },
692
+ "required": ["name", "type", "required"],
693
+ "additionalProperties": false
694
+ },
695
+ "ManifestSecretInput": {
696
+ "title": "ManifestSecretInput",
697
+ "type": "object",
698
+ "properties": {
699
+ "name": {
700
+ "type": "string",
701
+ "minLength": 1,
702
+ "maxLength": 128,
703
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
704
+ },
705
+ "descriptionKey": {
706
+ "type": "string",
707
+ "minLength": 1,
708
+ "maxLength": 128,
709
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
710
+ },
711
+ "required": {
712
+ "type": "boolean"
713
+ }
714
+ },
715
+ "required": ["name", "descriptionKey", "required"],
716
+ "additionalProperties": false
717
+ },
718
+ "ManifestCapabilityBinding": {
719
+ "title": "ManifestCapabilityBinding",
720
+ "type": "object",
721
+ "properties": {
722
+ "operationId": {
723
+ "type": "string",
724
+ "minLength": 1,
725
+ "maxLength": 128,
726
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
727
+ },
728
+ "inputSchemaId": {
729
+ "type": "string",
730
+ "minLength": 1,
731
+ "maxLength": 128,
732
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
733
+ },
734
+ "outputSchemaId": {
735
+ "type": "string",
736
+ "minLength": 1,
737
+ "maxLength": 128,
738
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
739
+ }
740
+ },
741
+ "required": ["operationId", "inputSchemaId", "outputSchemaId"],
742
+ "additionalProperties": false
743
+ },
744
+ "ManifestExtensionPoint": {
745
+ "title": "ManifestExtensionPoint",
746
+ "type": "object",
747
+ "properties": {
748
+ "id": {
749
+ "type": "string",
750
+ "minLength": 1,
751
+ "maxLength": 128,
752
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
753
+ },
754
+ "kind": {
755
+ "type": "string",
756
+ "enum": [
757
+ "command",
758
+ "action",
759
+ "contextProvider",
760
+ "artifactProvider",
761
+ "settings",
762
+ "panel",
763
+ "importer",
764
+ "exporter",
765
+ "decoder",
766
+ "analysis"
767
+ ]
768
+ },
769
+ "capability": {
770
+ "type": "string",
771
+ "minLength": 1,
772
+ "maxLength": 128,
773
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
774
+ },
775
+ "inputSchemaId": {
776
+ "type": "string",
777
+ "minLength": 1,
778
+ "maxLength": 128,
779
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
780
+ },
781
+ "outputSchemaId": {
782
+ "type": "string",
783
+ "minLength": 1,
784
+ "maxLength": 128,
785
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
786
+ }
787
+ },
788
+ "required": ["id", "kind"],
789
+ "additionalProperties": false
790
+ },
791
+ "ManifestCallLimits": {
792
+ "title": "ManifestCallLimits",
793
+ "type": "object",
794
+ "properties": {
795
+ "timeoutMs": {
796
+ "type": "integer",
797
+ "minimum": 1,
798
+ "maximum": 30000
799
+ },
800
+ "maxRequestBytes": {
801
+ "type": "integer",
802
+ "minimum": 1,
803
+ "maximum": 4194304
804
+ },
805
+ "maxResponseBytes": {
806
+ "type": "integer",
807
+ "minimum": 1,
808
+ "maximum": 4194304
809
+ },
810
+ "maxConcurrentCalls": {
811
+ "type": "integer",
812
+ "minimum": 1,
813
+ "maximum": 16
814
+ }
815
+ },
816
+ "required": ["timeoutMs", "maxRequestBytes", "maxResponseBytes", "maxConcurrentCalls"],
817
+ "additionalProperties": false
818
+ },
819
+ "ManifestSkillBody": {
820
+ "title": "ManifestSkillBody",
821
+ "type": "object",
822
+ "properties": {
823
+ "guidance": {
824
+ "$ref": "#/$defs/ManifestResource"
825
+ },
826
+ "triggerLabels": {
827
+ "type": "array",
828
+ "items": {
829
+ "type": "string",
830
+ "minLength": 1,
831
+ "maxLength": 128,
832
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
833
+ },
834
+ "minItems": 0,
835
+ "maxItems": 32
836
+ },
837
+ "contextPolicyKeys": {
838
+ "type": "array",
839
+ "items": {
840
+ "type": "string",
841
+ "minLength": 1,
842
+ "maxLength": 128,
843
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
844
+ }
845
+ },
846
+ "capabilityIds": {
847
+ "type": "array",
848
+ "items": {
849
+ "type": "string",
850
+ "minLength": 1,
851
+ "maxLength": 128,
852
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
853
+ }
854
+ }
855
+ },
856
+ "required": ["guidance", "triggerLabels", "contextPolicyKeys", "capabilityIds"],
857
+ "additionalProperties": false
858
+ },
859
+ "ManifestTemplateBody": {
860
+ "title": "ManifestTemplateBody",
861
+ "type": "object",
862
+ "properties": {
863
+ "ownerProduct": {
864
+ "type": "string",
865
+ "minLength": 1,
866
+ "maxLength": 128,
867
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
868
+ },
869
+ "templateKind": {
870
+ "type": "string",
871
+ "enum": ["notesDocument", "chatPrompt", "scopeRecipe", "slatePreset"]
872
+ },
873
+ "body": {
874
+ "$ref": "#/$defs/ManifestContent"
875
+ },
876
+ "parameters": {
877
+ "type": "array",
878
+ "items": {
879
+ "$ref": "#/$defs/ManifestParameter"
880
+ },
881
+ "minItems": 0,
882
+ "maxItems": 64
883
+ },
884
+ "outputCapabilityId": {
885
+ "type": "string",
886
+ "minLength": 1,
887
+ "maxLength": 128,
888
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
889
+ }
890
+ },
891
+ "required": ["ownerProduct", "templateKind", "body", "parameters", "outputCapabilityId"],
892
+ "additionalProperties": false
893
+ },
894
+ "ManifestWorkflowBody": {
895
+ "title": "ManifestWorkflowBody",
896
+ "type": "object",
897
+ "properties": {
898
+ "workflow": {
899
+ "$ref": "#/$defs/ManifestContent"
900
+ },
901
+ "inputSchemaId": {
902
+ "type": "string",
903
+ "minLength": 1,
904
+ "maxLength": 128,
905
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
906
+ },
907
+ "outputSchemaId": {
908
+ "type": "string",
909
+ "minLength": 1,
910
+ "maxLength": 128,
911
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
912
+ },
913
+ "capabilityIds": {
914
+ "type": "array",
915
+ "items": {
916
+ "type": "string",
917
+ "minLength": 1,
918
+ "maxLength": 128,
919
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
920
+ }
921
+ }
922
+ },
923
+ "required": ["workflow", "inputSchemaId", "outputSchemaId", "capabilityIds"],
924
+ "additionalProperties": false
925
+ },
926
+ "ManifestMcpStdioBody": {
927
+ "title": "ManifestMcpStdioBody",
928
+ "type": "object",
929
+ "properties": {
930
+ "transport": {
931
+ "type": "string",
932
+ "const": "stdio"
933
+ },
934
+ "protocolVersion": {
935
+ "type": "string",
936
+ "minLength": 1,
937
+ "maxLength": 128,
938
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
939
+ },
940
+ "executable": {
941
+ "$ref": "#/$defs/ManifestExecutable"
942
+ },
943
+ "toolAllowlist": {
944
+ "type": "array",
945
+ "items": {
946
+ "$ref": "#/$defs/ManifestCapabilityBinding"
947
+ }
948
+ },
949
+ "parameterSchemaDigests": {
950
+ "type": "array",
951
+ "items": {
952
+ "type": "string",
953
+ "minLength": 1,
954
+ "maxLength": 64,
955
+ "pattern": "^[0-9a-f]{64}$"
956
+ }
957
+ },
958
+ "limits": {
959
+ "$ref": "#/$defs/ManifestCallLimits"
960
+ }
961
+ },
962
+ "required": [
963
+ "transport",
964
+ "protocolVersion",
965
+ "executable",
966
+ "toolAllowlist",
967
+ "parameterSchemaDigests",
968
+ "limits"
969
+ ],
970
+ "additionalProperties": false
971
+ },
972
+ "ManifestMcpHttpBody": {
973
+ "title": "ManifestMcpHttpBody",
974
+ "type": "object",
975
+ "properties": {
976
+ "transport": {
977
+ "type": "string",
978
+ "const": "streamableHttp"
979
+ },
980
+ "protocolVersion": {
981
+ "type": "string",
982
+ "minLength": 1,
983
+ "maxLength": 128,
984
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
985
+ },
986
+ "serverOrigin": {
987
+ "type": "string",
988
+ "minLength": 1,
989
+ "maxLength": 2048,
990
+ "pattern": "^https://(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*|\\[(?:(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|::(?:[0-9A-Fa-f]{1,4}:){0,5}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){0}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,4}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){1}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){2}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){3}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,1}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){4}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,0}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3})|([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){1,7}:|([0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){1,5}(:[0-9A-Fa-f]{1,4}){1,2}|([0-9A-Fa-f]{1,4}:){1,4}(:[0-9A-Fa-f]{1,4}){1,3}|([0-9A-Fa-f]{1,4}:){1,3}(:[0-9A-Fa-f]{1,4}){1,4}|([0-9A-Fa-f]{1,4}:){1,2}(:[0-9A-Fa-f]{1,4}){1,5}|[0-9A-Fa-f]{1,4}:((:[0-9A-Fa-f]{1,4}){1,6})|:((:[0-9A-Fa-f]{1,4}){1,7}|:))\\])(?::(?:6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$"
991
+ },
992
+ "toolAllowlist": {
993
+ "type": "array",
994
+ "items": {
995
+ "$ref": "#/$defs/ManifestCapabilityBinding"
996
+ }
997
+ },
998
+ "parameterSchemaDigests": {
999
+ "type": "array",
1000
+ "items": {
1001
+ "type": "string",
1002
+ "minLength": 1,
1003
+ "maxLength": 64,
1004
+ "pattern": "^[0-9a-f]{64}$"
1005
+ }
1006
+ },
1007
+ "limits": {
1008
+ "$ref": "#/$defs/ManifestCallLimits"
1009
+ }
1010
+ },
1011
+ "required": [
1012
+ "transport",
1013
+ "protocolVersion",
1014
+ "serverOrigin",
1015
+ "toolAllowlist",
1016
+ "parameterSchemaDigests",
1017
+ "limits"
1018
+ ],
1019
+ "additionalProperties": false
1020
+ },
1021
+ "ManifestMcpBody": {
1022
+ "title": "ManifestMcpBody",
1023
+ "oneOf": [
1024
+ {
1025
+ "$ref": "#/$defs/ManifestMcpStdioBody"
1026
+ },
1027
+ {
1028
+ "$ref": "#/$defs/ManifestMcpHttpBody"
1029
+ }
1030
+ ]
1031
+ },
1032
+ "ManifestConnectorBody": {
1033
+ "title": "ManifestConnectorBody",
1034
+ "type": "object",
1035
+ "properties": {
1036
+ "definitionId": {
1037
+ "type": "string",
1038
+ "minLength": 1,
1039
+ "maxLength": 128,
1040
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1041
+ },
1042
+ "authKind": {
1043
+ "type": "string",
1044
+ "enum": ["none", "oauth2", "personalToken"]
1045
+ },
1046
+ "origins": {
1047
+ "type": "array",
1048
+ "items": {
1049
+ "type": "string",
1050
+ "minLength": 1,
1051
+ "maxLength": 2048,
1052
+ "pattern": "^https://(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*|\\[(?:(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|::(?:[0-9A-Fa-f]{1,4}:){0,5}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){0}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,4}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){1}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){2}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,2}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){3}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,1}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|(?:[0-9A-Fa-f]{1,4}:){4}[0-9A-Fa-f]{1,4}::(?:[0-9A-Fa-f]{1,4}:){0,0}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3})|([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){1,7}:|([0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}|([0-9A-Fa-f]{1,4}:){1,5}(:[0-9A-Fa-f]{1,4}){1,2}|([0-9A-Fa-f]{1,4}:){1,4}(:[0-9A-Fa-f]{1,4}){1,3}|([0-9A-Fa-f]{1,4}:){1,3}(:[0-9A-Fa-f]{1,4}){1,4}|([0-9A-Fa-f]{1,4}:){1,2}(:[0-9A-Fa-f]{1,4}){1,5}|[0-9A-Fa-f]{1,4}:((:[0-9A-Fa-f]{1,4}){1,6})|:((:[0-9A-Fa-f]{1,4}){1,7}|:))\\])(?::(?:6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{0,3}))?$"
1053
+ }
1054
+ },
1055
+ "scopes": {
1056
+ "type": "array",
1057
+ "items": {
1058
+ "type": "string",
1059
+ "minLength": 1,
1060
+ "maxLength": 128,
1061
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1062
+ }
1063
+ },
1064
+ "secretInputs": {
1065
+ "type": "array",
1066
+ "items": {
1067
+ "$ref": "#/$defs/ManifestSecretInput"
1068
+ }
1069
+ },
1070
+ "capabilities": {
1071
+ "type": "array",
1072
+ "items": {
1073
+ "$ref": "#/$defs/ManifestCapabilityBinding"
1074
+ }
1075
+ },
1076
+ "egressLimits": {
1077
+ "$ref": "#/$defs/ManifestCallLimits"
1078
+ }
1079
+ },
1080
+ "required": [
1081
+ "definitionId",
1082
+ "authKind",
1083
+ "origins",
1084
+ "scopes",
1085
+ "secretInputs",
1086
+ "capabilities",
1087
+ "egressLimits"
1088
+ ],
1089
+ "additionalProperties": false
1090
+ },
1091
+ "ManifestExtensionBody": {
1092
+ "title": "ManifestExtensionBody",
1093
+ "type": "object",
1094
+ "properties": {
1095
+ "executableRids": {
1096
+ "type": "array",
1097
+ "items": {
1098
+ "type": "string",
1099
+ "minLength": 1,
1100
+ "maxLength": 128,
1101
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1102
+ },
1103
+ "minItems": 1
1104
+ },
1105
+ "extensionPoints": {
1106
+ "type": "array",
1107
+ "items": {
1108
+ "$ref": "#/$defs/ManifestExtensionPoint"
1109
+ },
1110
+ "minItems": 1
1111
+ },
1112
+ "panels": {
1113
+ "type": "array",
1114
+ "items": {
1115
+ "$ref": "#/$defs/ManifestContent"
1116
+ }
1117
+ },
1118
+ "settings": {
1119
+ "$ref": "#/$defs/ManifestContent"
1120
+ },
1121
+ "background": {
1122
+ "type": "boolean"
1123
+ }
1124
+ },
1125
+ "required": ["executableRids", "extensionPoints", "panels", "background"],
1126
+ "additionalProperties": false
1127
+ },
1128
+ "ManifestSkillContribution": {
1129
+ "title": "ManifestSkillContribution",
1130
+ "type": "object",
1131
+ "properties": {
1132
+ "id": {
1133
+ "type": "string",
1134
+ "minLength": 1,
1135
+ "maxLength": 128,
1136
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1137
+ },
1138
+ "kind": {
1139
+ "type": "string",
1140
+ "const": "skill"
1141
+ },
1142
+ "titleKey": {
1143
+ "type": "string",
1144
+ "minLength": 1,
1145
+ "maxLength": 128,
1146
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1147
+ },
1148
+ "descriptionKey": {
1149
+ "type": "string",
1150
+ "minLength": 1,
1151
+ "maxLength": 128,
1152
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1153
+ },
1154
+ "inputSchemaId": {
1155
+ "type": "string",
1156
+ "minLength": 1,
1157
+ "maxLength": 128,
1158
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1159
+ },
1160
+ "outputSchemaId": {
1161
+ "type": "string",
1162
+ "minLength": 1,
1163
+ "maxLength": 128,
1164
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1165
+ },
1166
+ "permissions": {
1167
+ "type": "array",
1168
+ "items": {
1169
+ "$ref": "#/$defs/ManifestPermission"
1170
+ }
1171
+ },
1172
+ "body": {
1173
+ "$ref": "#/$defs/ManifestSkillBody"
1174
+ }
1175
+ },
1176
+ "required": ["id", "kind", "titleKey", "permissions", "body"],
1177
+ "additionalProperties": false
1178
+ },
1179
+ "ManifestTemplateContribution": {
1180
+ "title": "ManifestTemplateContribution",
1181
+ "type": "object",
1182
+ "properties": {
1183
+ "id": {
1184
+ "type": "string",
1185
+ "minLength": 1,
1186
+ "maxLength": 128,
1187
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1188
+ },
1189
+ "kind": {
1190
+ "type": "string",
1191
+ "const": "template"
1192
+ },
1193
+ "titleKey": {
1194
+ "type": "string",
1195
+ "minLength": 1,
1196
+ "maxLength": 128,
1197
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1198
+ },
1199
+ "descriptionKey": {
1200
+ "type": "string",
1201
+ "minLength": 1,
1202
+ "maxLength": 128,
1203
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1204
+ },
1205
+ "inputSchemaId": {
1206
+ "type": "string",
1207
+ "minLength": 1,
1208
+ "maxLength": 128,
1209
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1210
+ },
1211
+ "outputSchemaId": {
1212
+ "type": "string",
1213
+ "minLength": 1,
1214
+ "maxLength": 128,
1215
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1216
+ },
1217
+ "permissions": {
1218
+ "type": "array",
1219
+ "items": {
1220
+ "$ref": "#/$defs/ManifestPermission"
1221
+ }
1222
+ },
1223
+ "body": {
1224
+ "$ref": "#/$defs/ManifestTemplateBody"
1225
+ }
1226
+ },
1227
+ "required": ["id", "kind", "titleKey", "permissions", "body"],
1228
+ "additionalProperties": false
1229
+ },
1230
+ "ManifestWorkflowContribution": {
1231
+ "title": "ManifestWorkflowContribution",
1232
+ "type": "object",
1233
+ "properties": {
1234
+ "id": {
1235
+ "type": "string",
1236
+ "minLength": 1,
1237
+ "maxLength": 128,
1238
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1239
+ },
1240
+ "kind": {
1241
+ "type": "string",
1242
+ "const": "workflow"
1243
+ },
1244
+ "titleKey": {
1245
+ "type": "string",
1246
+ "minLength": 1,
1247
+ "maxLength": 128,
1248
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1249
+ },
1250
+ "descriptionKey": {
1251
+ "type": "string",
1252
+ "minLength": 1,
1253
+ "maxLength": 128,
1254
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1255
+ },
1256
+ "inputSchemaId": {
1257
+ "type": "string",
1258
+ "minLength": 1,
1259
+ "maxLength": 128,
1260
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1261
+ },
1262
+ "outputSchemaId": {
1263
+ "type": "string",
1264
+ "minLength": 1,
1265
+ "maxLength": 128,
1266
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1267
+ },
1268
+ "permissions": {
1269
+ "type": "array",
1270
+ "items": {
1271
+ "$ref": "#/$defs/ManifestPermission"
1272
+ }
1273
+ },
1274
+ "body": {
1275
+ "$ref": "#/$defs/ManifestWorkflowBody"
1276
+ }
1277
+ },
1278
+ "required": ["id", "kind", "titleKey", "permissions", "body"],
1279
+ "additionalProperties": false
1280
+ },
1281
+ "ManifestMcpContribution": {
1282
+ "title": "ManifestMcpContribution",
1283
+ "type": "object",
1284
+ "properties": {
1285
+ "id": {
1286
+ "type": "string",
1287
+ "minLength": 1,
1288
+ "maxLength": 128,
1289
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1290
+ },
1291
+ "kind": {
1292
+ "type": "string",
1293
+ "const": "mcp"
1294
+ },
1295
+ "titleKey": {
1296
+ "type": "string",
1297
+ "minLength": 1,
1298
+ "maxLength": 128,
1299
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1300
+ },
1301
+ "descriptionKey": {
1302
+ "type": "string",
1303
+ "minLength": 1,
1304
+ "maxLength": 128,
1305
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1306
+ },
1307
+ "inputSchemaId": {
1308
+ "type": "string",
1309
+ "minLength": 1,
1310
+ "maxLength": 128,
1311
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1312
+ },
1313
+ "outputSchemaId": {
1314
+ "type": "string",
1315
+ "minLength": 1,
1316
+ "maxLength": 128,
1317
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1318
+ },
1319
+ "permissions": {
1320
+ "type": "array",
1321
+ "items": {
1322
+ "$ref": "#/$defs/ManifestPermission"
1323
+ }
1324
+ },
1325
+ "body": {
1326
+ "$ref": "#/$defs/ManifestMcpBody"
1327
+ }
1328
+ },
1329
+ "required": ["id", "kind", "titleKey", "permissions", "body"],
1330
+ "additionalProperties": false
1331
+ },
1332
+ "ManifestConnectorContribution": {
1333
+ "title": "ManifestConnectorContribution",
1334
+ "type": "object",
1335
+ "properties": {
1336
+ "id": {
1337
+ "type": "string",
1338
+ "minLength": 1,
1339
+ "maxLength": 128,
1340
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1341
+ },
1342
+ "kind": {
1343
+ "type": "string",
1344
+ "const": "connector"
1345
+ },
1346
+ "titleKey": {
1347
+ "type": "string",
1348
+ "minLength": 1,
1349
+ "maxLength": 128,
1350
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1351
+ },
1352
+ "descriptionKey": {
1353
+ "type": "string",
1354
+ "minLength": 1,
1355
+ "maxLength": 128,
1356
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1357
+ },
1358
+ "inputSchemaId": {
1359
+ "type": "string",
1360
+ "minLength": 1,
1361
+ "maxLength": 128,
1362
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1363
+ },
1364
+ "outputSchemaId": {
1365
+ "type": "string",
1366
+ "minLength": 1,
1367
+ "maxLength": 128,
1368
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1369
+ },
1370
+ "permissions": {
1371
+ "type": "array",
1372
+ "items": {
1373
+ "$ref": "#/$defs/ManifestPermission"
1374
+ }
1375
+ },
1376
+ "body": {
1377
+ "$ref": "#/$defs/ManifestConnectorBody"
1378
+ }
1379
+ },
1380
+ "required": ["id", "kind", "titleKey", "permissions", "body"],
1381
+ "additionalProperties": false
1382
+ },
1383
+ "ManifestExtensionContribution": {
1384
+ "title": "ManifestExtensionContribution",
1385
+ "type": "object",
1386
+ "properties": {
1387
+ "id": {
1388
+ "type": "string",
1389
+ "minLength": 1,
1390
+ "maxLength": 128,
1391
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1392
+ },
1393
+ "kind": {
1394
+ "type": "string",
1395
+ "const": "extension"
1396
+ },
1397
+ "titleKey": {
1398
+ "type": "string",
1399
+ "minLength": 1,
1400
+ "maxLength": 128,
1401
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1402
+ },
1403
+ "descriptionKey": {
1404
+ "type": "string",
1405
+ "minLength": 1,
1406
+ "maxLength": 128,
1407
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1408
+ },
1409
+ "inputSchemaId": {
1410
+ "type": "string",
1411
+ "minLength": 1,
1412
+ "maxLength": 128,
1413
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1414
+ },
1415
+ "outputSchemaId": {
1416
+ "type": "string",
1417
+ "minLength": 1,
1418
+ "maxLength": 128,
1419
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1420
+ },
1421
+ "permissions": {
1422
+ "type": "array",
1423
+ "items": {
1424
+ "$ref": "#/$defs/ManifestPermission"
1425
+ }
1426
+ },
1427
+ "body": {
1428
+ "$ref": "#/$defs/ManifestExtensionBody"
1429
+ }
1430
+ },
1431
+ "required": ["id", "kind", "titleKey", "permissions", "body"],
1432
+ "additionalProperties": false
1433
+ },
1434
+ "ManifestContribution": {
1435
+ "title": "ManifestContribution",
1436
+ "oneOf": [
1437
+ {
1438
+ "$ref": "#/$defs/ManifestSkillContribution"
1439
+ },
1440
+ {
1441
+ "$ref": "#/$defs/ManifestTemplateContribution"
1442
+ },
1443
+ {
1444
+ "$ref": "#/$defs/ManifestWorkflowContribution"
1445
+ },
1446
+ {
1447
+ "$ref": "#/$defs/ManifestMcpContribution"
1448
+ },
1449
+ {
1450
+ "$ref": "#/$defs/ManifestConnectorContribution"
1451
+ },
1452
+ {
1453
+ "$ref": "#/$defs/ManifestExtensionContribution"
1454
+ }
1455
+ ]
1456
+ }
1457
+ },
1458
+ "x-arcforges-schema-version": "1"
1459
+ }