Allowed enum values
Use the exact, case-sensitive strings below in archive JSON. Do not substitute a translated UI label or an app database integer. The exception is settings.reviewBehavior.noAnswerRating, which deliberately uses integers 1 through 4; review-history ratings use strings.
Field type
See field definitions, values, and settings for each type's JSON shape. In particular, richText and imageOcclusion are not valid archive type strings.
Card side
cloze and image_occlusion require both. Search filters distinguish front, back, and both; filtering for front does not implicitly include both.
Chinese type
traditional, simplified
Annotation setting
off, hint, always, back
Romaji type
long_vowel, ascii
TTS source
manual, field_reference
For field_reference, contentSourceId must identify an eligible field in the same template. See field settings.
Code language
plaintext, dart, javascript, typescript, python, java, kotlin, swift, c, cpp, csharp, go, rust, ruby, php, html, css, sql, json, yaml, markdown, bash, shell
SRS state
The final three values describe status filters, not extra scheduling phases. The current app cannot convert them in retained SRS history; encountering one causes all schedules and both history collections to be omitted, with a progress warning when valid content can still import. Use a known phase or omit an unknown historical srsState; use wasSuspended for historical suspension. See schedule constraints and SRS reviews.
SRS rating
These are different JSON representations. Write "rating":"good" in an SRS review record and "noAnswerRating":3 in review settings. The two-button interface displays Again/Good; a configured Hard is displayed as Again, and Easy as Good. All four integer choices are preserved under either button layout.
History log type
logType belongs to SRS review records only. Its omission defaults to native; explicit null is invalid. The app imports both labels into the same history representation and exports stored SRS reviews as native, so the label distinction does not survive an app import/export cycle.
Study mode
flashcards, matching
These are the allowed studyMode values in normal reviews. The string flashcard is not accepted.
Learning step unit
min, hour, day
Review button display
twoButtons, fourButtons
Use these exact camelCase values in reviewBehavior.reviewButtonDisplay.
Deck order mode
sequential, random
Card priority category
new, learning, relearning, review, suspended
These categories belong to displayOrder.cardPriorityGroups. They use learning and relearning, while schedule and search state strings use learn and relearn. See SRS settings.
Theme
light, dark, system
Card orientation
normal, reverse, random
Default answer
fail, pass
Matching pair count
two, three, four, five, six
For settings containing these values, see deck settings, SRS settings, and user preferences.