@openplanr/protocol 0.7.3 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +22 -0
  2. package/package.json +21 -1
  3. package/registries/commands.json +11 -11
  4. package/registries/skills.json +89 -11
  5. package/registry/v1.17.0/commands.json +88 -0
  6. package/schemas/v1.15.0/diagram-review-bundle.schema.json +1280 -0
  7. package/schemas/v1.15.0/diagram-review-feedback.schema.json +157 -0
  8. package/schemas/v1.15.0/diagram-review-workspace.schema.json +108 -0
  9. package/schemas/v1.15.0/diagram-workspace-create.schema.json +170 -0
  10. package/schemas/v1.15.0/diagram-workspace-event.schema.json +97 -0
  11. package/schemas/v1.15.0/diagram-workspace-revision.schema.json +56 -0
  12. package/schemas/v1.16.0/artifact-envelope.schema.json +408 -0
  13. package/schemas/v1.16.0/design-review-bundle.schema.json +590 -0
  14. package/schemas/v1.17.0/artifact-paste-v2.schema.json +52 -0
  15. package/schemas/v1.17.0/artifact-room-append-v3.schema.json +159 -0
  16. package/schemas/v1.17.0/artifact-room-create-v3.schema.json +111 -0
  17. package/schemas/v1.17.0/artifact-room-descriptor-v3.schema.json +92 -0
  18. package/schemas/v1.17.0/artifact-room-event-v3.schema.json +130 -0
  19. package/schemas/v1.17.0/artifact-room-management-v3.schema.json +47 -0
  20. package/schemas/v1.17.0/artifact-room-read-page-v3.schema.json +308 -0
  21. package/schemas/v1.17.0/company-resource-manifest.schema.json +128 -0
  22. package/schemas/v1.17.0/company-resource-upload-prepare.schema.json +164 -0
  23. package/schemas/v1.17.0/company-resource-upload-receipt.schema.json +63 -0
  24. package/schemas/v1.17.0/company-resource-upload-status.schema.json +123 -0
  25. package/schemas/v1.17.0/diagram-authoring-bundle.schema.json +1117 -0
  26. package/schemas/v1.17.0/diagram-edit-transaction.schema.json +3295 -0
  27. package/schemas/v1.17.0/diagram-presentation.schema.json +37 -0
  28. package/schemas/v1.17.0/diagram-review-bundle.schema.json +2439 -0
  29. package/schemas/v1.17.0/encrypted-resource-manifest.schema.json +131 -0
  30. package/schemas/v1.17.0/encrypted-upload-commit.schema.json +38 -0
  31. package/schemas/v1.17.0/encrypted-upload-prepare.schema.json +234 -0
  32. package/schemas/v1.17.0/encrypted-upload-receipt.schema.json +54 -0
  33. package/schemas/v1.17.0/encrypted-upload-status.schema.json +129 -0
  34. package/schemas/v1.17.0/encrypted-workspace-event-v2.schema.json +79 -0
  35. package/schemas/v1.17.0/encrypted-workspace-v2.schema.json +91 -0
  36. package/schemas/v1.17.0/enterprise-agent-handoff.schema.json +985 -0
  37. package/schemas/v1.17.0/enterprise-artifact-revision.schema.json +115 -0
  38. package/schemas/v1.17.0/enterprise-change-proposal.schema.json +379 -0
  39. package/schemas/v1.17.0/enterprise-evidence-reference.schema.json +159 -0
  40. package/schemas/v1.17.0/enterprise-review-thread.schema.json +298 -0
  41. package/schemas/v1.17.0/enterprise-sync-state.schema.json +189 -0
  42. package/schemas/v1.17.0/preview-bridge-message.schema.json +197 -0
  43. package/schemas/v1.17.0/resource-catalog.schema.json +145 -0
  44. package/schemas/v1.17.0/sharing-crypto-aad.schema.json +36 -0
  45. package/schemas/v1.17.0/workspace-management-v2.schema.json +45 -0
  46. package/schemas/v1.17.0/workspace-rotation-v2.schema.json +61 -0
  47. package/src/bounded-json-data.d.mts +2 -0
  48. package/src/bounded-json-data.mjs +56 -0
  49. package/src/browser-contracts.d.mts +23 -1
  50. package/src/browser-contracts.mjs +52 -0
  51. package/src/canonical-json.mjs +17 -16
  52. package/src/contracts.d.mts +1 -0
  53. package/src/contracts.mjs +106 -5
  54. package/src/diagram-authoring-contracts.d.mts +12 -0
  55. package/src/diagram-authoring-contracts.mjs +174 -1
  56. package/src/diagram-review-contracts.d.mts +73 -0
  57. package/src/diagram-review-contracts.mjs +250 -0
  58. package/src/enterprise-contract-validation.d.mts +44 -0
  59. package/src/enterprise-contract-validation.mjs +279 -0
  60. package/src/enterprise-contracts.mjs +25 -231
  61. package/src/enterprise-resource-contracts.d.mts +72 -0
  62. package/src/enterprise-resource-contracts.mjs +202 -0
  63. package/src/generated/artifact-envelope-metadata.mjs +769 -0
  64. package/src/generated/canonical-registries.mjs +100 -22
  65. package/src/index.d.mts +22 -0
  66. package/src/index.mjs +26 -0
  67. package/src/large-object-contracts.d.mts +107 -0
  68. package/src/large-object-contracts.mjs +473 -0
  69. package/src/large-object-limits.d.mts +16 -0
  70. package/src/large-object-limits.mjs +17 -0
  71. package/src/registries.mjs +1 -0
  72. package/src/review-experience-contracts.d.mts +1 -0
  73. package/src/review-experience-contracts.mjs +25 -4
  74. package/src/sharing-security-contracts.d.mts +63 -0
  75. package/src/sharing-security-contracts.mjs +403 -0
  76. package/src/studio-presentation-contracts.d.mts +92 -0
  77. package/src/studio-presentation-contracts.mjs +287 -0
