{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/emporix/main/json-schema/emporix-customer-bulk-item-response-schema.json",
  "title": "CustomerBulkItemResponse",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-customer-service-openapi.yml#/components/schemas/CustomerBulkItemResponse",
  "type": "object",
  "properties": {
    "index": {
      "type": "integer",
      "description": "Index of the processed item, matching the item position in the request body."
    },
    "id": {
      "type": "string",
      "description": "Customer number generated for a successfully imported customer."
    },
    "code": {
      "type": "integer",
      "description": "HTTP status code for the processed item."
    },
    "status": {
      "type": "string",
      "description": "HTTP status description for the processed item."
    },
    "message": {
      "type": "string",
      "description": "Error message when the item failed."
    },
    "details": {
      "type": "array",
      "description": "List of problems causing the error.",
      "items": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}