{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lumail-io/json-schema/lumail-io-subscriber-input-schema.json",
  "title": "SubscriberInput",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lumail-io-openapi.json#/components/schemas/SubscriberInput",
  "type": "object",
  "required": [
    "email"
  ],
  "properties": {
    "email": {
      "type": "string",
      "format": "email"
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "phone": {
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100
    },
    "fields": {
      "type": "object",
      "additionalProperties": true
    },
    "replaceTags": {
      "type": "boolean",
      "default": false
    },
    "resubscribe": {
      "type": "boolean",
      "default": true
    },
    "triggerWorkflows": {
      "type": "boolean",
      "default": true
    },
    "skipDoubleOptIn": {
      "type": "boolean",
      "default": false
    },
    "ipAddress": {
      "type": "string"
    },
    "country": {
      "type": "string"
    }
  },
  "additionalProperties": false
}