Various improvements

This commit is contained in:
Edward Betts 2026-07-09 10:12:57 +01:00
parent b7d95f26ec
commit 442ae98463
3 changed files with 100 additions and 3 deletions

View file

@ -13,6 +13,7 @@ This document describes the YAML files read from `../personal-data/`. It is inte
- Currencies must be in `config.CURRENCIES` or `GBP`.
- Travel and trip-related entries are grouped by the `trip` date. That date should match an entry in `trips.yaml` when a named trip is needed, but trip groups can also be created from travel/accommodation/conference entries.
- Keep chronological files sorted by their natural start field. `validate_yaml.py` checks ordering for trips, flights, trains, ferries, conferences, and accommodation.
- Preserve the existing whitespace style. Long top-level list files such as `accommodation.yaml`, `buses.yaml`, `car_journeys.yaml`, `coaches.yaml`, `conferences.yaml`, `ferries.yaml`, `flights.yaml`, `stations.yaml`, `trains.yaml`, and `trips.yaml` use one blank line between top-level items. Mapping files such as `airports.yaml` do not use this list-item spacing.
- Coordinates are `latitude` then `longitude`, both numeric.
## Cross-File References