@oira-oira/pi 0.0.0-stage → 0.13.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.
- package/README.md +30 -2
- package/mcp.json +8 -0
- package/package.json +17 -4
- package/skills/oira-work-reporting/SKILL.md +60 -0
- package/skills/oira-work-reporting/references/examples/correction.json +22 -0
- package/skills/oira-work-reporting/references/examples/declare-with-deferral.json +39 -0
- package/skills/oira-work-reporting/references/examples/defer-whole-task.json +19 -0
- package/skills/oira-work-reporting/references/examples/history-import.json +38 -0
- package/skills/oira-work-reporting/references/examples/milestone-handoff.json +24 -0
- package/skills/oira-work-reporting/references/examples/parent-with-seven-deferrals.json +212 -0
- package/skills/oira-work-reporting/references/examples/related-work.json +35 -0
- package/skills/oira-work-reporting/references/examples/technical-alignment.json +31 -0
- package/skills/oira-work-reporting/references/examples/update-progress.json +24 -0
- package/skills/oira-work-reporting/references/extraction-guide.md +216 -0
- package/skills/oira-work-reporting/references/oira_work_update.v2.schema.json +1100 -0
- package/skills/oira-work-reporting/scripts/prepare_work_update.py +1482 -0
|
@@ -0,0 +1,1100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$defs": {
|
|
3
|
+
"VersionRefV2": {
|
|
4
|
+
"additionalProperties": false,
|
|
5
|
+
"properties": {
|
|
6
|
+
"ref": {
|
|
7
|
+
"description": "No whitespace.",
|
|
8
|
+
"maxLength": 255,
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"title": "Ref",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"ref_kind": {
|
|
14
|
+
"enum": [
|
|
15
|
+
"git_commit",
|
|
16
|
+
"pull_request",
|
|
17
|
+
"branch",
|
|
18
|
+
"model",
|
|
19
|
+
"prompt",
|
|
20
|
+
"retrieval_index",
|
|
21
|
+
"dataset",
|
|
22
|
+
"schema",
|
|
23
|
+
"mobile_build",
|
|
24
|
+
"api",
|
|
25
|
+
"sdk",
|
|
26
|
+
"mcp_server",
|
|
27
|
+
"artifact_version"
|
|
28
|
+
],
|
|
29
|
+
"title": "Ref Kind",
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"ref_kind",
|
|
35
|
+
"ref"
|
|
36
|
+
],
|
|
37
|
+
"title": "VersionRefV2",
|
|
38
|
+
"type": "object"
|
|
39
|
+
},
|
|
40
|
+
"WorkCodeV2": {
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"description": "Where the work lives in git. commits are ones this work created.",
|
|
43
|
+
"properties": {
|
|
44
|
+
"branch": {
|
|
45
|
+
"anyOf": [
|
|
46
|
+
{
|
|
47
|
+
"maxLength": 200,
|
|
48
|
+
"minLength": 1,
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "null"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"default": null,
|
|
56
|
+
"title": "Branch"
|
|
57
|
+
},
|
|
58
|
+
"commits": {
|
|
59
|
+
"anyOf": [
|
|
60
|
+
{
|
|
61
|
+
"items": {
|
|
62
|
+
"maxLength": 40,
|
|
63
|
+
"minLength": 7,
|
|
64
|
+
"pattern": "^[0-9a-f]{7,40}$",
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"maxItems": 20,
|
|
68
|
+
"type": "array"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "null"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"default": null,
|
|
75
|
+
"title": "Commits"
|
|
76
|
+
},
|
|
77
|
+
"pull_requests": {
|
|
78
|
+
"anyOf": [
|
|
79
|
+
{
|
|
80
|
+
"items": {
|
|
81
|
+
"maximum": 99999999,
|
|
82
|
+
"minimum": 1,
|
|
83
|
+
"type": "integer"
|
|
84
|
+
},
|
|
85
|
+
"maxItems": 10,
|
|
86
|
+
"type": "array"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "null"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"default": null,
|
|
93
|
+
"title": "Pull Requests"
|
|
94
|
+
},
|
|
95
|
+
"repository_url": {
|
|
96
|
+
"anyOf": [
|
|
97
|
+
{
|
|
98
|
+
"description": "Canonical remote without credentials, e.g. github.com:org/repo.git or https://github.com/org/repo.",
|
|
99
|
+
"maxLength": 300,
|
|
100
|
+
"minLength": 1,
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "null"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"default": null,
|
|
108
|
+
"title": "Repository Url"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"title": "WorkCodeV2",
|
|
112
|
+
"type": "object"
|
|
113
|
+
},
|
|
114
|
+
"WorkContinuityV2": {
|
|
115
|
+
"additionalProperties": false,
|
|
116
|
+
"description": "How this work relates to earlier work, by returned handle or work_ref.",
|
|
117
|
+
"properties": {
|
|
118
|
+
"relationship": {
|
|
119
|
+
"enum": [
|
|
120
|
+
"continues_prior",
|
|
121
|
+
"returns_to_prior",
|
|
122
|
+
"new_work",
|
|
123
|
+
"corrects_prior",
|
|
124
|
+
"reviews_completed",
|
|
125
|
+
"resumes_completed",
|
|
126
|
+
"follow_up"
|
|
127
|
+
],
|
|
128
|
+
"title": "Relationship",
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
"supporting_fact_refs": {
|
|
132
|
+
"description": "fact_ref labels of facts in this same work record.",
|
|
133
|
+
"items": {
|
|
134
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
135
|
+
"maxLength": 64,
|
|
136
|
+
"minLength": 1,
|
|
137
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
"maxItems": 8,
|
|
141
|
+
"minItems": 1,
|
|
142
|
+
"title": "Supporting Fact Refs",
|
|
143
|
+
"type": "array"
|
|
144
|
+
},
|
|
145
|
+
"target": {
|
|
146
|
+
"anyOf": [
|
|
147
|
+
{
|
|
148
|
+
"$ref": "#/$defs/WorkTargetV2"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"type": "null"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"default": null
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": [
|
|
158
|
+
"relationship",
|
|
159
|
+
"supporting_fact_refs"
|
|
160
|
+
],
|
|
161
|
+
"title": "WorkContinuityV2",
|
|
162
|
+
"type": "object"
|
|
163
|
+
},
|
|
164
|
+
"WorkDeferralV2": {
|
|
165
|
+
"additionalProperties": false,
|
|
166
|
+
"description": "Why this outcome was explicitly postponed. No date means unscheduled.",
|
|
167
|
+
"properties": {
|
|
168
|
+
"origin_work_ref": {
|
|
169
|
+
"anyOf": [
|
|
170
|
+
{
|
|
171
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
172
|
+
"maxLength": 64,
|
|
173
|
+
"minLength": 1,
|
|
174
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
175
|
+
"type": "string"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "null"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"default": null,
|
|
182
|
+
"title": "Origin Work Ref"
|
|
183
|
+
},
|
|
184
|
+
"reason": {
|
|
185
|
+
"maxLength": 600,
|
|
186
|
+
"minLength": 1,
|
|
187
|
+
"title": "Reason",
|
|
188
|
+
"type": "string",
|
|
189
|
+
"x-oira-max-utf8-bytes": 600
|
|
190
|
+
},
|
|
191
|
+
"resume_after": {
|
|
192
|
+
"anyOf": [
|
|
193
|
+
{
|
|
194
|
+
"description": "Timezone-aware RFC 3339, for example 2026-10-11T09:30:00Z.",
|
|
195
|
+
"maxLength": 35,
|
|
196
|
+
"minLength": 20,
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "null"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"default": null,
|
|
204
|
+
"title": "Resume After"
|
|
205
|
+
},
|
|
206
|
+
"resume_condition": {
|
|
207
|
+
"anyOf": [
|
|
208
|
+
{
|
|
209
|
+
"maxLength": 600,
|
|
210
|
+
"minLength": 1,
|
|
211
|
+
"type": "string",
|
|
212
|
+
"x-oira-max-utf8-bytes": 600
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type": "null"
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"default": null,
|
|
219
|
+
"title": "Resume Condition"
|
|
220
|
+
},
|
|
221
|
+
"supporting_fact_refs": {
|
|
222
|
+
"description": "fact_ref labels of facts in this same work record.",
|
|
223
|
+
"items": {
|
|
224
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
225
|
+
"maxLength": 64,
|
|
226
|
+
"minLength": 1,
|
|
227
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
"maxItems": 8,
|
|
231
|
+
"minItems": 1,
|
|
232
|
+
"title": "Supporting Fact Refs",
|
|
233
|
+
"type": "array"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"required": [
|
|
237
|
+
"reason",
|
|
238
|
+
"supporting_fact_refs"
|
|
239
|
+
],
|
|
240
|
+
"title": "WorkDeferralV2",
|
|
241
|
+
"type": "object"
|
|
242
|
+
},
|
|
243
|
+
"WorkDetailV2": {
|
|
244
|
+
"additionalProperties": false,
|
|
245
|
+
"description": "A cited technical detail: interface, data meaning, timing, path, version.",
|
|
246
|
+
"properties": {
|
|
247
|
+
"description": {
|
|
248
|
+
"maxLength": 600,
|
|
249
|
+
"minLength": 1,
|
|
250
|
+
"title": "Description",
|
|
251
|
+
"type": "string",
|
|
252
|
+
"x-oira-max-utf8-bytes": 600
|
|
253
|
+
},
|
|
254
|
+
"detail_ref": {
|
|
255
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
256
|
+
"maxLength": 64,
|
|
257
|
+
"minLength": 1,
|
|
258
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
259
|
+
"title": "Detail Ref",
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
"environment": {
|
|
263
|
+
"anyOf": [
|
|
264
|
+
{
|
|
265
|
+
"maxLength": 120,
|
|
266
|
+
"minLength": 1,
|
|
267
|
+
"type": "string"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"type": "null"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"default": null,
|
|
274
|
+
"title": "Environment"
|
|
275
|
+
},
|
|
276
|
+
"function_labels": {
|
|
277
|
+
"anyOf": [
|
|
278
|
+
{
|
|
279
|
+
"items": {
|
|
280
|
+
"maxLength": 120,
|
|
281
|
+
"minLength": 1,
|
|
282
|
+
"type": "string"
|
|
283
|
+
},
|
|
284
|
+
"maxItems": 4,
|
|
285
|
+
"type": "array"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "null"
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
"default": null,
|
|
292
|
+
"title": "Function Labels"
|
|
293
|
+
},
|
|
294
|
+
"kind": {
|
|
295
|
+
"enum": [
|
|
296
|
+
"surface",
|
|
297
|
+
"input_output",
|
|
298
|
+
"assumption",
|
|
299
|
+
"behavior",
|
|
300
|
+
"transform",
|
|
301
|
+
"verification",
|
|
302
|
+
"decision",
|
|
303
|
+
"open_point",
|
|
304
|
+
"contribution"
|
|
305
|
+
],
|
|
306
|
+
"title": "Kind",
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
"subject_labels": {
|
|
310
|
+
"anyOf": [
|
|
311
|
+
{
|
|
312
|
+
"items": {
|
|
313
|
+
"maxLength": 160,
|
|
314
|
+
"minLength": 1,
|
|
315
|
+
"type": "string"
|
|
316
|
+
},
|
|
317
|
+
"maxItems": 6,
|
|
318
|
+
"type": "array"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"type": "null"
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
"default": null,
|
|
325
|
+
"title": "Subject Labels"
|
|
326
|
+
},
|
|
327
|
+
"supporting_fact_refs": {
|
|
328
|
+
"description": "fact_ref labels of facts in this same work record.",
|
|
329
|
+
"items": {
|
|
330
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
331
|
+
"maxLength": 64,
|
|
332
|
+
"minLength": 1,
|
|
333
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
334
|
+
"type": "string"
|
|
335
|
+
},
|
|
336
|
+
"maxItems": 8,
|
|
337
|
+
"minItems": 1,
|
|
338
|
+
"title": "Supporting Fact Refs",
|
|
339
|
+
"type": "array"
|
|
340
|
+
},
|
|
341
|
+
"temporal_status": {
|
|
342
|
+
"enum": [
|
|
343
|
+
"proposed",
|
|
344
|
+
"current",
|
|
345
|
+
"superseded",
|
|
346
|
+
"unknown"
|
|
347
|
+
],
|
|
348
|
+
"title": "Temporal Status",
|
|
349
|
+
"type": "string"
|
|
350
|
+
},
|
|
351
|
+
"uncertainty": {
|
|
352
|
+
"anyOf": [
|
|
353
|
+
{
|
|
354
|
+
"maxLength": 600,
|
|
355
|
+
"minLength": 1,
|
|
356
|
+
"type": "string",
|
|
357
|
+
"x-oira-max-utf8-bytes": 600
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"type": "null"
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"default": null,
|
|
364
|
+
"title": "Uncertainty"
|
|
365
|
+
},
|
|
366
|
+
"version_refs": {
|
|
367
|
+
"anyOf": [
|
|
368
|
+
{
|
|
369
|
+
"items": {
|
|
370
|
+
"$ref": "#/$defs/VersionRefV2"
|
|
371
|
+
},
|
|
372
|
+
"maxItems": 6,
|
|
373
|
+
"type": "array"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"type": "null"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"default": null,
|
|
380
|
+
"title": "Version Refs"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"required": [
|
|
384
|
+
"detail_ref",
|
|
385
|
+
"kind",
|
|
386
|
+
"description",
|
|
387
|
+
"temporal_status",
|
|
388
|
+
"supporting_fact_refs"
|
|
389
|
+
],
|
|
390
|
+
"title": "WorkDetailV2",
|
|
391
|
+
"type": "object"
|
|
392
|
+
},
|
|
393
|
+
"WorkFactV2": {
|
|
394
|
+
"additionalProperties": false,
|
|
395
|
+
"description": "One new, material fact about this work, in the agent's own words.",
|
|
396
|
+
"properties": {
|
|
397
|
+
"basis": {
|
|
398
|
+
"description": "agent_report: what you did or observed; user_statement_paraphrase: what the user said; agent_inference: your own conclusion; relayed_report: repeated from another agent's handoff or report, not observed by you (never independent support).",
|
|
399
|
+
"enum": [
|
|
400
|
+
"agent_report",
|
|
401
|
+
"user_statement_paraphrase",
|
|
402
|
+
"agent_inference",
|
|
403
|
+
"relayed_report"
|
|
404
|
+
],
|
|
405
|
+
"title": "Basis",
|
|
406
|
+
"type": "string"
|
|
407
|
+
},
|
|
408
|
+
"confidence": {
|
|
409
|
+
"description": "The reporting agent's own estimate from 0 to 1 with at most four decimals, for example \"0.8\". Not a measurement or a proof.",
|
|
410
|
+
"maxLength": 6,
|
|
411
|
+
"minLength": 1,
|
|
412
|
+
"pattern": "^(?:0(?:\\.[0-9]{1,4})?|1(?:\\.0{1,4})?)$",
|
|
413
|
+
"title": "Confidence",
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"fact_ref": {
|
|
417
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
418
|
+
"maxLength": 64,
|
|
419
|
+
"minLength": 1,
|
|
420
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
421
|
+
"title": "Fact Ref",
|
|
422
|
+
"type": "string"
|
|
423
|
+
},
|
|
424
|
+
"kind": {
|
|
425
|
+
"enum": [
|
|
426
|
+
"decision",
|
|
427
|
+
"alternative",
|
|
428
|
+
"attempted_change",
|
|
429
|
+
"implemented_change",
|
|
430
|
+
"commitment",
|
|
431
|
+
"assignment",
|
|
432
|
+
"explicit_deferral",
|
|
433
|
+
"verification",
|
|
434
|
+
"blocker",
|
|
435
|
+
"question",
|
|
436
|
+
"next_step",
|
|
437
|
+
"limitation"
|
|
438
|
+
],
|
|
439
|
+
"title": "Kind",
|
|
440
|
+
"type": "string"
|
|
441
|
+
},
|
|
442
|
+
"occurred_at": {
|
|
443
|
+
"anyOf": [
|
|
444
|
+
{
|
|
445
|
+
"description": "Timezone-aware RFC 3339, for example 2026-10-11T09:30:00Z.",
|
|
446
|
+
"maxLength": 35,
|
|
447
|
+
"minLength": 20,
|
|
448
|
+
"type": "string"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"type": "null"
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"default": null,
|
|
455
|
+
"title": "Occurred At"
|
|
456
|
+
},
|
|
457
|
+
"repeats": {
|
|
458
|
+
"anyOf": [
|
|
459
|
+
{
|
|
460
|
+
"maxLength": 94,
|
|
461
|
+
"minLength": 31,
|
|
462
|
+
"pattern": "^uh_[a-z2-7]{26}\\.[a-z][a-z0-9_-]{0,63}$",
|
|
463
|
+
"type": "string"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"type": "null"
|
|
467
|
+
}
|
|
468
|
+
],
|
|
469
|
+
"default": null,
|
|
470
|
+
"description": "A fact handle Oira returned for an earlier report of this work that this fact repeats, for example a fact a past session already sent live. A repeated fact is never independent support.",
|
|
471
|
+
"title": "Repeats"
|
|
472
|
+
},
|
|
473
|
+
"statement": {
|
|
474
|
+
"description": "One trimmed line. A work fact, never a log, quote or transcript.",
|
|
475
|
+
"maxLength": 1200,
|
|
476
|
+
"minLength": 1,
|
|
477
|
+
"title": "Statement",
|
|
478
|
+
"type": "string",
|
|
479
|
+
"x-oira-max-utf8-bytes": 1200
|
|
480
|
+
},
|
|
481
|
+
"status": {
|
|
482
|
+
"description": "Allowed per kind: decision proposed|accepted; alternative proposed|unresolved; attempted_change attempted; implemented_change accepted|tested|committed|merged|released; commitment, assignment and next_step proposed|accepted; explicit_deferral deferred; verification tested|unresolved|unknown; blocker and question unresolved; limitation unknown. agent_inference never asserts tested, committed, merged or released.",
|
|
483
|
+
"enum": [
|
|
484
|
+
"proposed",
|
|
485
|
+
"accepted",
|
|
486
|
+
"attempted",
|
|
487
|
+
"tested",
|
|
488
|
+
"committed",
|
|
489
|
+
"merged",
|
|
490
|
+
"released",
|
|
491
|
+
"unresolved",
|
|
492
|
+
"deferred",
|
|
493
|
+
"unknown"
|
|
494
|
+
],
|
|
495
|
+
"title": "Status",
|
|
496
|
+
"type": "string"
|
|
497
|
+
},
|
|
498
|
+
"uncertainty": {
|
|
499
|
+
"anyOf": [
|
|
500
|
+
{
|
|
501
|
+
"maxLength": 600,
|
|
502
|
+
"minLength": 1,
|
|
503
|
+
"type": "string",
|
|
504
|
+
"x-oira-max-utf8-bytes": 600
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"type": "null"
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"default": null,
|
|
511
|
+
"title": "Uncertainty"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"required": [
|
|
515
|
+
"fact_ref",
|
|
516
|
+
"kind",
|
|
517
|
+
"status",
|
|
518
|
+
"statement",
|
|
519
|
+
"basis",
|
|
520
|
+
"confidence"
|
|
521
|
+
],
|
|
522
|
+
"title": "WorkFactV2",
|
|
523
|
+
"type": "object"
|
|
524
|
+
},
|
|
525
|
+
"WorkMentionV2": {
|
|
526
|
+
"additionalProperties": false,
|
|
527
|
+
"description": "A relevant entity by name only; never membership or a recipient.",
|
|
528
|
+
"properties": {
|
|
529
|
+
"entity_kind": {
|
|
530
|
+
"enum": [
|
|
531
|
+
"person",
|
|
532
|
+
"team_agent",
|
|
533
|
+
"function",
|
|
534
|
+
"project",
|
|
535
|
+
"repository",
|
|
536
|
+
"file",
|
|
537
|
+
"symbol",
|
|
538
|
+
"task",
|
|
539
|
+
"discussion",
|
|
540
|
+
"artifact"
|
|
541
|
+
],
|
|
542
|
+
"title": "Entity Kind",
|
|
543
|
+
"type": "string"
|
|
544
|
+
},
|
|
545
|
+
"mention_ref": {
|
|
546
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
547
|
+
"maxLength": 64,
|
|
548
|
+
"minLength": 1,
|
|
549
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
550
|
+
"title": "Mention Ref",
|
|
551
|
+
"type": "string"
|
|
552
|
+
},
|
|
553
|
+
"safe_label": {
|
|
554
|
+
"maxLength": 160,
|
|
555
|
+
"minLength": 1,
|
|
556
|
+
"title": "Safe Label",
|
|
557
|
+
"type": "string",
|
|
558
|
+
"x-oira-max-utf8-bytes": 160
|
|
559
|
+
},
|
|
560
|
+
"supporting_fact_refs": {
|
|
561
|
+
"description": "fact_ref labels of facts in this same work record.",
|
|
562
|
+
"items": {
|
|
563
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
564
|
+
"maxLength": 64,
|
|
565
|
+
"minLength": 1,
|
|
566
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
567
|
+
"type": "string"
|
|
568
|
+
},
|
|
569
|
+
"maxItems": 8,
|
|
570
|
+
"minItems": 1,
|
|
571
|
+
"title": "Supporting Fact Refs",
|
|
572
|
+
"type": "array"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"required": [
|
|
576
|
+
"mention_ref",
|
|
577
|
+
"entity_kind",
|
|
578
|
+
"safe_label",
|
|
579
|
+
"supporting_fact_refs"
|
|
580
|
+
],
|
|
581
|
+
"title": "WorkMentionV2",
|
|
582
|
+
"type": "object"
|
|
583
|
+
},
|
|
584
|
+
"WorkRecordV2": {
|
|
585
|
+
"additionalProperties": false,
|
|
586
|
+
"description": "One distinct piece of work: declared once, then updated with new facts.",
|
|
587
|
+
"properties": {
|
|
588
|
+
"activity": {
|
|
589
|
+
"anyOf": [
|
|
590
|
+
{
|
|
591
|
+
"enum": [
|
|
592
|
+
"planning",
|
|
593
|
+
"execution",
|
|
594
|
+
"validation",
|
|
595
|
+
"mixed"
|
|
596
|
+
],
|
|
597
|
+
"type": "string"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"type": "null"
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
"default": null,
|
|
604
|
+
"title": "Activity"
|
|
605
|
+
},
|
|
606
|
+
"boundaries": {
|
|
607
|
+
"anyOf": [
|
|
608
|
+
{
|
|
609
|
+
"items": {
|
|
610
|
+
"maxLength": 600,
|
|
611
|
+
"minLength": 1,
|
|
612
|
+
"type": "string",
|
|
613
|
+
"x-oira-max-utf8-bytes": 600
|
|
614
|
+
},
|
|
615
|
+
"maxItems": 6,
|
|
616
|
+
"type": "array"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"type": "null"
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
"default": null,
|
|
623
|
+
"description": "Scope and non-goal statements. On update, a supplied list replaces the earlier one; omit it to keep the earlier one.",
|
|
624
|
+
"title": "Boundaries"
|
|
625
|
+
},
|
|
626
|
+
"code": {
|
|
627
|
+
"anyOf": [
|
|
628
|
+
{
|
|
629
|
+
"$ref": "#/$defs/WorkCodeV2"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"type": "null"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"default": null
|
|
636
|
+
},
|
|
637
|
+
"continuity": {
|
|
638
|
+
"anyOf": [
|
|
639
|
+
{
|
|
640
|
+
"$ref": "#/$defs/WorkContinuityV2"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"type": "null"
|
|
644
|
+
}
|
|
645
|
+
],
|
|
646
|
+
"default": null
|
|
647
|
+
},
|
|
648
|
+
"deferral": {
|
|
649
|
+
"anyOf": [
|
|
650
|
+
{
|
|
651
|
+
"$ref": "#/$defs/WorkDeferralV2"
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"type": "null"
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"default": null
|
|
658
|
+
},
|
|
659
|
+
"details": {
|
|
660
|
+
"anyOf": [
|
|
661
|
+
{
|
|
662
|
+
"items": {
|
|
663
|
+
"$ref": "#/$defs/WorkDetailV2"
|
|
664
|
+
},
|
|
665
|
+
"maxItems": 12,
|
|
666
|
+
"type": "array"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"type": "null"
|
|
670
|
+
}
|
|
671
|
+
],
|
|
672
|
+
"default": null,
|
|
673
|
+
"title": "Details"
|
|
674
|
+
},
|
|
675
|
+
"facts": {
|
|
676
|
+
"items": {
|
|
677
|
+
"$ref": "#/$defs/WorkFactV2"
|
|
678
|
+
},
|
|
679
|
+
"maxItems": 16,
|
|
680
|
+
"minItems": 1,
|
|
681
|
+
"title": "Facts",
|
|
682
|
+
"type": "array"
|
|
683
|
+
},
|
|
684
|
+
"intended_outcome": {
|
|
685
|
+
"anyOf": [
|
|
686
|
+
{
|
|
687
|
+
"description": "The specific desired result. Required on declare.",
|
|
688
|
+
"maxLength": 1200,
|
|
689
|
+
"minLength": 1,
|
|
690
|
+
"type": "string",
|
|
691
|
+
"x-oira-max-utf8-bytes": 1200
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"type": "null"
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
"default": null,
|
|
698
|
+
"title": "Intended Outcome"
|
|
699
|
+
},
|
|
700
|
+
"mentions": {
|
|
701
|
+
"anyOf": [
|
|
702
|
+
{
|
|
703
|
+
"items": {
|
|
704
|
+
"$ref": "#/$defs/WorkMentionV2"
|
|
705
|
+
},
|
|
706
|
+
"maxItems": 16,
|
|
707
|
+
"type": "array"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"type": "null"
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"default": null,
|
|
714
|
+
"title": "Mentions"
|
|
715
|
+
},
|
|
716
|
+
"operation": {
|
|
717
|
+
"enum": [
|
|
718
|
+
"declare",
|
|
719
|
+
"update"
|
|
720
|
+
],
|
|
721
|
+
"title": "Operation",
|
|
722
|
+
"type": "string"
|
|
723
|
+
},
|
|
724
|
+
"references": {
|
|
725
|
+
"anyOf": [
|
|
726
|
+
{
|
|
727
|
+
"items": {
|
|
728
|
+
"$ref": "#/$defs/WorkReferenceV2"
|
|
729
|
+
},
|
|
730
|
+
"maxItems": 12,
|
|
731
|
+
"type": "array"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"type": "null"
|
|
735
|
+
}
|
|
736
|
+
],
|
|
737
|
+
"default": null,
|
|
738
|
+
"title": "References"
|
|
739
|
+
},
|
|
740
|
+
"relation_hints": {
|
|
741
|
+
"anyOf": [
|
|
742
|
+
{
|
|
743
|
+
"items": {
|
|
744
|
+
"$ref": "#/$defs/WorkRelationHintV2"
|
|
745
|
+
},
|
|
746
|
+
"maxItems": 12,
|
|
747
|
+
"type": "array"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"type": "null"
|
|
751
|
+
}
|
|
752
|
+
],
|
|
753
|
+
"default": null,
|
|
754
|
+
"title": "Relation Hints"
|
|
755
|
+
},
|
|
756
|
+
"revisions": {
|
|
757
|
+
"anyOf": [
|
|
758
|
+
{
|
|
759
|
+
"items": {
|
|
760
|
+
"$ref": "#/$defs/WorkRevisionV2"
|
|
761
|
+
},
|
|
762
|
+
"maxItems": 8,
|
|
763
|
+
"type": "array"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"type": "null"
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"default": null,
|
|
770
|
+
"title": "Revisions"
|
|
771
|
+
},
|
|
772
|
+
"title": {
|
|
773
|
+
"anyOf": [
|
|
774
|
+
{
|
|
775
|
+
"description": "Required on declare.",
|
|
776
|
+
"maxLength": 160,
|
|
777
|
+
"minLength": 1,
|
|
778
|
+
"type": "string"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"type": "null"
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"default": null,
|
|
785
|
+
"title": "Title"
|
|
786
|
+
},
|
|
787
|
+
"work_ref": {
|
|
788
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
789
|
+
"maxLength": 64,
|
|
790
|
+
"minLength": 1,
|
|
791
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
792
|
+
"title": "Work Ref",
|
|
793
|
+
"type": "string"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"required": [
|
|
797
|
+
"work_ref",
|
|
798
|
+
"operation",
|
|
799
|
+
"facts"
|
|
800
|
+
],
|
|
801
|
+
"title": "WorkRecordV2",
|
|
802
|
+
"type": "object"
|
|
803
|
+
},
|
|
804
|
+
"WorkReferenceV2": {
|
|
805
|
+
"additionalProperties": false,
|
|
806
|
+
"properties": {
|
|
807
|
+
"reference_kind": {
|
|
808
|
+
"enum": [
|
|
809
|
+
"work_item",
|
|
810
|
+
"artifact",
|
|
811
|
+
"discussion",
|
|
812
|
+
"external_task",
|
|
813
|
+
"pull_request",
|
|
814
|
+
"issue",
|
|
815
|
+
"repository",
|
|
816
|
+
"source_object"
|
|
817
|
+
],
|
|
818
|
+
"title": "Reference Kind",
|
|
819
|
+
"type": "string"
|
|
820
|
+
},
|
|
821
|
+
"reference_ref": {
|
|
822
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
823
|
+
"maxLength": 64,
|
|
824
|
+
"minLength": 1,
|
|
825
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
826
|
+
"title": "Reference Ref",
|
|
827
|
+
"type": "string"
|
|
828
|
+
},
|
|
829
|
+
"supporting_fact_refs": {
|
|
830
|
+
"description": "fact_ref labels of facts in this same work record.",
|
|
831
|
+
"items": {
|
|
832
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
833
|
+
"maxLength": 64,
|
|
834
|
+
"minLength": 1,
|
|
835
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
836
|
+
"type": "string"
|
|
837
|
+
},
|
|
838
|
+
"maxItems": 8,
|
|
839
|
+
"minItems": 1,
|
|
840
|
+
"title": "Supporting Fact Refs",
|
|
841
|
+
"type": "array"
|
|
842
|
+
},
|
|
843
|
+
"target": {
|
|
844
|
+
"$ref": "#/$defs/WorkTargetV2"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"required": [
|
|
848
|
+
"reference_ref",
|
|
849
|
+
"reference_kind",
|
|
850
|
+
"target",
|
|
851
|
+
"supporting_fact_refs"
|
|
852
|
+
],
|
|
853
|
+
"title": "WorkReferenceV2",
|
|
854
|
+
"type": "object"
|
|
855
|
+
},
|
|
856
|
+
"WorkRelationHintV2": {
|
|
857
|
+
"additionalProperties": false,
|
|
858
|
+
"description": "A candidate relation; Oira decides whether it holds.",
|
|
859
|
+
"properties": {
|
|
860
|
+
"direction": {
|
|
861
|
+
"enum": [
|
|
862
|
+
"primary_to_target",
|
|
863
|
+
"target_to_primary",
|
|
864
|
+
"symmetric",
|
|
865
|
+
"not_applicable"
|
|
866
|
+
],
|
|
867
|
+
"title": "Direction",
|
|
868
|
+
"type": "string"
|
|
869
|
+
},
|
|
870
|
+
"relation_kind": {
|
|
871
|
+
"enum": [
|
|
872
|
+
"same_work",
|
|
873
|
+
"new_work",
|
|
874
|
+
"related",
|
|
875
|
+
"depends_on",
|
|
876
|
+
"blocks",
|
|
877
|
+
"conflicts_with",
|
|
878
|
+
"duplicate",
|
|
879
|
+
"possibly_same_as"
|
|
880
|
+
],
|
|
881
|
+
"title": "Relation Kind",
|
|
882
|
+
"type": "string"
|
|
883
|
+
},
|
|
884
|
+
"supporting_fact_refs": {
|
|
885
|
+
"description": "fact_ref labels of facts in this same work record.",
|
|
886
|
+
"items": {
|
|
887
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
888
|
+
"maxLength": 64,
|
|
889
|
+
"minLength": 1,
|
|
890
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
891
|
+
"type": "string"
|
|
892
|
+
},
|
|
893
|
+
"maxItems": 8,
|
|
894
|
+
"minItems": 1,
|
|
895
|
+
"title": "Supporting Fact Refs",
|
|
896
|
+
"type": "array"
|
|
897
|
+
},
|
|
898
|
+
"target_reference_ref": {
|
|
899
|
+
"anyOf": [
|
|
900
|
+
{
|
|
901
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
902
|
+
"maxLength": 64,
|
|
903
|
+
"minLength": 1,
|
|
904
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
905
|
+
"type": "string"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"type": "null"
|
|
909
|
+
}
|
|
910
|
+
],
|
|
911
|
+
"default": null,
|
|
912
|
+
"title": "Target Reference Ref"
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
"required": [
|
|
916
|
+
"relation_kind",
|
|
917
|
+
"direction",
|
|
918
|
+
"supporting_fact_refs"
|
|
919
|
+
],
|
|
920
|
+
"title": "WorkRelationHintV2",
|
|
921
|
+
"type": "object"
|
|
922
|
+
},
|
|
923
|
+
"WorkRevisionV2": {
|
|
924
|
+
"additionalProperties": false,
|
|
925
|
+
"description": "A new fact corrects, supersedes or reaffirms an exact earlier fact.",
|
|
926
|
+
"properties": {
|
|
927
|
+
"fact_handle": {
|
|
928
|
+
"description": "A fact handle Oira returned for an earlier update of this work.",
|
|
929
|
+
"maxLength": 94,
|
|
930
|
+
"minLength": 31,
|
|
931
|
+
"pattern": "^uh_[a-z2-7]{26}\\.[a-z][a-z0-9_-]{0,63}$",
|
|
932
|
+
"title": "Fact Handle",
|
|
933
|
+
"type": "string"
|
|
934
|
+
},
|
|
935
|
+
"revision_kind": {
|
|
936
|
+
"enum": [
|
|
937
|
+
"corrects",
|
|
938
|
+
"supersedes",
|
|
939
|
+
"reaffirms"
|
|
940
|
+
],
|
|
941
|
+
"title": "Revision Kind",
|
|
942
|
+
"type": "string"
|
|
943
|
+
},
|
|
944
|
+
"supporting_fact_refs": {
|
|
945
|
+
"description": "fact_ref labels of facts in this same work record.",
|
|
946
|
+
"items": {
|
|
947
|
+
"description": "A short local label: lowercase letter first, then a-z, 0-9, _ or -.",
|
|
948
|
+
"maxLength": 64,
|
|
949
|
+
"minLength": 1,
|
|
950
|
+
"pattern": "^[a-z][a-z0-9_-]{0,63}$",
|
|
951
|
+
"type": "string"
|
|
952
|
+
},
|
|
953
|
+
"maxItems": 8,
|
|
954
|
+
"minItems": 1,
|
|
955
|
+
"title": "Supporting Fact Refs",
|
|
956
|
+
"type": "array"
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
"required": [
|
|
960
|
+
"fact_handle",
|
|
961
|
+
"revision_kind",
|
|
962
|
+
"supporting_fact_refs"
|
|
963
|
+
],
|
|
964
|
+
"title": "WorkRevisionV2",
|
|
965
|
+
"type": "object"
|
|
966
|
+
},
|
|
967
|
+
"WorkTargetV2": {
|
|
968
|
+
"additionalProperties": false,
|
|
969
|
+
"description": "A returned Oira handle, a work_ref of this stream, or an HTTPS link.",
|
|
970
|
+
"properties": {
|
|
971
|
+
"kind": {
|
|
972
|
+
"enum": [
|
|
973
|
+
"returned_handle",
|
|
974
|
+
"work_ref",
|
|
975
|
+
"safe_url"
|
|
976
|
+
],
|
|
977
|
+
"title": "Kind",
|
|
978
|
+
"type": "string"
|
|
979
|
+
},
|
|
980
|
+
"value": {
|
|
981
|
+
"description": "returned_handle: a work handle Oira returned for this stream; work_ref: another work of this update or stream; safe_url: a task-related https URL without credentials (at most 255 bytes).",
|
|
982
|
+
"maxLength": 255,
|
|
983
|
+
"minLength": 1,
|
|
984
|
+
"title": "Value",
|
|
985
|
+
"type": "string"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
"required": [
|
|
989
|
+
"kind",
|
|
990
|
+
"value"
|
|
991
|
+
],
|
|
992
|
+
"title": "WorkTargetV2",
|
|
993
|
+
"type": "object"
|
|
994
|
+
}
|
|
995
|
+
},
|
|
996
|
+
"$id": "urn:oira:schema:oira_work_update.v2",
|
|
997
|
+
"additionalProperties": false,
|
|
998
|
+
"description": "Declarations of, and new facts about, the user's authorized current work.",
|
|
999
|
+
"properties": {
|
|
1000
|
+
"origin": {
|
|
1001
|
+
"anyOf": [
|
|
1002
|
+
{
|
|
1003
|
+
"const": "history_import",
|
|
1004
|
+
"type": "string"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"type": "null"
|
|
1008
|
+
}
|
|
1009
|
+
],
|
|
1010
|
+
"default": null,
|
|
1011
|
+
"description": "Leave out for the current work. history_import: work from a past session of a history import Oira requested; every fact needs occurred_at inside the window oira_connection_status gave.",
|
|
1012
|
+
"title": "Origin"
|
|
1013
|
+
},
|
|
1014
|
+
"privacy_policy_version": {
|
|
1015
|
+
"maxLength": 40,
|
|
1016
|
+
"minLength": 1,
|
|
1017
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._+-]{0,39}$",
|
|
1018
|
+
"title": "Privacy Policy Version",
|
|
1019
|
+
"type": "string"
|
|
1020
|
+
},
|
|
1021
|
+
"project_label": {
|
|
1022
|
+
"description": "Exactly one project label from oira_connection_status.",
|
|
1023
|
+
"maxLength": 200,
|
|
1024
|
+
"minLength": 1,
|
|
1025
|
+
"title": "Project Label",
|
|
1026
|
+
"type": "string"
|
|
1027
|
+
},
|
|
1028
|
+
"reporter_version": {
|
|
1029
|
+
"maxLength": 40,
|
|
1030
|
+
"minLength": 1,
|
|
1031
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._+-]{0,39}$",
|
|
1032
|
+
"title": "Reporter Version",
|
|
1033
|
+
"type": "string"
|
|
1034
|
+
},
|
|
1035
|
+
"schema": {
|
|
1036
|
+
"const": "oira_work_update.v2",
|
|
1037
|
+
"title": "Schema",
|
|
1038
|
+
"type": "string"
|
|
1039
|
+
},
|
|
1040
|
+
"sequence": {
|
|
1041
|
+
"description": "Increases by one with each update in this stream.",
|
|
1042
|
+
"maximum": 1000000000,
|
|
1043
|
+
"minimum": 1,
|
|
1044
|
+
"title": "Sequence",
|
|
1045
|
+
"type": "integer"
|
|
1046
|
+
},
|
|
1047
|
+
"session_complete": {
|
|
1048
|
+
"anyOf": [
|
|
1049
|
+
{
|
|
1050
|
+
"type": "boolean"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"type": "null"
|
|
1054
|
+
}
|
|
1055
|
+
],
|
|
1056
|
+
"default": null,
|
|
1057
|
+
"description": "History import only: true on the last update of a past session, so Oira knows the session arrived whole.",
|
|
1058
|
+
"title": "Session Complete"
|
|
1059
|
+
},
|
|
1060
|
+
"stream_ref": {
|
|
1061
|
+
"description": "One random reference per reporting stream (this task in this chat). Never a native session ID or path.",
|
|
1062
|
+
"maxLength": 36,
|
|
1063
|
+
"minLength": 36,
|
|
1064
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1065
|
+
"title": "Stream Ref",
|
|
1066
|
+
"type": "string"
|
|
1067
|
+
},
|
|
1068
|
+
"update_ref": {
|
|
1069
|
+
"description": "New for every changed payload; reuse it only to retry this exact payload.",
|
|
1070
|
+
"maxLength": 36,
|
|
1071
|
+
"minLength": 36,
|
|
1072
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1073
|
+
"title": "Update Ref",
|
|
1074
|
+
"type": "string"
|
|
1075
|
+
},
|
|
1076
|
+
"works": {
|
|
1077
|
+
"items": {
|
|
1078
|
+
"$ref": "#/$defs/WorkRecordV2"
|
|
1079
|
+
},
|
|
1080
|
+
"maxItems": 8,
|
|
1081
|
+
"minItems": 1,
|
|
1082
|
+
"title": "Works",
|
|
1083
|
+
"type": "array"
|
|
1084
|
+
}
|
|
1085
|
+
},
|
|
1086
|
+
"required": [
|
|
1087
|
+
"schema",
|
|
1088
|
+
"project_label",
|
|
1089
|
+
"update_ref",
|
|
1090
|
+
"stream_ref",
|
|
1091
|
+
"sequence",
|
|
1092
|
+
"works",
|
|
1093
|
+
"reporter_version",
|
|
1094
|
+
"privacy_policy_version"
|
|
1095
|
+
],
|
|
1096
|
+
"title": "OiraWorkUpdateV2",
|
|
1097
|
+
"type": "object",
|
|
1098
|
+
"x-oira-max-canonical-bytes": 32768,
|
|
1099
|
+
"x-oira-rules": "Cross-field rules and the credential scan are implemented by scripts/prepare_work_update.py; send only its accepted output."
|
|
1100
|
+
}
|