GameboardRuleViolation
Defined in: src/rules/rule-types.ts:11
One validation or rule violation emitted by plan, world, recipe, or scenario checks.
Properties
Section titled “Properties”code:
string
Defined in: src/rules/rule-types.ts:13
Stable machine-readable violation code.
message
Section titled “message”message:
string
Defined in: src/rules/rule-types.ts:17
Human-readable diagnostic message.
placementId?
Section titled “placementId?”
optionalplacementId?:string
Defined in: src/rules/rule-types.ts:21
Related placement id when the violation is placement-specific.
severity
Section titled “severity”severity:
RuleSeverity
Defined in: src/rules/rule-types.ts:15
Diagnostic severity.
tileKey?
Section titled “tileKey?”
optionaltileKey?:string
Defined in: src/rules/rule-types.ts:19
Related tile key when the violation is tile-specific.