{
"id": "org.stormlightlabs.malfestio.card",
"defs": {
"main": {
"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."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}