Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (26 loc) · 1.12 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.12 KB

tts-save-files

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"
    }
  ]
}