{
  "schema_version": "maestro.linkedin-marketo-reconciliation-request.v1",
  "record_id": "",
  "request_scope": {
    "linkedin_business_account_id": "",
    "ad_account_id": "",
    "form_id": "",
    "marketo_subscription_ref": "",
    "launchpoint_service_id": "",
    "cohort": "",
    "cutoff_start": "",
    "cutoff_end": "",
    "timezone": ""
  },
  "handling": "Return evidence references and dated native read-backs. Do not include credentials, cookies, authorization codes or private lead data. Keep planned configuration separate from observed receipts. A zero requires dated evidence; blank and literal Unknown are different.",
  "required_evidence": [
    {
      "id": "REQ-AUTH",
      "state": "authorization",
      "request": "Current LaunchPoint service status, authorized LinkedIn user reference, authorization date, and evidence that it remains current. Reauthorize only through an authorized operator.",
      "accepted_evidence_types": [
        "native_readback"
      ]
    },
    {
      "id": "REQ-SCOPE",
      "state": "account_form_scope",
      "request": "Read back Business Account, ad account, Page and exact form name/ID selected in the native service; compare every ID with approved scope.",
      "accepted_evidence_types": [
        "native_readback"
      ]
    },
    {
      "id": "REQ-MAP",
      "state": "field_value_map",
      "request": "Export or capture each required form field, Marketo destination/type, allowed values, consent treatment, and same-form duplicate mapping check.",
      "accepted_evidence_types": [
        "native_readback"
      ]
    },
    {
      "id": "REQ-SOURCE",
      "state": "source_test",
      "request": "After authorization, submit one permitted test; capture timestamp/timezone, exact form/account, Test Lead = TRUE, ad/ad-set IDs when available, and a controlled reference to the source row.",
      "accepted_evidence_types": [
        "source_report"
      ]
    },
    {
      "id": "REQ-ACTIVITY",
      "state": "person_activity",
      "request": "Read back the exact Marketo person reference, mapped fields and Fills Out LinkedIn Lead Gen Form activity at the test timestamp.",
      "accepted_evidence_types": [
        "native_readback"
      ]
    },
    {
      "id": "REQ-MEMBERSHIP",
      "state": "membership",
      "request": "Read back the Smart Campaign trigger/filter, constraints, qualification result, flow action, intended program/list membership and timestamp.",
      "accepted_evidence_types": [
        "native_readback"
      ]
    },
    {
      "id": "REQ-ROUTING",
      "state": "routing",
      "request": "Capture downstream destination, accepted event, timestamp and responsible owner acknowledgment; response target is not proof of response.",
      "accepted_evidence_types": [
        "native_readback"
      ]
    },
    {
      "id": "REQ-RECON",
      "state": "reconciliation",
      "request": "Provide submitted, connector-observed, person/activity, membership, routed, duplicate and unresolved counts for one exact cohort and cutoff. Person/activity means distinct people represented in the cohort. Duplicate means only additional source submissions after the first for a person already represented in that cohort; a pre-existing person is not a duplicate by itself. Attach dated evidence per count; preserve blank, Unknown and known zero.",
      "accepted_evidence_types": [
        "source_report",
        "native_readback"
      ]
    }
  ],
  "population_template": {
    "submitted": {
      "count": "",
      "evidence_ref": "",
      "evidence_type": "",
      "captured_at": "",
      "definition": ""
    },
    "connector_observed": {
      "count": "",
      "evidence_ref": "",
      "evidence_type": "",
      "captured_at": "",
      "definition": ""
    },
    "person_activity": {
      "count": "",
      "evidence_ref": "",
      "evidence_type": "",
      "captured_at": "",
      "definition": "Distinct Marketo people represented at least once in this cohort with the exact form-fill activity."
    },
    "membership": {
      "count": "",
      "evidence_ref": "",
      "evidence_type": "",
      "captured_at": "",
      "definition": ""
    },
    "routed": {
      "count": "",
      "evidence_ref": "",
      "evidence_type": "",
      "captured_at": "",
      "definition": ""
    },
    "duplicate": {
      "count": "",
      "evidence_ref": "",
      "evidence_type": "",
      "captured_at": "",
      "definition": "Additional source submissions after the first for a person already represented in this same cohort."
    },
    "unresolved": {
      "count": "",
      "evidence_ref": "",
      "evidence_type": "",
      "captured_at": "",
      "definition": ""
    }
  },
  "response_schema": {
    "each_evidence_item": [
      "evidence_ref",
      "evidence_type",
      "captured_at",
      "supports"
    ],
    "evidence_types": [
      "native_readback",
      "native_receipt",
      "source_report",
      "operator_note"
    ],
    "count_types": [
      "blank string",
      "literal Unknown",
      "non-negative integer; zero only with dated evidence"
    ]
  }
}
