{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "user.json",
  "title": "Intralinks User",
  "description": "A user within an Intralinks workspace who is assigned a role and belongs to one or more groups for document access control.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the user."
    },
    "firstName": {
      "type": "string",
      "description": "First name."
    },
    "lastName": {
      "type": "string",
      "description": "Last name."
    },
    "emailId": {
      "type": "string",
      "format": "email",
      "description": "Email address."
    },
    "organization": {
      "type": "string",
      "description": "Organization name."
    },
    "roleType": {
      "type": "string",
      "description": "Role assigned to the user in the workspace."
    },
    "lastAccessedOn": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of last workspace access."
    },
    "createdOn": {
      "type": "string",
      "format": "date-time",
      "description": "User creation timestamp."
    }
  },
  "required": ["emailId"]
}
