{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-receipt-recognition-result-schema.json",
  "title": "ReceiptRecognitionResult",
  "description": "Result of recognizing a receipt, to extract the key information from the receipt",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-imageocr-api-openapi.yml#/components/schemas/ReceiptRecognitionResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation was successful, false otherwise",
      "type": "boolean"
    },
    "Timestamp": {
      "format": "date-time",
      "description": "The date and time printed on the receipt (if included on the receipt)",
      "type": "string"
    },
    "BusinessName": {
      "description": "The name of the business printed on the receipt (if included on the receipt)",
      "type": "string"
    },
    "BusinessWebsite": {
      "description": "The website URL of the business printed on the receipt (if included on the receipt)",
      "type": "string"
    },
    "AddressString": {
      "description": "The address of the business printed on the receipt (if included on the receipt)",
      "type": "string"
    },
    "PhoneNumber": {
      "description": "The phone number printed on the receipt (if included on the receipt)",
      "type": "string"
    },
    "ReceiptItems": {
      "description": "The individual line items comprising the order; does not include total (see ReceiptTotal)",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReceiptLineItem"
      }
    },
    "ReceiptSubTotal": {
      "format": "double",
      "description": "Optional; if available, the monetary value of the receipt subtotal - typically not including specialized line items such as Tax. If this value is not available, it will be 0.",
      "type": "number"
    },
    "ReceiptTotal": {
      "format": "double",
      "description": "The total monetary value of the receipt (if included on the receipt)",
      "type": "number"
    }
  },
  "$defs": {
    "ReceiptLineItem": {
      "description": "Receipt line item, comprised of a product or item and a price (if available)",
      "type": "object",
      "properties": {
        "ItemDescription": {
          "description": "Description of the item",
          "type": "string"
        },
        "ItemPrice": {
          "format": "double",
          "description": "Price of the item if available",
          "type": "number"
        }
      }
    }
  }
}