---
title: CascadeGeneration schema
description: Metadata about the AI generation that produced a definition.
canonical_url: "https://cascades.crscreditapi.com/docs/api/schemas/CascadeGeneration"
doc_version: "1.0.0"
last_updated: "2026-10-09T18:04:24Z"
source: "public/api-docs/v1/swagger.yaml#/components/schemas/CascadeGeneration"
---

# CascadeGeneration

Metadata about the AI generation that produced a definition.

Defined in [openapi.json](https://cascades.crscreditapi.com/openapi.json#/components/schemas/CascadeGeneration) ([YAML](https://cascades.crscreditapi.com/openapi.yaml)).

| Field | Type | Required | Description |
|---|---|---|---|
| `name` | string | no | The name the generator chose. |
| `model` | string | no | The model that produced the definition. |
| `repaired` | boolean | no | `true` when the first draft failed validation and a repair pass fixed it. |
| `warnings` | array of CascadeGenerationWarning | no | Non-blocking findings from the definition validator (unreachable nodes, compliance hints). |
| &nbsp;&nbsp;`node_id` | string | yes | The `id` of the node the finding is about. |
| &nbsp;&nbsp;`code` | string | yes | Machine-readable finding. Current codes: `unreachable_node`, `missing_adverse_action`, `generic_adverse_action_reason`, `folded_thresholds`, `jurisdiction_review`. |
| &nbsp;&nbsp;`message` | string | yes | Human-readable explanation with the suggested fix. |

```json
{
  "name": "string",
  "model": "claude-opus-4-8",
  "repaired": true,
  "warnings": [
    {
      "node_id": "step_fico_check",
      "code": "missing_adverse_action",
      "message": "Decision node \"step_fico_check\" has a fail branch that does not end in an AdverseAction. FCRA declines should send an adverse-action notice."
    }
  ]
}
```

## Sitemap

See the full [sitemap](https://cascades.crscreditapi.com/sitemap.md) for all pages.
