@routinerun/form 0.0.0-stage → 0.1.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 (66) hide show
  1. package/README.md +53 -2
  2. package/bin/routinerun.js +72 -0
  3. package/package.json +43 -4
  4. package/schema/skin.v1.schema.json +194 -0
  5. package/schema/written-routine.v1.schema.json +1722 -0
  6. package/schema/written-routine.v2.schema.json +2396 -0
  7. package/src/check.js +102 -0
  8. package/src/index.js +47 -0
  9. package/src/link.js +36 -0
  10. package/src/schema-skin.js +196 -0
  11. package/src/schema-v1.js +1724 -0
  12. package/src/schema-v2.js +2398 -0
  13. package/src/skin.js +14 -0
  14. package/src/upgrade.js +118 -0
  15. package/starters/on-call/a-practice-page.json +43 -0
  16. package/starters/on-call/after-it-is-fixed.json +42 -0
  17. package/starters/on-call/handing-the-pager-over.json +41 -0
  18. package/starters/on-call/putting-something-live.json +48 -0
  19. package/starters/on-call/the-alert-that-keeps-coming-back.json +42 -0
  20. package/starters/on-call/when-something-pages-you.json +50 -0
  21. package/starters/starters/a-chapter-at-a-time.json +42 -0
  22. package/starters/starters/a-glass-of-water.json +51 -0
  23. package/starters/starters/a-meeting-you-called.json +47 -0
  24. package/starters/starters/a-post-idea-to-published.json +61 -0
  25. package/starters/starters/a-shoot-shot-by-shot.json +49 -0
  26. package/starters/starters/awake-at-three.json +43 -0
  27. package/starters/starters/before-a-trial-charges-you.json +47 -0
  28. package/starters/starters/before-people-come-round.json +40 -0
  29. package/starters/starters/check-a-purchase.json +43 -0
  30. package/starters/starters/closing-the-day.json +38 -0
  31. package/starters/starters/count-it-without-looking.json +40 -0
  32. package/starters/starters/due-diligence-on-a-deal.json +76 -0
  33. package/starters/starters/fifty-two-and-seventeen.json +37 -0
  34. package/starters/starters/first-half-hour.json +57 -0
  35. package/starters/starters/five-sets.json +41 -0
  36. package/starters/starters/getting-up-when-it-is-dark.json +61 -0
  37. package/starters/starters/good-night-house.json +53 -0
  38. package/starters/starters/home-and-the-house-knows.json +42 -0
  39. package/starters/starters/inbox.json +31 -0
  40. package/starters/starters/into-deep-work.json +53 -0
  41. package/starters/starters/leaving-a-note-for-tomorrow.json +37 -0
  42. package/starters/starters/leaving-it-empty-for-a-week.json +49 -0
  43. package/starters/starters/out-and-the-house-off.json +43 -0
  44. package/starters/starters/out-of-the-door.json +37 -0
  45. package/starters/starters/physio-three-times-a-day.json +60 -0
  46. package/starters/starters/picking-it-back-up.json +37 -0
  47. package/starters/starters/pomodoro-four-rounds.json +50 -0
  48. package/starters/starters/read-it-and-keep-one-thing.json +44 -0
  49. package/starters/starters/reading-somebodys-code.json +48 -0
  50. package/starters/starters/receipts-before-they-are-lost.json +45 -0
  51. package/starters/starters/run-and-walk.json +79 -0
  52. package/starters/starters/something-that-runs-out.json +42 -0
  53. package/starters/starters/something-worth-remembering.json +40 -0
  54. package/starters/starters/standup-before-the-call.json +51 -0
  55. package/starters/starters/sunday-evening.json +45 -0
  56. package/starters/starters/tabata-four-minutes.json +73 -0
  57. package/starters/starters/the-bills-this-month.json +48 -0
  58. package/starters/starters/the-button-one-press-at-a-time.json +94 -0
  59. package/starters/starters/the-week-looked-at.json +46 -0
  60. package/starters/starters/the-weekly-shop.json +50 -0
  61. package/starters/starters/to-read.json +31 -0
  62. package/starters/starters/to-watch.json +31 -0
  63. package/starters/starters/washing-end-to-end.json +43 -0
  64. package/starters/starters/when-something-breaks.json +46 -0
  65. package/starters/starters/winding-down.json +58 -0
  66. package/starters/starters/work-until-you-drift.json +40 -0
