# Nested Fields Do Not Match

## Ontology Metadata

Code: ISS-0025
Version: ISS-0025@0.1.0
Ontology release: 0.1.0
Updated: 2026-05-10T00:00:00Z
Canonical URL: /workbench/issues/nested-fields-do-not-match/

## Summary

The AI returns nested structured fields whose internal shape, hierarchy, parent-child relationship, or contained values do not match the expected structure.

## Category

- CAT-0010 — Output
  - URL: /workbench/categories/output/
  - Summary: Problems where generated content, citations, fields, formats, parser-facing output, or structured responses are missing, malformed, unsupported, or unusable.

## Primary Pattern

- PAT-0160 — Schema Breakage
  - URL: /workbench/patterns/schema-breakage/
  - Summary: A structural condition where an instance, graph, payload, or object violates the type, shape, or rule requirements of a declared schema.

## Declared Patterns

- PAT-0160 — Schema Breakage
  - URL: /workbench/patterns/schema-breakage/
  - Summary: A structural condition where an instance, graph, payload, or object violates the type, shape, or rule requirements of a declared schema.
- PAT-0150 — Interface Mismatch
  - URL: /workbench/patterns/interface-mismatch/
  - Summary: A structural condition where observed interface behavior, shape, or exchange differs from the declared interface contract.
- PAT-0330 — Invariant Breakage
  - URL: /workbench/patterns/invariant-breakage/
  - Summary: A structural condition where an observed state violates a declared invariant that is supposed to remain true.

## Derived Primary Lenses

- LEN-0150 — Conflict Lens
  - URL: /workbench/lenses/conflict-lens/
  - Summary: Detects mutually incompatible constraints, claims, states, or declarations that cannot be simultaneously satisfied.
- LEN-0200 — Interface Contract Lens
  - URL: /workbench/lenses/interface-contract-lens/
  - Summary: Compares declared interface structure to observed runtime structure to detect contract deviations.
- LEN-0210 — Invariant Lens
  - URL: /workbench/lenses/invariant-lens/
  - Summary: Verifies that declared invariants are structurally enforceable and not contradicted by observed structure.

## Derived Secondary Lenses

- LEN-0230 — Normalization Lens
  - URL: /workbench/lenses/normalization-lens/
  - Summary: Transforms structurally equivalent variants into a canonical form to prevent false divergence.

## Search Intents

- nested fields do not match
- AI output nested fields wrong
- JSON nested object wrong shape
- nested schema mismatch
- AI returned wrong nested structure
- child fields do not match parent field
