{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-modify-recipients-attributes-request-data-schema.json",
  "title": "ModifyRecipientsAttributesRequestData",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-recipients-api-openapi.yml#/components/schemas/ModifyRecipientsAttributesRequestData",
  "required": [
    "targetGroup"
  ],
  "type": "object",
  "properties": {
    "targetGroup": {
      "type": "integer",
      "description": "ID of the matching target group",
      "format": "int64"
    },
    "data": {
      "type": "string",
      "description": "Recipient data. Configure \"data.[attribute]\" according to the corresponding recipient list field.<p>Does not work with the \"Try it out\" feature.</p>"
    },
    "mode": {
      "type": "string",
      "description": "Mode for adding parameters to fields of type \"String\"<p><i>Available values:</i> set (to overwrite existing), prepend (to place before existing), append (to place after existing)</p>",
      "enum": [
        "set",
        "prepend",
        "append"
      ]
    }
  }
}