Pular para o conteúdo principal

LegalActionCandidate

{
"type": "object",
"required": [
"candidateId",
"source",
"command",
"applications",
"calculations",
"costs",
"steps",
"resolutionFingerprint",
"outcomeUncertain",
"reactionTransition"
],
"properties": {
"candidateId": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"System",
"Ability",
"Card"
]
},
"command": {
"type": "object",
"additionalProperties": true
},
"actionId": {
"type": "string",
"nullable": true
},
"cardDefinitionId": {
"type": "string",
"nullable": true
},
"costs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ResolvedCardCost"
},
"description": "Canonical resolved costs for this candidate and cost option; do not recalculate in clients."
},
"applications": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EffectApplicationRecord"
}
},
"calculations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CalculationTrace"
}
},
"steps": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EffectExecutionStep"
}
},
"resolutionFingerprint": {
"type": "string"
},
"outcomeUncertain": {
"type": "boolean"
},
"reactionTransition": {
"type": "string",
"enum": [
"ResolvedImmediately",
"Proposed",
"PriorityPassed",
"StackActionResolved",
"StackActionFizzled"
]
},
"resolvedCommand": {
"type": "object",
"nullable": true,
"additionalProperties": true
},
"pendingAction": {
"oneOf": [
{
"$ref": "#/components/schemas/PendingActionState"
},
{
"type": "null"
}
]
}
}
}

Referências​

Índice REST