{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-notification-hubs/json-schema/microsoft-azure-notification-hubs-debug-send-response-schema.json",
  "title": "DebugSendResponse",
  "description": "Description of a NotificationHub Resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-notification-hubs-hubs-api-openapi.yml#/components/schemas/DebugSendResponse",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "properties": {
    "properties": {
      "$ref": "#/$defs/DebugSendResult"
    },
    "location": {
      "description": "Deprecated - only for compatibility.",
      "type": "string",
      "x-ms-mutability": [
        "create",
        "read"
      ]
    },
    "tags": {
      "description": "Deprecated - only for compatibility.",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "DebugSendResult": {
      "description": "Result of DebugSend operations.",
      "type": "object",
      "properties": {
        "success": {
          "format": "int64",
          "description": "Gets or sets successful send",
          "type": "integer",
          "readOnly": true
        },
        "failure": {
          "format": "int64",
          "description": "Gets or sets send failure",
          "type": "integer",
          "readOnly": true
        },
        "results": {
          "description": "Gets or sets actual failure description",
          "type": "array",
          "items": {
            "$ref": "#/$defs/RegistrationResult"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "ProxyResource": {
      "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"
        }
      ]
    },
    "RegistrationResult": {
      "description": "Notification result for a single registration.",
      "type": "object",
      "properties": {
        "applicationPlatform": {
          "description": "PNS type.",
          "type": "string",
          "readOnly": true
        },
        "pnsHandle": {
          "description": "PNS handle.",
          "type": "string",
          "readOnly": true
        },
        "registrationId": {
          "description": "Registration id.",
          "type": "string",
          "readOnly": true
        },
        "outcome": {
          "description": "Notification outcome.",
          "type": "string",
          "readOnly": true
        }
      }
    }
  }
}