Workbench / Issues

Nested Fields Do Not Match

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

What This Looks Like

The AI returns structured output where top-level fields may look correct, but nested objects, arrays, child fields, or grouped values do not match the expected structure. A nested field may be placed under the wrong parent, contain the wrong child shape, mix incompatible items, or flatten structure that should remain hierarchical.

Why It Matters

Nested structure often carries meaning that flat fields cannot preserve. If nested fields do not match, downstream systems may parse the output but interpret it incorrectly. Reviewers may also miss the problem because the visible field names appear correct while the internal structure is wrong.

Structural Signal

The output satisfies part of the declared structure but breaks the internal relationship between parent fields, child fields, arrays, objects, or grouped values. The issue is not just that one value is wrong; it is that the nested structure does not preserve the expected shape.

Common Triggers

When to Use This Issue

Use this Issue when the output includes nested structured data, but the internal hierarchy, child fields, grouping, or nested shape does not match the expected schema or consumer requirement.

When Not to Use This Issue

Do not use this Issue when the entire JSON is invalid, when required fields are missing, or when a single flat field has the wrong type. Use this Issue when the problem is specifically inside nested structure.

Category

Output

Primary Pattern

PAT-0160 — Schema Breakage

Declared Patterns

Derived Primary Lenses

Derived Secondary Lenses

Search Intents

Ontology Metadata

Code
ISS-0025
Version
ISS-0025@0.1.0
Ontology release
0.1.0
Updated
2026-05-10T00:00:00Z

History

No public history entries recorded.

View full ontology changelog