Expansion manifest
Every field of an expansion file, generated from the expansion manifest's JSON Schema. The page is rebuilt from the platform's contracts each time the site is built, so it always matches what the checker accepts.
A field's path is written from its section: a.b is b inside a.<name> stands for a name you choose, such as a zone's, and [] for each item of a list.
Sections
dsl
Required. Type: one of 0.4, 1.0.
expansion
Required. Type: object.
| Field | Type | Description |
|---|---|---|
id required | string | Matches ^[a-z0-9-]+$. |
name required | string | |
version required | string | Matches ^\d+\.\d+\.\d+$. |
requires required | object | |
requires.base required | string | <game id>@<semver range>, e.g. terraforming-mars@^1.0.0 |
requires.expansions | list of string | |
conflicts | list of string | |
after | list of string | Apply after these expansions when both are present (ordering only, not a dependency). |
players | object | |
players.min | integer | |
players.max | integer | |
note | string |
remove
Type: object.
| Field | Type | Description |
|---|---|---|
data | map of names to list of string | |
data.<name> | list of string | |
actions | list of string | |
triggers | list of string | |
variants | list of string |
replace
Type: object.
| Field | Type | Description |
|---|---|---|
actions | object | |
procedures | object | |
functions | object | |
hooks | object | |
consts | object | |
phases | object | |
triggers | object | |
modifiers | object | |
end | object |
add
Type: object.
| Field | Type | Description |
|---|---|---|
enums | object | |
consts | object | |
components | object | |
abilities | object | |
data | object | |
zones | object | |
boards | object | |
state | object | |
functions | object | |
procedures | object | |
actions | object | |
hooks | object | |
timers | object | |
options | object | |
modules | object | |
roles | object | |
variants | list | |
modifiers | list | |
triggers | list | |
setup | list | |
sides | list | |
endConditions | list | |
flow | list of object | |
flow[].after | string | |
flow[].before | string | |
flow[].order | integer | Sort key among insertions at the same anchor. |
flow[].nodes required | list | |
turnActions | map of names to list of string | phase name -> actions appended to that phase's turns node |
turnActions.<name> | list of string | |
scoring | list | |
componentProps | map of names to object | component name -> new props |
windowActions | map of names to list of string | window id -> reaction actions appended to it |
windowActions.<name> | list of string |
Definitions
Fields above link here for the shapes the schema shares between sections.