{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-notification-hubs/json-schema/microsoft-azure-notification-hubs-shared-access-authorization-rule-list-result-schema.json",
  "title": "SharedAccessAuthorizationRuleListResult",
  "description": "The response of the List Namespace operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-notification-hubs-namespaces-api-openapi.yml#/components/schemas/SharedAccessAuthorizationRuleListResult",
  "type": "object",
  "properties": {
    "value": {
      "description": "Gets or sets result of the List AuthorizationRules operation.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/SharedAccessAuthorizationRuleResource"
      },
      "readOnly": true
    },
    "nextLink": {
      "description": "Gets or sets link to the next set of results.",
      "type": "string",
      "readOnly": true
    }
  },
  "$defs": {
    "AccessRights": {
      "description": "Defines values for AccessRights.",
      "enum": [
        "Manage",
        "Send",
        "Listen"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "AccessRights",
        "modelAsString": true
      }
    },
    "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"
        }
      ]
    },
    "SharedAccessAuthorizationRuleProperties": {
      "description": "SharedAccessAuthorizationRule properties.",
      "required": [
        "rights"
      ],
      "type": "object",
      "properties": {
        "rights": {
          "description": "Gets or sets the rights associated with the rule.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/AccessRights"
          }
        },
        "primaryKey": {
          "description": "Gets a base64-encoded 256-bit primary key for signing and\nvalidating the SAS token.",
          "type": "string",
          "x-ms-secret": true
        },
        "secondaryKey": {
          "description": "Gets a base64-encoded 256-bit primary key for signing and\nvalidating the SAS token.",
          "type": "string",
          "x-ms-secret": true
        },
        "keyName": {
          "description": "Gets a string that describes the authorization rule.",
          "type": "string",
          "readOnly": true
        },
        "modifiedTime": {
          "format": "date-time",
          "description": "Gets the last modified time for this rule",
          "type": "string",
          "readOnly": true
        },
        "createdTime": {
          "format": "date-time",
          "description": "Gets the created time for this rule",
          "type": "string",
          "readOnly": true
        },
        "claimType": {
          "description": "Gets a string that describes the claim type",
          "type": "string",
          "readOnly": true
        },
        "claimValue": {
          "description": "Gets a string that describes the claim value",
          "type": "string",
          "readOnly": true
        },
        "revision": {
          "format": "int32",
          "description": "Gets the revision number for the rule",
          "type": "integer",
          "readOnly": true
        }
      }
    },
    "SharedAccessAuthorizationRuleResource": {
      "description": "Response for POST requests that return single SharedAccessAuthorizationRule.",
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ],
      "properties": {
        "properties": {
          "$ref": "#/$defs/SharedAccessAuthorizationRuleProperties"
        },
        "location": {
          "description": "Deprecated - only for compatibility.",
          "type": "string",
          "x-ms-mutability": [
            "create",
            "read"
          ]
        },
        "tags": {
          "description": "Deprecated - only for compatibility.",
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  }
}