{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-cdn/json-schema/microsoft-azure-cdn-edge-action-list-result-schema.json",
  "title": "EdgeActionListResult",
  "description": "The response of a EdgeAction list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-cdn-edgeactions-api-openapi.yml#/components/schemas/EdgeActionListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The EdgeAction items on this page",
      "items": {
        "$ref": "#/$defs/EdgeAction"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AttachedResourceId": {
      "type": "string",
      "format": "arm-id",
      "description": "Azure resource identifier for attached routes",
      "x-ms-arm-id-details": {
        "allowedResources": [
          {
            "type": "Microsoft.Cdn/Profiles/afdEndpoints/routes"
          }
        ]
      }
    },
    "EdgeAction": {
      "type": "object",
      "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/EdgeActionProperties",
          "description": "The resource-specific properties for this resource.",
          "x-ms-client-flatten": true,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "sku": {
          "$ref": "#/$defs/SkuType",
          "description": "The sku type of the edge action"
        }
      },
      "required": [
        "sku"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/TrackedResource"
        }
      ]
    },
    "EdgeActionAttachment": {
      "type": "object",
      "description": "Edge action attachment information",
      "properties": {
        "id": {
          "type": "string",
          "description": "The edge action attachment id",
          "readOnly": true
        },
        "attachedResourceId": {
          "$ref": "#/$defs/AttachedResourceId",
          "description": "The attached resource Id",
          "x-ms-mutability": [
            "read",
            "update",
            "create"
          ]
        }
      },
      "required": [
        "attachedResourceId"
      ]
    },
    "EdgeActionProperties": {
      "type": "object",
      "description": "Represents an edge action properties",
      "properties": {
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the edge action",
          "readOnly": true
        },
        "attachments": {
          "type": "array",
          "description": "A list of attachments for the edge action",
          "items": {
            "$ref": "#/$defs/EdgeActionAttachment"
          },
          "readOnly": true
        }
      },
      "required": [
        "attachments"
      ]
    },
    "ProvisioningState": {
      "type": "string",
      "description": "The status of the current operation",
      "enum": [
        "Succeeded",
        "Failed",
        "Canceled",
        "Provisioning",
        "Upgrading"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Resource has been created."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Resource creation failed."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Resource creation was canceled."
          },
          {
            "name": "Provisioning",
            "value": "Provisioning",
            "description": "Initial provisioning in progress"
          },
          {
            "name": "Upgrading",
            "value": "Upgrading",
            "description": "Upgrade in progress"
          }
        ]
      },
      "readOnly": true
    },
    "SkuType": {
      "type": "object",
      "description": "The SKU type for the edge action",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the SKU"
        },
        "tier": {
          "type": "string",
          "description": "The tier of the SKU"
        }
      },
      "required": [
        "name",
        "tier"
      ]
    },
    "TrackedResource": {
      "type": "object",
      "title": "Tracked Resource",
      "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}