{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VirtualAccount",
  "title": "VirtualAccount",
  "type": "object",
  "properties": {
    "accountRef": {
      "type": "string",
      "description": "The unique reference identifier for the virtual account."
    },
    "accountName": {
      "type": "string",
      "description": "The name associated with the virtual account."
    },
    "accountNumber": {
      "type": "string",
      "description": "The bank account number assigned to the virtual account."
    },
    "bankName": {
      "type": "string",
      "description": "The name of the bank providing the virtual account."
    },
    "status": {
      "type": "string",
      "description": "The current status of the virtual account.",
      "enum": [
        "active",
        "expired"
      ]
    },
    "expiryDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the virtual account expires."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the virtual account was created."
    }
  }
}