Coder Flash Cards: JSON Data Specification

V0.1

The format is very simple: Cards in Decks, Decks in Packs. Here is the TypeScript definitions:

export type Card = {
  id: String
  question: String
  answer: String
}

export type Deck = {
  id: String
  name: String
  items: Card[]
}

export type Pack = {
  title: String
  author: String
  description: String
  version: number
  decks: Deck[]
}

NB ids must be unique, in many cases using the original name or question is fine. This will allow for updates as long as the id is not changed.

Back