Skip to content

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.

FieldTypeDescription
id requiredstringMatches ^[a-z0-9-]+$.
name requiredstring
version requiredstringMatches ^\d+\.\d+\.\d+$.
requires requiredobject
requires.base requiredstring<game id>@<semver range>, e.g. terraforming-mars@^1.0.0
requires.expansionslist of string
conflictslist of string
afterlist of stringApply after these expansions when both are present (ordering only, not a dependency).
playersobject
players.mininteger
players.maxinteger
notestring

remove

Type: object.

FieldTypeDescription
datamap of names to list of string
data.<name>list of string
actionslist of string
triggerslist of string
variantslist of string

replace

Type: object.

FieldTypeDescription
actionsobject
proceduresobject
functionsobject
hooksobject
constsobject
phasesobject
triggersobject
modifiersobject
endobject

add

Type: object.

FieldTypeDescription
enumsobject
constsobject
componentsobject
abilitiesobject
dataobject
zonesobject
boardsobject
stateobject
functionsobject
proceduresobject
actionsobject
hooksobject
timersobject
optionsobject
modulesobject
rolesobject
variantslist
modifierslist
triggerslist
setuplist
sideslist
endConditionslist
flowlist of object
flow[].afterstring
flow[].beforestring
flow[].orderintegerSort key among insertions at the same anchor.
flow[].nodes requiredlist
turnActionsmap of names to list of stringphase name -> actions appended to that phase's turns node
turnActions.<name>list of string
scoringlist
componentPropsmap of names to objectcomponent name -> new props
windowActionsmap of names to list of stringwindow id -> reaction actions appended to it
windowActions.<name>list of string

Definitions

Fields above link here for the shapes the schema shares between sections.