{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-inventory-device-info-schema.json",
  "title": "Inventory:Device Info",
  "description": "Information pertaining to a Registered Device in Intersight which is pertinent to Inventory Microservice.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intersight-inventory-api-openapi.yml#/components/schemas/inventory.DeviceInfo",
  "x-allOf-name": "inventory.DeviceInfo",
  "allOf": [
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseMo"
    },
    {
      "type": "object",
      "description": "Definition of the list of properties defined in 'inventory.DeviceInfo', excluding properties defined in parent classes.",
      "required": [
        "ClassId",
        "ObjectType"
      ],
      "properties": {
        "ClassId": {
          "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
          "enum": [
            "inventory.DeviceInfo"
          ],
          "default": "inventory.DeviceInfo",
          "x-enum-as-string": true
        },
        "ObjectType": {
          "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
          "enum": [
            "inventory.DeviceInfo"
          ],
          "default": "inventory.DeviceInfo",
          "x-enum-as-string": true
        },
        "DisableEvents": {
          "description": "Subscribe/Unsubscribe events for the device.",
          "type": "boolean",
          "readOnly": true,
          "x-omitempty": true
        },
        "EventCounter": {
          "description": "Information regarding the number of events recorded for this device.",
          "type": "integer",
          "format": "int64",
          "readOnly": true,
          "x-omitempty": true
        },
        "EventCounterEnabled": {
          "description": "Indicates whether the event counter enabled for the device.",
          "type": "boolean",
          "readOnly": true,
          "x-omitempty": true
        },
        "Interval": {
          "description": "The time interval (in hours) between job runs.",
          "type": "integer",
          "format": "int64",
          "readOnly": true,
          "x-omitempty": true
        },
        "JobInfo": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "description": "Information regarding all inventory collection jobs for the device.",
            "$ref": "#/$defs/inventory.JobInfo",
            "readOnly": true,
            "x-omitempty": true
          }
        },
        "LastReInventoryTime": {
          "description": "Last Reinventory time of the device.",
          "type": "string",
          "format": "date-time",
          "readOnly": true,
          "x-omitempty": true
        },
        "ReInventoryCount": {
          "description": "Number of full inventory within the given time.",
          "type": "integer",
          "format": "int64",
          "readOnly": true,
          "x-omitempty": true
        },
        "ClusterMember": {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/asset.ClusterMember.Relationship",
          "description": "A reference to a assetClusterMember resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.",
          "readOnly": true
        },
        "RegisteredDevice": {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/asset.DeviceRegistration.Relationship",
          "description": "A reference to a assetDeviceRegistration resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.",
          "readOnly": true
        }
      }
    }
  ],
  "$defs": {
    "inventory.JobInfo": {
      "title": "Inventory:Job Info",
      "description": "The runtime information about a job scheduled on a managed device.",
      "x-allOf-name": "inventory.JobInfo",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseComplexType"
        },
        {
          "type": "object",
          "description": "Definition of the list of properties defined in 'inventory.JobInfo', excluding properties defined in parent classes.",
          "required": [
            "ClassId",
            "ObjectType"
          ],
          "properties": {
            "ClassId": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
              "enum": [
                "inventory.JobInfo"
              ],
              "default": "inventory.JobInfo",
              "x-enum-as-string": true
            },
            "ObjectType": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
              "enum": [
                "inventory.JobInfo"
              ],
              "default": "inventory.JobInfo",
              "x-enum-as-string": true
            },
            "ExecutionStatus": {
              "description": "The execution status of the job scheduled.\n* `Unknown` - Operational job status on a managed device is not known.\n* `Scheduled` - Job on a managed device is scheduled.\n* `Completed` - Job on a managed device is completed.\n* `Error` - Job on a managed device is errored out.",
              "type": "string",
              "enum": [
                "Unknown",
                "Scheduled",
                "Completed",
                "Error"
              ],
              "default": "Unknown",
              "readOnly": true,
              "x-omitempty": true
            },
            "JobName": {
              "description": "The name of the job scheduled.",
              "type": "string",
              "readOnly": true,
              "x-omitempty": true
            },
            "LastProcessedTime": {
              "description": "Timestamp to indicate the last processed time for this job.",
              "type": "string",
              "format": "date-time",
              "readOnly": true,
              "x-omitempty": true
            },
            "LastScheduledTime": {
              "description": "Last timestamp when this inventory was scheduled.",
              "type": "string",
              "format": "date-time",
              "readOnly": true,
              "x-omitempty": true
            },
            "Properties": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "description": "The properties of the job scheduled.",
                "type": "string",
                "readOnly": true,
                "x-omitempty": true
              }
            },
            "Regex": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "description": "Regex string to be used to match.",
                "type": "string",
                "readOnly": true,
                "x-omitempty": true
              }
            }
          }
        }
      ]
    }
  }
}