Screens

Every screen below was generated from this object by OODS Foundry 0.19.0, in React and Vue, and shows the calls that made it and its content hash. Each runs as its generated app runs, in this site's brand, Aquex, in the theme you choose, with the sample records this object's own file carries; the lists on its detail screens show related records from the shipped objects' samples, and a generated app copies the other objects' records among them when it is made. A value no record gives shows as a neutral one, such as an empty value or "Not recorded"; OODS Foundry invents none, though an editable choice with no empty option, such as a preference namespace, starts at its first choice.

React app · sample recordsMaturity: stablesha256:fccf1a7dbfcb…Open full size: User detail screen generated by OODS Foundry in React
The calls that made the User detail apps, in React and Vue
3 calls, as the pipeline sent them
design_compose {
  "object": "User",
  "context": "detail",
  "preferences": {
    "brand": "Aquex",
    "theme": "light"
  }
}

code_generate {
  "schemaRef": "compose-39d72756",
  "framework": "react",
  "profile": "build",
  "options": {
    "output": "application",
    "brand": "Aquex",
    "theme": "light",
    "payloadMode": "file"
  }
}

code_generate {
  "schemaRef": "compose-39d72756",
  "framework": "vue",
  "profile": "build",
  "options": {
    "output": "application",
    "brand": "Aquex",
    "theme": "light",
    "payloadMode": "file"
  }
}

The React app's content hash: sha256:fccf1a7dbfcbafee9c2a0f25343b41139f1d44f2c53192383baf9e915f471fc9. Its src/ folder: App.tsx, GeneratedUI.tsx, app.css, main.tsx, oods-brand-aquex.css

The Vue app's content hash: sha256:04d9e51440d408f71f5adaef81d6c840f55f890c8f95fd54d8aab48160a41b84. Its src/ folder: App.vue, GeneratedUI.vue, app.css, main.ts, oods-brand-aquex.css

Fields

