Replace template.json with DataModel
Summary
Foundry core is intending to replace template.json with DataModel at some point in the future, likely around v13 or later. DataModel does have a number of benefits since you define the document structure in code rather than in a JSON file, so we might as well try to get ahead of the curve on this.
Resources
- https://foundryvtt.com/article/system-data-models/
- https://foundryvtt.wiki/en/development/api/DataModel
Acceptance Criteria
-
Structure in template.json is implemented as a DataModel