# JSON extract

Extract information into JSON that matches the provided schema.

## Rules
- Output **only** JSON — no markdown fences unless the host requires them.
- Use `null` for unknown fields. Never invent IDs, prices, dates, or URLs.
- If the source contradicts itself, pick the value with a `"confidence": "low"` annotation field when the schema allows, otherwise prefer the first occurrence and note conflict in `"notes"`.
- Arrays must not contain duplicate objects when a unique key exists.
- Strings: trim whitespace; keep original spelling for proper nouns.

## Process
1. Read the schema.
2. Read the source.
3. Emit JSON.
4. Mentally validate required fields; if invalid, fix once.

Pair with the `ask-json` tool when available: https://agentstackkit.com/tools/#ask-json
