org.stormlightlabs.malfestio.card

desertthunder.dev

Documentation

A flashcard for spaced repetition study.

main record

A flashcard for spaced repetition study.

Record Key tid Timestamp-based ID

Properties

back string Required

Content on the back of the card.

maxLength: 10000 bytes
cardType string Optional

Type of the card (e.g., basic or cloze deletion).

maxLength: 100 bytes
Known values: basic, cloze
Default: basic
createdAt string datetime Required

An RFC 3339 formatted timestamp.

deckRef string at-uri Required

Reference to the deck this card belongs to.

front string Required

Content on the front of the card.

maxLength: 10000 bytes
hints array of string Optional

Optional hints to display before revealing the answer.

language string Optional

Language code for the card content (e.g., 'en', 'es', 'fr').

maxLength: 20 bytes
media array of object Optional

Multimedia attachments for the card.

updatedAt string datetime Optional

Timestamp of last update.

visibility string Optional

Visibility setting for the card.

maxLength: 100 bytes
Known values: private, unlisted, public
Default: public
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "deckRef",
      "front",
      "back",
      "createdAt"
    ],
    "properties": {
      "back": {
        "type": "string",
        "maxLength": 10000,
        "description": "Content on the back of the card."
      },
      "front": {
        "type": "string",
        "maxLength": 10000,
        "description": "Content on the front of the card."
      },
      "hints": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 1000
        },
        "description": "Optional hints to display before revealing the answer."
      },
      "media": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "uri",
            "kind"
          ],
          "properties": {
            "alt": {
              "type": "string",
              "maxLength": 1000
            },
            "uri": {
              "type": "string",
              "format": "uri"
            },
            "kind": {
              "type": "string",
              "maxLength": 100,
              "knownValues": [
                "image",
                "audio"
              ]
            }
          }
        },
        "description": "Multimedia attachments for the card."
      },
      "deckRef": {
        "type": "string",
        "format": "at-uri",
        "description": "Reference to the deck this card belongs to."
      },
      "cardType": {
        "type": "string",
        "default": "basic",
        "maxLength": 100,
        "description": "Type of the card (e.g., basic or cloze deletion).",
        "knownValues": [
          "basic",
          "cloze"
        ]
      },
      "language": {
        "type": "string",
        "maxLength": 20,
        "description": "Language code for the card content (e.g., 'en', 'es', 'fr')."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp of last update."
      },
      "visibility": {
        "type": "string",
        "default": "public",
        "maxLength": 100,
        "description": "Visibility setting for the card.",
        "knownValues": [
          "private",
          "unlisted",
          "public"
        ]
      }
    }
  },
  "description": "A flashcard for spaced repetition study."
}

Lexicon Garden

@