{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-virtual-machine-image-resource-schema.json",
  "title": "VirtualMachineImageResource",
  "description": "Virtual machine image resource information.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-virtual-machines-virtualmachineimages-api-openapi.yml#/components/schemas/VirtualMachineImageResource",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the resource."
    },
    "location": {
      "type": "string",
      "description": "The supported Azure location of the resource."
    },
    "tags": {
      "type": "object",
      "description": "Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).",
      "additionalProperties": {
        "type": "string"
      }
    },
    "extendedLocation": {
      "$ref": "#/$defs/ExtendedLocation",
      "description": "The extended location of the Virtual Machine."
    }
  },
  "required": [
    "name",
    "location"
  ],
  "allOf": [
    {
      "$ref": "#/$defs/SubResource"
    }
  ],
  "$defs": {
    "ExtendedLocation": {
      "type": "object",
      "description": "The complex type of the extended location.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the extended location."
        },
        "type": {
          "$ref": "#/$defs/ExtendedLocationType",
          "description": "The type of the extended location."
        }
      }
    },
    "ExtendedLocationType": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "SubResource": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource Id"
        }
      }
    }
  }
}