Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matanlurey/tts-save-format
TypeScript Definitions and JSON Schema for Tabletop Simulator
https://github.com/matanlurey/tts-save-format
format json-schema save-file tabletop-simulator typescript-definitions
Last synced: about 2 months ago
JSON representation
TypeScript Definitions and JSON Schema for Tabletop Simulator
- Host: GitHub
- URL: https://github.com/matanlurey/tts-save-format
- Owner: matanlurey
- Created: 2020-05-05T03:08:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:40:58.000Z (almost 2 years ago)
- Last Synced: 2023-02-28T15:56:51.517Z (almost 2 years ago)
- Topics: format, json-schema, save-file, tabletop-simulator, typescript-definitions
- Language: TypeScript
- Homepage: https://tts.swlegion.dev/SaveState.json
- Size: 477 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tts-save-files
TypeScript Definitions and JSON Schema for Tabletop Simulator's
[Save file format][1].[1]: https://kb.tabletopsimulator.com/custom-content/save-file-format/
This package contains hand written [JSON Schema Draft-07][2] files for the
serialized objects in the [Save file format][1], and automatically generated
[TypeScript definition files][3] using [`json-schema-to-typescript`][4].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`][5]. To add support in Visual Studio Code, you can add the
following to your [`settings.json`][6]:```json
{
"json.schemas": [
{
"fileMatch": ["path/to/save-file.json"],
"url": "https://tts.swlegion.dev/SaveState.json"
}
]
}
```[2]: http://json-schema.org/draft-07/schema
[3]: https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html
[4]: https://www.npmjs.com/package/json-schema-to-typescript
[5]: https://www.npmjs.com/package/ajv-cli
[6]: https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings