{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-ai-gateway-check-name-availability-request-schema.json",
  "title": "AiGatewayCheckNameAvailabilityRequest",
  "description": "Parameters for checking an AI Gateway name in a location.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-api-management-aigatewaynameavailabilityoperations-api-openapi.yml#/components/schemas/AiGatewayCheckNameAvailabilityRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name to validate and check for availability.",
      "minLength": 3,
      "maxLength": 24,
      "pattern": "^[a-z0-9][a-z0-9-]{1,22}[a-z0-9]$"
    },
    "type": {
      "type": "string",
      "description": "Resource type to check.",
      "enum": [
        "Microsoft.ApiManagement/aigateways"
      ],
      "x-ms-enum": {
        "modelAsString": false
      }
    }
  },
  "required": [
    "name",
    "type"
  ]
}