{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkbreakers-com/json-schema/linkbreakers-com-update-link-setting-response-schema.json",
  "title": "UpdateLinkSettingResponse",
  "description": "UpdateLinkSettingResponse returns the link-setting profile after applying changes.",
  "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/UpdateLinkSettingResponse",
  "properties": {
    "linkSetting": {
      "$ref": "#/$defs/LinkSetting"
    }
  },
  "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"
    },
    "LinkSetting": {
      "description": "Stores per-link compliance preferences that drive how Linkbreakers collects visitor data before executing the workflow.",
      "properties": {
        "createdAt": {
          "format": "date-time",
          "title": "Timestamp when the setting profile was created",
          "type": "string"
        },
        "dataCollection": {
          "$ref": "#/$defs/DataCollection",
          "title": "Data collection mode that controls visitor prompts and requirements"
        },
        "id": {
          "title": "Unique identifier for the link-level setting profile (UUID)",
          "type": "string"
        },
        "updatedAt": {
          "format": "date-time",
          "title": "Timestamp when the setting profile was last updated",
          "type": "string"
        }
      },
      "title": "LinkSetting",
      "type": "object"
    }
  }
}