cards.json
An array of card objects.
[ { "id": "card_lBsPlNZe4356", "content": { "french_word": "Bonjour", "translation": "Hello", "pronunciation": "media/audio_33a878e6.mp3" } }, { "id": "card_2sdInOpM83eo", "content": { "french_word": "Merci", "translation": "Thank you", "pronunciation": "media/audio_e6bceb35.mp3" } }]id string requiredIdentifier of the card, referenced from reviews.json. Must be unique within the package.
content object requiredThe content of the card, as an object whose keys are the key of the fields declared in deck_fields. Each value must match the type of its field.
The values of audio and image fields are the path of their file in the media folder, relative to the root of the package. Images embedded in a rich_content field reference their file the same way, in the src attribute of their <img> tag.
The card object in a deck package differs from the API in two ways:
- The scheduling information that lived at the card variant level is not included in the deck package (but can be recomputed from
reviews.jsonusing a spaced repetition algorithm); - The
autofillattribute that only reflects a transient generation status is not included either.