from typing import NamedTuple from pydantic import BaseModel class Permission(NamedTuple): resource_type: str action: str class JointVentureParticipant(BaseModel): global_participant_id: str vendor_id: int subaccount_id: int is_provider: bool is_consumer: bool