{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-register-payments-summary-response-schema.json",
  "title": "Register Payments Summary Response",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspeed-registers-api-openapi.yml#/components/schemas/RegisterPaymentsSummaryResponse",
  "properties": {
    "data": {
      "$ref": "#/$defs/RegisterPaymentsSummary"
    }
  },
  "type": "object",
  "$defs": {
    "RegisterPaymentSummaryPaymentType": {
      "properties": {
        "payment_type_id": {
          "description": "The ID of the Payment Type.",
          "format": "uuid",
          "type": "string"
        },
        "payment_type_name": {
          "description": "The name of the Payment Type.",
          "type": "string"
        },
        "total": {
          "description": "The Total amount for this Payment Type.",
          "type": "string"
        }
      },
      "title": "Register Payments Summary Payment Type",
      "type": "object"
    },
    "RegisterPaymentsSummary": {
      "properties": {
        "payments": {
          "items": {
            "$ref": "#/$defs/RegisterPaymentSummaryPaymentType"
          },
          "type": "array"
        }
      },
      "title": "Register Payments Summary",
      "type": "object"
    }
  }
}