{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-run-command-list-result-schema.json",
  "title": "RunCommandListResult",
  "description": "The List Virtual Machine operation response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-virtualmachineruncommands-api-openapi.yml#/components/schemas/RunCommandListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The list of virtual machine run commands.",
      "items": {
        "$ref": "#/$defs/RunCommandDocumentBase"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands."
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "Common.OperatingSystemTypes": {
      "type": "string",
      "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**",
      "enum": [
        "Windows",
        "Linux"
      ],
      "x-ms-enum": {
        "name": "OperatingSystemTypes",
        "modelAsString": false
      }
    },
    "RunCommandDocumentBase": {
      "type": "object",
      "description": "Describes the properties of a Run Command metadata.",
      "properties": {
        "$schema": {
          "type": "string",
          "description": "The VM run command schema.",
          "x-ms-client-name": "schema"
        },
        "id": {
          "type": "string",
          "description": "The VM run command id."
        },
        "osType": {
          "$ref": "#/$defs/Common.OperatingSystemTypes",
          "description": "The Operating System type."
        },
        "label": {
          "type": "string",
          "description": "The VM run command label."
        },
        "description": {
          "type": "string",
          "description": "The VM run command description."
        }
      },
      "required": [
        "$schema",
        "id",
        "osType",
        "label",
        "description"
      ]
    }
  }
}