{
  "id": 2,
  "type": "inventory",
  "url": "/api/v2/inventories/2/",
  "related": {
      "created_by": "/api/v2/users/1/",
      "modified_by": "/api/v2/users/1/",
      "hosts": "/api/v2/inventories/2/hosts/",
      "groups": "/api/v2/inventories/2/groups/",
      "root_groups": "/api/v2/inventories/2/root_groups/",
      "variable_data": "/api/v2/inventories/2/variable_data/",
      "script": "/api/v2/inventories/2/script/",
      "tree": "/api/v2/inventories/2/tree/",
      "inventory_sources": "/api/v2/inventories/2/inventory_sources/",
      "update_inventory_sources": "/api/v2/inventories/2/update_inventory_sources/",
      "activity_stream": "/api/v2/inventories/2/activity_stream/",
      "job_templates": "/api/v2/inventories/2/job_templates/",
      "ad_hoc_commands": "/api/v2/inventories/2/ad_hoc_commands/",
      "access_list": "/api/v2/inventories/2/access_list/",
      "object_roles": "/api/v2/inventories/2/object_roles/",
      "instance_groups": "/api/v2/inventories/2/instance_groups/",
      "copy": "/api/v2/inventories/2/copy/",
      "organization": "/api/v2/organizations/1/"
  },
  "summary_fields": {
      "organization": {
          "id": 1,
          "name": "Default",
          "description": ""
      },
      "created_by": {
          "id": 1,
          "username": "admin",
          "first_name": "",
          "last_name": ""
      },
      "modified_by": {
          "id": 1,
          "username": "admin",
          "first_name": "",
          "last_name": ""
      },
      "object_roles": {
          "admin_role": {
              "description": "Can manage all aspects of the inventory",
              "name": "Admin",
              "id": 27
          },
          "update_role": {
              "description": "May update the inventory",
              "name": "Update",
              "id": 28
          },
          "adhoc_role": {
              "description": "May run ad hoc commands on the inventory",
              "name": "Ad Hoc",
              "id": 29
          },
          "use_role": {
              "description": "Can use the inventory in a job template",
              "name": "Use",
              "id": 30
          },
          "read_role": {
              "description": "May view settings for the inventory",
              "name": "Read",
              "id": 31
          }
      },
      "user_capabilities": {
          "edit": true,
          "delete": true,
          "copy": true,
          "adhoc": true
      }
  },
  "created": "2019-10-04T15:29:11.542911Z",
  "modified": "2019-10-04T15:29:11.542924Z",
  "name": "Smart Inv",
  "description": "smart inv description",
  "organization": 1,
  "kind": "smart",
  "host_filter": "name__icontains=local",
  "variables": "",
  "has_active_failures": false,
  "total_hosts": 1,
  "hosts_with_active_failures": 0,
  "total_groups": 0,
  "groups_with_active_failures": 0,
  "has_inventory_sources": false,
  "total_inventory_sources": 0,
  "inventory_sources_with_failures": 0,
  "insights_credential": null,
  "pending_deletion": false
}