| { | |
| "state": "Invoice INV-1042. Vendor: Northwind. Total: USD 125.00. Status: unpaid. Payment is due today.", | |
| "questions": { | |
| "paid": { | |
| "type": "noul", | |
| "instructions": "Has this invoice already been paid?", | |
| "criteria": {"false": "Unpaid", "true": "Paid"} | |
| }, | |
| "currency": { | |
| "type": "choice", | |
| "instructions": "Which currency is explicitly stated?", | |
| "criteria": {"usd": "US dollars (USD)", "eur": "Euros (EUR)", "unknown": "Not stated"} | |
| }, | |
| "amount_band": { | |
| "type": "score", | |
| "instructions": "Which ordered band contains the stated numeric total?", | |
| "criteria": ["Below 100", "100 through 999.99", "1000 or more"] | |
| } | |
| } | |
| } | |