{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-get-inventory-result-schema.json",
  "title": "GetInventoryResult",
  "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/GetInventoryResult",
  "type": "object",
  "properties": {
    "Entities": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InventoryResultEntity"
      },
      "description": "Collection of inventory entities such as a collection of managed node inventory."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to use when requesting the next set of items. If there are no additional items to return, the string is empty."
    }
  },
  "$defs": {
    "InventoryResultEntity": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "ID of the inventory result entity. For example, for managed node inventory the result will be the managed node ID. For EC2 instance inventory, the result will be the instance ID."
        },
        "Data": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/InventoryResultItem"
          },
          "description": "The data section in the inventory result entity JSON."
        }
      }
    },
    "InventoryResultItem": {
      "type": "object",
      "properties": {
        "TypeName": {
          "type": "string",
          "description": "The name of the inventory result item type."
        },
        "SchemaVersion": {
          "type": "string",
          "description": "The schema version for the inventory result item/"
        },
        "CaptureTime": {
          "type": "string",
          "description": "The time inventory item data was captured."
        },
        "ContentHash": {
          "type": "string",
          "description": "MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update."
        },
        "Content": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "description": "Contains all the inventory data of the item type. Results include attribute names and values."
        }
      },
      "required": [
        "TypeName",
        "SchemaVersion",
        "Content"
      ]
    }
  }
}