{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rumoro-dev/json-schema/rumoro-dev-member-schema.json",
  "title": "Member",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rumoro-dev-members-api-openapi.yml#/components/schemas/Member",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The membership's id (mem_...). Use it with DELETE /v1/members/{id}."
    },
    "userId": {
      "type": "string",
      "description": "The member's user id. Use it for assigneeId and ownerId."
    },
    "email": {
      "type": "string",
      "description": "The user's email address."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The user's name. Null if they have not set one."
    },
    "role": {
      "type": "string",
      "enum": [
        "owner",
        "admin",
        "member"
      ],
      "description": "owner can do everything, including billing. admin can also manage the team. member works with the feed."
    },
    "joinedAt": {
      "type": "string",
      "description": "When the member joined."
    }
  },
  "required": [
    "id",
    "userId",
    "email",
    "name",
    "role",
    "joinedAt"
  ]
}