The user's spell book: a single index record (stored at rkey 'self') that tracks which net.anisota.spell.custom records the user has, whether each is currently cast (active), and in what order they appear. The individual spell definitions live in the net.anisota.spell.custom collection; this record only references them by rkey, so casting/dismissing/reordering a spell touches only this small index rather than rewriting each spell.
any
Any valid record key
Properties
activePresets
array
of
string
Optional
Legacy: identifiers of built-in preset spells the user had activated before presets were replaced by real shared spell records. Retained for backward compatibility.
entries
array
of
ref
#entry
Required
The user's spells, in display order, each referencing a net.anisota.spell.custom record in the same repo.
updatedAt
string
datetime
Required
When the spell book was last modified
View raw schema
{
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"entries",
"updatedAt"
],
"properties": {
"entries": {
"type": "array",
"items": {
"ref": "#entry",
"type": "ref"
},
"description": "The user's spells, in display order, each referencing a net.anisota.spell.custom record in the same repo."
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "When the spell book was last modified"
},
"activePresets": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64
},
"description": "Legacy: identifiers of built-in preset spells the user had activated before presets were replaced by real shared spell records. Retained for backward compatibility."
}
}
},
"description": "The user's spell book: a single index record (stored at rkey 'self') that tracks which net.anisota.spell.custom records the user has, whether each is currently cast (active), and in what order they appear. The individual spell definitions live in the net.anisota.spell.custom collection; this record only references them by rkey, so casting/dismissing/reordering a spell touches only this small index rather than rewriting each spell."
}