José Longo
06/12/2022, 9:28 PM...
journal:
name: agenda
dateFormat: y.MM.dd
addBehavior: asOwnDomain
...
version: 1
schemas:
# Daily is the top most schema since its parent is 'root' it must have an identifier
# this identifier 'daily' will be used when using 'Lookup (schema)' command.
- id: agenda
parent: root
# Children of the top most schema do not need to contain identifier and just
# require a 'pattern' to be set to match the hierarchy of notes.
children:
- pattern: agenda
children:
- pattern: "[0-2][0-9][0-9][0-9]"
children:
- pattern: "[0-1][0-9]"
children:
- pattern: "[0-3][0-9]"
# As with regular schema we can set the template to be used with
# the match of our notes. Below is an example usage of shorthand templated
# definition (which defaults to type: note).
template: templates.agenda