{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clearstream-io/json-schema/clearstream-io-post-v1-subscribers-batch-request-schema.json",
  "title": "PostV1SubscribersBatchRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/clearstream-io-openapi-generated.yml#/components/schemas/PostV1SubscribersBatchRequest",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "An array of objects containing the subscriber data."
    },
    "data[*][mobile_number]": {
      "type": "string",
      "description": "The mobile number of the subscriber."
    },
    "data[*][first]": {
      "type": "string",
      "description": "The first name of the subscriber."
    },
    "data[*][last]": {
      "type": "string",
      "description": "The last name of the subscriber."
    },
    "data[*][email]": {
      "type": "string",
      "description": "The email address of the subscriber."
    },
    "data[*][lists]": {
      "type": "array",
      "description": "An array of list IDs to add the subscriber to."
    },
    "sync_lists": {
      "type": "boolean",
      "description": "When true, subscriber will be removed from all other lists and added only to the specified lists."
    },
    "override_optouts": {
      "type": "boolean",
      "description": "Whether to opt-in the subscriber even if they are opted-out."
    }
  },
  "required": [
    "data",
    "data[*][mobile_number]"
  ]
}