TypeScript Definitions and JSON Schema for Tabletop Simulator's Save file format.
This package contains hand written JSON Schema Draft-07 files for the
serialized objects in the Save file format, and automatically generated
TypeScript definition files using json-schema-to-typescript
.
You could use this package to more confindently parse and edit these large
JSON blobs using Visual Studio Code, or via the command-line with a tool such
as ajv-cli
. To add support in Visual Studio Code, you can add the
following to your settings.json
:
{
"json.schemas": [
{
"fileMatch": ["path/to/save-file.json"],
"url": "https://tts.swlegion.dev/SaveState.json"
}
]
}