{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-delete-inventory-result-schema.json",
  "title": "DeleteInventoryResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-inventory-api-openapi.yml#/components/schemas/DeleteInventoryResult",
  "type": "object",
  "properties": {
    "DeletionId": {
      "type": "string",
      "description": "Every DeleteInventory operation is assigned a unique ID. This option returns a unique ID. You can use this ID to query the status of a delete operation. This option is useful for ensuring that a delete operation has completed before you begin other operations."
    },
    "TypeName": {
      "type": "string",
      "description": "The name of the inventory data type specified in the request."
    },
    "DeletionSummary": {
      "$ref": "#/$defs/InventoryDeletionSummary"
    }
  },
  "$defs": {
    "InventoryDeletionSummary": {
      "type": "object",
      "properties": {
        "TotalCount": {
          "type": "integer",
          "description": "The total number of items to delete. This count doesn't change during the delete operation."
        },
        "RemainingCount": {
          "type": "integer",
          "description": "Remaining number of items to delete."
        },
        "SummaryItems": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/InventoryDeletionSummaryItem"
          },
          "description": "A list of counts and versions for deleted items."
        }
      }
    },
    "InventoryDeletionSummaryItem": {
      "type": "object",
      "properties": {
        "Version": {
          "type": "string",
          "description": "The inventory type version."
        },
        "Count": {
          "type": "integer",
          "description": "A count of the number of deleted items."
        },
        "RemainingCount": {
          "type": "integer",
          "description": "The remaining number of items to delete."
        }
      }
    }
  }
}