{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mindcloud/json-schema/mindcloud-member-schema.json",
  "title": "Member",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mindcloud-members-api-openapi.yml#/components/schemas/Member",
  "type": "object",
  "properties": {
    "userId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Unique id of the member."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The member's name."
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "The member's email address."
    },
    "isPending": {
      "type": "boolean",
      "description": "True while their invite is waiting to be accepted."
    },
    "roleId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The role they hold."
    },
    "roleName": {
      "type": [
        "string",
        "null"
      ],
      "description": "That role's name."
    },
    "createdOn": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When they joined the company."
    }
  },
  "required": [
    "userId",
    "name",
    "email",
    "isPending",
    "roleId",
    "roleName",
    "createdOn"
  ]
}