{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-multi-tenant-organization-join-request-record-schema.json",
  "title": "microsoft.graph.multiTenantOrganizationJoinRequestRecord",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-tenantrelationships-multitenantorganization-api-openapi.yml#/components/schemas/microsoft.graph.multiTenantOrganizationJoinRequestRecord",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "multiTenantOrganizationJoinRequestRecord",
      "type": "object",
      "properties": {
        "addedByTenantId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Tenant ID of the Microsoft Entra tenant that added a tenant to the multitenant organization. To reset a failed join request, set addedByTenantId to 00000000-0000-0000-0000-000000000000. Required."
        },
        "memberState": {
          "$ref": "#/$defs/microsoft.graph.multiTenantOrganizationMemberState"
        },
        "role": {
          "$ref": "#/$defs/microsoft.graph.multiTenantOrganizationMemberRole"
        },
        "transitionDetails": {
          "$ref": "#/$defs/microsoft.graph.multiTenantOrganizationJoinRequestTransitionDetails"
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    }
  ],
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.multiTenantOrganizationJoinRequestTransitionDetails": {
      "title": "multiTenantOrganizationJoinRequestTransitionDetails",
      "type": "object",
      "properties": {
        "desiredMemberState": {
          "$ref": "#/$defs/microsoft.graph.multiTenantOrganizationMemberState"
        },
        "details": {
          "type": [
            "string",
            "null"
          ],
          "description": "Details that explain the processing status if any. Read-only."
        },
        "status": {
          "$ref": "#/$defs/microsoft.graph.multiTenantOrganizationMemberProcessingStatus"
        }
      },
      "additionalProperties": {
        "type": "object"
      }
    },
    "microsoft.graph.multiTenantOrganizationMemberProcessingStatus": {
      "title": "multiTenantOrganizationMemberProcessingStatus",
      "enum": [
        "notStarted",
        "running",
        "succeeded",
        "failed",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.multiTenantOrganizationMemberRole": {
      "title": "multiTenantOrganizationMemberRole",
      "enum": [
        "owner",
        "member",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.multiTenantOrganizationMemberState": {
      "title": "multiTenantOrganizationMemberState",
      "enum": [
        "pending",
        "active",
        "removed",
        "unknownFutureValue"
      ],
      "type": "string"
    }
  }
}