{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/crm-lists-api-membership-change-request-schema.json",
  "title": "MembershipChangeRequest",
  "description": "Request body for adding or removing list members.",
  "type": "object",
  "properties": {
    "recordIdsToAdd": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The IDs of records to add to the list.",
      "example": [
        "500123"
      ]
    },
    "recordIdsToRemove": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The IDs of records to remove from the list.",
      "example": [
        "500123"
      ]
    }
  }
}