The Bridge · Schema

StoreAttributionDto

CompanyAuthenticationPaymentsSubscriptionFeature FlagsDeveloper Platform

Properties

Name Type Description
email string
capture string TBP-474 — how the client obtained this record. `direct` and `unknown` are NOT interchangeable. `direct` means capture ran and found no channel, which is a real answer. `unknown` means capture could no
marketing_consent boolean Whether the visitor granted marketing consent. Gates the Reddit CAPI fire only — that sends a hashed email to a third party for advertising. Writing the tenant's own attribution record is first-party
rdt_cid string
utm_source string
utm_medium string
utm_campaign string
utm_content string
utm_term string
gclid string
fbclid string
li_fat_id string
ref string TBP-891 — the content code from a short link (`ref=CODE7`, TBP-894). Never `code`: that is OAuth's.
landing_path string TBP-746 — first page of the visit on the marketing site (path only).
referrer_host string TBP-746 — host of the external referrer, never the full URL.
last_touch object TBP-746 — the latest touch, when the client saw a different one from the earliest (top-level fields). Stored in `metadata.attribution_last`, which is overwritten on every write; absent means "same as
View JSON Schema on GitHub

JSON Schema

thebridge-dev-store-attribution-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thebridge-dev/json-schema/thebridge-dev-store-attribution-dto-schema.json",
  "title": "StoreAttributionDto",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thebridge-dev-openapi.json#/components/schemas/StoreAttributionDto",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email"
    },
    "capture": {
      "type": "string",
      "description": "TBP-474 — how the client obtained this record.\n\n`direct` and `unknown` are NOT interchangeable. `direct` means capture ran\nand found no channel, which is a real answer. `unknown` means capture\ncould not run at all, which is a measurement failure. Collapsing them\nmakes `direct` absorb every failure and then look like the strongest\nchannel at exactly the moment a budget decision rests on it.",
      "enum": [
        "utm",
        "referrer",
        "direct",
        "unknown"
      ]
    },
    "marketing_consent": {
      "type": "boolean",
      "description": "Whether the visitor granted marketing consent.\n\nGates the Reddit CAPI fire only — that sends a hashed email to a third\nparty for advertising. Writing the tenant's own attribution record is\nfirst-party processing and happens regardless, which is what keeps the\nmeasurement honest for people who refuse cookies."
    },
    "rdt_cid": {
      "type": "string"
    },
    "utm_source": {
      "type": "string"
    },
    "utm_medium": {
      "type": "string"
    },
    "utm_campaign": {
      "type": "string"
    },
    "utm_content": {
      "type": "string"
    },
    "utm_term": {
      "type": "string"
    },
    "gclid": {
      "type": "string"
    },
    "fbclid": {
      "type": "string"
    },
    "li_fat_id": {
      "type": "string"
    },
    "ref": {
      "type": "string",
      "description": "TBP-891 — the content code from a short link (`ref=CODE7`, TBP-894). Never `code`: that is OAuth's.",
      "maxLength": 64
    },
    "landing_path": {
      "type": "string",
      "description": "TBP-746 — first page of the visit on the marketing site (path only).",
      "maxLength": 512
    },
    "referrer_host": {
      "type": "string",
      "description": "TBP-746 — host of the external referrer, never the full URL.",
      "maxLength": 255
    },
    "last_touch": {
      "description": "TBP-746 — the latest touch, when the client saw a different one from the\nearliest (top-level fields). Stored in `metadata.attribution_last`, which\nis overwritten on every write; absent means \"same as the top level\".",
      "allOf": [
        {
          "$ref": "#/$defs/AttributionTouchDto"
        }
      ]
    }
  },
  "required": [
    "email"
  ],
  "$defs": {
    "AttributionTouchDto": {
      "type": "object",
      "properties": {
        "capture": {
          "type": "string",
          "enum": [
            "utm",
            "referrer",
            "direct",
            "unknown"
          ]
        },
        "rdt_cid": {
          "type": "string",
          "maxLength": 512
        },
        "utm_source": {
          "type": "string",
          "maxLength": 512
        },
        "utm_medium": {
          "type": "string",
          "maxLength": 512
        },
        "utm_campaign": {
          "type": "string",
          "maxLength": 512
        },
        "utm_content": {
          "type": "string",
          "maxLength": 512
        },
        "utm_term": {
          "type": "string",
          "maxLength": 512
        },
        "gclid": {
          "type": "string",
          "maxLength": 512
        },
        "fbclid": {
          "type": "string",
          "maxLength": 512
        },
        "li_fat_id": {
          "type": "string",
          "maxLength": 512
        },
        "ref": {
          "type": "string",
          "description": "TBP-891 — the content code from a short link (`ref=CODE7`, TBP-894).",
          "maxLength": 64
        },
        "landing_path": {
          "type": "string",
          "description": "TBP-746 — first page of the visit on the marketing site (path only).",
          "maxLength": 512
        },
        "referrer_host": {
          "type": "string",
          "description": "TBP-746 — host of the external referrer, never the full URL.",
          "maxLength": 255
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/thebridge-dev-store-attribution-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.