{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-integration-services/json-schema/microsoft-azure-integration-services-check-name-availability-result-schema.json",
  "title": "CheckNameAvailabilityResult",
  "description": "Description of a Check Name availability request properties.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-integration-services-subscriptions-api-openapi.yml#/components/schemas/CheckNameAvailabilityResult",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "The detailed info regarding the reason associated with the namespace.",
      "readOnly": true
    },
    "nameAvailable": {
      "type": "boolean",
      "description": "Value indicating namespace is availability, true if the namespace is available; otherwise, false."
    },
    "reason": {
      "$ref": "#/$defs/UnavailableReason",
      "description": "The reason for unavailability of a namespace."
    }
  },
  "$defs": {
    "UnavailableReason": {
      "type": "string",
      "description": "Specifies the reason for the unavailability of the service.",
      "enum": [
        "None",
        "InvalidName",
        "SubscriptionIsDisabled",
        "NameInUse",
        "NameInLockdown",
        "TooManyNamespaceInCurrentSubscription"
      ],
      "x-ms-enum": {
        "name": "UnavailableReason",
        "modelAsString": false
      }
    }
  }
}