{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-notification-hubs/json-schema/microsoft-azure-notification-hubs-check-availability-parameters-schema.json",
  "title": "CheckAvailabilityParameters",
  "description": "Parameters supplied to the Check Name Availability for Namespace and\nNotificationHubs.",
  "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/CheckAvailabilityParameters",
  "required": [
    "name"
  ],
  "type": "object",
  "properties": {
    "id": {
      "description": "Gets resource Id",
      "type": "string",
      "readOnly": true
    },
    "name": {
      "description": "Gets or sets resource name",
      "minLength": 1,
      "type": "string"
    },
    "type": {
      "description": "Gets resource type",
      "type": "string",
      "readOnly": true
    },
    "location": {
      "description": "Gets or sets resource location",
      "type": "string"
    },
    "tags": {
      "description": "Gets or sets resource tags",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "isAvailiable": {
      "description": "Not used and deprecated since API version 2023-09-01",
      "type": "boolean"
    },
    "sku": {
      "$ref": "#/$defs/Sku"
    }
  },
  "$defs": {
    "Sku": {
      "description": "The Sku description for a namespace",
      "required": [
        "name"
      ],
      "type": "object",
      "properties": {
        "name": {
          "$ref": "#/$defs/SkuName"
        },
        "tier": {
          "description": "Gets or sets the tier of particular sku",
          "type": "string"
        },
        "size": {
          "description": "Gets or sets the Sku size",
          "type": "string"
        },
        "family": {
          "description": "Gets or sets the Sku Family",
          "type": "string"
        },
        "capacity": {
          "format": "int32",
          "description": "Gets or sets the capacity of the resource",
          "type": "integer"
        }
      }
    },
    "SkuName": {
      "description": "Namespace SKU name.",
      "enum": [
        "Free",
        "Basic",
        "Standard"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "SkuName",
        "modelAsString": true
      }
    }
  }
}