FieldTypeDescription
statusrequired string Canonical lifecycle state derived from the states parameter.
More This is the single source of truth for the entity's current lifecycle position. Consumed by Colorized to resolve visual tokens, and by view extensions to render StatusBadge and StatusTimeline.
state_history StateTransition[] Chronological log of state transitions.
More Each entry records the before/after states, timestamp, and (when governance is enabled) the actor, reason, and transition metadata. Rendered by StatusTimeline in the detail and timeline views. Entry structure: - from: string (previous state) - to: string (new state) - timestamp: ISO 8601 datetime - actor_id: string (user/system who triggered the transition, optional) - reason: string (human-readable justification, required when requireTransitionReason is true) - transition_metadata: Record<string, unknown> (arbitrary context, optional) Every recorded change can name who acted, who it acted for and who approved it. All optional, following Relationship's source_id/source_name pattern; only a *_name names a party, and an entry that names no one renders as it always has: - actor_name: string (who acted, as shown: "Billing Agent") - actor_kind: string (person, agent or system: the Actor trait's kinds) - on_behalf_of_name / on_behalf_of_id: string (the person or organization it acted for) - approved_by_name / approved_by_id: string (who approved the change, when someone did) StatusTimeline then reads "Billing Agent for Tidewater Co-op · approved by Ruth Adeyemi". A change someone approved can also say which approval it belongs to and what level of yes it was. Both optional; the id stays in the record's data, a pointer and not a link, and an entry without them renders as it always has: - approval_id: string (the Approval record the yes is kept in) - approval_level: string (the level of yes, one of the levels the product declares: "approval") StatusTimeline then reads "Billing Agent for Tidewater Co-op · approved by Ruth Adeyemi (level: Approval)". A change made as part of a task can also say which task it was. Both optional; the id stays in the record's data, a pointer and not a link, and an entry without them renders as it always has: - task_id: string (the Task record the change was made under) - task_name: string (the task, as shown: "Get INV-2026-0155 paid") StatusTimeline then reads "… · approved by Ruth Adeyemi (level: Approval) · task: Get INV-2026-0155 paid". A change made under a grant, the standing yes an actor acts under for a person or organization, can also say which grant it was. Both optional; the id stays in the record's data, a pointer and not a link, and an entry without them renders as it always has: - grant_id: string (the Grant record the change was made under) - grant_name: string (the grant, as shown: "Resend returned transfers") StatusTimeline names the grant after any approval and before the task: "Billing Agent for Tidewater Co-op · grant: Resend returned transfers".
allowed_transitions string[] Materialized list of the next states the product allows from the current status, written by the product from the transitionRules parameter.
More When transitionRules is null (open model), this contains all states except the current one. The detail page's StatusTimeline lists it when the record holds it. A generated StatusSelector reads transitionRules instead: it offers the current state and the moves the order allows (every state where no order is declared).
created_atrequired datetime Timestamp recording when the entity was first created.
updated_at datetime Timestamp for the most recent modification, when available.
last_eventrequired string Lifecycle event associated with the most recent timestamp mutation.
last_event_at datetime Timestamp for the lifecycle event captured in last_event.
tags string[] Ordered list of tags assigned to the entity.
tag_countrequired number Computed number of tags assigned to the entity.
tag_metadata object[] Per-tag governance metadata.
More Each entry corresponds to a tag in the tags array and tracks provenance and usage for taxonomy health monitoring. Entry structure: - tag: string (the tag value, matches entry in tags array) - created_at: ISO 8601 datetime - created_by: string (user ID or "system" for allow-list tags) - usage_count: number (how many entities use this tag, computed) - moderation_status: "approved" | "pending" | "rejected" (when allowTagModeration is true) - canonical_form: string (resolved synonym target, when synonymResolution is enabled)
address_rolesrequired string[] Ordered list of roles that currently have address entries.
default_address_role string Role surfaced in UI contexts when one address must be highlighted.
addresses AddressableEntry[] Collection of { role, address, metadata } entries keyed by role.
preference_documentrequired PreferenceDocument Normalized preference payload captured by PreferenceStore (version, preferences map, metadata).
preference_metadatarequired PreferenceMetadata Tracks schema version, lastUpdated timestamp, migration records, and source.
preference_versionrequired string SemVer mirror of preference_document.version for indexing and analytics.
preference_namespacesrequired string[] Materialized namespace list resolved from parameters/registry for auditing.
preference_mutations number Monotonic counter incremented whenever preferences mutate (invalidates caches).
role_catalogrequired AuthzRoleDocument[] Canonical RBAC roles (R21.2 Part 4.2 TABLE 1).
permission_catalogrequired AuthzPermissionDocument[] Atomic permissions following resource:action notation (TABLE 2).
role_permissionsrequired Record<string, string[]> Junction map for role→permission edges (TABLE 3).
membership_recordsrequired AuthzMembershipDocument[] SaaS membership triple (member, organization_id, role_id) with UNIQUE constraint (TABLE 4).
More The member is a user (user_id) or any other actor (actor_id with actor_kind, such as an agent), exactly one of the two.
role_hierarchy_edges AuthzRoleHierarchyEdge[] Parent→child adjacency list for hierarchical RBAC (Part 3.1).
session_roles string[] Materialized roles granted within the current session/token exchange.
channel_catalogrequired Channel[] Provider configuration for each channel (SMTP/Twilio/FCM/Webhook).
template_catalogrequired Template[] Localized template definitions with declared variables per R20.1 Part 2.3.
delivery_policiesrequired DeliveryPolicy[] Retry/throttle/quiet-hour policies (R20.1 Part 3 lifecycle).
messages Message[] Atomic message payloads queued for delivery (R20.6 Part 1.2 primitives).
conversations Conversation[] Multi-party threaded conversations with membership metadata (R20.6 Part 3.3).
message_statuses MessageStatusEntry[] Delivery state machine transitions (queued → sent → delivered → failed → retried → read).
user_idrequired uuid Primary identifier used to correlate identity across services.
namerequired string Human-friendly name rendered in headers and list contexts.
preferred_name string Preferred display name surfaced in collaborative tooling.
description string Supporting summary rendered in detail and card contexts.
primary_emailrequired email Canonical login email address for the user.
rolerequired string (end_user, admin, owner, billing) Highest privilege role currently granted to the user.
timezone string The person's preferred time zone, kept for your product.
More Screens show times in UTC, and a shown date-time says so, as a date-time input's label does.

Traits

Each trait adds fields and behaviour. Every object with the trait gets the same.

Relationships

This object declares no relationships with other object types. Its detail screens also list related records, declared on the object as related lists, apart from relationships.

Relationships: User1 object type and 0 declared associations. Arrows point from source to target. Labels state source-relative cardinality and the via field; they do not assert live referential integrity. Canonical identity record representing a platform user across lifecycle contexts.UserTraits: Actor, Stateful,Timestampable, Taggable, Addressable,Preferenceable, Authable, CommunicableKey fields (6 of 37)user_id: uuid *name: string *primary_email: email *role: string *description: stringpreferred_name: string

