{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GroupMember",
  "title": "GroupMember",
  "type": "object",
  "description": "Represents the metadata of a group membership.",
  "additionalProperties": true,
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the member."
    },
    "member_type": {
      "$ref": "#/components/schemas/GroupMemberTypeEnum"
    },
    "type": {
      "$ref": "#/components/schemas/GroupTypeEnum"
    },
    "connection_id": {
      "type": "string",
      "description": "Identifier for the connection this group belongs to (if a connection group).",
      "format": "connection-id"
    },
    "created_at": {
      "type": "string",
      "description": "Timestamp of when the membership was created.",
      "format": "date-time"
    }
  }
}