{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-functions/json-schema/microsoft-azure-functions-diagnostic-detector-collection-schema.json",
  "title": "DiagnosticDetectorCollection",
  "description": "Collection of Diagnostic Detectors",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-functions-diagnostics-api-openapi.yml#/components/schemas/DiagnosticDetectorCollection",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The DetectorDefinitionResource items on this page",
      "items": {
        "$ref": "#/$defs/DetectorDefinitionResource"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "DetectorDefinition": {
      "type": "object",
      "description": "Class representing detector definition",
      "properties": {
        "displayName": {
          "type": "string",
          "description": "Display name of the detector",
          "readOnly": true
        },
        "description": {
          "type": "string",
          "description": "Description of the detector",
          "readOnly": true
        },
        "rank": {
          "type": "number",
          "format": "double",
          "description": "Detector Rank",
          "readOnly": true
        },
        "isEnabled": {
          "type": "boolean",
          "description": "Flag representing whether detector is enabled or not.",
          "readOnly": true
        }
      }
    },
    "DetectorDefinitionResource": {
      "type": "object",
      "description": "ARM resource for a detector definition",
      "properties": {
        "properties": {
          "$ref": "#/$defs/DetectorDefinition",
          "description": "Core resource properties",
          "x-ms-client-flatten": true
        },
        "kind": {
          "type": "string",
          "description": "Kind of resource."
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
        }
      ]
    }
  }
}