The object file

The User object definition in YAML: objects/core/User.object.yaml
object:
  name: User
  version: 1.5.1
  domain: core.identity
  description: Canonical identity record representing a platform user across lifecycle contexts.
  tags:
    - universal
    - identity
    - core

traits:
  # s244-m01 (#2829): a user is a person who can act. Actor adds no field, so User's records and screens are unchanged.
  - name: core/Actor
    parameters:
      kind: person
  - name: lifecycle/Stateful
    alias: UserLifecycle
    parameters:
      states:
        - invited
        - active
        - suspended
        - deactivated
      initialState: active
  - name: lifecycle/Timestampable
    alias: AuditTrail
    parameters:
      recordedEvents:
        - created
        - profile_updated
        - status_changed
        - role_updated
      timezone: UTC
      allowNullUpdatedAt: false
  - name: behavioral/Taggable
    alias: AffinityTags
    parameters:
      maxTags: 12
      allowCustomTags: false
      allowedTags:
        - admin
        - beta_tester
        - vip
        - suspended
      caseSensitive: false
  - name: core/Addressable
    alias: UserAddresses
    parameters:
      roles:
        - home
        - billing
        - shipping
      defaultRole: home
  - name: core/Preferenceable
    alias: UserPreferences
    parameters:
      namespaces:
        - theme
        - notifications
        - display
        - privacy
      schemaVersion: 2.0.0
      registryNamespace: user-preferences
  - name: core/Authable
    alias: UserAuthz
    parameters:
      hierarchyDepthLimit: 5
  - name: core/Communicable
    alias: UserCommunications

schema:
  user_id:
    type: uuid
    required: true
    description: Primary identifier used to correlate identity across services.
  name:
    type: string
    required: true
    description: Human-friendly name rendered in headers and list contexts.
    validation:
      minLength: 1
      maxLength: 120
  preferred_name:
    type: string
    required: false
    description: Preferred display name surfaced in collaborative tooling.
  description:
    type: string
    required: false
    description: Supporting summary rendered in detail and card contexts.
    validation:
      maxLength: 160
  primary_email:
    type: email
    required: true
    description: Canonical login email address for the user.
  role:
    type: string
    required: true
    default: end_user
    description: Highest privilege role currently granted to the user.
    validation:
      enum:
        - end_user
        - admin
        - owner
        - billing
  timezone:
    type: string
    required: false
    default: UTC
    description: The person's preferred time zone, kept for your product. Screens show times in UTC, and a shown date-time says so, as a date-time input's label does.

semantics:
  user_id:
    semantic_type: identity.user.id
    token_mapping: tokenMap(identity.id.primary)
  name:
    semantic_type: identity.user.name
    token_mapping: tokenMap(identity.name.primary)
  preferred_name:
    semantic_type: identity.user.name_preferred
    token_mapping: tokenMap(identity.name.preferred)
  # The one-line summary under the user's name in lists.
  description:
    semantic_type: text.summary
    token_mapping: tokenMap(identity.description.summary)
  primary_email:
    semantic_type: identity.user.email
    token_mapping: tokenMap(identity.email.primary)
  role:
    semantic_type: identity.user.role
    token_mapping: tokenMap(identity.role.*)
  timezone:
    semantic_type: identity.user.timezone
    token_mapping: tokenMap(identity.timezone.primary)

tokens:
  identity.id.primary: "var(--text-strong)"
  identity.name.primary: "var(--text-strong)"
  identity.email.primary: "var(--text-subtle)"
  identity.role.admin: "var(--status-info)"
  identity.timezone.primary: "var(--text-muted)"
  identity.description.summary: "var(--text-subtle)"

