Every note has a type: field that selects which other fields are required. Schemas are defined in src/lib/vault/schema.ts and enforced both at load time and by the ETL validator.
All notes
``yaml type: species | taxa | ecoregion | area | dataset | threat | concept | source | moc | meta tags: [namespace/value, ...] # see [[_meta/tags]] sources: ["[[sources/obis]]", ...] # provenance wikilinks related: ["[[species/...]]"] # optional cross-refs generated: 2026-05-11T00:00:00Z # ETL timestamp manual: false # true = ETL preserves the body ``
species
Required: aphiaID, scientificName, slug. See Blue whale (Balaenoptera musculus) for a canonical example. Optional: vernacular, taxonomy, iucn, traits, distribution, occurrence.
ecoregion
Required: name. Optional: realm, province (MEOW hierarchy).
area
Required: name. Optional: areaType (mpa/eez/abnj/iho), wdpaID, country.
threat
Required: name. Optional: scope (global/regional/local).
source
Required: name. Optional: url, license, refresh.
concept
Required: name. Bodies are usually one paragraph of methodology + a list of notes that reference the concept.