@@ -0,0 +1,1722 @@
1
+ {
2
+ "$defs" : {
3
+ "action" : {
4
+ "anyOf" : [
5
+ {
6
+ "description" : "runs a Shortcuts shortcut by its exact name, handing it the input if there is one",
7
+ "properties" : {
8
+ "shortcut" : {
9
+ "anyOf" : [
10
+ {
11
+ "type" : "string"
12
+ },
13
+ {
14
+ "properties" : {
15
+ "input" : {
16
+ "type" : "string"
17
+ },
18
+ "name" : {
19
+ "type" : "string"
20
+ }
21
+ },
22
+ "required" : [
23
+ "name",
24
+ "input"
25
+ ],
26
+ "type" : "object"
27
+ }
28
+ ]
29
+ }
30
+ },
31
+ "required" : [
32
+ "shortcut"
33
+ ],
34
+ "type" : "object"
35
+ },
36
+ {
37
+ "description" : "opens a link",
38
+ "properties" : {
39
+ "open" : {
40
+ "pattern" : "^[A-Za-z][A-Za-z0-9+.-]*:",
41
+ "type" : "string"
42
+ }
43
+ },
44
+ "required" : [
45
+ "open"
46
+ ],
47
+ "type" : "object"
48
+ },
49
+ {
50
+ "description" : "says the words out loud, in my phone's language unless \"lang\" names another",
51
+ "properties" : {
52
+ "say" : {
53
+ "anyOf" : [
54
+ {
55
+ "type" : "string"
56
+ },
57
+ {
58
+ "properties" : {
59
+ "lang" : {
60
+ "type" : "string"
61
+ },
62
+ "language" : {
63
+ "type" : "string"
64
+ },
65
+ "text" : {
66
+ "type" : "string"
67
+ }
68
+ },
69
+ "required" : [
70
+ "text"
71
+ ],
72
+ "type" : "object"
73
+ }
74
+ ]
75
+ }
76
+ },
77
+ "required" : [
78
+ "say"
79
+ ],
80
+ "type" : "object"
81
+ },
82
+ {
83
+ "description" : "puts the text on the clipboard",
84
+ "properties" : {
85
+ "copy" : {
86
+ "type" : "string"
87
+ }
88
+ },
89
+ "required" : [
90
+ "copy"
91
+ ],
92
+ "type" : "object"
93
+ },
94
+ {
95
+ "description" : "asks me to write a note, with this as the prompt",
96
+ "properties" : {
97
+ "note" : {
98
+ "type" : "string"
99
+ }
100
+ },
101
+ "required" : [
102
+ "note"
103
+ ],
104
+ "type" : "object"
105
+ },
106
+ {
107
+ "description" : "adds one to a number value",
108
+ "properties" : {
109
+ "count" : {
110
+ "type" : "string"
111
+ }
112
+ },
113
+ "required" : [
114
+ "count"
115
+ ],
116
+ "type" : "object"
117
+ },
118
+ {
119
+ "description" : "sets a value to the current moment",
120
+ "properties" : {
121
+ "now" : {
122
+ "type" : "string"
123
+ }
124
+ },
125
+ "required" : [
126
+ "now"
127
+ ],
128
+ "type" : "object"
129
+ },
130
+ {
131
+ "description" : "keeps how long this step took",
132
+ "properties" : {
133
+ "howLong" : {
134
+ "type" : "string"
135
+ }
136
+ },
137
+ "required" : [
138
+ "howLong"
139
+ ],
140
+ "type" : "object"
141
+ },
142
+ {
143
+ "description" : "moves the run on: next, pause, finish or stop",
144
+ "properties" : {
145
+ "run" : {
146
+ "enum" : [
147
+ "next",
148
+ "pause",
149
+ "finish",
150
+ "stop"
151
+ ]
152
+ }
153
+ },
154
+ "required" : [
155
+ "run"
156
+ ],
157
+ "type" : "object"
158
+ },
159
+ {
160
+ "description" : "puts this step aside and brings it back then, while the run goes on — \"followUp\" is the step's own followUp, a name is one of my own Not now answers, an object is a followUp said here",
161
+ "properties" : {
162
+ "putAside" : {
163
+ "anyOf" : [
164
+ {
165
+ "description" : "\"followUp\" for the step's own followUp, or the name of one of my own Not now answers.",
166
+ "type" : "string"
167
+ },
168
+ {
169
+ "properties" : {
170
+ "alarm" : {
171
+ "type" : "boolean"
172
+ },
173
+ "at" : {
174
+ "pattern" : "^([01]?[0-9]|2[0-3]):[0-5][0-9]$",
175
+ "type" : "string"
176
+ },
177
+ "days" : {
178
+ "type" : "integer"
179
+ },
180
+ "hours" : {
181
+ "type" : "number"
182
+ },
183
+ "name" : {
184
+ "type" : "string"
185
+ },
186
+ "soonerIf" : {
187
+ "type" : "string"
188
+ },
189
+ "wholeRun" : {
190
+ "type" : "boolean"
191
+ },
192
+ "workdays" : {
193
+ "type" : "boolean"
194
+ }
195
+ },
196
+ "type" : "object"
197
+ }
198
+ ]
199
+ }
200
+ },
201
+ "required" : [
202
+ "putAside"
203
+ ],
204
+ "type" : "object"
205
+ },
206
+ {
207
+ "description" : "gives this step a deadline counted from the press: \"hours\" from now, or \"at\" the next time it is that time (\"days\" on); \"kind\" is by or startBy, \"late\" skip, keep or ask, \"tellMe\" as for a step",
208
+ "properties" : {
209
+ "deadline" : {
210
+ "properties" : {
211
+ "at" : {
212
+ "pattern" : "^([01]?[0-9]|2[0-3]):[0-5][0-9]$",
213
+ "type" : "string"
214
+ },
215
+ "days" : {
216
+ "type" : "integer"
217
+ },
218
+ "hours" : {
219
+ "type" : "number"
220
+ },
221
+ "kind" : {
222
+ "enum" : [
223
+ "by",
224
+ "startBy"
225
+ ]
226
+ },
227
+ "late" : {
228
+ "enum" : [
229
+ "skip",
230
+ "keep",
231
+ "ask"
232
+ ]
233
+ },
234
+ "tellMe" : {
235
+ "enum" : [
236
+ "alarm",
237
+ "notification",
238
+ "calendar",
239
+ "reminders"
240
+ ]
241
+ },
242
+ "workdays" : {
243
+ "type" : "boolean"
244
+ }
245
+ },
246
+ "type" : "object"
247
+ }
248
+ },
249
+ "required" : [
250
+ "deadline"
251
+ ],
252
+ "type" : "object"
253
+ },
254
+ {
255
+ "description" : "asks a question about this step, or the run with \"about\": \"run\", once (\"hours\" or \"at\") or \"every\" so many minutes, hours or days until it is answered; meanwhile the step goes to the end or the run pauses unless \"meanwhile\" is false; \"answers\" are now, later, last or skip for a step and resume, pause, next, finish or stop for a run",
256
+ "properties" : {
257
+ "checkIn" : {
258
+ "properties" : {
259
+ "about" : {
260
+ "enum" : [
261
+ "step",
262
+ "run"
263
+ ]
264
+ },
265
+ "answers" : {
266
+ "items" : {
267
+ "enum" : [
268
+ "now",
269
+ "later",
270
+ "last",
271
+ "skip",
272
+ "resume",
273
+ "pause",
274
+ "next",
275
+ "finish",
276
+ "stop"
277
+ ]
278
+ },
279
+ "type" : "array"
280
+ },
281
+ "at" : {
282
+ "pattern" : "^([01]?[0-9]|2[0-3]):[0-5][0-9]$",
283
+ "type" : "string"
284
+ },
285
+ "days" : {
286
+ "type" : "integer"
287
+ },
288
+ "every" : {
289
+ "additionalProperties" : false,
290
+ "description" : "One unit and how many.",
291
+ "minProperties" : 1,
292
+ "properties" : {
293
+ "days" : {
294
+ "minimum" : 1,
295
+ "type" : "integer"
296
+ },
297
+ "hours" : {
298
+ "minimum" : 1,
299
+ "type" : "integer"
300
+ },
301
+ "minutes" : {
302
+ "minimum" : 1,
303
+ "type" : "integer"
304
+ }
305
+ },
306
+ "type" : "object"
307
+ },
308
+ "hours" : {
309
+ "type" : "number"
310
+ },
311
+ "meanwhile" : {
312
+ "type" : "boolean"
313
+ },
314
+ "question" : {
315
+ "type" : "string"
316
+ },
317
+ "quietly" : {
318
+ "type" : "boolean"
319
+ },
320
+ "workdays" : {
321
+ "type" : "boolean"
322
+ }
323
+ },
324
+ "type" : "object"
325
+ }
326
+ },
327
+ "required" : [
328
+ "checkIn"
329
+ ],
330
+ "type" : "object"
331
+ },
332
+ {
333
+ "description" : "sets a value",
334
+ "properties" : {
335
+ "set" : {
336
+ "properties" : {
337
+ "key" : {
338
+ "type" : "string"
339
+ },
340
+ "text" : {
341
+ "type" : "string"
342
+ },
343
+ "to" : {
344
+ "type" : "string"
345
+ }
346
+ },
347
+ "required" : [
348
+ "key"
349
+ ],
350
+ "type" : "object"
351
+ }
352
+ },
353
+ "required" : [
354
+ "set"
355
+ ],
356
+ "type" : "object"
357
+ },
358
+ {
359
+ "description" : "adds a number to a value",
360
+ "properties" : {
361
+ "add" : {
362
+ "properties" : {
363
+ "key" : {
364
+ "type" : "string"
365
+ },
366
+ "number" : {
367
+ "type" : "number"
368
+ }
369
+ },
370
+ "required" : [
371
+ "key"
372
+ ],
373
+ "type" : "object"
374
+ }
375
+ },
376
+ "required" : [
377
+ "add"
378
+ ],
379
+ "type" : "object"
380
+ },
381
+ {
382
+ "description" : "adds a line to a text value",
383
+ "properties" : {
384
+ "addLine" : {
385
+ "properties" : {
386
+ "key" : {
387
+ "type" : "string"
388
+ },
389
+ "text" : {
390
+ "type" : "string"
391
+ },
392
+ "to" : {
393
+ "type" : "string"
394
+ }
395
+ },
396
+ "required" : [
397
+ "key"
398
+ ],
399
+ "type" : "object"
400
+ }
401
+ },
402
+ "required" : [
403
+ "addLine"
404
+ ],
405
+ "type" : "object"
406
+ },
407
+ {
408
+ "description" : "sends a request to a server; method is GET, POST, PUT or DELETE, POST if left out",
409
+ "properties" : {
410
+ "webhook" : {
411
+ "properties" : {
412
+ "body" : {
413
+
414
+ },
415
+ "headers" : {
416
+ "additionalProperties" : {
417
+ "type" : "string"
418
+ },
419
+ "type" : "object"
420
+ },
421
+ "method" : {
422
+ "enum" : [
423
+ "GET",
424
+ "POST",
425
+ "PUT",
426
+ "DELETE"
427
+ ]
428
+ },
429
+ "url" : {
430
+ "pattern" : "^https?://",
431
+ "type" : "string"
432
+ }
433
+ },
434
+ "required" : [
435
+ "url"
436
+ ],
437
+ "type" : "object"
438
+ }
439
+ },
440
+ "required" : [
441
+ "webhook"
442
+ ],
443
+ "type" : "object"
444
+ },
445
+ {
446
+ "description" : "puts an event in my calendar, starting in so many minutes and lasting so many",
447
+ "properties" : {
448
+ "event" : {
449
+ "properties" : {
450
+ "in" : {
451
+ "type" : "integer"
452
+ },
453
+ "minutes" : {
454
+ "type" : "integer"
455
+ },
456
+ "notes" : {
457
+ "type" : "string"
458
+ },
459
+ "title" : {
460
+ "type" : "string"
461
+ }
462
+ },
463
+ "required" : [
464
+ "title"
465
+ ],
466
+ "type" : "object"
467
+ }
468
+ },
469
+ "required" : [
470
+ "event"
471
+ ],
472
+ "type" : "object"
473
+ },
474
+ {
475
+ "description" : "adds a reminder to Reminders, due in so many minutes",
476
+ "properties" : {
477
+ "reminder" : {
478
+ "properties" : {
479
+ "in" : {
480
+ "type" : "integer"
481
+ },
482
+ "list" : {
483
+ "type" : "string"
484
+ },
485
+ "notes" : {
486
+ "type" : "string"
487
+ },
488
+ "title" : {
489
+ "type" : "string"
490
+ }
491
+ },
492
+ "required" : [
493
+ "title"
494
+ ],
495
+ "type" : "object"
496
+ }
497
+ },
498
+ "required" : [
499
+ "reminder"
500
+ ],
501
+ "type" : "object"
502
+ },
503
+ {
504
+ "description" : "rings an alarm in so many minutes",
505
+ "properties" : {
506
+ "alarm" : {
507
+ "properties" : {
508
+ "in" : {
509
+ "type" : "integer"
510
+ },
511
+ "title" : {
512
+ "type" : "string"
513
+ }
514
+ },
515
+ "required" : [
516
+ "title",
517
+ "in"
518
+ ],
519
+ "type" : "object"
520
+ }
521
+ },
522
+ "required" : [
523
+ "alarm"
524
+ ],
525
+ "type" : "object"
526
+ },
527
+ {
528
+ "description" : "runs a Home scene by its exact name",
529
+ "properties" : {
530
+ "scene" : {
531
+ "anyOf" : [
532
+ {
533
+ "type" : "string"
534
+ },
535
+ {
536
+ "properties" : {
537
+ "home" : {
538
+ "type" : "string"
539
+ },
540
+ "name" : {
541
+ "type" : "string"
542
+ }
543
+ },
544
+ "required" : [
545
+ "name"
546
+ ],
547
+ "type" : "object"
548
+ }
549
+ ]
550
+ }
551
+ },
552
+ "required" : [
553
+ "scene"
554
+ ],
555
+ "type" : "object"
556
+ },
557
+ {
558
+ "description" : "writes to Health: water (ml), mindful (minutes) or weight (kg)",
559
+ "properties" : {
560
+ "health" : {
561
+ "properties" : {
562
+ "amount" : {
563
+ "type" : [
564
+ "number",
565
+ "string"
566
+ ]
567
+ },
568
+ "log" : {
569
+ "enum" : [
570
+ "water",
571
+ "mindful",
572
+ "weight"
573
+ ]
574
+ }
575
+ },
576
+ "required" : [
577
+ "log",
578
+ "amount"
579
+ ],
580
+ "type" : "object"
581
+ }
582
+ },
583
+ "required" : [
584
+ "health"
585
+ ],
586
+ "type" : "object"
587
+ },
588
+ {
589
+ "description" : "calls a Home Assistant service; \"data\" adds fields, \"address\" is where it answers if not homeassistant.local",
590
+ "properties" : {
591
+ "homeassistant" : {
592
+ "properties" : {
593
+ "address" : {
594
+ "type" : "string"
595
+ },
596
+ "call" : {
597
+ "type" : "string"
598
+ },
599
+ "data" : {
600
+ "type" : "object"
601
+ },
602
+ "entity" : {
603
+ "type" : "string"
604
+ },
605
+ "secret" : {
606
+ "type" : "string"
607
+ }
608
+ },
609
+ "required" : [
610
+ "call"
611
+ ],
612
+ "type" : "object"
613
+ }
614
+ },
615
+ "required" : [
616
+ "homeassistant"
617
+ ],
618
+ "type" : "object"
619
+ },
620
+ {
621
+ "description" : "posts to a Slack channel through its incoming webhook",
622
+ "properties" : {
623
+ "slack" : {
624
+ "properties" : {
625
+ "secret" : {
626
+ "type" : "string"
627
+ },
628
+ "text" : {
629
+ "type" : "string"
630
+ }
631
+ },
632
+ "required" : [
633
+ "text"
634
+ ],
635
+ "type" : "object"
636
+ }
637
+ },
638
+ "required" : [
639
+ "slack"
640
+ ],
641
+ "type" : "object"
642
+ },
643
+ {
644
+ "description" : "pushes a message through ntfy, to a topic I name",
645
+ "properties" : {
646
+ "ntfy" : {
647
+ "properties" : {
648
+ "server" : {
649
+ "type" : "string"
650
+ },
651
+ "text" : {
652
+ "type" : "string"
653
+ },
654
+ "title" : {
655
+ "type" : "string"
656
+ },
657
+ "topic" : {
658
+ "type" : "string"
659
+ }
660
+ },
661
+ "required" : [
662
+ "topic",
663
+ "text"
664
+ ],
665
+ "type" : "object"
666
+ }
667
+ },
668
+ "required" : [
669
+ "ntfy"
670
+ ],
671
+ "type" : "object"
672
+ },
673
+ {
674
+ "description" : "triggers, acknowledges or resolves a PagerDuty incident; trigger needs a summary",
675
+ "properties" : {
676
+ "pagerduty" : {
677
+ "properties" : {
678
+ "action" : {
679
+ "type" : "string"
680
+ },
681
+ "key" : {
682
+ "type" : "string"
683
+ },
684
+ "secret" : {
685
+ "type" : "string"
686
+ },
687
+ "severity" : {
688
+ "type" : "string"
689
+ },
690
+ "summary" : {
691
+ "type" : "string"
692
+ }
693
+ },
694
+ "required" : [
695
+ "action"
696
+ ],
697
+ "type" : "object"
698
+ }
699
+ },
700
+ "required" : [
701
+ "pagerduty"
702
+ ],
703
+ "type" : "object"
704
+ },
705
+ {
706
+ "description" : "fires an IFTTT webhook event with up to three values",
707
+ "properties" : {
708
+ "ifttt" : {
709
+ "properties" : {
710
+ "event" : {
711
+ "type" : "string"
712
+ },
713
+ "secret" : {
714
+ "type" : "string"
715
+ },
716
+ "values" : {
717
+ "items" : {
718
+ "type" : "string"
719
+ },
720
+ "type" : "array"
721
+ }
722
+ },
723
+ "required" : [
724
+ "event"
725
+ ],
726
+ "type" : "object"
727
+ }
728
+ },
729
+ "required" : [
730
+ "ifttt"
731
+ ],
732
+ "type" : "object"
733
+ },
734
+ {
735
+ "description" : "posts a message to a Discord channel through the channel's webhook",
736
+ "properties" : {
737
+ "discord" : {
738
+ "additionalProperties" : false,
739
+ "properties" : {
740
+ "secret" : {
741
+ "type" : "string"
742
+ },
743
+ "text" : {
744
+ "type" : [
745
+ "string",
746
+ "number",
747
+ "boolean"
748
+ ]
749
+ }
750
+ },
751
+ "required" : [
752
+ "text"
753
+ ],
754
+ "type" : "object"
755
+ }
756
+ },
757
+ "required" : [
758
+ "discord"
759
+ ],
760
+ "type" : "object"
761
+ },
762
+ {
763
+ "description" : "posts a message to a Discord channel through the channel's webhook",
764
+ "properties" : {
765
+ "preset:discord" : {
766
+ "additionalProperties" : false,
767
+ "properties" : {
768
+ "secret" : {
769
+ "type" : "string"
770
+ },
771
+ "text" : {
772
+ "type" : [
773
+ "string",
774
+ "number",
775
+ "boolean"
776
+ ]
777
+ }
778
+ },
779
+ "required" : [
780
+ "text"
781
+ ],
782
+ "type" : "object"
783
+ }
784
+ },
785
+ "required" : [
786
+ "preset:discord"
787
+ ],
788
+ "type" : "object"
789
+ },
790
+ {
791
+ "description" : "posts a message to a Google Chat space through its webhook",
792
+ "properties" : {
793
+ "googlechat" : {
794
+ "additionalProperties" : false,
795
+ "properties" : {
796
+ "secret" : {
797
+ "type" : "string"
798
+ },
799
+ "text" : {
800
+ "type" : [
801
+ "string",
802
+ "number",
803
+ "boolean"
804
+ ]
805
+ }
806
+ },
807
+ "required" : [
808
+ "text"
809
+ ],
810
+ "type" : "object"
811
+ }
812
+ },
813
+ "required" : [
814
+ "googlechat"
815
+ ],
816
+ "type" : "object"
817
+ },
818
+ {
819
+ "description" : "posts a message to a Google Chat space through its webhook",
820
+ "properties" : {
821
+ "preset:googlechat" : {
822
+ "additionalProperties" : false,
823
+ "properties" : {
824
+ "secret" : {
825
+ "type" : "string"
826
+ },
827
+ "text" : {
828
+ "type" : [
829
+ "string",
830
+ "number",
831
+ "boolean"
832
+ ]
833
+ }
834
+ },
835
+ "required" : [
836
+ "text"
837
+ ],
838
+ "type" : "object"
839
+ }
840
+ },
841
+ "required" : [
842
+ "preset:googlechat"
843
+ ],
844
+ "type" : "object"
845
+ },
846
+ {
847
+ "description" : "tells a Healthchecks.io check that this happened, so it can say when one day it did not",
848
+ "properties" : {
849
+ "healthchecks" : {
850
+ "additionalProperties" : false,
851
+ "properties" : {
852
+ "secret" : {
853
+ "type" : "string"
854
+ }
855
+ },
856
+ "type" : "object"
857
+ }
858
+ },
859
+ "required" : [
860
+ "healthchecks"
861
+ ],
862
+ "type" : "object"
863
+ },
864
+ {
865
+ "description" : "tells a Healthchecks.io check that this happened, so it can say when one day it did not",
866
+ "properties" : {
867
+ "preset:healthchecks" : {
868
+ "additionalProperties" : false,
869
+ "properties" : {
870
+ "secret" : {
871
+ "type" : "string"
872
+ }
873
+ },
874
+ "type" : "object"
875
+ }
876
+ },
877
+ "required" : [
878
+ "preset:healthchecks"
879
+ ],
880
+ "type" : "object"
881
+ },
882
+ {
883
+ "description" : "pushes a notification to your devices through Pushover; \"title\" may be left out",
884
+ "properties" : {
885
+ "pushover" : {
886
+ "additionalProperties" : false,
887
+ "properties" : {
888
+ "secret" : {
889
+ "type" : "string"
890
+ },
891
+ "text" : {
892
+ "type" : [
893
+ "string",
894
+ "number",
895
+ "boolean"
896
+ ]
897
+ },
898
+ "title" : {
899
+ "type" : [
900
+ "string",
901
+ "number",
902
+ "boolean"
903
+ ]
904
+ }
905
+ },
906
+ "required" : [
907
+ "text"
908
+ ],
909
+ "type" : "object"
910
+ }
911
+ },
912
+ "required" : [
913
+ "pushover"
914
+ ],
915
+ "type" : "object"
916
+ },
917
+ {
918
+ "description" : "pushes a notification to your devices through Pushover; \"title\" may be left out",
919
+ "properties" : {
920
+ "preset:pushover" : {
921
+ "additionalProperties" : false,
922
+ "properties" : {
923
+ "secret" : {
924
+ "type" : "string"
925
+ },
926
+ "text" : {
927
+ "type" : [
928
+ "string",
929
+ "number",
930
+ "boolean"
931
+ ]
932
+ },
933
+ "title" : {
934
+ "type" : [
935
+ "string",
936
+ "number",
937
+ "boolean"
938
+ ]
939
+ }
940
+ },
941
+ "required" : [
942
+ "text"
943
+ ],
944
+ "type" : "object"
945
+ }
946
+ },
947
+ "required" : [
948
+ "preset:pushover"
949
+ ],
950
+ "type" : "object"
951
+ },
952
+ {
953
+ "description" : "sends a message from your own Telegram bot to a chat you name",
954
+ "properties" : {
955
+ "telegram" : {
956
+ "additionalProperties" : false,
957
+ "properties" : {
958
+ "chat" : {
959
+ "type" : [
960
+ "string",
961
+ "number",
962
+ "boolean"
963
+ ]
964
+ },
965
+ "secret" : {
966
+ "type" : "string"
967
+ },
968
+ "text" : {
969
+ "type" : [
970
+ "string",
971
+ "number",
972
+ "boolean"
973
+ ]
974
+ }
975
+ },
976
+ "required" : [
977
+ "chat",
978
+ "text"
979
+ ],
980
+ "type" : "object"
981
+ }
982
+ },
983
+ "required" : [
984
+ "telegram"
985
+ ],
986
+ "type" : "object"
987
+ },
988
+ {
989
+ "description" : "sends a message from your own Telegram bot to a chat you name",
990
+ "properties" : {
991
+ "preset:telegram" : {
992
+ "additionalProperties" : false,
993
+ "properties" : {
994
+ "chat" : {
995
+ "type" : [
996
+ "string",
997
+ "number",
998
+ "boolean"
999
+ ]
1000
+ },
1001
+ "secret" : {
1002
+ "type" : "string"
1003
+ },
1004
+ "text" : {
1005
+ "type" : [
1006
+ "string",
1007
+ "number",
1008
+ "boolean"
1009
+ ]
1010
+ }
1011
+ },
1012
+ "required" : [
1013
+ "chat",
1014
+ "text"
1015
+ ],
1016
+ "type" : "object"
1017
+ }
1018
+ },
1019
+ "required" : [
1020
+ "preset:telegram"
1021
+ ],
1022
+ "type" : "object"
1023
+ },
1024
+ {
1025
+ "description" : "starts a Zap that begins with Webhooks by Zapier, Catch Hook, handing it the run, the step and a message; \"text\" may be left out",
1026
+ "properties" : {
1027
+ "zapier" : {
1028
+ "additionalProperties" : false,
1029
+ "properties" : {
1030
+ "secret" : {
1031
+ "type" : "string"
1032
+ },
1033
+ "text" : {
1034
+ "type" : [
1035
+ "string",
1036
+ "number",
1037
+ "boolean"
1038
+ ]
1039
+ }
1040
+ },
1041
+ "type" : "object"
1042
+ }
1043
+ },
1044
+ "required" : [
1045
+ "zapier"
1046
+ ],
1047
+ "type" : "object"
1048
+ },
1049
+ {
1050
+ "description" : "starts a Zap that begins with Webhooks by Zapier, Catch Hook, handing it the run, the step and a message; \"text\" may be left out",
1051
+ "properties" : {
1052
+ "preset:zapier" : {
1053
+ "additionalProperties" : false,
1054
+ "properties" : {
1055
+ "secret" : {
1056
+ "type" : "string"
1057
+ },
1058
+ "text" : {
1059
+ "type" : [
1060
+ "string",
1061
+ "number",
1062
+ "boolean"
1063
+ ]
1064
+ }
1065
+ },
1066
+ "type" : "object"
1067
+ }
1068
+ },
1069
+ "required" : [
1070
+ "preset:zapier"
1071
+ ],
1072
+ "type" : "object"
1073
+ },
1074
+ {
1075
+ "description" : "A word this version does not know. It is read as a step action that does nothing, named on the import screen, and kept as it was written.",
1076
+ "minProperties" : 1,
1077
+ "not" : {
1078
+ "anyOf" : [
1079
+ {
1080
+ "required" : [
1081
+ "shortcut"
1082
+ ]
1083
+ },
1084
+ {
1085
+ "required" : [
1086
+ "open"
1087
+ ]
1088
+ },
1089
+ {
1090
+ "required" : [
1091
+ "say"
1092
+ ]
1093
+ },
1094
+ {
1095
+ "required" : [
1096
+ "copy"
1097
+ ]
1098
+ },
1099
+ {
1100
+ "required" : [
1101
+ "note"
1102
+ ]
1103
+ },
1104
+ {
1105
+ "required" : [
1106
+ "count"
1107
+ ]
1108
+ },
1109
+ {
1110
+ "required" : [
1111
+ "now"
1112
+ ]
1113
+ },
1114
+ {
1115
+ "required" : [
1116
+ "howLong"
1117
+ ]
1118
+ },
1119
+ {
1120
+ "required" : [
1121
+ "run"
1122
+ ]
1123
+ },
1124
+ {
1125
+ "required" : [
1126
+ "putAside"
1127
+ ]
1128
+ },
1129
+ {
1130
+ "required" : [
1131
+ "deadline"
1132
+ ]
1133
+ },
1134
+ {
1135
+ "required" : [
1136
+ "checkIn"
1137
+ ]
1138
+ },
1139
+ {
1140
+ "required" : [
1141
+ "set"
1142
+ ]
1143
+ },
1144
+ {
1145
+ "required" : [
1146
+ "add"
1147
+ ]
1148
+ },
1149
+ {
1150
+ "required" : [
1151
+ "addLine"
1152
+ ]
1153
+ },
1154
+ {
1155
+ "required" : [
1156
+ "webhook"
1157
+ ]
1158
+ },
1159
+ {
1160
+ "required" : [
1161
+ "event"
1162
+ ]
1163
+ },
1164
+ {
1165
+ "required" : [
1166
+ "reminder"
1167
+ ]
1168
+ },
1169
+ {
1170
+ "required" : [
1171
+ "alarm"
1172
+ ]
1173
+ },
1174
+ {
1175
+ "required" : [
1176
+ "scene"
1177
+ ]
1178
+ },
1179
+ {
1180
+ "required" : [
1181
+ "health"
1182
+ ]
1183
+ },
1184
+ {
1185
+ "required" : [
1186
+ "homeassistant"
1187
+ ]
1188
+ },
1189
+ {
1190
+ "required" : [
1191
+ "slack"
1192
+ ]
1193
+ },
1194
+ {
1195
+ "required" : [
1196
+ "ntfy"
1197
+ ]
1198
+ },
1199
+ {
1200
+ "required" : [
1201
+ "pagerduty"
1202
+ ]
1203
+ },
1204
+ {
1205
+ "required" : [
1206
+ "ifttt"
1207
+ ]
1208
+ },
1209
+ {
1210
+ "required" : [
1211
+ "discord"
1212
+ ]
1213
+ },
1214
+ {
1215
+ "required" : [
1216
+ "preset:discord"
1217
+ ]
1218
+ },
1219
+ {
1220
+ "required" : [
1221
+ "googlechat"
1222
+ ]
1223
+ },
1224
+ {
1225
+ "required" : [
1226
+ "preset:googlechat"
1227
+ ]
1228
+ },
1229
+ {
1230
+ "required" : [
1231
+ "healthchecks"
1232
+ ]
1233
+ },
1234
+ {
1235
+ "required" : [
1236
+ "preset:healthchecks"
1237
+ ]
1238
+ },
1239
+ {
1240
+ "required" : [
1241
+ "pushover"
1242
+ ]
1243
+ },
1244
+ {
1245
+ "required" : [
1246
+ "preset:pushover"
1247
+ ]
1248
+ },
1249
+ {
1250
+ "required" : [
1251
+ "telegram"
1252
+ ]
1253
+ },
1254
+ {
1255
+ "required" : [
1256
+ "preset:telegram"
1257
+ ]
1258
+ },
1259
+ {
1260
+ "required" : [
1261
+ "zapier"
1262
+ ]
1263
+ },
1264
+ {
1265
+ "required" : [
1266
+ "preset:zapier"
1267
+ ]
1268
+ }
1269
+ ]
1270
+ },
1271
+ "type" : "object"
1272
+ }
1273
+ ],
1274
+ "description" : "One word and what it is about, like {\"say\": \"Good morning\"}."
1275
+ },
1276
+ "button" : {
1277
+ "allOf" : [
1278
+ {
1279
+ "$ref" : "#/$defs/action"
1280
+ },
1281
+ {
1282
+ "properties" : {
1283
+ "label" : {
1284
+ "type" : "string"
1285
+ },
1286
+ "onNext" : {
1287
+ "type" : "boolean"
1288
+ },
1289
+ "title" : {
1290
+ "type" : "string"
1291
+ }
1292
+ }
1293
+ }
1294
+ ]
1295
+ },
1296
+ "step" : {
1297
+ "not" : {
1298
+ "description" : "both \"by\" and \"startBy\"",
1299
+ "required" : [
1300
+ "by",
1301
+ "startBy"
1302
+ ]
1303
+ },
1304
+ "properties" : {
1305
+ "about" : {
1306
+ "description" : "How or why, in Markdown.",
1307
+ "type" : "string"
1308
+ },
1309
+ "alarm" : {
1310
+ "type" : "boolean"
1311
+ },
1312
+ "buttons" : {
1313
+ "description" : "What waits for a tap.",
1314
+ "items" : {
1315
+ "$ref" : "#/$defs/button"
1316
+ },
1317
+ "type" : "array"
1318
+ },
1319
+ "by" : {
1320
+ "description" : "Finished by: a time of day, or a date and time.",
1321
+ "pattern" : "^(([01]?[0-9]|2[0-3]):[0-5][0-9]|[0-9]{4}-[0-9]{2}-[0-9]{2}([ T][0-9]{2}:[0-9]{2}(:[0-9]{2})?)?)$",
1322
+ "type" : "string"
1323
+ },
1324
+ "byDate" : {
1325
+ "properties" : {
1326
+ "date" : {
1327
+ "type" : "string"
1328
+ },
1329
+ "days" : {
1330
+ "type" : "number"
1331
+ },
1332
+ "hours" : {
1333
+ "type" : "number"
1334
+ }
1335
+ },
1336
+ "required" : [
1337
+ "date"
1338
+ ],
1339
+ "type" : "object"
1340
+ },
1341
+ "byMinutesFromStart" : {
1342
+ "type" : "integer"
1343
+ },
1344
+ "byValue" : {
1345
+ "properties" : {
1346
+ "days" : {
1347
+ "type" : "number"
1348
+ },
1349
+ "hours" : {
1350
+ "type" : "number"
1351
+ },
1352
+ "value" : {
1353
+ "pattern" : "\\S",
1354
+ "type" : "string"
1355
+ }
1356
+ },
1357
+ "required" : [
1358
+ "value"
1359
+ ],
1360
+ "type" : "object"
1361
+ },
1362
+ "colour" : {
1363
+ "anyOf" : [
1364
+ {
1365
+ "enum" : [
1366
+ "red",
1367
+ "orange",
1368
+ "yellow",
1369
+ "green",
1370
+ "mint",
1371
+ "teal",
1372
+ "blue",
1373
+ "indigo",
1374
+ "purple",
1375
+ "pink",
1376
+ "brown",
1377
+ "grey"
1378
+ ]
1379
+ },
1380
+ {
1381
+ "pattern" : "^#[0-9A-Fa-f]{6}$",
1382
+ "type" : "string"
1383
+ }
1384
+ ]
1385
+ },
1386
+ "day" : {
1387
+ "minimum" : 1,
1388
+ "type" : "integer"
1389
+ },
1390
+ "does" : {
1391
+ "description" : "What happens on arriving at the step.",
1392
+ "items" : {
1393
+ "$ref" : "#/$defs/action"
1394
+ },
1395
+ "type" : "array"
1396
+ },
1397
+ "followUp" : {
1398
+ "properties" : {
1399
+ "alarm" : {
1400
+ "type" : "boolean"
1401
+ },
1402
+ "at" : {
1403
+ "pattern" : "^([01]?[0-9]|2[0-3]):[0-5][0-9]$",
1404
+ "type" : "string"
1405
+ },
1406
+ "days" : {
1407
+ "type" : "integer"
1408
+ },
1409
+ "hours" : {
1410
+ "type" : "number"
1411
+ },
1412
+ "name" : {
1413
+ "type" : "string"
1414
+ },
1415
+ "soonerIf" : {
1416
+ "type" : "string"
1417
+ },
1418
+ "wholeRun" : {
1419
+ "type" : "boolean"
1420
+ },
1421
+ "workdays" : {
1422
+ "type" : "boolean"
1423
+ }
1424
+ },
1425
+ "type" : "object"
1426
+ },
1427
+ "late" : {
1428
+ "enum" : [
1429
+ "skip",
1430
+ "keep",
1431
+ "ask"
1432
+ ]
1433
+ },
1434
+ "links" : {
1435
+ "items" : {
1436
+ "properties" : {
1437
+ "title" : {
1438
+ "type" : "string"
1439
+ },
1440
+ "url" : {
1441
+ "pattern" : "^https?://",
1442
+ "type" : "string"
1443
+ }
1444
+ },
1445
+ "required" : [
1446
+ "title",
1447
+ "url"
1448
+ ],
1449
+ "type" : "object"
1450
+ },
1451
+ "type" : "array"
1452
+ },
1453
+ "minutes" : {
1454
+ "description" : "How long it runs, where it has a clock.",
1455
+ "minimum" : 0,
1456
+ "type" : "number"
1457
+ },
1458
+ "startBy" : {
1459
+ "description" : "Begun by: a time of day, or a date and time.",
1460
+ "pattern" : "^(([01]?[0-9]|2[0-3]):[0-5][0-9]|[0-9]{4}-[0-9]{2}-[0-9]{2}([ T][0-9]{2}:[0-9]{2}(:[0-9]{2})?)?)$",
1461
+ "type" : "string"
1462
+ },
1463
+ "symbol" : {
1464
+ "type" : "string"
1465
+ },
1466
+ "tellMe" : {
1467
+ "enum" : [
1468
+ "alarm",
1469
+ "notification",
1470
+ "calendar",
1471
+ "reminders"
1472
+ ]
1473
+ },
1474
+ "times" : {
1475
+ "type" : "integer"
1476
+ },
1477
+ "title" : {
1478
+ "description" : "What to do, as an instruction.",
1479
+ "pattern" : "\\S",
1480
+ "type" : "string"
1481
+ },
1482
+ "values" : {
1483
+ "additionalProperties" : {
1484
+ "$ref" : "#/$defs/value"
1485
+ },
1486
+ "description" : "Named values, as \"name\": value — words, a number, true or false, or a link.",
1487
+ "type" : "object"
1488
+ },
1489
+ "waitsOut" : {
1490
+ "description" : "Next waits until \"minutes\" have run out, for a step whose length is the point rather than an estimate. Ignored on a step with no \"minutes\".",
1491
+ "type" : "boolean"
1492
+ },
1493
+ "warnHours" : {
1494
+ "minimum" : 0,
1495
+ "type" : "number"
1496
+ },
1497
+ "was" : {
1498
+ "minimum" : 1,
1499
+ "type" : "integer"
1500
+ }
1501
+ },
1502
+ "required" : [
1503
+ "title"
1504
+ ],
1505
+ "type" : "object"
1506
+ },
1507
+ "value" : {
1508
+ "type" : [
1509
+ "string",
1510
+ "number",
1511
+ "boolean"
1512
+ ]
1513
+ }
1514
+ },
1515
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
1516
+ "description" : "A routine as an assistant writes one and as Routine Run hands one out: in a share link, under a published code, in a file an organisation hosts. Names rather than identifiers, step numbers rather than ids, one word per action. Built from the app's own reader; written-routine.md beside it says how it changes.",
1517
+ "properties" : {
1518
+ "about" : {
1519
+ "description" : "What it is for, in Markdown.",
1520
+ "type" : "string"
1521
+ },
1522
+ "asksWhatToKeep" : {
1523
+ "description" : "Whether a run asks what to keep when it ends. Left out, it asks.",
1524
+ "type" : "boolean"
1525
+ },
1526
+ "colour" : {
1527
+ "anyOf" : [
1528
+ {
1529
+ "enum" : [
1530
+ "red",
1531
+ "orange",
1532
+ "yellow",
1533
+ "green",
1534
+ "mint",
1535
+ "teal",
1536
+ "blue",
1537
+ "indigo",
1538
+ "purple",
1539
+ "pink",
1540
+ "brown",
1541
+ "grey"
1542
+ ]
1543
+ },
1544
+ {
1545
+ "pattern" : "^#[0-9A-Fa-f]{6}$",
1546
+ "type" : "string"
1547
+ }
1548
+ ]
1549
+ },
1550
+ "dates" : {
1551
+ "items" : {
1552
+ "description" : "A date the steps and starts are counted from, by name.",
1553
+ "properties" : {
1554
+ "name" : {
1555
+ "pattern" : "\\S",
1556
+ "type" : "string"
1557
+ },
1558
+ "on" : {
1559
+ "description" : "The day, or the day and time. Left out while it is not known.",
1560
+ "pattern" : "^[0-9]{4}-[0-9]{2}-[0-9]{2}([ T][0-9]{2}:[0-9]{2}(:[0-9]{2})?)?$",
1561
+ "type" : "string"
1562
+ }
1563
+ },
1564
+ "required" : [
1565
+ "name"
1566
+ ],
1567
+ "type" : "object"
1568
+ },
1569
+ "type" : "array"
1570
+ },
1571
+ "from" : {
1572
+ "description" : "Which routine this is, where it already exists on the phone: eight characters of its identifier. Left exactly as it was handed out, and never invented.",
1573
+ "type" : "string"
1574
+ },
1575
+ "name" : {
1576
+ "description" : "What the routine is called.",
1577
+ "pattern" : "\\S",
1578
+ "type" : "string"
1579
+ },
1580
+ "nudge" : {
1581
+ "description" : "For a list that stays open, the time of day it says how much is waiting.",
1582
+ "pattern" : "^([01]?[0-9]|2[0-3]):[0-5][0-9]$",
1583
+ "type" : "string"
1584
+ },
1585
+ "once" : {
1586
+ "description" : "Something that happens once: finishing its run puts it away.",
1587
+ "type" : "boolean"
1588
+ },
1589
+ "order" : {
1590
+ "description" : "How freely somebody walking it may move about its steps. \"inOrder\": every step is listed, only the one in hand opens, and there is no Later. \"oneAtATime\": only the steps done and the one in hand are shown. Left out, or \"free\", any step can be read ahead and Later is there.",
1591
+ "enum" : [
1592
+ "free",
1593
+ "inOrder",
1594
+ "oneAtATime"
1595
+ ]
1596
+ },
1597
+ "rounds" : {
1598
+ "description" : "Steps that go round, by number, counting from one. No \"times\" is until I have had enough.",
1599
+ "properties" : {
1600
+ "from" : {
1601
+ "minimum" : 1,
1602
+ "type" : "integer"
1603
+ },
1604
+ "through" : {
1605
+ "minimum" : 1,
1606
+ "type" : "integer"
1607
+ },
1608
+ "times" : {
1609
+ "minimum" : 1,
1610
+ "type" : "integer"
1611
+ }
1612
+ },
1613
+ "required" : [
1614
+ "from",
1615
+ "through"
1616
+ ],
1617
+ "type" : "object"
1618
+ },
1619
+ "routineRun" : {
1620
+ "const" : 1,
1621
+ "description" : "The form this is written in. Always 1."
1622
+ },
1623
+ "runName" : {
1624
+ "description" : "What each run is called, naming a value: \"Due diligence: {param:company}\".",
1625
+ "type" : "string"
1626
+ },
1627
+ "severalAtOnce" : {
1628
+ "description" : "Several runs may go at once.",
1629
+ "type" : "boolean"
1630
+ },
1631
+ "startsFrom" : {
1632
+ "items" : {
1633
+ "description" : "A start offered so many days before (negative) or after a named date.",
1634
+ "properties" : {
1635
+ "at" : {
1636
+ "pattern" : "^([01]?[0-9]|2[0-3]):[0-5][0-9]$",
1637
+ "type" : "string"
1638
+ },
1639
+ "date" : {
1640
+ "type" : "string"
1641
+ },
1642
+ "days" : {
1643
+ "type" : "integer"
1644
+ },
1645
+ "minutes" : {
1646
+ "type" : "integer"
1647
+ }
1648
+ },
1649
+ "required" : [
1650
+ "date"
1651
+ ],
1652
+ "type" : "object"
1653
+ },
1654
+ "type" : "array"
1655
+ },
1656
+ "staysOpen" : {
1657
+ "description" : "A list that is never done: it waits when it is empty rather than finishing.",
1658
+ "type" : "boolean"
1659
+ },
1660
+ "steps" : {
1661
+ "description" : "The steps, in order. Empty only for a list that stays open.",
1662
+ "items" : {
1663
+ "$ref" : "#/$defs/step"
1664
+ },
1665
+ "type" : "array"
1666
+ },
1667
+ "symbol" : {
1668
+ "description" : "An SF Symbols name.",
1669
+ "type" : "string"
1670
+ },
1671
+ "tags" : {
1672
+ "items" : {
1673
+ "type" : "string"
1674
+ },
1675
+ "type" : "array"
1676
+ },
1677
+ "times" : {
1678
+ "items" : {
1679
+ "description" : "A time it offers to start, on the days named or every day.",
1680
+ "properties" : {
1681
+ "at" : {
1682
+ "pattern" : "^([01]?[0-9]|2[0-3]):[0-5][0-9]$",
1683
+ "type" : "string"
1684
+ },
1685
+ "days" : {
1686
+ "items" : {
1687
+ "enum" : [
1688
+ "mon",
1689
+ "tue",
1690
+ "wed",
1691
+ "thu",
1692
+ "fri",
1693
+ "sat",
1694
+ "sun"
1695
+ ]
1696
+ },
1697
+ "type" : "array"
1698
+ }
1699
+ },
1700
+ "required" : [
1701
+ "at"
1702
+ ],
1703
+ "type" : "object"
1704
+ },
1705
+ "type" : "array"
1706
+ },
1707
+ "values" : {
1708
+ "additionalProperties" : {
1709
+ "$ref" : "#/$defs/value"
1710
+ },
1711
+ "description" : "Named values, as \"name\": value — words, a number, true or false, or a link.",
1712
+ "type" : "object"
1713
+ }
1714
+ },
1715
+ "required" : [
1716
+ "routineRun",
1717
+ "name",
1718
+ "steps"
1719
+ ],
1720
+ "title" : "Routine Run: a routine, written (form 1)",
1721
+ "type" : "object"
1722
+ }