# Deeply Nested Discriminator in allOf chains

`POST /discriminator-deeply-nested-allof`

Tags: `discriminator`

Tests discriminator discovery through nested allOf chains:
- top-level allOf
- inner allOf
- oneOf with discriminator

This validates recursive discriminator lookup beyond first-level allOf items.

## Request body (required)

### Content type: `application/json`

Schema: `one of`

- Discriminator: `deepVariantType`
  - `deep-a` selects DeepNestedVariantA
  - `deep-b` selects DeepNestedVariantB
- Exactly one of these options:
  - Option 1: DeepNestedVariantA (object)
    - `id` (string<uuid>, required)
      Unique identifier
    - `createdAt` (string<date-time>)
      Creation timestamp
    - `layer` (string, required, possible values: `inner`)
    - `deepVariantType` (string, required, possible values: `deep-a`)
    - `deepAConfig` (object)
      - `deepAConfig.enabled` (boolean)
  - Option 2: DeepNestedVariantB (object)
    - `id` (string<uuid>, required)
      Unique identifier
    - `createdAt` (string<date-time>)
      Creation timestamp
    - `layer` (string, required, possible values: `inner`)
    - `deepVariantType` (string, required, possible values: `deep-b`)
    - `deepBConfig` (object)
      - `deepBConfig.threshold` (number)

## Responses

### 200

Successful response

#### Content type: `application/json`

Schema: `one of`

- Discriminator: `deepVariantType`
  - `deep-a` selects DeepNestedVariantA
  - `deep-b` selects DeepNestedVariantB
- Exactly one of these options:
  - Option 1: DeepNestedVariantA (object)
    - `id` (string<uuid>, required)
      Unique identifier
    - `createdAt` (string<date-time>)
      Creation timestamp
    - `layer` (string, required, possible values: `inner`)
    - `deepVariantType` (string, required, possible values: `deep-a`)
    - `deepAConfig` (object)
      - `deepAConfig.enabled` (boolean)
  - Option 2: DeepNestedVariantB (object)
    - `id` (string<uuid>, required)
      Unique identifier
    - `createdAt` (string<date-time>)
      Creation timestamp
    - `layer` (string, required, possible values: `inner`)
    - `deepVariantType` (string, required, possible values: `deep-b`)
    - `deepBConfig` (object)
      - `deepBConfig.threshold` (number)
