Error Codes
FA-SCH-001
Available since 0.1.0
The file declares a schema_version this version of the mod does not support.
| Severity | Error: the definition is not loaded |
|---|---|
| Category | schema |
| Message | Unsupported schema_version: found {found}, supported {supported}. |
| Suggestion | Set "schema_version": {supported}. |
| Since | 0.1.0 |
Why this happened
Every file starts with schema_version, the version of the file format. This version of Foundry Apparatus reads version 1. Any other number means the file was written for a different version of the mod, or it is a typo.
Wrong
A file that asks for version 2:
{
"schema_version": 2,
"id": "mypack:iron_smelter"
}machines/iron_smelter.json:2:21 /schema_version [FA-SCH-001] Unsupported schema_version: found 2, supported 1.Fixed
{
"schema_version": 1,
"id": "mypack:iron_smelter"
}How to fix
Set "schema_version": 1. If the file came from a newer pack, check the Upgrade Guide for what changed.