{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-batch/json-schema/microsoft-azure-batch-check-name-availability-parameters-schema.json",
  "title": "CheckNameAvailabilityParameters",
  "description": "Parameters for a check name availability request.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-batch-location-api-openapi.yml#/components/schemas/CheckNameAvailabilityParameters",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name to check for availability"
    },
    "type": {
      "$ref": "#/$defs/ResourceType",
      "description": "The resource type."
    }
  },
  "required": [
    "name",
    "type"
  ],
  "$defs": {
    "ResourceType": {
      "type": "string",
      "description": "The result of the request to list operations.",
      "enum": [
        "Microsoft.Batch/batchAccounts"
      ],
      "x-ms-enum": {
        "name": "ResourceType",
        "modelAsString": false,
        "values": [
          {
            "name": "MicrosoftBatchBatchAccounts",
            "value": "Microsoft.Batch/batchAccounts",
            "description": "The resource type for Microsoft.Batch/batchAccounts"
          }
        ]
      }
    }
  }
}