metadata:
  owners:
    - Identity team
    - Platform team
  steward: Design team
  maturity: stable
  changelog:
    - version: 1.5.1
      date: "2026-11-19"
      description: Shows approvals, tasks and grants by the person’s seat and closures they answer for. A closure row shows the time of its last report.
    - version: 1.5.0
      date: "2026-11-07"
      description: Composed the Actor trait as a person, so a user is named where an actor is (history, memberships, delegations); no field or screen changed.
    - version: 1.4.0
      date: "2025-11-20"
      description: Composed Authable trait to attach RBAC memberships and entitlement exports.
    - version: 1.3.0
      date: "2025-11-19"
      description: Added Preferenceable trait for schema-governed user preferences (theme, notifications, display, privacy).
    - version: 1.2.0
      date: "2025-11-18"
      description: Added Addressable trait for multi-role user addresses (home, billing, shipping).
    - version: 1.1.0
      date: "2025-10-18"
      description: Simplified composition for view engine integration (Stateful, Timestampable, Taggable).
    - version: 1.0.0
      date: "2025-10-16"
      description: Initial Universal Quintet baseline.
  # s249-m01: the lists this object's detail page shows of the records that point at one of its records, seat by seat,
  # declared here on the page that shows them (packages/mcp-server/src/objects/related-lists.ts says what each key means).
  # They read the registered objects' records by id only, never by name.
  relatedLists:
    # Ordered by due date, then oldest first, with no "late" label: static output has no clock.
    - id: waiting
      label: "Waiting for {name}'s answer"
      empty: "Nothing waits for {name}'s answer."
      sources:
        - { from: Approval, via: asked_of_id, states: [waiting], order: due_at, row: { line: [requested_by_name], time: due_at } }
        - { from: Task, via: waiting_on_id, when: { waiting_on_type: User }, states: [needs_input], order: due_at, row: { line: [asked_of_name], time: due_at } }
        # s249-m03: a grant asked for and waiting on this person's yes, including a standing yes asked for inside a grant.
        # A request holds no due date, so it follows the asks that do, oldest first.
        - { from: Grant, via: asked_of_id, when: { asked_of_kind: person }, states: [requested], row: { line: [requested_by_name, scope] } }
    # s249-m03 (Interface 4): the two lists of standing grants a person may end say, under their rows, where to end one;
    # a generated User app cannot act on the Grant app's records.
    - id: acting-for
      label: "Agents holding a grant for {name}"
      empty: "No agent holds a grant for {name} now."
      filtered: { one: "1 other grant for {name} is asked for or has ended.", other: "{count} other grants for {name} are asked for or have ended." }
      rowsNote: "This list does not change grants: revoke one on the grant's own page."
      sources:
        - from: Grant
          via: granted_for_id
          when: { granted_to_kind: agent, within_id: null }
          states: [active, paused]
          inner: within_id
          row: { line: [granted_to_name, scope, last_use, { says: No uses counted, when: { uses: 0 } }], time: ends_note }
    # s250-m03 (next step 1888): only the grants given for this person that stand; the ended ones are kept apart below. Who
    # should end one is said under the rows, in words, and that this app does not check who is asking.
    - id: given-for
      label: "Given for {name} by someone else"
      empty: "No grant given for {name} by someone else stands now."
      rowsNote: "This list does not change grants. Only someone who may give grants for {name} should end one, on the grant's own page; this app does not check who is asking."
      sources:
        - { from: Grant, via: granted_for_id, exclude: [granted_by_id], when: { within_id: null }, states: [active, paused], inner: within_id, row: { line: [granted_by_name, granted_to_name, scope, last_use, { says: No uses counted, when: { uses: 0 } }], time: ends_note } }
    - id: gave
      label: "Grants {name} gave"
      empty: "No grant {name} gave stands now."
      filtered: { one: "1 other grant {name} gave no longer stands.", other: "{count} other grants {name} gave no longer stand." }
      rowsNote: "This list does not change grants: revoke one on the grant's own page."
      sources:
        - from: Grant
          via: granted_by_id
          when: { granted_by_kind: person, within_id: null }
          states: [active, paused]
          inner: within_id
          row: { line: [granted_to_name, granted_for_name, scope, last_use, { says: No uses counted, when: { uses: 0 } }], time: ends_note }
    - id: answers-for
      label: "Grants {name} answers for"
      empty: "No grant asked for or standing now names {name} as the one who answers for it."
      filtered: { one: "1 grant {name} answers for has ended.", other: "{count} grants {name} answers for have ended." }
      sources:
        - from: Grant
          via: owner_id
          when: { owner_type: user, within_id: null }
          states: [requested, active, paused]
          inner: within_id
          row: { line: [granted_to_name, granted_for_name, scope, last_use, { says: No uses counted, when: { uses: 0 } }], time: ends_note }
    - id: sponsors
      label: "Agents {name} sponsors"
      empty: "No agent names {name} as its sponsor."
      sources:
        # s250-m04 (next step 1887, item 4): an agent that acts for no one keeps acts_for "None"; the row leaves it out.
        - { from: Agent, via: owner_id, when: { owner_type: user }, row: { line: [{ field: acts_for, except: None }] } }
    - id: approved
      label: "What {name} approved"
      empty: "No recorded change names {name} as the one who approved it."
      sources:
        - { from: [Task, Approval, Transaction, Grant], via: "state_history[].approved_by_id" }
    # s250-m03 (next step 1888): an ended list keeps only grants that hold a giver, since expired is reachable from requested
    # and a request that expired unanswered was never given.
    - id: ended-grants
      label: "Ended grants {name} gave"
      empty: "No grant {name} gave has ended."
      collapsed: true
      sources:
        - from: Grant
          via: granted_by_id
          when: { granted_by_kind: person, within_id: null, granted_by_id: { present: true } }
          states: [revoked, expired, replaced]
          inner: within_id
          row: { line: [granted_to_name, granted_for_name, scope] }
    - id: ended-given-for
      label: "Ended grants given for {name} by someone else"
      empty: "No grant given for {name} by someone else has ended."
      collapsed: true
      sources:
        - from: Grant
          via: granted_for_id
          exclude: [granted_by_id]
          when: { within_id: null, granted_by_id: { present: true } }
          states: [revoked, expired, replaced]
          inner: within_id
          row: { line: [granted_by_name, granted_to_name, scope] }
    # s250-m03: the closures that name this person, one list per seat, since one heading cannot be true of both: the one who
    # answers for a closure (a person's id only, as for the grants they answer for), and the party an ended grant was for.
    - id: closures
      label: "Closures {name} answers for"
      empty: "No closure here names {name} as the one who answers for it."
      sources:
        - { from: Closure, via: owner_id, when: { owner_type: user }, order: ended_at, lines: true, row: { line: [summary], time: { field: updated_at, says: Last report } } }
    - id: closures-for
      label: "Closures of grants for {name}"
      empty: "No closure here is of a grant for {name}."
      sources:
        - { from: Closure, via: for_id, order: ended_at, lines: true, row: { line: [summary], time: { field: updated_at, says: Last report } } }

# Eight authored sample users, each a person at one of the sample organizations. A user is created active (the
# lifecycle's initial state), so an invited user is one invited back after leaving; each history ends in the user's
# status, and the last event is the latest recorded change.
samples:
  - user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d01
    name: Dana Whitfield
    preferred_name: Dana
    description: Operations director, Northwind Traders
    primary_email: dana.whitfield@northwind.example
    role: owner
    timezone: America/Chicago
    tags: [admin]
    tag_count: 1
    status: active
    state_history:
      - { title: Joined, from: null, to: active, at: '2026-02-02T15:00:00Z', reason: Created the Northwind Traders workspace }
      - { title: Suspended, from: active, to: suspended, at: '2026-05-11T08:20:00Z', reason: Sign-in from an unrecognised device }
      - { title: Reactivated, from: suspended, to: active, at: '2026-05-11T09:05:00Z', reason: Identity verified and password reset }
    created_at: '2026-02-02T15:00:00Z'
    updated_at: '2026-05-11T09:05:00Z'
    last_event: status_changed
    last_event_at: '2026-05-11T09:05:00Z'
  - user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d02
    name: Ruth Adeyemi
    preferred_name: Ruth
    description: Finance manager, Tidewater Co-op
    primary_email: ruth.adeyemi@tidewater.example
    role: billing
    timezone: Pacific/Auckland
    tags: [vip]
    tag_count: 1
    status: active
    state_history:
      - { title: Joined, from: null, to: active, at: '2024-10-02T21:00:00Z', reason: Invited by the Tidewater account team }
      - { title: Deactivated, from: active, to: deactivated, at: '2025-03-14T20:00:00Z', reason: On parental leave }
      - { title: Reactivated, from: deactivated, to: active, at: '2025-09-01T20:00:00Z', reason: Returned from leave }
    created_at: '2024-10-02T21:00:00Z'
    updated_at: '2026-01-12T20:00:00Z'
    last_event: role_updated
    last_event_at: '2026-01-12T20:00:00Z'
  - user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d03
    name: Priya Raman
    preferred_name: Priya
    description: Studio manager, Blue Harbor Studio
    primary_email: priya@blueharbor.example
    role: admin
    timezone: America/Los_Angeles
    tags: [admin, beta_tester]
    tag_count: 2
    status: active
    state_history:
      - { title: Joined, from: null, to: active, at: '2026-09-19T10:00:00Z', reason: Created the Blue Harbor Studio workspace }
      - { title: Suspended, from: active, to: suspended, at: '2026-09-20T02:10:00Z', reason: Card check failed at trial start }
      - { title: Reactivated, from: suspended, to: active, at: '2026-09-21T09:00:00Z', reason: Card verified and trial started }
    created_at: '2026-09-19T10:00:00Z'
    updated_at: '2026-09-21T09:00:00Z'
    last_event: status_changed
    last_event_at: '2026-09-21T09:00:00Z'
  - user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d04
    name: Tomas Lindqvist
    preferred_name: Tomas
    description: Owner, Lindqvist Bakery
    primary_email: tomas@lindqvist.example
    role: owner
    timezone: Europe/Stockholm
    tags: []
    tag_count: 0
    status: active
    state_history:
      - { title: Joined, from: null, to: active, at: '2026-01-12T08:00:00Z', reason: Created the Lindqvist Bakery workspace }
      - { title: Suspended, from: active, to: suspended, at: '2026-05-15T08:05:00Z', reason: Workspace locked after the card expired }
      - { title: Reactivated, from: suspended, to: active, at: '2026-05-17T08:00:00Z', reason: New card added }
    created_at: '2026-01-12T08:00:00Z'
    updated_at: '2026-05-17T08:00:00Z'
    last_event: status_changed
    last_event_at: '2026-05-17T08:00:00Z'
  - user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d05
    name: Grace Okafor
    preferred_name: Grace
    description: Accounts lead, Kestrel Print Co.
    primary_email: grace.okafor@kestrelprint.example
    role: billing
    timezone: Europe/London
    tags: [suspended]
    tag_count: 1
    status: suspended
    state_history:
      - { title: Joined, from: null, to: active, at: '2026-01-20T10:00:00Z', reason: Created the Kestrel Print Co. workspace }
      - { title: Suspended, from: active, to: suspended, at: '2026-09-24T07:45:00Z', reason: Locked after repeated failed sign-ins }
    created_at: '2026-01-20T10:00:00Z'
    updated_at: '2026-09-24T07:45:00Z'
    last_event: status_changed
    last_event_at: '2026-09-24T07:45:00Z'
  - user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d06
    name: Mei Chen
    preferred_name: Mei
    description: Field coordinator, Tidewater Co-op
    primary_email: mei.chen@tidewater.example
    role: end_user
    timezone: Pacific/Auckland
    tags: []
    tag_count: 0
    status: invited
    state_history:
      - { title: Joined, from: null, to: active, at: '2025-02-10T01:00:00Z', reason: Added by Ruth Adeyemi }
      - { title: Deactivated, from: active, to: deactivated, at: '2025-12-19T03:00:00Z', reason: Left the co-op }
      - { title: Invited back, from: deactivated, to: invited, at: '2026-09-23T22:30:00Z', reason: Rejoined the co-op; invitation sent }
    created_at: '2025-02-10T01:00:00Z'
    updated_at: '2026-09-23T22:30:00Z'
    last_event: status_changed
    last_event_at: '2026-09-23T22:30:00Z'
  - user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d07
    name: Jonah Marlow
    preferred_name: Jonah
    description: Founder, Marlow Yoga
    primary_email: jonah@marlowyoga.example
    role: owner
    timezone: America/Chicago
    tags: []
    tag_count: 0
    status: deactivated
    state_history:
      - { title: Joined, from: null, to: active, at: '2026-01-05T10:15:00Z', reason: Created the Marlow Yoga workspace }
      - { title: Deactivated, from: active, to: deactivated, at: '2026-07-10T09:00:00Z', reason: Studio closed }
    created_at: '2026-01-05T10:15:00Z'
    updated_at: '2026-07-10T09:00:00Z'
    last_event: status_changed
    last_event_at: '2026-07-10T09:00:00Z'
  - user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d08
    name: Arjun Mehta
    preferred_name: Arjun
    description: E-commerce manager, Summit Outfitters
    primary_email: arjun.mehta@summit.example
    role: admin
    timezone: America/Denver
    tags: [admin]
    tag_count: 1
    status: active
    state_history:
      - { title: Joined, from: null, to: active, at: '2026-04-23T12:00:00Z', reason: Created the Summit Outfitters workspace }
      - { title: Suspended, from: active, to: suspended, at: '2026-06-30T18:00:00Z', reason: Paused while single sign-on was reset }
      - { title: Reactivated, from: suspended, to: active, at: '2026-07-01T15:00:00Z', reason: Single sign-on restored }
    created_at: '2026-04-23T12:00:00Z'
    updated_at: '2026-07-01T15:00:00Z'
    last_event: status_changed
    last_event_at: '2026-07-01T15:00:00Z'