Understanding the Anki APKG Format

Reverse-engineered documentation of the Anki APKG format covering Legacy 1, Legacy 2, and Latest versions, database schemas, and format detection methods.