# Models: J

> API models starting with J.

## `JoinDomain`

An email domain the workspace lets people join from.

- `domain: str`
- `role: Union[Literal['viewer', 'runner', 'none'], str]`
- `created_at: AwareDatetime` (`createdAt` on the wire)
- `created_by: str` (`createdBy` on the wire)
- `updated_at: AwareDatetime | None` (`updatedAt` on the wire) (optional)
- `updated_by: str | None` (`updatedBy` on the wire) (optional)

## `JoinDomainList`

The workspace's allowed domains, the first allowed first.

- `data: list[kindgi.client.JoinDomain]`
- `has_more: bool` (`hasMore` on the wire)

## `JoinDomainLookupBody`

One email a sign-up page verified.

- `email: str`

## `JoinDomainLookupResult`

For one email, the workspaces this runtime serves that let people at its domain join: never a list of every workspace the email is in. Empty for a public mailbox domain.

- `data: list[Annotated[kindgi.client.JoinLookupWorkspaceJoin | kindgi.client.JoinLookupWorkspaceMember | kindgi.client.JoinLookupWorkspaceUnrecognized, <kindgi.client._open.OpenUnion object at 0x10bf93ad0>]]`
- `has_more: bool` (`hasMore` on the wire)

## `JoinLookupWorkspaceJoin`

A workspace that lets people at the email's domain join, by the emailed link's rules: one the email may join (`join`, with what a joiner gets), or one it's in already (`member`: sign in, don't join). Its id and name only, never its content.

- `kind: Literal['join']`
- `tenant_id: uuid.UUID` (`tenantId` on the wire)
- `name: str`
- `role: Union[Literal['viewer', 'runner', 'none'], str]`

## `JoinLookupWorkspaceMember`

A workspace that lets people at the email's domain join, by the emailed link's rules: one the email may join (`join`, with what a joiner gets), or one it's in already (`member`: sign in, don't join). Its id and name only, never its content.

- `kind: Literal['member']`
- `tenant_id: uuid.UUID` (`tenantId` on the wire)
- `name: str`

## `JoinLookupWorkspaceUnrecognized`

A `kind` this client doesn't know yet, from a newer runtime: the object as it came, every field kept.

- `kind: str`

## `JournalEntry`

- `sequence: int`
- `kind: str`
- `node_id: str | None` (`nodeId` on the wire) (optional)
- `payload: Any | None` (optional)
- `timestamp: AwareDatetime | str`

## `JournalKind`

- `root: str`
