-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotebook.schema.json
More file actions
147 lines (147 loc) · 4.35 KB
/
notebook.schema.json
File metadata and controls
147 lines (147 loc) · 4.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/grovetools/core/config/notebook",
"$defs": {
"NoteTypeConfig": {
"properties": {
"description": {
"type": "string",
"description": "Human-readable description of this note type"
},
"template_path": {
"type": "string",
"description": "Path to the template file for this note type"
},
"filename_format": {
"type": "string",
"description": "Filename format: date-title"
},
"icon": {
"type": "string",
"description": "Icon for TUI display (nerd font icon)"
},
"icon_color": {
"type": "string",
"description": "Lipgloss color for the icon in the TUI"
},
"default_expand": {
"type": "boolean",
"description": "Whether this group is expanded by default in the TUI"
},
"sort_order": {
"type": "integer",
"description": "Sort order in the TUI (lower numbers appear first)"
}
},
"type": "object"
},
"ObsidianConfig": {
"properties": {
"vault_name": {
"type": "string",
"description": "Display name for the generated Obsidian vault",
"x-layer": "global",
"x-priority": "45"
},
"auto_link_plugin": {
"type": "boolean",
"description": "Automatically symlink the nb-integration plugin on setup",
"default": false,
"x-layer": "global",
"x-priority": "46"
},
"template_repo": {
"type": "string",
"description": "Git repo URL containing .obsidian template (e.g. github.com/user/obsidian-dotfiles)",
"x-layer": "global",
"x-priority": "47"
}
},
"type": "object"
},
"SyncthingConfig": {
"properties": {
"devices": {
"items": {
"type": "string"
},
"type": "array",
"description": "Syncthing device IDs to share this notebook with",
"x-important": true,
"x-layer": "global",
"x-priority": "40"
},
"folder_title": {
"type": "string",
"description": "Custom title for the Syncthing folder (defaults to grove-\u003cnotebook\u003e)",
"x-layer": "global",
"x-priority": "41"
}
},
"type": "object"
}
},
"properties": {
"root_dir": {
"type": "string",
"description": "Absolute path to the notebook root (enables Centralized Mode)"
},
"notes_path_template": {
"type": "string",
"description": "Path template for notes directory"
},
"plans_path_template": {
"type": "string",
"description": "Path template for plans directory"
},
"chats_path_template": {
"type": "string",
"description": "Path template for chats directory"
},
"templates_path_template": {
"type": "string",
"description": "Path template for templates directory"
},
"recipes_path_template": {
"type": "string",
"description": "Path template for recipes directory"
},
"in_progress_path_template": {
"type": "string",
"description": "Path template for in-progress items"
},
"completed_path_template": {
"type": "string",
"description": "Path template for completed items"
},
"prompts_path_template": {
"type": "string",
"description": "Path template for prompts directory"
},
"context_path_template": {
"type": "string",
"description": "Path template for context directory"
},
"types": {
"additionalProperties": {
"$ref": "#/$defs/NoteTypeConfig"
},
"type": "object",
"description": "Map of note type name to configuration"
},
"sync": {
"description": "Synchronization configuration for this notebook"
},
"syncthing": {
"$ref": "#/$defs/SyncthingConfig",
"description": "Syncthing automated setup configuration"
},
"obsidian": {
"$ref": "#/$defs/ObsidianConfig",
"description": "Obsidian vault automated setup configuration"
}
},
"type": "object",
"title": "Grove Notebook Configuration",
"description": "Schema for the 'notebook' extension in grove.yml."
}