{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-entity-resolution/json-schema/amazon-entity-resolution-batch-delete-unique-id-output-schema.json",
  "title": "BatchDeleteUniqueIdOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-entity-resolution-operations-api-openapi.yml#/components/schemas/BatchDeleteUniqueIdOutput",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "COMPLETED",
        "ACCEPTED"
      ],
      "description": "The status of the batch delete unique ID operation."
    },
    "errors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DeleteUniqueIdError"
      },
      "description": "The errors from deleting multiple unique IDs."
    },
    "deleted": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DeletedUniqueId"
      },
      "description": "The unique IDs that were deleted."
    },
    "disconnectedUniqueIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The unique IDs that were disconnected."
    }
  },
  "required": [
    "status",
    "errors",
    "deleted",
    "disconnectedUniqueIds"
  ],
  "$defs": {
    "DeleteUniqueIdError": {
      "type": "object",
      "properties": {
        "uniqueId": {
          "type": "string",
          "description": "The unique ID that couldn't be deleted."
        },
        "errorType": {
          "type": "string",
          "enum": [
            "SERVICE_ERROR",
            "VALIDATION_ERROR"
          ],
          "description": "The error type for the delete unique ID operation. The SERVICE_ERROR value indicates that an internal service-side problem occurred during the deletion operation. The VALIDATION_ERROR value indicates that the deletion operation couldn't complete because of invalid input parameters or data."
        }
      },
      "required": [
        "uniqueId",
        "errorType"
      ]
    },
    "DeletedUniqueId": {
      "type": "object",
      "properties": {
        "uniqueId": {
          "type": "string",
          "description": "The unique ID of the deleted item."
        }
      },
      "required": [
        "uniqueId"
      ]
    }
  }
}