@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,308 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://openplanr.dev/schemas/v1.17.0/artifact-room-read-page-v3.schema.json",
4
+ "x-openplanr-contract": {
5
+ "id": "artifact-room-read-page-v3",
6
+ "version": "1.17.0"
7
+ },
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "version": {
12
+ "const": "v3"
13
+ },
14
+ "descriptor": {
15
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
16
+ "$id": "https://openplanr.dev/schemas/v1.17.0/artifact-room-descriptor-v3.schema.json",
17
+ "x-openplanr-contract": {
18
+ "id": "artifact-room-descriptor-v3",
19
+ "version": "1.17.0"
20
+ },
21
+ "type": "object",
22
+ "additionalProperties": false,
23
+ "properties": {
24
+ "schemaVersion": {
25
+ "const": "3.0.0"
26
+ },
27
+ "protocolVersion": {
28
+ "const": "3.0.0"
29
+ },
30
+ "roomId": {
31
+ "type": "string",
32
+ "pattern": "^[A-Za-z0-9_-]{16,128}$"
33
+ },
34
+ "reviewCommitment": {
35
+ "type": "string",
36
+ "pattern": "^[a-f0-9]{64}$"
37
+ },
38
+ "ownerKey": {
39
+ "type": "object",
40
+ "additionalProperties": false,
41
+ "properties": {
42
+ "algorithm": {
43
+ "const": "ECDSA-P256-SHA256"
44
+ },
45
+ "encoding": {
46
+ "const": "spki-base64url"
47
+ },
48
+ "keyId": {
49
+ "type": "string",
50
+ "pattern": "^sha256:[a-f0-9]{64}$"
51
+ },
52
+ "value": {
53
+ "type": "string",
54
+ "pattern": "^[A-Za-z0-9_-]+$",
55
+ "minLength": 86,
56
+ "maxLength": 342
57
+ }
58
+ },
59
+ "required": [
60
+ "algorithm",
61
+ "encoding",
62
+ "keyId",
63
+ "value"
64
+ ]
65
+ },
66
+ "capabilities": {
67
+ "type": "object",
68
+ "additionalProperties": false,
69
+ "properties": {
70
+ "read": {
71
+ "const": "room-read"
72
+ },
73
+ "reviewer": {
74
+ "const": "reviewer-write"
75
+ },
76
+ "owner": {
77
+ "const": "owner-verdict"
78
+ },
79
+ "management": {
80
+ "const": "room-management"
81
+ }
82
+ },
83
+ "required": [
84
+ "read",
85
+ "reviewer",
86
+ "owner",
87
+ "management"
88
+ ]
89
+ },
90
+ "createdAt": {
91
+ "type": "string",
92
+ "format": "date-time",
93
+ "maxLength": 40
94
+ }
95
+ },
96
+ "required": [
97
+ "schemaVersion",
98
+ "protocolVersion",
99
+ "roomId",
100
+ "reviewCommitment",
101
+ "ownerKey",
102
+ "capabilities",
103
+ "createdAt"
104
+ ]
105
+ },
106
+ "expiresAt": {
107
+ "type": "string",
108
+ "format": "date-time",
109
+ "maxLength": 40
110
+ },
111
+ "commentsEnabled": {
112
+ "type": "boolean"
113
+ },
114
+ "generation": {
115
+ "type": "integer",
116
+ "minimum": 0,
117
+ "maximum": 9007199254740991
118
+ },
119
+ "sequence": {
120
+ "type": "integer",
121
+ "minimum": 0,
122
+ "maximum": 10000
123
+ },
124
+ "head": {
125
+ "type": "string",
126
+ "pattern": "^sha256:[a-f0-9]{64}$"
127
+ },
128
+ "cursor": {
129
+ "type": "integer",
130
+ "minimum": 0,
131
+ "maximum": 10000
132
+ },
133
+ "eventBytes": {
134
+ "type": "integer",
135
+ "minimum": 0,
136
+ "maximum": 1048576
137
+ },
138
+ "events": {
139
+ "type": "array",
140
+ "maxItems": 100,
141
+ "items": {
142
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
143
+ "$id": "https://openplanr.dev/schemas/v1.17.0/artifact-room-event-v3.schema.json",
144
+ "x-openplanr-contract": {
145
+ "id": "artifact-room-event-v3",
146
+ "version": "1.17.0"
147
+ },
148
+ "type": "object",
149
+ "additionalProperties": false,
150
+ "properties": {
151
+ "schemaVersion": {
152
+ "const": "3.0.0"
153
+ },
154
+ "protocolVersion": {
155
+ "const": "3.0.0"
156
+ },
157
+ "roomId": {
158
+ "type": "string",
159
+ "pattern": "^[A-Za-z0-9_-]{16,128}$"
160
+ },
161
+ "eventId": {
162
+ "type": "string",
163
+ "pattern": "^[A-Za-z0-9._:-]{1,128}$"
164
+ },
165
+ "sequence": {
166
+ "type": "integer",
167
+ "minimum": 1,
168
+ "maximum": 9007199254740991
169
+ },
170
+ "predecessor": {
171
+ "type": "string",
172
+ "pattern": "^sha256:[a-f0-9]{64}$"
173
+ },
174
+ "kind": {
175
+ "enum": [
176
+ "pin",
177
+ "reply",
178
+ "pin_status",
179
+ "recommendation",
180
+ "owner_decision",
181
+ "review_snapshot"
182
+ ]
183
+ },
184
+ "reviewCommitment": {
185
+ "type": "string",
186
+ "pattern": "^[a-f0-9]{64}$"
187
+ },
188
+ "authorRole": {
189
+ "enum": [
190
+ "owner",
191
+ "reviewer"
192
+ ]
193
+ },
194
+ "authorKey": {
195
+ "type": "object",
196
+ "additionalProperties": false,
197
+ "properties": {
198
+ "algorithm": {
199
+ "const": "ECDSA-P256-SHA256"
200
+ },
201
+ "encoding": {
202
+ "const": "spki-base64url"
203
+ },
204
+ "keyId": {
205
+ "type": "string",
206
+ "pattern": "^sha256:[a-f0-9]{64}$"
207
+ },
208
+ "value": {
209
+ "type": "string",
210
+ "pattern": "^[A-Za-z0-9_-]+$",
211
+ "minLength": 86,
212
+ "maxLength": 342
213
+ }
214
+ },
215
+ "required": [
216
+ "algorithm",
217
+ "encoding",
218
+ "keyId",
219
+ "value"
220
+ ]
221
+ },
222
+ "capability": {
223
+ "enum": [
224
+ "reviewer-write",
225
+ "owner-verdict"
226
+ ]
227
+ },
228
+ "createdAt": {
229
+ "type": "string",
230
+ "format": "date-time",
231
+ "maxLength": 40
232
+ },
233
+ "iv": {
234
+ "type": "string",
235
+ "pattern": "^[A-Za-z0-9_-]{16}$"
236
+ },
237
+ "ciphertext": {
238
+ "type": "string",
239
+ "pattern": "^[A-Za-z0-9_-]+$",
240
+ "minLength": 22,
241
+ "maxLength": 349526
242
+ },
243
+ "ciphertextDigest": {
244
+ "type": "string",
245
+ "pattern": "^sha256:[a-f0-9]{64}$"
246
+ },
247
+ "signature": {
248
+ "type": "string",
249
+ "pattern": "^[A-Za-z0-9_-]{86}$"
250
+ }
251
+ },
252
+ "required": [
253
+ "schemaVersion",
254
+ "protocolVersion",
255
+ "roomId",
256
+ "eventId",
257
+ "sequence",
258
+ "predecessor",
259
+ "kind",
260
+ "reviewCommitment",
261
+ "authorRole",
262
+ "authorKey",
263
+ "capability",
264
+ "createdAt",
265
+ "iv",
266
+ "ciphertext",
267
+ "ciphertextDigest",
268
+ "signature"
269
+ ]
270
+ }
271
+ },
272
+ "nextCursor": {
273
+ "oneOf": [
274
+ {
275
+ "type": "integer",
276
+ "minimum": 1,
277
+ "maximum": 10000
278
+ },
279
+ {
280
+ "type": "null"
281
+ }
282
+ ]
283
+ },
284
+ "iv": {
285
+ "type": "string",
286
+ "pattern": "^[A-Za-z0-9_-]{16}$"
287
+ },
288
+ "ciphertext": {
289
+ "type": "string",
290
+ "pattern": "^[A-Za-z0-9_-]+$",
291
+ "minLength": 22,
292
+ "maxLength": 6990507
293
+ }
294
+ },
295
+ "required": [
296
+ "version",
297
+ "descriptor",
298
+ "expiresAt",
299
+ "commentsEnabled",
300
+ "generation",
301
+ "sequence",
302
+ "head",
303
+ "cursor",
304
+ "eventBytes",
305
+ "events",
306
+ "nextCursor"
307
+ ]
308
+ }
@@ -0,0 +1,128 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://openplanr.dev/schemas/v1.17.0/company-resource-manifest.schema.json",
4
+ "x-openplanr-contract": {
5
+ "id": "company-resource-manifest",
6
+ "version": "1.17.0"
7
+ },
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "schemaVersion": {
12
+ "const": "2.0.0"
13
+ },
14
+ "kind": {
15
+ "const": "openplanr-company-resource-manifest"
16
+ },
17
+ "organizationId": {
18
+ "type": "string",
19
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
20
+ },
21
+ "projectId": {
22
+ "type": "string",
23
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
24
+ },
25
+ "artifactId": {
26
+ "type": "string",
27
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
28
+ },
29
+ "revisionId": {
30
+ "type": "string",
31
+ "pattern": "^[A-Za-z0-9_-]{22,64}$"
32
+ },
33
+ "contentDigest": {
34
+ "type": "string",
35
+ "pattern": "^sha256:[a-f0-9]{64}$"
36
+ },
37
+ "contentType": {
38
+ "const": "application/json"
39
+ },
40
+ "byteLength": {
41
+ "type": "integer",
42
+ "minimum": 1,
43
+ "maximum": 134217728
44
+ },
45
+ "decodedBytes": {
46
+ "type": "integer",
47
+ "minimum": 1,
48
+ "maximum": 134217728
49
+ },
50
+ "catalog": {
51
+ "type": "object",
52
+ "additionalProperties": false,
53
+ "properties": {
54
+ "offset": {
55
+ "type": "integer",
56
+ "minimum": 0,
57
+ "maximum": 134217728
58
+ },
59
+ "encodedBytes": {
60
+ "type": "integer",
61
+ "minimum": 1,
62
+ "maximum": 8388608
63
+ },
64
+ "decodedBytes": {
65
+ "type": "integer",
66
+ "minimum": 1,
67
+ "maximum": 8388608
68
+ },
69
+ "codec": {
70
+ "enum": [
71
+ "identity",
72
+ "deflate-raw"
73
+ ]
74
+ }
75
+ },
76
+ "required": [
77
+ "offset",
78
+ "encodedBytes",
79
+ "decodedBytes",
80
+ "codec"
81
+ ]
82
+ },
83
+ "chunks": {
84
+ "type": "array",
85
+ "minItems": 1,
86
+ "maxItems": 128,
87
+ "items": {
88
+ "type": "object",
89
+ "additionalProperties": false,
90
+ "properties": {
91
+ "index": {
92
+ "type": "integer",
93
+ "minimum": 0,
94
+ "maximum": 127
95
+ },
96
+ "byteLength": {
97
+ "type": "integer",
98
+ "minimum": 1,
99
+ "maximum": 1048576
100
+ },
101
+ "sha256": {
102
+ "type": "string",
103
+ "pattern": "^[a-f0-9]{64}$"
104
+ }
105
+ },
106
+ "required": [
107
+ "index",
108
+ "byteLength",
109
+ "sha256"
110
+ ]
111
+ }
112
+ }
113
+ },
114
+ "required": [
115
+ "schemaVersion",
116
+ "kind",
117
+ "organizationId",
118
+ "projectId",
119
+ "artifactId",
120
+ "revisionId",
121
+ "contentDigest",
122
+ "contentType",
123
+ "byteLength",
124
+ "decodedBytes",
125
+ "catalog",
126
+ "chunks"
127
+ ]
128
+ }
@@ -0,0 +1,164 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://openplanr.dev/schemas/v1.17.0/company-resource-upload-prepare.schema.json",
4
+ "x-openplanr-contract": {
5
+ "id": "company-resource-upload-prepare",
6
+ "version": "1.17.0"
7
+ },
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "schemaVersion": {
12
+ "const": "2.0.0"
13
+ },
14
+ "operationId": {
15
+ "type": "string",
16
+ "pattern": "^[A-Za-z0-9_-]{22,64}$"
17
+ },
18
+ "baseRevisionId": {
19
+ "oneOf": [
20
+ {
21
+ "type": "string",
22
+ "pattern": "^[A-Za-z0-9_-]{22,64}$"
23
+ },
24
+ {
25
+ "type": "null"
26
+ }
27
+ ]
28
+ },
29
+ "manifest": {
30
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
31
+ "$id": "https://openplanr.dev/schemas/v1.17.0/company-resource-manifest.schema.json",
32
+ "x-openplanr-contract": {
33
+ "id": "company-resource-manifest",
34
+ "version": "1.17.0"
35
+ },
36
+ "type": "object",
37
+ "additionalProperties": false,
38
+ "properties": {
39
+ "schemaVersion": {
40
+ "const": "2.0.0"
41
+ },
42
+ "kind": {
43
+ "const": "openplanr-company-resource-manifest"
44
+ },
45
+ "organizationId": {
46
+ "type": "string",
47
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
48
+ },
49
+ "projectId": {
50
+ "type": "string",
51
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
52
+ },
53
+ "artifactId": {
54
+ "type": "string",
55
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
56
+ },
57
+ "revisionId": {
58
+ "type": "string",
59
+ "pattern": "^[A-Za-z0-9_-]{22,64}$"
60
+ },
61
+ "contentDigest": {
62
+ "type": "string",
63
+ "pattern": "^sha256:[a-f0-9]{64}$"
64
+ },
65
+ "contentType": {
66
+ "const": "application/json"
67
+ },
68
+ "byteLength": {
69
+ "type": "integer",
70
+ "minimum": 1,
71
+ "maximum": 134217728
72
+ },
73
+ "decodedBytes": {
74
+ "type": "integer",
75
+ "minimum": 1,
76
+ "maximum": 134217728
77
+ },
78
+ "catalog": {
79
+ "type": "object",
80
+ "additionalProperties": false,
81
+ "properties": {
82
+ "offset": {
83
+ "type": "integer",
84
+ "minimum": 0,
85
+ "maximum": 134217728
86
+ },
87
+ "encodedBytes": {
88
+ "type": "integer",
89
+ "minimum": 1,
90
+ "maximum": 8388608
91
+ },
92
+ "decodedBytes": {
93
+ "type": "integer",
94
+ "minimum": 1,
95
+ "maximum": 8388608
96
+ },
97
+ "codec": {
98
+ "enum": [
99
+ "identity",
100
+ "deflate-raw"
101
+ ]
102
+ }
103
+ },
104
+ "required": [
105
+ "offset",
106
+ "encodedBytes",
107
+ "decodedBytes",
108
+ "codec"
109
+ ]
110
+ },
111
+ "chunks": {
112
+ "type": "array",
113
+ "minItems": 1,
114
+ "maxItems": 128,
115
+ "items": {
116
+ "type": "object",
117
+ "additionalProperties": false,
118
+ "properties": {
119
+ "index": {
120
+ "type": "integer",
121
+ "minimum": 0,
122
+ "maximum": 127
123
+ },
124
+ "byteLength": {
125
+ "type": "integer",
126
+ "minimum": 1,
127
+ "maximum": 1048576
128
+ },
129
+ "sha256": {
130
+ "type": "string",
131
+ "pattern": "^[a-f0-9]{64}$"
132
+ }
133
+ },
134
+ "required": [
135
+ "index",
136
+ "byteLength",
137
+ "sha256"
138
+ ]
139
+ }
140
+ }
141
+ },
142
+ "required": [
143
+ "schemaVersion",
144
+ "kind",
145
+ "organizationId",
146
+ "projectId",
147
+ "artifactId",
148
+ "revisionId",
149
+ "contentDigest",
150
+ "contentType",
151
+ "byteLength",
152
+ "decodedBytes",
153
+ "catalog",
154
+ "chunks"
155
+ ]
156
+ }
157
+ },
158
+ "required": [
159
+ "schemaVersion",
160
+ "operationId",
161
+ "baseRevisionId",
162
+ "manifest"
163
+ ]
164
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://openplanr.dev/schemas/v1.17.0/company-resource-upload-receipt.schema.json",
4
+ "x-openplanr-contract": {
5
+ "id": "company-resource-upload-receipt",
6
+ "version": "1.17.0"
7
+ },
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "schemaVersion": {
12
+ "const": "2.0.0"
13
+ },
14
+ "organizationId": {
15
+ "type": "string",
16
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
17
+ },
18
+ "projectId": {
19
+ "type": "string",
20
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
21
+ },
22
+ "artifactId": {
23
+ "type": "string",
24
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
25
+ },
26
+ "operationId": {
27
+ "type": "string",
28
+ "pattern": "^[A-Za-z0-9_-]{22,64}$"
29
+ },
30
+ "revisionId": {
31
+ "type": "string",
32
+ "pattern": "^[A-Za-z0-9_-]{22,64}$"
33
+ },
34
+ "manifestSha256": {
35
+ "type": "string",
36
+ "pattern": "^[a-f0-9]{64}$"
37
+ },
38
+ "contentDigest": {
39
+ "type": "string",
40
+ "pattern": "^sha256:[a-f0-9]{64}$"
41
+ },
42
+ "status": {
43
+ "const": "committed"
44
+ },
45
+ "committedAt": {
46
+ "type": "string",
47
+ "format": "date-time",
48
+ "maxLength": 40
49
+ }
50
+ },
51
+ "required": [
52
+ "schemaVersion",
53
+ "organizationId",
54
+ "projectId",
55
+ "artifactId",
56
+ "operationId",
57
+ "revisionId",
58
+ "manifestSha256",
59
+ "contentDigest",
60
+ "status",
61
+ "committedAt"
62
+ ]
63
+ }