{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-postgresql/json-schema/microsoft-azure-postgresql-name-availability-model-schema.json",
  "title": "NameAvailabilityModel",
  "description": "Availability of a name.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-postgresql-openapi.yml#/components/schemas/NameAvailabilityModel",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name for which validity and availability was checked.",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "description": "Type of resource. It can be 'Microsoft.DBforPostgreSQL/flexibleServers' or 'Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints'.",
      "readOnly": true
    }
  },
  "allOf": [
    {
      "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/CheckNameAvailabilityResponse"
    }
  ]
}