Having the ability to express detection rules (what makes a note match this type) and prescription rules (what a note of this type MUST have) would be valuable.
Example:
match: # Detection: how to recognize existing notes
where:
tags:
contains: meeting
prescribe: # Enforcement: what valid notes must include
tags:
- meeting
- pkm
fields_present:
- meeting_date
Currently, match serves double duty. A note can match by tag but the type also wants to enforce additional tags. These are different concerns: match is for discovery, prescribe is for validation.
Having the ability to express detection rules (what makes a note match this type) and prescription rules (what a note of this type MUST have) would be valuable.
Example:
Currently,
matchserves double duty. A note can match by tag but the type also wants to enforce additional tags. These are different concerns: match is for discovery, prescribe is for validation.