Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
README.md
Splits I/O Exchange Format #
The Splits I/O Exchange Format is a JSON schema denoting a standard way of arranging run information for passing between timers and other programs (like Splits I/O).
Examples #
The schema is large, but many fields are optional -- a run at its heart resembles the following:
{
"_schemaVersion": "v1.0.0",
"timer": {
"shortname": "livesplit",
"longname": "LiveSplit",
"version": "v1.6.0"
},
"game": {"longname": "Super Mario Odyssey"},
"category": {"longname": "Any%"},
"segments": [
{
"name": "Cap",
"endedAt": {"realtimeMS": 143123},
"bestDuration": {"realtimeMS": 141167}
}
]
}
However you likely want to add some additional fields to contain previous attempts, skipped splits, and runner information. For details around all possible fields, see the documentation. If you like, you can plug the raw schema itself into your program for validation -- it's written in json-schema, so any json-schema library will be able to handle it.