{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-check-name-availability-request-schema.json",
  "title": "CheckNameAvailabilityRequest",
  "description": "A request to check whether the specified name for a resource is available.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-servers-api-openapi.yml#/components/schemas/CheckNameAvailabilityRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "Microsoft.Sql/servers"
      ],
      "x-ms-enum": {
        "name": "CheckNameAvailabilityResourceType",
        "modelAsString": false,
        "values": [
          {
            "name": "Microsoft.Sql/servers",
            "value": "Microsoft.Sql/servers",
            "description": "Microsoft.Sql/servers"
          }
        ]
      }
    }
  },
  "required": [
    "name",
    "type"
  ]
}