A plain, serialized document source handed to a migrator. This is the shape of document.toObject() — never a live document — so migrators stay pure and the folder can run in Node without Foundry.
document.toObject()
Optional
The document id, when present.
The document flags.
The document name, for diagnostics.
The system (schema) data.
The document subtype (e.g. "skill", "being").
"skill"
"being"
A plain, serialized document source handed to a migrator. This is the shape of
document.toObject()— never a live document — so migrators stay pure and the folder can run in Node without Foundry.