OutputSchema is a recursive JSON-Schema-like structure that describes what each node should return. Every schema requires an instructions field — that’s how the model knows what to extract for this slot.
Types
| Type | Required | Optional |
|---|---|---|
string | instructions | enum, examples, template, pattern, format |
number / integer | instructions | minimum, maximum, exclusiveMinimum, exclusiveMaximum, enum |
boolean | instructions | — |
object | instructions, properties (recursive) | examples, template |
array | instructions, items (recursive) | minItems, maxItems, examples, template |
anyOf | instructions, anyOf (OutputSchema[]) | — |
format values for string: date-time, date, time, duration, email, uuid, ipv4, ipv6.
Limits
| Limit | Value |
|---|---|
| Max nesting depth | 10 |
| Max total properties | 5,000 |
| Max chars (names + enum values combined) | 120,000 |
| Max enum values across all properties | 1,000 |