---
title: TestCase schema
description: A registered sandbox subject for one of the cascade's products, with a payload ready to send to triggerWorkflow.
canonical_url: "https://cascades.crscreditapi.com/docs/api/schemas/TestCase"
doc_version: "1.0.0"
last_updated: "2026-10-09T18:04:24Z"
source: "public/api-docs/v1/swagger.yaml#/components/schemas/TestCase"
---

# TestCase

A registered sandbox subject for one of the cascade's products, with a payload ready to send to `triggerWorkflow`.

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

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | integer | no | The subject id in the CRS Testcase registry. |
| `case_name` | string | no |  |
| `product_code` | string | no | The billing product code this subject was registered for. |
| `payload` | object | no | Drop-in body for `triggerWorkflow` (`payload.applicant` and, when the subject carries one, `payload.property`). |
| &nbsp;&nbsp;`applicant` | ApplicantPayload | no | Free-form applicant data forwarded to the workflow's first node as `context.applicant`. Field names depend on the workflow definition. |
| &nbsp;&nbsp;`property` | object | no | Property / tenancy details when the subject was registered with them. |

```json
{
  "id": 54,
  "case_name": "Cascades_Credit_660_Inq0",
  "product_code": "TUC1001",
  "payload": {
    "applicant": {
      "first_name": "Jordan",
      "last_name": "Lee",
      "email": "jordan@example.com",
      "ssn": "123-45-6789",
      "dob": "1989-04-12"
    },
    "property": {}
  }
}
```

## Sitemap

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