Skip to content

GameboardRuleViolation

Defined in: src/rules/rule-types.ts:11

One validation or rule violation emitted by plan, world, recipe, or scenario checks.

code: string

Defined in: src/rules/rule-types.ts:13

Stable machine-readable violation code.


message: string

Defined in: src/rules/rule-types.ts:17

Human-readable diagnostic message.


optional placementId?: string

Defined in: src/rules/rule-types.ts:21

Related placement id when the violation is placement-specific.


severity: RuleSeverity

Defined in: src/rules/rule-types.ts:15

Diagnostic severity.


optional tileKey?: string

Defined in: src/rules/rule-types.ts:19

Related tile key when the violation is tile-specific.