{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/currencycloud/main/json-schema/currencycloud-account-usage-schema.json",
  "title": "account_usage",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/currencycloud-account-usage-api-openapi.yml#/components/schemas/account_usage",
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "UUID for the Account Usage entity."
    },
    "form_id": {
      "type": "string",
      "description": "Form UUID"
    },
    "document_ids": {
      "type": "array",
      "description": "List of IDs for any uploaded supporting documents.",
      "items": {
        "type": "string"
      }
    },
    "collections_account": {
      "description": "Does the account receive funds from third parties.",
      "type": "boolean"
    },
    "collection_currencies": {
      "description": "List of currencies to fund the account with.",
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "payment_currencies": {
      "type": "array",
      "description": "List of payout currencies.",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "transaction_countries": {
      "type": "array",
      "description": "List of countries that corporate accounts want to send/receive money to/from.",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "one_off_transaction": {
      "type": "boolean",
      "description": "Will it be a single one-off transaction."
    },
    "estimated_monthly_transaction_currency": {
      "description": "Currency of the estimated monthly transaction value.",
      "type": [
        "string",
        "null"
      ]
    },
    "estimated_monthly_transaction_value": {
      "description": "Estimated monthly value of what a corporate account is going to transact on the platform.",
      "type": [
        "integer",
        "null"
      ]
    },
    "estimated_monthly_transaction_volume": {
      "description": "How often do corporates expect to send or receive funds.",
      "type": [
        "integer",
        "null"
      ]
    },
    "source_of_funds": {
      "description": "The source of money that will be sent through the platform.",
      "type": [
        "string",
        "null"
      ]
    },
    "primary_purpose": {
      "description": "The reason for opening an account with Currencycloud.",
      "type": [
        "string",
        "null"
      ]
    },
    "purpose_details": {
      "description": "Additional details if primary_purpose is 'other'.",
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "description": "Date the Account Usage record created.",
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "description": "Date the Account Usage record was last updated.",
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "collections_account",
    "one_off_transaction"
  ]
}