@@ -0,0 +1,769 @@
1
+ // Generated from canonical Protocol inline/shared envelope schemas. Do not edit.
2
+ import { deepFreeze } from '../canonical-json.mjs';
3
+ export const ARTIFACT_ENVELOPE_METADATA_SCHEMAS = deepFreeze([
4
+ {
5
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6
+ "$id": "https://openplanr.dev/schemas/v1.1.0/artifact-envelope.schema.json",
7
+ "title": "OpenPlanr self-contained HTML artifact envelope",
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "required": [
11
+ "schemaVersion",
12
+ "artifacts",
13
+ "viewer"
14
+ ],
15
+ "properties": {
16
+ "schemaVersion": {
17
+ "const": "1.0.0"
18
+ },
19
+ "artifacts": {
20
+ "type": "array",
21
+ "minItems": 1,
22
+ "maxItems": 256,
23
+ "items": {
24
+ "type": "object",
25
+ "additionalProperties": false,
26
+ "required": [
27
+ "id",
28
+ "kind",
29
+ "title",
30
+ "sha256",
31
+ "viewport",
32
+ "colorScheme"
33
+ ],
34
+ "properties": {
35
+ "id": {
36
+ "type": "string",
37
+ "minLength": 1,
38
+ "maxLength": 128,
39
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
40
+ },
41
+ "kind": {
42
+ "const": "html"
43
+ },
44
+ "title": {
45
+ "type": "string",
46
+ "minLength": 1,
47
+ "maxLength": 512
48
+ },
49
+ "sha256": {
50
+ "type": "string",
51
+ "pattern": "^[a-f0-9]{64}$"
52
+ },
53
+ "viewport": {
54
+ "type": "object",
55
+ "additionalProperties": false,
56
+ "required": [
57
+ "width",
58
+ "height"
59
+ ],
60
+ "properties": {
61
+ "width": {
62
+ "type": "integer",
63
+ "minimum": 1,
64
+ "maximum": 16384
65
+ },
66
+ "height": {
67
+ "type": "integer",
68
+ "minimum": 1,
69
+ "maximum": 16384
70
+ }
71
+ }
72
+ },
73
+ "colorScheme": {
74
+ "type": "string",
75
+ "enum": [
76
+ "light",
77
+ "dark"
78
+ ]
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "viewer": {
84
+ "type": "object",
85
+ "additionalProperties": false,
86
+ "required": [
87
+ "mode",
88
+ "activeArtifactId"
89
+ ],
90
+ "properties": {
91
+ "mode": {
92
+ "type": "string",
93
+ "enum": [
94
+ "single",
95
+ "variants"
96
+ ]
97
+ },
98
+ "activeArtifactId": {
99
+ "type": "string",
100
+ "minLength": 1,
101
+ "maxLength": 128
102
+ },
103
+ "presentation": {
104
+ "type": "string",
105
+ "enum": [
106
+ "document",
107
+ "canvas"
108
+ ]
109
+ }
110
+ }
111
+ },
112
+ "review": {
113
+ "type": "object",
114
+ "additionalProperties": false,
115
+ "required": [
116
+ "schemaVersion",
117
+ "reviewId",
118
+ "reviewOf",
119
+ "decision",
120
+ "overall",
121
+ "pins"
122
+ ],
123
+ "properties": {
124
+ "schemaVersion": {
125
+ "const": "1.0.0"
126
+ },
127
+ "reviewId": {
128
+ "type": "string",
129
+ "minLength": 1,
130
+ "maxLength": 128
131
+ },
132
+ "reviewOf": {
133
+ "type": "string",
134
+ "pattern": "^[a-f0-9]{64}$"
135
+ },
136
+ "decision": {
137
+ "type": "string",
138
+ "enum": [
139
+ "pending",
140
+ "approved",
141
+ "changes_requested"
142
+ ]
143
+ },
144
+ "overall": {
145
+ "type": "string",
146
+ "maxLength": 65536
147
+ },
148
+ "createdAt": {
149
+ "type": "string",
150
+ "format": "date-time"
151
+ },
152
+ "updatedAt": {
153
+ "type": "string",
154
+ "format": "date-time"
155
+ },
156
+ "pins": {
157
+ "type": "array",
158
+ "maxItems": 10000,
159
+ "items": {
160
+ "type": "object",
161
+ "additionalProperties": false,
162
+ "required": [
163
+ "id",
164
+ "author",
165
+ "artifactId",
166
+ "region",
167
+ "viewport",
168
+ "intent",
169
+ "status",
170
+ "comment",
171
+ "replies",
172
+ "createdAt",
173
+ "updatedAt"
174
+ ],
175
+ "properties": {
176
+ "id": {
177
+ "type": "string",
178
+ "minLength": 1,
179
+ "maxLength": 128
180
+ },
181
+ "author": {
182
+ "type": "object",
183
+ "additionalProperties": false,
184
+ "required": [
185
+ "name"
186
+ ],
187
+ "properties": {
188
+ "id": {
189
+ "type": "string",
190
+ "minLength": 1,
191
+ "maxLength": 128
192
+ },
193
+ "name": {
194
+ "type": "string",
195
+ "minLength": 1,
196
+ "maxLength": 256
197
+ }
198
+ }
199
+ },
200
+ "artifactId": {
201
+ "type": "string",
202
+ "minLength": 1,
203
+ "maxLength": 128
204
+ },
205
+ "variant": {
206
+ "type": "string",
207
+ "minLength": 1,
208
+ "maxLength": 128
209
+ },
210
+ "region": {
211
+ "type": "object",
212
+ "additionalProperties": false,
213
+ "required": [
214
+ "x",
215
+ "y",
216
+ "w",
217
+ "h"
218
+ ],
219
+ "properties": {
220
+ "x": {
221
+ "type": "number",
222
+ "minimum": 0,
223
+ "maximum": 1
224
+ },
225
+ "y": {
226
+ "type": "number",
227
+ "minimum": 0,
228
+ "maximum": 1
229
+ },
230
+ "w": {
231
+ "type": "number",
232
+ "minimum": 0,
233
+ "maximum": 1
234
+ },
235
+ "h": {
236
+ "type": "number",
237
+ "minimum": 0,
238
+ "maximum": 1
239
+ }
240
+ }
241
+ },
242
+ "viewport": {
243
+ "type": "object",
244
+ "additionalProperties": false,
245
+ "required": [
246
+ "width",
247
+ "height"
248
+ ],
249
+ "properties": {
250
+ "width": {
251
+ "type": "integer",
252
+ "minimum": 1,
253
+ "maximum": 16384
254
+ },
255
+ "height": {
256
+ "type": "integer",
257
+ "minimum": 1,
258
+ "maximum": 262144
259
+ }
260
+ }
261
+ },
262
+ "anchor": {
263
+ "type": "object",
264
+ "additionalProperties": false,
265
+ "required": [
266
+ "planrId"
267
+ ],
268
+ "properties": {
269
+ "planrId": {
270
+ "type": "string",
271
+ "minLength": 1,
272
+ "maxLength": 512
273
+ },
274
+ "screen": {
275
+ "type": "string",
276
+ "minLength": 1,
277
+ "maxLength": 128
278
+ }
279
+ }
280
+ },
281
+ "intent": {
282
+ "type": "string",
283
+ "enum": [
284
+ "fix",
285
+ "improve",
286
+ "question"
287
+ ]
288
+ },
289
+ "status": {
290
+ "type": "string",
291
+ "enum": [
292
+ "open",
293
+ "addressed",
294
+ "resolved"
295
+ ]
296
+ },
297
+ "comment": {
298
+ "type": "string",
299
+ "minLength": 1,
300
+ "maxLength": 65536
301
+ },
302
+ "replies": {
303
+ "type": "array",
304
+ "maxItems": 10000,
305
+ "items": {
306
+ "type": "object",
307
+ "additionalProperties": false,
308
+ "required": [
309
+ "id",
310
+ "author",
311
+ "comment",
312
+ "createdAt"
313
+ ],
314
+ "properties": {
315
+ "id": {
316
+ "type": "string",
317
+ "minLength": 1,
318
+ "maxLength": 128
319
+ },
320
+ "author": {
321
+ "type": "object",
322
+ "additionalProperties": false,
323
+ "required": [
324
+ "name"
325
+ ],
326
+ "properties": {
327
+ "id": {
328
+ "type": "string",
329
+ "minLength": 1,
330
+ "maxLength": 128
331
+ },
332
+ "name": {
333
+ "type": "string",
334
+ "minLength": 1,
335
+ "maxLength": 256
336
+ }
337
+ }
338
+ },
339
+ "comment": {
340
+ "type": "string",
341
+ "minLength": 1,
342
+ "maxLength": 65536
343
+ },
344
+ "createdAt": {
345
+ "type": "string",
346
+ "format": "date-time"
347
+ }
348
+ }
349
+ }
350
+ },
351
+ "createdAt": {
352
+ "type": "string",
353
+ "format": "date-time"
354
+ },
355
+ "updatedAt": {
356
+ "type": "string",
357
+ "format": "date-time"
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+ }
364
+ }
365
+ },
366
+ {
367
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
368
+ "$id": "https://openplanr.dev/schemas/v1.16.0/artifact-envelope.schema.json",
369
+ "title": "OpenPlanr shared-source artifact envelope",
370
+ "type": "object",
371
+ "additionalProperties": false,
372
+ "required": [
373
+ "schemaVersion",
374
+ "artifacts",
375
+ "viewer",
376
+ "sources"
377
+ ],
378
+ "properties": {
379
+ "schemaVersion": {
380
+ "const": "1.1.0"
381
+ },
382
+ "artifacts": {
383
+ "type": "array",
384
+ "minItems": 1,
385
+ "maxItems": 4096,
386
+ "items": {
387
+ "type": "object",
388
+ "additionalProperties": false,
389
+ "required": [
390
+ "id",
391
+ "kind",
392
+ "title",
393
+ "sha256",
394
+ "viewport",
395
+ "colorScheme",
396
+ "sourceId"
397
+ ],
398
+ "properties": {
399
+ "id": {
400
+ "type": "string",
401
+ "minLength": 1,
402
+ "maxLength": 128,
403
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
404
+ },
405
+ "kind": {
406
+ "const": "html"
407
+ },
408
+ "title": {
409
+ "type": "string",
410
+ "minLength": 1,
411
+ "maxLength": 512
412
+ },
413
+ "sha256": {
414
+ "type": "string",
415
+ "pattern": "^[a-f0-9]{64}$"
416
+ },
417
+ "viewport": {
418
+ "type": "object",
419
+ "additionalProperties": false,
420
+ "required": [
421
+ "width",
422
+ "height"
423
+ ],
424
+ "properties": {
425
+ "width": {
426
+ "type": "integer",
427
+ "minimum": 1,
428
+ "maximum": 16384
429
+ },
430
+ "height": {
431
+ "type": "integer",
432
+ "minimum": 1,
433
+ "maximum": 16384
434
+ }
435
+ }
436
+ },
437
+ "colorScheme": {
438
+ "type": "string",
439
+ "enum": [
440
+ "light",
441
+ "dark"
442
+ ]
443
+ },
444
+ "sourceId": {
445
+ "type": "string",
446
+ "minLength": 1,
447
+ "maxLength": 128,
448
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
449
+ }
450
+ }
451
+ }
452
+ },
453
+ "viewer": {
454
+ "type": "object",
455
+ "additionalProperties": false,
456
+ "required": [
457
+ "mode",
458
+ "activeArtifactId"
459
+ ],
460
+ "properties": {
461
+ "mode": {
462
+ "type": "string",
463
+ "enum": [
464
+ "single",
465
+ "variants"
466
+ ]
467
+ },
468
+ "activeArtifactId": {
469
+ "type": "string",
470
+ "minLength": 1,
471
+ "maxLength": 128
472
+ },
473
+ "presentation": {
474
+ "type": "string",
475
+ "enum": [
476
+ "document",
477
+ "canvas"
478
+ ]
479
+ }
480
+ }
481
+ },
482
+ "review": {
483
+ "type": "object",
484
+ "additionalProperties": false,
485
+ "required": [
486
+ "schemaVersion",
487
+ "reviewId",
488
+ "reviewOf",
489
+ "decision",
490
+ "overall",
491
+ "pins"
492
+ ],
493
+ "properties": {
494
+ "schemaVersion": {
495
+ "const": "1.0.0"
496
+ },
497
+ "reviewId": {
498
+ "type": "string",
499
+ "minLength": 1,
500
+ "maxLength": 128
501
+ },
502
+ "reviewOf": {
503
+ "type": "string",
504
+ "pattern": "^[a-f0-9]{64}$"
505
+ },
506
+ "decision": {
507
+ "type": "string",
508
+ "enum": [
509
+ "pending",
510
+ "approved",
511
+ "changes_requested"
512
+ ]
513
+ },
514
+ "overall": {
515
+ "type": "string",
516
+ "maxLength": 65536
517
+ },
518
+ "createdAt": {
519
+ "type": "string",
520
+ "format": "date-time"
521
+ },
522
+ "updatedAt": {
523
+ "type": "string",
524
+ "format": "date-time"
525
+ },
526
+ "pins": {
527
+ "type": "array",
528
+ "maxItems": 10000,
529
+ "items": {
530
+ "type": "object",
531
+ "additionalProperties": false,
532
+ "required": [
533
+ "id",
534
+ "author",
535
+ "artifactId",
536
+ "region",
537
+ "viewport",
538
+ "intent",
539
+ "status",
540
+ "comment",
541
+ "replies",
542
+ "createdAt",
543
+ "updatedAt"
544
+ ],
545
+ "properties": {
546
+ "id": {
547
+ "type": "string",
548
+ "minLength": 1,
549
+ "maxLength": 128
550
+ },
551
+ "author": {
552
+ "type": "object",
553
+ "additionalProperties": false,
554
+ "required": [
555
+ "name"
556
+ ],
557
+ "properties": {
558
+ "id": {
559
+ "type": "string",
560
+ "minLength": 1,
561
+ "maxLength": 128
562
+ },
563
+ "name": {
564
+ "type": "string",
565
+ "minLength": 1,
566
+ "maxLength": 256
567
+ }
568
+ }
569
+ },
570
+ "artifactId": {
571
+ "type": "string",
572
+ "minLength": 1,
573
+ "maxLength": 128
574
+ },
575
+ "variant": {
576
+ "type": "string",
577
+ "minLength": 1,
578
+ "maxLength": 128
579
+ },
580
+ "region": {
581
+ "type": "object",
582
+ "additionalProperties": false,
583
+ "required": [
584
+ "x",
585
+ "y",
586
+ "w",
587
+ "h"
588
+ ],
589
+ "properties": {
590
+ "x": {
591
+ "type": "number",
592
+ "minimum": 0,
593
+ "maximum": 1
594
+ },
595
+ "y": {
596
+ "type": "number",
597
+ "minimum": 0,
598
+ "maximum": 1
599
+ },
600
+ "w": {
601
+ "type": "number",
602
+ "minimum": 0,
603
+ "maximum": 1
604
+ },
605
+ "h": {
606
+ "type": "number",
607
+ "minimum": 0,
608
+ "maximum": 1
609
+ }
610
+ }
611
+ },
612
+ "viewport": {
613
+ "type": "object",
614
+ "additionalProperties": false,
615
+ "required": [
616
+ "width",
617
+ "height"
618
+ ],
619
+ "properties": {
620
+ "width": {
621
+ "type": "integer",
622
+ "minimum": 1,
623
+ "maximum": 16384
624
+ },
625
+ "height": {
626
+ "type": "integer",
627
+ "minimum": 1,
628
+ "maximum": 262144
629
+ }
630
+ }
631
+ },
632
+ "anchor": {
633
+ "type": "object",
634
+ "additionalProperties": false,
635
+ "required": [
636
+ "planrId"
637
+ ],
638
+ "properties": {
639
+ "planrId": {
640
+ "type": "string",
641
+ "minLength": 1,
642
+ "maxLength": 512
643
+ },
644
+ "screen": {
645
+ "type": "string",
646
+ "minLength": 1,
647
+ "maxLength": 128
648
+ }
649
+ }
650
+ },
651
+ "intent": {
652
+ "type": "string",
653
+ "enum": [
654
+ "fix",
655
+ "improve",
656
+ "question"
657
+ ]
658
+ },
659
+ "status": {
660
+ "type": "string",
661
+ "enum": [
662
+ "open",
663
+ "addressed",
664
+ "resolved"
665
+ ]
666
+ },
667
+ "comment": {
668
+ "type": "string",
669
+ "minLength": 1,
670
+ "maxLength": 65536
671
+ },
672
+ "replies": {
673
+ "type": "array",
674
+ "maxItems": 10000,
675
+ "items": {
676
+ "type": "object",
677
+ "additionalProperties": false,
678
+ "required": [
679
+ "id",
680
+ "author",
681
+ "comment",
682
+ "createdAt"
683
+ ],
684
+ "properties": {
685
+ "id": {
686
+ "type": "string",
687
+ "minLength": 1,
688
+ "maxLength": 128
689
+ },
690
+ "author": {
691
+ "type": "object",
692
+ "additionalProperties": false,
693
+ "required": [
694
+ "name"
695
+ ],
696
+ "properties": {
697
+ "id": {
698
+ "type": "string",
699
+ "minLength": 1,
700
+ "maxLength": 128
701
+ },
702
+ "name": {
703
+ "type": "string",
704
+ "minLength": 1,
705
+ "maxLength": 256
706
+ }
707
+ }
708
+ },
709
+ "comment": {
710
+ "type": "string",
711
+ "minLength": 1,
712
+ "maxLength": 65536
713
+ },
714
+ "createdAt": {
715
+ "type": "string",
716
+ "format": "date-time"
717
+ }
718
+ }
719
+ }
720
+ },
721
+ "createdAt": {
722
+ "type": "string",
723
+ "format": "date-time"
724
+ },
725
+ "updatedAt": {
726
+ "type": "string",
727
+ "format": "date-time"
728
+ }
729
+ }
730
+ }
731
+ }
732
+ }
733
+ },
734
+ "sources": {
735
+ "type": "array",
736
+ "minItems": 1,
737
+ "maxItems": 256,
738
+ "items": {
739
+ "type": "object",
740
+ "additionalProperties": false,
741
+ "required": [
742
+ "id",
743
+ "kind",
744
+ "sha256"
745
+ ],
746
+ "properties": {
747
+ "id": {
748
+ "type": "string",
749
+ "minLength": 1,
750
+ "maxLength": 128,
751
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$"
752
+ },
753
+ "kind": {
754
+ "const": "html"
755
+ },
756
+ "sha256": {
757
+ "type": "string",
758
+ "pattern": "^[a-f0-9]{64}$"
759
+ }
760
+ }
761
+ }
762
+ }
763
+ },
764
+ "x-openplanr-contract": {
765
+ "id": "artifact-envelope",
766
+ "version": "1.16.0"
767
+ }
768
+ }
769
+ ]);