José Longo
06/13/2022, 12:39 AMversion: 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: "[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:
id: templates.agenda
type: note