{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-process-get-process-response-200-schema.json",
  "title": "Process_getProcess_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_getProcess_Response_200",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier of the process"
    },
    "name": {
      "$ref": "#/$defs/ProcessesProcessIdGetResponsesContentApplicationJsonSchemaName",
      "description": "Name/type of the process"
    },
    "status": {
      "$ref": "#/$defs/ProcessesProcessIdGetResponsesContentApplicationJsonSchemaStatus",
      "description": "Current status of the process"
    },
    "info": {
      "$ref": "#/$defs/ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfo",
      "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"
  ],
  "$defs": {
    "ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfo": {
      "type": "object",
      "properties": {
        "import": {
          "$ref": "#/$defs/ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfoImport",
          "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": "ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfo"
    },
    "ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfoImport": {
      "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": "ProcessesProcessIdGetResponsesContentApplicationJsonSchemaInfoImport"
    },
    "ProcessesProcessIdGetResponsesContentApplicationJsonSchemaName": {
      "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": "ProcessesProcessIdGetResponsesContentApplicationJsonSchemaName"
    },
    "ProcessesProcessIdGetResponsesContentApplicationJsonSchemaStatus": {
      "type": "string",
      "enum": [
        "queued",
        "in_process",
        "processing",
        "completed",
        "failed",
        "cancelled"
      ],
      "description": "Current status of the process",
      "title": "ProcessesProcessIdGetResponsesContentApplicationJsonSchemaStatus"
    }
  }
}