{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-tenant-list-result-schema.json",
  "title": "TenantListResult",
  "description": "Tenant Ids information.",
  "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/TenantListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The TenantIdDescription items on this page",
      "items": {
        "$ref": "#/$defs/TenantIdDescription"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "TenantCategory": {
      "type": "string",
      "description": "Category of the tenant.",
      "enum": [
        "Home",
        "ProjectedBy",
        "ManagedBy"
      ],
      "x-ms-enum": {
        "name": "TenantCategory",
        "modelAsString": false,
        "values": [
          {
            "name": "Home",
            "value": "Home",
            "description": "Home"
          },
          {
            "name": "ProjectedBy",
            "value": "ProjectedBy",
            "description": "ProjectedBy"
          },
          {
            "name": "ManagedBy",
            "value": "ManagedBy",
            "description": "ManagedBy"
          }
        ]
      }
    },
    "TenantIdDescription": {
      "type": "object",
      "description": "Tenant Id information.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The fully qualified ID of the tenant. For example, /tenants/8d65815f-a5b6-402f-9298-045155da7d74",
          "readOnly": true
        },
        "tenantId": {
          "type": "string",
          "description": "The tenant ID. For example, 8d65815f-a5b6-402f-9298-045155da7d74",
          "readOnly": true
        },
        "tenantCategory": {
          "$ref": "#/$defs/TenantCategory",
          "description": "Category of the tenant.",
          "readOnly": true
        },
        "country": {
          "type": "string",
          "description": "Country/region name of the address for the tenant.",
          "readOnly": true
        },
        "countryCode": {
          "type": "string",
          "description": "Country/region abbreviation for the tenant.",
          "readOnly": true
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the tenant.",
          "readOnly": true
        },
        "domains": {
          "type": "array",
          "description": "The list of domains for the tenant.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "defaultDomain": {
          "type": "string",
          "description": "The default domain for the tenant.",
          "readOnly": true
        },
        "tenantType": {
          "type": "string",
          "description": "The tenant type. Only available for 'Home' tenant category.",
          "readOnly": true
        },
        "tenantBrandingLogoUrl": {
          "type": "string",
          "description": "The tenant's branding logo URL. Only available for 'Home' tenant category.",
          "readOnly": true
        }
      }
    }
  }
}