{
"type": "object",
"required": [
"identity",
"version",
"faceValueMode",
"costs",
"effects",
"explanations",
"impacts",
"fingerprint"
],
"properties": {
"hasCardPayments": {
"type": "boolean",
"nullable": true
},
"referencedRules": {
"type": "array",
"description": "Descriptive status, modifier and condensation-recipe references from the pinned revision. Does not execute effects.",
"items": {
"$ref": "#/components/schemas/CardRuleReference"
}
},
"identity": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"Definition",
"Offer",
"Instance",
"Transformation"
]
},
"definitionId": {
"type": "string"
},
"cardInstanceId": {
"type": "string",
"format": "uuid",
"nullable": true
},
"offerId": {
"type": "string",
"nullable": true
}
}
},
"version": {
"type": "object",
"description": "Pinned content, composition and run/combat coordinates.",
"additionalProperties": true
},
"faceValueMode": {
"type": "string",
"enum": [
"ComposedBase",
"Source"
]
},
"rarity": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"costs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"componentId": {
"type": "string"
},
"costs": {
"type": "object",
"additionalProperties": true
}
}
}
},
"effects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"componentId": {
"type": "string"
},
"effectPath": {
"type": "string"
},
"parentEffectPath": {
"type": "string",
"nullable": true
},
"boundary": {
"type": "string",
"nullable": true
},
"definition": {
"type": "object",
"additionalProperties": true
},
"parameters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"parameter": {
"type": "string"
},
"values": {
"$ref": "#/components/schemas/CardNumericLayers"
}
}
}
}
}
}
},
"conditions": {
"type": "array",
"items": {
"type": "object"
}
},
"targeting": {
"type": "array",
"items": {
"type": "object"
}
},
"dispositions": {
"type": "array",
"items": {
"type": "object"
}
},
"ruleOverrides": {
"type": "array",
"items": {
"type": "object"
}
},
"permanentChanges": {
"type": "array",
"items": {
"type": "object"
}
},
"influences": {
"type": "array",
"description": "Intrinsic card contribution components, including critical chance or multiplier changes that do not change composed-base numbers.",
"items": {
"type": "object",
"additionalProperties": true
}
},
"explanations": {
"type": "array",
"description": "Per-parameter source attributes, eligible zero values, pertinent contributors, conditions and bounded bucket outputs. Full detail may include technical traces.",
"items": {
"type": "object",
"additionalProperties": true
}
},
"impacts": {
"type": "array",
"description": "Separate target outcomes with captured-preview validity; never the face value.",
"items": {
"type": "object",
"additionalProperties": true
}
},
"impactsTruncated": {
"type": "boolean"
},
"fingerprint": {
"type": "string"
}
}
}