Reference
Past events
- Content type
historyEvents- Files
data/history/events.json,data/history/events/- Shape
- A list of records, each with its own
id - Patch target
historyEvent:<id>, for examplehistoryEvent:core.example- In the base game
- 0 records
- Guide
- History from before the career
Fields#
Indented fields belong to the field above them. [] marks the items of a list. A field that is not required may be left out; the default is used.
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
id | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
year | whole number, 1900 to 2100 | Yes | ||
eventId | id | Namespaced id, e.g. "core.player.rory-calder" | ||
name | text, up to 80 characters | |||
tourId | id | Namespaced id, e.g. "core.player.rory-calder" Names a tour record. | ||
major | true or false | |||
date | date, YYYY-MM-DD | |||
winnerId | id | Namespaced id, e.g. "core.player.rory-calder" | ||
runnerUpId | id | Namespaced id, e.g. "core.player.rory-calder" | ||
matches | list, up to 4096 items | [] | ||
matches[].fromFinal | whole number, 0 to 12 | Yes | ||
matches[].a | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
matches[].b | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
matches[].winnerId | id | Namespaced id, e.g. "core.player.rory-calder" | ||
matches[].legsA | whole number, 0 to 99 | |||
matches[].legsB | whole number, 0 to 99 | |||
matches[].setsA | whole number, 0 to 20 | |||
matches[].setsB | whole number, 0 to 20 | |||
matches[].avgA | number, 0 to 180 | |||
matches[].avgB | number, 0 to 180 | |||
matches[].date | date, YYYY-MM-DD | |||
prizes | list, up to 4096 items | [] | ||
prizes[].playerId | id | Yes | Namespaced id, e.g. "core.player.rory-calder" | |
prizes[].amount | number, 0 to 100,000,000 | Yes | ||
prizes[].ranked | true or false |