/** Tenant level in the hierarchy: organization → school → campus → class. */
export type TenantLevel = 'organization' | 'school' | 'campus' | 'class';

/** The tenant whose context the user is currently in (for the badge/selectors). */
export interface ActiveTenant {
  readonly level: TenantLevel;
  readonly id: string;
  readonly name: string | null;
  readonly logo: string | null;
}

/** A child tenant the user can drill into (from the scope API). */
export interface TenantChild {
  readonly level: TenantLevel;
  readonly id: string;
  readonly name: string | null;
  readonly logo: string | null;
  readonly description?: string | null;
  readonly address?: string | null;
  readonly phone?: string | null;
  readonly email?: string | null;
}
