{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkbreakers-com/json-schema/linkbreakers-com-settings-service-update-link-setting-body-schema.json",
  "title": "SettingsServiceUpdateLinkSettingBody",
  "description": "UpdateLinkSettingRequest changes the visitor-data policy tied to a specific link.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkbreakers-com-link-settings-api-openapi.yml#/components/schemas/SettingsServiceUpdateLinkSettingBody",
  "properties": {
    "dataCollection": {
      "$ref": "#/$defs/DataCollection",
      "title": "The new data collection setting\nDetermines how much visitor information is requested during workflow steps"
    }
  },
  "type": "object",
  "$defs": {
    "DataCollection": {
      "default": "DATA_COLLECTION_UNSPECIFIED",
      "description": "Defines how aggressively Linkbreakers prompts visitors for identifying data before allowing the workflow to continue.\n\n - DATA_COLLECTION_UNSPECIFIED: Data collection preference not specified\n - DATA_COLLECTION_NONE: No visitor data captured; Linkbreakers only logs the scan event.\n - DATA_COLLECTION_BASIC: Minimal data prompts (e.g., email) enabled to keep friction low while identifying high-signal visitors.\n - DATA_COLLECTION_ADVANCED: Full lead capture flows, including custom forms and required fields, before continuing the workflow.",
      "enum": [
        "DATA_COLLECTION_UNSPECIFIED",
        "DATA_COLLECTION_NONE",
        "DATA_COLLECTION_BASIC",
        "DATA_COLLECTION_ADVANCED"
      ],
      "title": "DataCollection",
      "type": "string"
    }
  }
}