{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-notification-hubs/json-schema/microsoft-azure-notification-hubs-operation-list-result-schema.json",
  "title": "OperationListResult",
  "description": "Result of the request to list NotificationHubs operations. It contains\na list of operations and a URL link to get the next set of results.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-notification-hubs-operations-api-openapi.yml#/components/schemas/OperationListResult",
  "type": "object",
  "properties": {
    "value": {
      "description": "Gets list of NotificationHubs operations supported by the\nMicrosoft.NotificationHubs resource provider.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Operation"
      },
      "readOnly": true,
      "x-ms-identifiers": [
        "name"
      ]
    },
    "nextLink": {
      "description": "Gets URL to get the next set of operation list results if there are\nany.",
      "type": "string",
      "readOnly": true
    }
  },
  "$defs": {
    "Availability": {
      "description": "Represents metric availability (part of RP operation descriptions).",
      "type": "object",
      "properties": {
        "timeGrain": {
          "description": "Time grain of the availability.",
          "type": "string",
          "readOnly": true
        },
        "blobDuration": {
          "description": "Duration of the availability blob.",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "LogSpecification": {
      "description": "A single log category specification.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Name of the log category.",
          "type": "string",
          "readOnly": true
        },
        "displayName": {
          "description": "Display name of the log category.",
          "type": "string",
          "readOnly": true
        },
        "blobDuration": {
          "description": "Duration of data written to a single blob.",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "MetricSpecification": {
      "description": "A metric specification.",
      "type": "object",
      "properties": {
        "name": {
          "description": "Metric name / id.",
          "type": "string",
          "readOnly": true
        },
        "displayName": {
          "description": "User-visible metric name.",
          "type": "string",
          "readOnly": true
        },
        "displayDescription": {
          "description": "Description of the metric.",
          "type": "string",
          "readOnly": true
        },
        "unit": {
          "description": "Metric unit.",
          "type": "string",
          "readOnly": true
        },
        "aggregationType": {
          "description": "Type of the aggregation (Average, Minimum, Maximum, Total or Count).",
          "type": "string",
          "readOnly": true
        },
        "availabilities": {
          "description": "List of availabilities.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/Availability"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        },
        "metricFilterPattern": {
          "description": "The matching regex pattern to be applied to the field pointed by the \"metricsFilterPathSelector\" flag in the ARM manifest.",
          "type": "string",
          "readOnly": true
        },
        "fillGapWithZero": {
          "description": "Optional property. If set to true, then zero will be returned for time duration where no metric is emitted / published.",
          "type": "boolean",
          "readOnly": true
        }
      }
    },
    "Operation": {
      "description": "A NotificationHubs REST API operation",
      "type": "object",
      "properties": {
        "name": {
          "description": "Gets operation name: {provider}/{resource}/{operation}",
          "type": "string",
          "readOnly": true
        },
        "display": {
          "$ref": "#/$defs/OperationDisplay"
        },
        "properties": {
          "$ref": "#/$defs/OperationProperties"
        },
        "isDataAction": {
          "description": "Gets or sets IsDataAction property. It is used to differentiate management and data plane operations.",
          "type": "boolean",
          "readOnly": true
        }
      }
    },
    "OperationDisplay": {
      "description": "The object that represents the operation.",
      "type": "object",
      "properties": {
        "provider": {
          "description": "Gets service provider: Microsoft.NotificationHubs",
          "type": "string",
          "readOnly": true
        },
        "resource": {
          "description": "Gets resource on which the operation is performed: Invoice, etc.",
          "type": "string",
          "readOnly": true
        },
        "operation": {
          "description": "Gets operation type: Read, write, delete, etc.",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Human-friendly operation description.",
          "type": "string",
          "readOnly": true
        }
      }
    },
    "OperationProperties": {
      "description": "Optional operation properties.",
      "type": "object",
      "properties": {
        "serviceSpecification": {
          "$ref": "#/$defs/ServiceSpecification"
        }
      }
    },
    "ServiceSpecification": {
      "description": "Optional service specification used in Operations API.",
      "type": "object",
      "properties": {
        "logSpecifications": {
          "description": "Log specifications.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/LogSpecification"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "name"
          ]
        },
        "metricSpecifications": {
          "description": "Metric specification.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/MetricSpecification"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "name",
            "unit"
          ]
        }
      }
    }
  }
}