{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-inventory-request-schema.json",
  "title": "Inventory:Request",
  "description": "Request MO allows the inventory of specific devices to be collected on demand. The inventory can be collected in three levels - all the MOs of a specific device, MOs of specific MO types for a given device or specific MO instances of specific MO types for a given device. These MO instances are used just to collect the requests and not persisted.",
  "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.Request",
  "x-allOf-name": "inventory.Request",
  "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.Request', 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.Request"
          ],
          "default": "inventory.Request",
          "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.Request"
          ],
          "default": "inventory.Request",
          "x-enum-as-string": true
        },
        "Mos": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "description": "The collection of specific inventory MOs that need to be fetched. The property is optional and if not present then all the MOs of the given device will be fetched.",
            "$ref": "#/$defs/inventory.InventoryMo",
            "x-omitempty": true
          }
        },
        "Device": {
          "$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."
        }
      }
    }
  ],
  "$defs": {
    "inventory.InventoryMo": {
      "title": "Inventory:Inventory Mo",
      "description": "Complex type representing the inventory MO.",
      "x-allOf-name": "inventory.InventoryMo",
      "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.InventoryMo', 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.InventoryMo"
              ],
              "default": "inventory.InventoryMo",
              "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.InventoryMo"
              ],
              "default": "inventory.InventoryMo",
              "x-enum-as-string": true
            },
            "MoDn": {
              "description": "The UCS DN of the MO for which the latest inventory to be fetched. If this property is empty and moId property has the Moid of the MO to be updated, the Moid will be used. If this property is empty and moId is also empty, all the MOs of the given moType will be updated.",
              "type": "string",
              "x-omitempty": true
            },
            "MoId": {
              "description": "The MO id of an MO for which the latest inventory to be fetched. If this property is empty and moDn property has the UCS DN of the MO to be updated, the DN will be used. If this property is empty and moDn is also empty, all the MOs of the given moType will be updated.",
              "type": "string",
              "x-omitempty": true
            },
            "MoType": {
              "description": "The type of the MO for which the latest inventory to be fetched.",
              "type": "string",
              "x-omitempty": true
            }
          }
        }
      ]
    }
  }
}