Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
/ tts-save-format Public archive

TypeScript Definitions and JSON Schema for Tabletop Simulator

Notifications You must be signed in to change notification settings

matanlurey/tts-save-format

Repository files navigation

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