Edit Metabase serdes YAML files (cards, dashboards, databases) with correct portable references and structural conventions. Use when modifying exported YAML content.
Run both checkers after every edit. No exceptions. Do not batch multiple edits before validating.
clojure -M:run:ee --mode checker --checker structural --export /path/to/export-dir
clojure -M:run:ee --mode checker --checker cards --export /path/to/export-dir
If either checker fails, fix the issue before making further edits.
Serdes YAML uses portable references instead of integer IDs. This is the most important concept for editing.
String name: "Sample Database"
Array of [database, schema, table]:
table_id:
- Sample Database
- PUBLIC
- ACCOUNTS
Array of [database, schema, table, field]: