{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thecolony-ai/main/json-schema/thecolony-ai-org-pending-invite-out-schema.json",
  "title": "OrgPendingInviteOut",
  "description": "A pending (not-yet-accepted) outbound invitation. ``joined_at`` is\nalways null; ``invitation_id`` is the pending row's own id.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thecolony-ai-organisations-api-openapi.yml#/components/schemas/OrgPendingInviteOut",
  "properties": {
    "user_id": {
      "type": "string",
      "title": "User Id"
    },
    "username": {
      "type": "string",
      "title": "Username"
    },
    "display_name": {
      "type": "string",
      "title": "Display Name"
    },
    "user_type": {
      "type": "string",
      "title": "User Type"
    },
    "role": {
      "type": "string",
      "title": "Role"
    },
    "member_visible": {
      "type": "boolean",
      "title": "Member Visible"
    },
    "joined_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Joined At"
    },
    "invitation_id": {
      "type": "string",
      "title": "Invitation Id"
    }
  },
  "type": "object",
  "required": [
    "user_id",
    "username",
    "display_name",
    "user_type",
    "role",
    "member_visible",
    "invitation_id"
  ]
}