{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-process-get-processes-response-200-schema.json",
  "title": "Process_getProcesses_Response_200",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-process-api-openapi.yml#/components/schemas/Process_getProcesses_Response_200",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "format": "int64",
      "description": "Total number of processes available on your account"
    },
    "processes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProcessesGetResponsesContentApplicationJsonSchemaProcessesItems"
      },
      "description": "List of background processes on your account"
    }
  },
  "required": [
    "count",
    "processes"
  ],
  "$defs": {
    "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItems": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64",
          "description": "Unique identifier of the process"
        },
        "name": {
          "$ref": "#/$defs/ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsName",
          "description": "Name/type of the process"
        },
        "status": {
          "$ref": "#/$defs/ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsStatus",
          "description": "Current status of the process"
        },
        "info": {
          "$ref": "#/$defs/ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsInfo",
          "description": "Additional process information, only returned for completed IMPORTUSER processes. Contains URLs to CSV files with details about problematic records."
        },
        "export_url": {
          "type": "string",
          "format": "url",
          "description": "Download URL for completed export processes (returned for SEARCH_EXPORT_USERS, SEARCH_EXPORT_USERS_API, CAMPAIGN_USER_DETAILS, and EXPORT_WEBHOOK process types)"
        }
      },
      "required": [
        "id",
        "name",
        "status"
      ],
      "title": "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItems"
    },
    "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsInfo": {
      "type": "object",
      "properties": {
        "import": {
          "$ref": "#/$defs/ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsInfoImport",
          "description": "Import process details with URLs to CSV reports"
        }
      },
      "description": "Additional process information, only returned for completed IMPORTUSER processes. Contains URLs to CSV files with details about problematic records.",
      "title": "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsInfo"
    },
    "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsInfoImport": {
      "type": "object",
      "properties": {
        "invalid_emails": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to CSV file containing invalid email addresses, or null if none"
        },
        "duplicate_contact_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to CSV file containing duplicate contact IDs, or null if none"
        },
        "duplicate_ext_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to CSV file containing duplicate external IDs, or null if none"
        },
        "duplicate_email_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to CSV file containing duplicate email IDs, or null if none"
        },
        "duplicate_phone_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to CSV file containing duplicate phone numbers, or null if none"
        },
        "duplicate_whatsapp_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to CSV file containing duplicate WhatsApp numbers, or null if none"
        },
        "duplicate_landline_number_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to CSV file containing duplicate landline numbers, or null if none"
        }
      },
      "description": "Import process details with URLs to CSV reports",
      "title": "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsInfoImport"
    },
    "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsName": {
      "type": "string",
      "enum": [
        "IMPORTUSER",
        "SEARCH_EXPORT_USERS",
        "TRANS-CALC",
        "TRANS-GLOBAL-CALC",
        "CAMPAIGN_PROCESSING",
        "LIST_EXPORT",
        "CONTACT_EXPORT"
      ],
      "description": "Name/type of the process",
      "title": "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsName"
    },
    "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsStatus": {
      "type": "string",
      "enum": [
        "queued",
        "in_process",
        "processing",
        "completed",
        "failed",
        "cancelled"
      ],
      "description": "Current status of the process",
      "title": "ProcessesGetResponsesContentApplicationJsonSchemaProcessesItemsStatus"
    }
  }
}