{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-check-resource-name-result-schema.json",
  "title": "CheckResourceNameResult",
  "description": "Resource Name valid if not a reserved word, does not contain a reserved word and does not start with a reserved word",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-tenants-api-openapi.yml#/components/schemas/CheckResourceNameResult",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of Resource"
    },
    "type": {
      "type": "string",
      "description": "Type of Resource"
    },
    "status": {
      "$ref": "#/$defs/ResourceNameStatus",
      "description": "Is the resource name Allowed or Reserved"
    }
  },
  "$defs": {
    "ResourceNameStatus": {
      "type": "string",
      "description": "Is the resource name Allowed or Reserved",
      "enum": [
        "Allowed",
        "Reserved"
      ],
      "x-ms-enum": {
        "name": "ResourceNameStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Allowed",
            "value": "Allowed",
            "description": "Allowed"
          },
          {
            "name": "Reserved",
            "value": "Reserved",
            "description": "Reserved"
          }
        ]
      }
    }
  }
}