{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/notification-webhooks-report-notification-data-schema.json",
  "title": "ReportNotificationData",
  "description": "ReportNotificationData schema from Adyen API",
  "properties": {
    "accountHolder": {
      "description": "The account holder related to the report.",
      "$ref": "#/components/schemas/ResourceReference"
    },
    "balanceAccount": {
      "description": "The balance account related to the report.",
      "$ref": "#/components/schemas/ResourceReference"
    },
    "balancePlatform": {
      "description": "Unique identifier of the balance platform.",
      "type": "string"
    },
    "creationDate": {
      "description": "Date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.",
      "format": "date-time",
      "type": "string"
    },
    "downloadUrl": {
      "description": "The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview).",
      "type": "string"
    },
    "fileName": {
      "description": "The filename of the report.",
      "type": "string"
    },
    "reportType": {
      "description": "Type of report.",
      "type": "string"
    }
  },
  "required": [
    "fileName",
    "reportType",
    "downloadUrl"
  ],
  "type": "object"
}