Files
routine/shared/schedule.json
T

71 lines
2.9 KiB
JSON

{
"_help": [
"The template routine: a first run starts from a copy of it (your own copy then lives in the data folder; see Settings → Data).",
"Change it in Settings → Routine (Ctrl+,), or delete it all and start your own: it's only there to show what a routine can hold.",
"Each block: id, label, start/end (24h hour), color, items, optional days (0=Sun .. 6=Sat; omit = every day).",
"Each item: label, optional id, optional items (nested sub-tasks), optional days (as for blocks),",
"optional hint: true (a suggestion shown as text, with no checkbox: never ticked, skipped or counted).",
"optional calm: true (ticking it plays one of the calm animations instead; it still counts).",
"An item without an id gets one from its label (and its parents'): give it an explicit id to rename it and keep its history.",
"rev goes up each time the routine is saved; dayStartsAt is the hour a new day begins (before it, it's still last night)."
],
"rev": 0,
"dayStartsAt": 4,
"blocks": [
{
"id": "morning",
"label": "Morning",
"start": 7,
"end": 9,
"color": "#FFE08A",
"items": [
{"id": "tick-me", "label": "Tick me off: every tick plays a little animation"},
{"id": "with-sub-tasks", "label": "A task with sub-tasks (ticking it ticks the ones still open)", "items": [
{"id": "first-step", "label": "A sub-task"},
{"id": "second-step", "label": "Another sub-task, with one of its own", "items": [
{"id": "deeper", "label": "A sub-sub-task: nest as deep as you like"}
]}
]},
{"id": "stretch", "label": "Stretch for a few minutes", "items": [
{"id": "idea", "label": "Just a suggestion: quiet text with no checkbox, like an idea for the task above", "hint": true}
]}
]
},
{
"id": "day",
"label": "Daytime",
"start": 9,
"end": 17,
"color": "#B8DAFF",
"items": [
{"id": "weekdays", "label": "Only on weekdays: a task can be left off some days", "days": [1, 2, 3, 4, 5]},
{"id": "skip-me", "label": "Skip me: skip hides a task without ticking it off"},
{"id": "hide-me", "label": "Click a block's heading to hide its tasks"}
]
},
{
"id": "weekend",
"label": "Weekend",
"start": 10,
"end": 12,
"color": "#B5EBC8",
"days": [0, 6],
"items": [
{"id": "whole-block", "label": "This whole block is only there on Saturday and Sunday"}
]
},
{
"id": "evening",
"label": "Evening",
"start": 20,
"end": 23,
"color": "#D9C2FF",
"items": [
{"id": "calm", "label": "A calm task: its animation is slower and quieter, for late nights", "calm": true},
{"id": "make-it-yours", "label": "Make it yours: Settings → Routine (Ctrl+,) changes or deletes all of this"},
{"id": "note", "label": "Write a line in the day's note at the bottom"}
]
}
]
}