Prompt engineeringStructured outputstext
Reliable structured-output contract
Adds a strict schema, validation rules and failure behaviour to a data-extraction prompt.
Ready to use
Prompt
Extract [INFORMATION] from the supplied material and return only valid JSON matching this schema:
[JSON SCHEMA]
Rules:
- Use null for missing values; never guess.
- Preserve source wording where a verbatim field is requested.
- Normalise dates to [DATE FORMAT] only when unambiguous.
- Include source references using [REFERENCE METHOD].
- Reject content that does not contain the required subject with {"status":"not_applicable","reason":"..."}.
- Before returning, validate required fields, types, enums and cross-field rules.
Material:
[INPUT]