{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-devops-health/json-schema/azure-devops-health-event-impacted-resource-schema.json",
  "title": "eventImpactedResource",
  "description": "Impacted resource for an event.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-devops-health-eventimpactedresources-api-openapi.yml#/components/schemas/eventImpactedResource",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/EventImpactedResourceProperties",
      "description": "Properties of impacted resource.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/TypesProxyResource"
    }
  ],
  "$defs": {
    "EventImpactedResourceProperties": {
      "type": "object",
      "description": "Properties of impacted resource.",
      "properties": {
        "targetResourceType": {
          "type": "string",
          "description": "Resource type within Microsoft cloud.",
          "readOnly": true
        },
        "targetResourceId": {
          "type": "string",
          "description": "Identity for resource within Microsoft cloud.",
          "readOnly": true
        },
        "targetRegion": {
          "type": "string",
          "description": "Impacted resource region name.",
          "readOnly": true
        },
        "info": {
          "type": "array",
          "description": "Additional information.",
          "items": {
            "$ref": "#/$defs/keyValueItem"
          },
          "x-ms-identifiers": []
        }
      }
    },
    "TypesProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "keyValueItem": {
      "type": "object",
      "description": "Key value tuple.",
      "properties": {
        "key": {
          "type": "string",
          "description": "Key of tuple.",
          "readOnly": true
        },
        "value": {
          "type": "string",
          "description": "Value of tuple.",
          "readOnly": true
        }
      }
    }
  }
}