{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "ready",
        "needs_clarification",
        "not_receipt"
      ]
    },
    "merchant": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "maxLength": 200
    },
    "date": {
      "type": [
        "string",
        "null"
      ]
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        null,
        "USD",
        "EUR",
        "GBP",
        "CAD",
        "AUD",
        "JPY",
        "KWD"
      ]
    },
    "total": {
      "type": [
        "string",
        "null"
      ]
    },
    "evidence": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "questions": {
      "type": "array",
      "maxItems": 8,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 500
      }
    }
  },
  "required": [
    "status",
    "merchant",
    "date",
    "currency",
    "total",
    "evidence",
    "questions"
  ],
  "additionalProperties": false
}
