{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/popp/json-schema/popp-bulk-create-conversations-response-schema.json",
  "title": "BulkCreateConversationsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/popp-conversations-api-openapi.yml#/components/schemas/BulkCreateConversationsResponse",
  "type": "object",
  "properties": {
    "message": {
      "type": "string"
    },
    "total": {
      "type": "integer",
      "description": "Total number of candidates processed."
    },
    "queued": {
      "type": "integer",
      "description": "Number of candidates successfully queued."
    },
    "failed": {
      "type": "integer",
      "description": "Number of candidates that failed to process."
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "description": "The index of the candidate in the input array."
          },
          "firstName": {
            "type": "string",
            "description": "The first name of the candidate."
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "failed"
            ],
            "description": "The processing status."
          },
          "error": {
            "type": "string",
            "description": "Error message if the candidate failed to process."
          }
        },
        "required": [
          "index",
          "firstName",
          "status"
        ]
      }
    }
  },
  "required": [
    "message",
    "total",
    "queued",
    "failed",
    "results"
  ],
  "additionalProperties": false
}