{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-front-door/json-schema/microsoft-azure-front-door-check-name-availability-output-schema.json",
  "title": "CheckNameAvailabilityOutput",
  "description": "Output of check name availability API.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-front-door-checkfrontdoornameavailability-api-openapi.yml#/components/schemas/CheckNameAvailabilityOutput",
  "type": "object",
  "properties": {
    "nameAvailability": {
      "$ref": "#/$defs/Availability",
      "description": "Indicates whether the name is available.",
      "readOnly": true
    },
    "reason": {
      "type": "string",
      "description": "The reason why the name is not available.",
      "readOnly": true
    },
    "message": {
      "type": "string",
      "description": "The detailed error message describing why the name is not available.",
      "readOnly": true
    }
  },
  "$defs": {
    "Availability": {
      "type": "string",
      "description": "Indicates whether the name is available.",
      "enum": [
        "Available",
        "Unavailable"
      ],
      "x-ms-enum": {
        "name": "Availability",
        "modelAsString": true,
        "values": [
          {
            "name": "Available",
            "value": "Available",
            "description": "Available"
          },
          {
            "name": "Unavailable",
            "value": "Unavailable",
            "description": "Unavailable"
          }
        ]
      }
    }
  }
}