{
  "version": 1,
  "task": "Build and review a portable HubSpot/Facebook integration evidence record.",
  "portable": true,
  "contract": {
    "identity_key": [
      "hubspot_portal_id",
      "facebook_business_manager_id",
      "facebook_ad_account_id",
      "facebook_page_id",
      "facebook_form_id"
    ],
    "request_ids": [
      "REQ_FACEBOOK_USER_AUTHORIZATION",
      "REQ_AD_ACCOUNT_ADMIN",
      "REQ_PAGE_APP_PERMISSION",
      "REQ_HUBSPOT_ADS_PUBLISH_ACCESS",
      "REQ_MARKETING_CONTACTS_PERMISSION",
      "REQ_CONNECTION_READBACK",
      "REQ_AUTO_TRACKING_READBACK",
      "REQ_AD_URL_TRACKING_READBACK",
      "REQ_LEAD_TERMS_ACCEPTANCE",
      "REQ_TEST_SUBMISSION_POPULATION",
      "REQ_CONTACT_EVENT_READBACK",
      "REQ_ROUTING_READBACK",
      "REQ_POPULATION_RECONCILIATION"
    ],
    "rules": [
      "Public documentation never proves native state.",
      "BLANK, UNKNOWN and evidenced zero stay distinct.",
      "Submitted equals accepted plus rejected plus unresolved for one cutoff.",
      "Multiple submissions can map to one contact.",
      "Positive unresolved blocks VERIFIED.",
      "PASS cannot pair with an evidenced zero matching population.",
      "Every receipt matches the complete identity key and observed_at.",
      "Never invent authorization, IDs, credentials, outcomes or personal data."
    ]
  },
  "prompts": [
    {
      "id": "build",
      "file": "downloads/hubspot-facebook-build-prompt.md",
      "text": "You are the builder for a HubSpot and Facebook Ads integration evidence record. Build or update the supplied JSON using only this package.\n\nPURPOSE\nSeparate account connection/reporting, eligible ad tracking and Facebook lead delivery/routing. Diagnose the first broken state.\n\nREFERENCE SUMMARY\nS01 documents Ads Publish access, Facebook ad-account admin access, account selection and auto-tracking. S02 documents the correct Facebook user, Business Manager, account status, app/Page permissions and the cross-portal blast radius of a reset. S03 distinguishes network reporting from contact attribution, documents unsupported tracking paths and says attribution is not retroactive. S04 documents Page/form selection, Marketing contacts access, Page-scoped Lead Ad Terms and contact automation. Documentation does not prove a supplied account state.\n\nSOURCES\n- S01: https://knowledge.hubspot.com/ads/connect-your-facebook-ads-account-to-hubspot\n- S02: https://knowledge.hubspot.com/ads/facebook-ads-account-troubleshooting\n- S03: https://knowledge.hubspot.com/ads/ad-tracking-in-hubspot\n- S04: https://knowledge.hubspot.com/ads/create-facebook-and-linkedin-lead-ads-in-hubspot\n\nREQUIRED INPUT\nOne complete JSON record matching the embedded schema, one identity key and one cutoff. Use native receipts only when supplied.\n\nMISSING INPUTS\nKeep missing values BLANK or UNKNOWN. Never convert them to zero or PASS. Return the first exact request ID. A planned draft may be DRAFT_READY. Launch/post-test cannot be VERIFIED without owner authorization, dated same-scope receipts, at least one submission and unresolved=0.\n\nOUTPUT\nReturn JSON with schema_version, disposition, first_broken_state, path, reason, next_request, diagnostics and the preserved source. Do not connect accounts, accept terms, submit forms or reset permissions.\n\nCONTRACT\n{\n  \"identity_key\": [\n    \"hubspot_portal_id\",\n    \"facebook_business_manager_id\",\n    \"facebook_ad_account_id\",\n    \"facebook_page_id\",\n    \"facebook_form_id\"\n  ],\n  \"request_ids\": [\n    \"REQ_FACEBOOK_USER_AUTHORIZATION\",\n    \"REQ_AD_ACCOUNT_ADMIN\",\n    \"REQ_PAGE_APP_PERMISSION\",\n    \"REQ_HUBSPOT_ADS_PUBLISH_ACCESS\",\n    \"REQ_MARKETING_CONTACTS_PERMISSION\",\n    \"REQ_CONNECTION_READBACK\",\n    \"REQ_AUTO_TRACKING_READBACK\",\n    \"REQ_AD_URL_TRACKING_READBACK\",\n    \"REQ_LEAD_TERMS_ACCEPTANCE\",\n    \"REQ_TEST_SUBMISSION_POPULATION\",\n    \"REQ_CONTACT_EVENT_READBACK\",\n    \"REQ_ROUTING_READBACK\",\n    \"REQ_POPULATION_RECONCILIATION\"\n  ],\n  \"rules\": [\n    \"Public documentation never proves native state.\",\n    \"BLANK, UNKNOWN and evidenced zero stay distinct.\",\n    \"Submitted equals accepted plus rejected plus unresolved for one cutoff.\",\n    \"Multiple submissions can map to one contact.\",\n    \"Positive unresolved blocks VERIFIED.\",\n    \"PASS cannot pair with an evidenced zero matching population.\",\n    \"Every receipt matches the complete identity key and observed_at.\",\n    \"Never invent authorization, IDs, credentials, outcomes or personal data.\"\n  ]\n}\n\nSCHEMA\n{\n  \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n  \"$id\": \"maestro.hubspot-facebook-integration.v1\",\n  \"type\": \"object\",\n  \"required\": [\n    \"schema_version\",\n    \"record_id\",\n    \"example_only\",\n    \"evaluation_phase\",\n    \"scope\",\n    \"plan\",\n    \"cutoff\",\n    \"observations\",\n    \"populations\",\n    \"evidence\"\n  ],\n  \"properties\": {\n    \"schema_version\": {\n      \"const\": \"maestro.hubspot-facebook-integration.v1\"\n    },\n    \"record_id\": {\n      \"type\": \"string\"\n    },\n    \"example_only\": {\n      \"type\": \"boolean\"\n    },\n    \"evaluation_phase\": {\n      \"enum\": [\n        \"draft\",\n        \"launch\",\n        \"post_test\"\n      ]\n    },\n    \"scope\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"organization\",\n        \"hubspot_portal_id\",\n        \"hubspot_user_ref\",\n        \"facebook_business_manager_id\",\n        \"facebook_user_ref\",\n        \"facebook_ad_account_id\",\n        \"facebook_page_id\",\n        \"facebook_form_id\",\n        \"campaign_id\",\n        \"ad_id\",\n        \"ad_format\"\n      ],\n      \"properties\": {\n        \"organization\": {\n          \"type\": \"string\"\n        },\n        \"hubspot_portal_id\": {\n          \"type\": \"string\"\n        },\n        \"hubspot_user_ref\": {\n          \"type\": \"string\"\n        },\n        \"facebook_business_manager_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_user_ref\": {\n          \"type\": \"string\"\n        },\n        \"facebook_ad_account_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_page_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_form_id\": {\n          \"type\": \"string\"\n        },\n        \"campaign_id\": {\n          \"type\": \"string\"\n        },\n        \"ad_id\": {\n          \"type\": \"string\"\n        },\n        \"ad_format\": {\n          \"type\": \"string\"\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"plan\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"connection_owner\",\n        \"lead_delivery_owner\",\n        \"routing_owner\",\n        \"destination_url\",\n        \"planned_route\",\n        \"test_authorized_by\",\n        \"test_authorized_at\",\n        \"test_authorization_ref\"\n      ],\n      \"properties\": {\n        \"connection_owner\": {\n          \"type\": \"string\"\n        },\n        \"lead_delivery_owner\": {\n          \"type\": \"string\"\n        },\n        \"routing_owner\": {\n          \"type\": \"string\"\n        },\n        \"destination_url\": {\n          \"type\": \"string\"\n        },\n        \"planned_route\": {\n          \"type\": \"string\"\n        },\n        \"test_authorized_by\": {\n          \"type\": \"string\"\n        },\n        \"test_authorized_at\": {\n          \"type\": \"string\"\n        },\n        \"test_authorization_ref\": {\n          \"type\": \"string\"\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"cutoff\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"start\",\n        \"end\",\n        \"timezone\",\n        \"cohort\",\n        \"hubspot_portal_id\",\n        \"facebook_business_manager_id\",\n        \"facebook_ad_account_id\",\n        \"facebook_page_id\",\n        \"facebook_form_id\"\n      ],\n      \"properties\": {\n        \"start\": {\n          \"type\": \"string\"\n        },\n        \"end\": {\n          \"type\": \"string\"\n        },\n        \"timezone\": {\n          \"type\": \"string\"\n        },\n        \"cohort\": {\n          \"type\": \"string\"\n        },\n        \"hubspot_portal_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_business_manager_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_ad_account_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_page_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_form_id\": {\n          \"type\": \"string\"\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"observations\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"hubspot_ads_permission\",\n        \"marketing_contacts_permission\",\n        \"facebook_user_authorization\",\n        \"ad_account_admin\",\n        \"account_status\",\n        \"app_authorization\",\n        \"page_app_permission\",\n        \"connection\",\n        \"reporting\",\n        \"auto_tracking\",\n        \"ad_format\",\n        \"destination_url\",\n        \"tracking_parameters\",\n        \"lead_terms_acceptance\",\n        \"lead_delivery\",\n        \"submission\",\n        \"contact\",\n        \"contact_event\",\n        \"routing\"\n      ],\n      \"properties\": {\n        \"hubspot_ads_permission\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"marketing_contacts_permission\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"facebook_user_authorization\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"ad_account_admin\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"account_status\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"app_authorization\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"page_app_permission\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"connection\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"reporting\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"auto_tracking\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"ad_format\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"destination_url\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"tracking_parameters\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"lead_terms_acceptance\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"lead_delivery\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"submission\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"contact\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"contact_event\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"routing\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"populations\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"submitted\",\n        \"accepted\",\n        \"rejected\",\n        \"contacts\",\n        \"contact_events\",\n        \"routed_contacts\",\n        \"duplicate_submissions\",\n        \"unresolved\"\n      ],\n      \"properties\": {\n        \"submitted\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"accepted\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"rejected\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"contacts\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"contact_events\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"routed_contacts\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"duplicate_submissions\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"unresolved\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"evidence\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\",\n          \"type\",\n          \"observed_at\",\n          \"scope\",\n          \"detail\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"type\": {\n            \"type\": \"string\"\n          },\n          \"observed_at\": {\n            \"type\": \"string\"\n          },\n          \"scope\": {\n            \"type\": \"object\"\n          },\n          \"detail\": {\n            \"type\": \"string\"\n          }\n        },\n        \"additionalProperties\": false\n      }\n    }\n  },\n  \"additionalProperties\": false\n}\n\nWORKED ADAPTATION\nThe complete fictional Facebook Lead Ad fixture marks URL tracking NOT_APPLICABLE because it has no external destination. Connection, reporting, Page/form delivery, contact event and routing have separate receipts. Three submissions map to two contacts; one is duplicate; unresolved is zero. Expected: VERIFIED.\n\nEvaluate the supplied record without unstated article context.\n\n## Exact decision and output contract\n\nReturn one JSON object and no alternate status vocabulary. `disposition` must be exactly one of `DRAFT_READY`, `LAUNCH_HOLD`, `REPAIR_REQUIRED`, or `VERIFIED`. Use `schema_version` `maestro.hubspot-facebook-check.v1`. Keep `next_request` null only when there is no broken state. When it exists, it is an object with `id`, `owner`, `path`, `receipt`, `reason`, and `privacy_note`; never return a bare string. Preserve the complete supplied record under `source`. Do not silently repair a reviewer input.\n\nExact result shape:\n\n```json\n{\n  \"schema_version\": \"maestro.hubspot-facebook-check.v1\",\n  \"disposition\": \"DRAFT_READY | LAUNCH_HOLD | REPAIR_REQUIRED | VERIFIED\",\n  \"first_broken_state\": \"string or null\",\n  \"path\": \"string or null\",\n  \"reason\": \"string\",\n  \"next_request\": {\n    \"id\": \"exact request ID or null\",\n    \"owner\": \"named owner\",\n    \"path\": \"exact source path\",\n    \"receipt\": \"exact next receipt or action\",\n    \"reason\": \"same blocking reason\",\n    \"privacy_note\": \"Keep personal data, tokens and credentials in approved systems; share only safe IDs or redacted receipt references.\"\n  },\n  \"diagnostics\": [],\n  \"source\": \"complete supplied record without silent repair\"\n}\n```\n\nEvaluate in this order:\n\n1. Reject missing members and wrong JSON kinds as `REPAIR_REQUIRED` at `import_contract`; `example_only` must be a Boolean.\n2. Treat blank, `Unknown`, `N/A`, `TBD`, `None`, `null`, `-`, and `—` as missing for required identities, named owners, and planned route. Return `LAUNCH_HOLD` at the earliest identity or planning state. Matching placeholder values across receipts never prove identity.\n3. Check the exact portal, Business Manager, ad account, Page, form and cutoff scope, supported ad format, ordered timestamps, and pre-cutoff test authorization.\n4. Check every PASS/FAIL receipt for a dated native or explicit fictional-example receipt with the complete identity key.\n5. For launch/post-test, walk observations in this exact order before population reconciliation: hubspot_ads_permission, marketing_contacts_permission, facebook_user_authorization, ad_account_admin, account_status, app_authorization, page_app_permission, connection, reporting, auto_tracking, ad_format, destination_url, tracking_parameters, lead_terms_acceptance, lead_delivery, submission, contact, contact_event, routing. Return the first blank, Unknown, failed, mismatched, or contradictory step. Unsupported URL-tracking steps require documented `NOT_APPLICABLE`.\n6. Then validate same-cutoff population receipts, positive unresolved submissions, PASS-plus-evidenced-zero contradictions, submitted = accepted + rejected + unresolved, and contact/routing/duplicate subset rules. Keep later blockers in diagnostics when the output format allows, but never hide an earlier broken observation.\n7. A structurally complete draft with named identities/owners can return `DRAFT_READY`. A launch/post-test record returns `VERIFIED` only when all ordered observations and populations pass and unresolved equals zero.\n\nStable request-ID mapping:\n\n```json\n{\n  \"hubspot_ads_permission\": \"REQ_HUBSPOT_ADS_PUBLISH_ACCESS\",\n  \"marketing_contacts_permission\": \"REQ_MARKETING_CONTACTS_PERMISSION\",\n  \"facebook_user_authorization\": \"REQ_FACEBOOK_USER_AUTHORIZATION\",\n  \"ad_account_admin\": \"REQ_AD_ACCOUNT_ADMIN\",\n  \"account_status\": \"REQ_CONNECTION_READBACK\",\n  \"app_authorization\": \"REQ_CONNECTION_READBACK\",\n  \"page_app_permission\": \"REQ_PAGE_APP_PERMISSION\",\n  \"connection\": \"REQ_CONNECTION_READBACK\",\n  \"reporting\": \"REQ_CONNECTION_READBACK\",\n  \"auto_tracking\": \"REQ_AUTO_TRACKING_READBACK\",\n  \"ad_format\": \"REQ_AD_URL_TRACKING_READBACK\",\n  \"destination_url\": \"REQ_AD_URL_TRACKING_READBACK\",\n  \"tracking_parameters\": \"REQ_AD_URL_TRACKING_READBACK\",\n  \"lead_terms_acceptance\": \"REQ_LEAD_TERMS_ACCEPTANCE\",\n  \"lead_delivery\": \"REQ_TEST_SUBMISSION_POPULATION\",\n  \"submission\": \"REQ_TEST_SUBMISSION_POPULATION\",\n  \"contact\": \"REQ_CONTACT_EVENT_READBACK\",\n  \"contact_event\": \"REQ_CONTACT_EVENT_READBACK\",\n  \"routing\": \"REQ_ROUTING_READBACK\",\n  \"test_authorization\": \"REQ_TEST_SUBMISSION_POPULATION\",\n  \"population_evidence\": \"REQ_TEST_SUBMISSION_POPULATION\",\n  \"population_reconciliation\": \"REQ_POPULATION_RECONCILIATION\",\n  \"planning\": \"REQ_CONNECTION_READBACK\",\n  \"import_contract\": \"REQ_POPULATION_RECONCILIATION\"\n}\n```\n\nFor missing inputs, keep the field blank or Unknown and return `LAUNCH_HOLD` with the exact mapped request ID. Do not invent a fifth disposition such as `NEEDS_INPUT`. For multiple failures, return the earliest state from the order above.\n\n## Canonical request fields and result strings\n\nResolve `next_request.owner` exactly: if `first_broken_state` names an observation and that observation has a nonblank `owner`, copy that owner byte for byte. Otherwise use this fallback map:\n\n```json\n{\n  \"hubspot_ads_permission\": \"HubSpot portal admin\",\n  \"marketing_contacts_permission\": \"HubSpot portal admin\",\n  \"facebook_user_authorization\": \"Facebook Business Manager owner\",\n  \"ad_account_admin\": \"Facebook Business Manager owner\",\n  \"account_status\": \"Facebook ad-account owner\",\n  \"app_authorization\": \"Facebook integration owner\",\n  \"page_app_permission\": \"Facebook Page admin\",\n  \"connection\": \"HubSpot Ads owner\",\n  \"reporting\": \"HubSpot Ads owner\",\n  \"auto_tracking\": \"HubSpot Ads owner\",\n  \"ad_format\": \"Facebook campaign owner\",\n  \"destination_url\": \"Facebook campaign owner\",\n  \"tracking_parameters\": \"HubSpot Ads owner\",\n  \"lead_terms_acceptance\": \"Facebook Primary Connected User\",\n  \"lead_delivery\": \"HubSpot Ads owner\",\n  \"submission\": \"Facebook form owner\",\n  \"contact\": \"HubSpot CRM owner\",\n  \"contact_event\": \"HubSpot CRM owner\",\n  \"routing\": \"HubSpot workflow owner\",\n  \"test_authorization\": \"Facebook form owner\",\n  \"population_evidence\": \"Marketing operations owner\",\n  \"population_reconciliation\": \"Marketing operations owner\",\n  \"planning\": \"Marketing operations owner\",\n  \"import_contract\": \"Record owner\"\n}\n```\n\nUse the exact `receipt` string for the selected state:\n\n```json\n{\n  \"hubspot_ads_permission\": \"Read back Publish access to HubSpot Ads for the connecting user in the named portal.\",\n  \"marketing_contacts_permission\": \"Read back Marketing contacts access for the operator creating the lead ad.\",\n  \"facebook_user_authorization\": \"Read back the signed-in Facebook user for the intended Business Manager.\",\n  \"ad_account_admin\": \"Read back ad-account admin access with Manage Ad Account enabled for the exact user and ad account.\",\n  \"account_status\": \"Read back the exact ad-account status and resolve a disabled or inactive state before reconnecting.\",\n  \"app_authorization\": \"Read back every required HubSpot Ads business-integration permission before considering a reset.\",\n  \"page_app_permission\": \"Read back the relevant Page permission switches for the exact Page ID.\",\n  \"connection\": \"Read back the connected ad-account ID and primary Facebook user in HubSpot Ads settings.\",\n  \"reporting\": \"Read back the exact campaign/ad and selected date range in HubSpot Ads.\",\n  \"auto_tracking\": \"Read back auto-tracking for this exact ad account.\",\n  \"ad_format\": \"Read back the actual Facebook ad format and whether it has an eligible external destination.\",\n  \"destination_url\": \"Read back the final destination URL from the actual ad.\",\n  \"tracking_parameters\": \"Read back the parameters applied to the actual eligible ad; a planned template is not evidence.\",\n  \"lead_terms_acceptance\": \"Read back Lead Ad Terms acceptance for the exact Page by the Primary Connected User.\",\n  \"lead_delivery\": \"Read back the selected Page/form scope and the resulting HubSpot lead-delivery state.\",\n  \"submission\": \"Provide the authorized Facebook submission ID and timestamp for the exact form and cutoff.\",\n  \"contact\": \"Read back the matching HubSpot contact ID and whether it existed before the submission.\",\n  \"contact_event\": \"Read back the matching ad or form activity on that HubSpot contact.\",\n  \"routing\": \"Read back the actual list, workflow or owner receipt for the contact and test window.\",\n  \"test_authorization\": \"Provide the form owner's dated authorization before the cutoff starts.\",\n  \"population_evidence\": \"Provide a dated same-scope native count. Keep blank, Unknown and evidenced zero distinct.\",\n  \"population_reconciliation\": \"Name each unresolved submission ID, its last proven receipt and the next system owner.\",\n  \"planning\": \"Complete the named planned field without inventing an observed result.\",\n  \"import_contract\": \"Repair the named field and reevaluate the preserved source.\"\n}\n```\n\nUse these exact path and reason rules:\n\n- Missing or Unknown observation: path `observations.<step>`; reason `Native state is blank or Unknown; obtain the next receipt.`\n- Observed FAIL: path `observations.<step>`; reason `Observed failure: <exact supplied value>`\n- Expected-value mismatch: path `observations.<step>.value`; reason `Observed value does not match the declared identity or required state.`\n- PASS/FAIL without a valid same-scope receipt: path `observations.<step>`; reason `An observed state needs a specific dated same-scope native receipt.`\n- Missing required identity placeholder: path `scope.<field>`; reason `A named identity value is required; blank and placeholder values do not establish scope.`\n- Missing required owner/route placeholder: path `plan.<field>`; reason `A named owner or route is required; blank and placeholder values do not complete the plan.`\n- Positive unresolved after earlier failure: keep the earlier state as `first_broken_state` and append a diagnostic object with path `populations.unresolved.value`, expected_kind `zero unresolved submissions`, received_kind `number`, the supplied numeric value, message `<count> submission(s) remain unresolved at the cutoff.`, state `population_reconciliation`, and request_id `REQ_POPULATION_RECONCILIATION`.\n\nA complete result must match the canonical checker field by field, including `path`, `reason`, `next_request.owner`, `next_request.receipt`, diagnostics, and the untouched `source`. Do not paraphrase these fields.\n\n## Canonical success strings and diagnostic keys\n\nUse these exact nonblocking reasons:\n\n- `DRAFT_READY`: `Planned record is reviewable; native verification is still pending.`\n- `VERIFIED`: `Dated same-scope receipts and a zero-unresolved submission partition reconcile.`\n\nEvery diagnostic object uses the exact keys `path`, `expected_kind`, `received_kind`, `value`, and `message`. Later-blocker diagnostics also add `state` and `request_id`. The supplied value always goes under `value`; never rename it `supplied_value`.\n"
    },
    {
      "id": "review",
      "file": "downloads/hubspot-facebook-review-prompt.md",
      "text": "You are the reviewer for a HubSpot and Facebook Ads integration evidence record. Review without repairing the supplied JSON using only this package.\n\nPURPOSE\nSeparate account connection/reporting, eligible ad tracking and Facebook lead delivery/routing. Diagnose the first broken state.\n\nREFERENCE SUMMARY\nS01 documents Ads Publish access, Facebook ad-account admin access, account selection and auto-tracking. S02 documents the correct Facebook user, Business Manager, account status, app/Page permissions and the cross-portal blast radius of a reset. S03 distinguishes network reporting from contact attribution, documents unsupported tracking paths and says attribution is not retroactive. S04 documents Page/form selection, Marketing contacts access, Page-scoped Lead Ad Terms and contact automation. Documentation does not prove a supplied account state.\n\nSOURCES\n- S01: https://knowledge.hubspot.com/ads/connect-your-facebook-ads-account-to-hubspot\n- S02: https://knowledge.hubspot.com/ads/facebook-ads-account-troubleshooting\n- S03: https://knowledge.hubspot.com/ads/ad-tracking-in-hubspot\n- S04: https://knowledge.hubspot.com/ads/create-facebook-and-linkedin-lead-ads-in-hubspot\n\nREQUIRED INPUT\nOne complete JSON record matching the embedded schema, one identity key and one cutoff. Use native receipts only when supplied.\n\nMISSING INPUTS\nKeep missing values BLANK or UNKNOWN. Never convert them to zero or PASS. Return the first exact request ID. A planned draft may be DRAFT_READY. Launch/post-test cannot be VERIFIED without owner authorization, dated same-scope receipts, at least one submission and unresolved=0.\n\nOUTPUT\nReturn JSON with schema_version, disposition, first_broken_state, path, reason, next_request, diagnostics and the preserved source. Do not connect accounts, accept terms, submit forms or reset permissions.\n\nCONTRACT\n{\n  \"identity_key\": [\n    \"hubspot_portal_id\",\n    \"facebook_business_manager_id\",\n    \"facebook_ad_account_id\",\n    \"facebook_page_id\",\n    \"facebook_form_id\"\n  ],\n  \"request_ids\": [\n    \"REQ_FACEBOOK_USER_AUTHORIZATION\",\n    \"REQ_AD_ACCOUNT_ADMIN\",\n    \"REQ_PAGE_APP_PERMISSION\",\n    \"REQ_HUBSPOT_ADS_PUBLISH_ACCESS\",\n    \"REQ_MARKETING_CONTACTS_PERMISSION\",\n    \"REQ_CONNECTION_READBACK\",\n    \"REQ_AUTO_TRACKING_READBACK\",\n    \"REQ_AD_URL_TRACKING_READBACK\",\n    \"REQ_LEAD_TERMS_ACCEPTANCE\",\n    \"REQ_TEST_SUBMISSION_POPULATION\",\n    \"REQ_CONTACT_EVENT_READBACK\",\n    \"REQ_ROUTING_READBACK\",\n    \"REQ_POPULATION_RECONCILIATION\"\n  ],\n  \"rules\": [\n    \"Public documentation never proves native state.\",\n    \"BLANK, UNKNOWN and evidenced zero stay distinct.\",\n    \"Submitted equals accepted plus rejected plus unresolved for one cutoff.\",\n    \"Multiple submissions can map to one contact.\",\n    \"Positive unresolved blocks VERIFIED.\",\n    \"PASS cannot pair with an evidenced zero matching population.\",\n    \"Every receipt matches the complete identity key and observed_at.\",\n    \"Never invent authorization, IDs, credentials, outcomes or personal data.\"\n  ]\n}\n\nSCHEMA\n{\n  \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n  \"$id\": \"maestro.hubspot-facebook-integration.v1\",\n  \"type\": \"object\",\n  \"required\": [\n    \"schema_version\",\n    \"record_id\",\n    \"example_only\",\n    \"evaluation_phase\",\n    \"scope\",\n    \"plan\",\n    \"cutoff\",\n    \"observations\",\n    \"populations\",\n    \"evidence\"\n  ],\n  \"properties\": {\n    \"schema_version\": {\n      \"const\": \"maestro.hubspot-facebook-integration.v1\"\n    },\n    \"record_id\": {\n      \"type\": \"string\"\n    },\n    \"example_only\": {\n      \"type\": \"boolean\"\n    },\n    \"evaluation_phase\": {\n      \"enum\": [\n        \"draft\",\n        \"launch\",\n        \"post_test\"\n      ]\n    },\n    \"scope\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"organization\",\n        \"hubspot_portal_id\",\n        \"hubspot_user_ref\",\n        \"facebook_business_manager_id\",\n        \"facebook_user_ref\",\n        \"facebook_ad_account_id\",\n        \"facebook_page_id\",\n        \"facebook_form_id\",\n        \"campaign_id\",\n        \"ad_id\",\n        \"ad_format\"\n      ],\n      \"properties\": {\n        \"organization\": {\n          \"type\": \"string\"\n        },\n        \"hubspot_portal_id\": {\n          \"type\": \"string\"\n        },\n        \"hubspot_user_ref\": {\n          \"type\": \"string\"\n        },\n        \"facebook_business_manager_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_user_ref\": {\n          \"type\": \"string\"\n        },\n        \"facebook_ad_account_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_page_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_form_id\": {\n          \"type\": \"string\"\n        },\n        \"campaign_id\": {\n          \"type\": \"string\"\n        },\n        \"ad_id\": {\n          \"type\": \"string\"\n        },\n        \"ad_format\": {\n          \"type\": \"string\"\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"plan\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"connection_owner\",\n        \"lead_delivery_owner\",\n        \"routing_owner\",\n        \"destination_url\",\n        \"planned_route\",\n        \"test_authorized_by\",\n        \"test_authorized_at\",\n        \"test_authorization_ref\"\n      ],\n      \"properties\": {\n        \"connection_owner\": {\n          \"type\": \"string\"\n        },\n        \"lead_delivery_owner\": {\n          \"type\": \"string\"\n        },\n        \"routing_owner\": {\n          \"type\": \"string\"\n        },\n        \"destination_url\": {\n          \"type\": \"string\"\n        },\n        \"planned_route\": {\n          \"type\": \"string\"\n        },\n        \"test_authorized_by\": {\n          \"type\": \"string\"\n        },\n        \"test_authorized_at\": {\n          \"type\": \"string\"\n        },\n        \"test_authorization_ref\": {\n          \"type\": \"string\"\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"cutoff\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"start\",\n        \"end\",\n        \"timezone\",\n        \"cohort\",\n        \"hubspot_portal_id\",\n        \"facebook_business_manager_id\",\n        \"facebook_ad_account_id\",\n        \"facebook_page_id\",\n        \"facebook_form_id\"\n      ],\n      \"properties\": {\n        \"start\": {\n          \"type\": \"string\"\n        },\n        \"end\": {\n          \"type\": \"string\"\n        },\n        \"timezone\": {\n          \"type\": \"string\"\n        },\n        \"cohort\": {\n          \"type\": \"string\"\n        },\n        \"hubspot_portal_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_business_manager_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_ad_account_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_page_id\": {\n          \"type\": \"string\"\n        },\n        \"facebook_form_id\": {\n          \"type\": \"string\"\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"observations\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"hubspot_ads_permission\",\n        \"marketing_contacts_permission\",\n        \"facebook_user_authorization\",\n        \"ad_account_admin\",\n        \"account_status\",\n        \"app_authorization\",\n        \"page_app_permission\",\n        \"connection\",\n        \"reporting\",\n        \"auto_tracking\",\n        \"ad_format\",\n        \"destination_url\",\n        \"tracking_parameters\",\n        \"lead_terms_acceptance\",\n        \"lead_delivery\",\n        \"submission\",\n        \"contact\",\n        \"contact_event\",\n        \"routing\"\n      ],\n      \"properties\": {\n        \"hubspot_ads_permission\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"marketing_contacts_permission\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"facebook_user_authorization\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"ad_account_admin\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"account_status\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"app_authorization\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"page_app_permission\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"connection\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"reporting\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"auto_tracking\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"ad_format\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"destination_url\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"tracking_parameters\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"lead_terms_acceptance\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"lead_delivery\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"submission\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"contact\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"contact_event\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"routing\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"observed_at\",\n            \"owner\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"PASS\",\n                \"FAIL\",\n                \"NOT_APPLICABLE\"\n              ]\n            },\n            \"value\": {\n              \"type\": \"string\"\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"observed_at\": {\n              \"type\": \"string\"\n            },\n            \"owner\": {\n              \"type\": \"string\"\n            }\n          },\n          \"additionalProperties\": false\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"populations\": {\n      \"type\": \"object\",\n      \"required\": [\n        \"submitted\",\n        \"accepted\",\n        \"rejected\",\n        \"contacts\",\n        \"contact_events\",\n        \"routed_contacts\",\n        \"duplicate_submissions\",\n        \"unresolved\"\n      ],\n      \"properties\": {\n        \"submitted\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"accepted\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"rejected\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"contacts\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"contact_events\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"routed_contacts\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"duplicate_submissions\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        },\n        \"unresolved\": {\n          \"type\": \"object\",\n          \"required\": [\n            \"state\",\n            \"value\",\n            \"evidence_ref\",\n            \"captured_at\",\n            \"definition\",\n            \"scope\"\n          ],\n          \"properties\": {\n            \"state\": {\n              \"enum\": [\n                \"BLANK\",\n                \"UNKNOWN\",\n                \"KNOWN\"\n              ]\n            },\n            \"value\": {\n              \"type\": [\n                \"integer\",\n                \"null\"\n              ],\n              \"minimum\": 0\n            },\n            \"evidence_ref\": {\n              \"type\": \"string\"\n            },\n            \"captured_at\": {\n              \"type\": \"string\"\n            },\n            \"definition\": {\n              \"type\": \"string\"\n            },\n            \"scope\": {\n              \"type\": \"object\"\n            }\n          },\n          \"additionalProperties\": false\n        }\n      },\n      \"additionalProperties\": false\n    },\n    \"evidence\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"required\": [\n          \"id\",\n          \"type\",\n          \"observed_at\",\n          \"scope\",\n          \"detail\"\n        ],\n        \"properties\": {\n          \"id\": {\n            \"type\": \"string\"\n          },\n          \"type\": {\n            \"type\": \"string\"\n          },\n          \"observed_at\": {\n            \"type\": \"string\"\n          },\n          \"scope\": {\n            \"type\": \"object\"\n          },\n          \"detail\": {\n            \"type\": \"string\"\n          }\n        },\n        \"additionalProperties\": false\n      }\n    }\n  },\n  \"additionalProperties\": false\n}\n\nWORKED ADAPTATION\nThe complete fictional Facebook Lead Ad fixture marks URL tracking NOT_APPLICABLE because it has no external destination. Connection, reporting, Page/form delivery, contact event and routing have separate receipts. Three submissions map to two contacts; one is duplicate; unresolved is zero. Expected: VERIFIED.\n\nEvaluate the supplied record without unstated article context.\n\n## Exact decision and output contract\n\nReturn one JSON object and no alternate status vocabulary. `disposition` must be exactly one of `DRAFT_READY`, `LAUNCH_HOLD`, `REPAIR_REQUIRED`, or `VERIFIED`. Use `schema_version` `maestro.hubspot-facebook-check.v1`. Keep `next_request` null only when there is no broken state. When it exists, it is an object with `id`, `owner`, `path`, `receipt`, `reason`, and `privacy_note`; never return a bare string. Preserve the complete supplied record under `source`. Do not silently repair a reviewer input.\n\nExact result shape:\n\n```json\n{\n  \"schema_version\": \"maestro.hubspot-facebook-check.v1\",\n  \"disposition\": \"DRAFT_READY | LAUNCH_HOLD | REPAIR_REQUIRED | VERIFIED\",\n  \"first_broken_state\": \"string or null\",\n  \"path\": \"string or null\",\n  \"reason\": \"string\",\n  \"next_request\": {\n    \"id\": \"exact request ID or null\",\n    \"owner\": \"named owner\",\n    \"path\": \"exact source path\",\n    \"receipt\": \"exact next receipt or action\",\n    \"reason\": \"same blocking reason\",\n    \"privacy_note\": \"Keep personal data, tokens and credentials in approved systems; share only safe IDs or redacted receipt references.\"\n  },\n  \"diagnostics\": [],\n  \"source\": \"complete supplied record without silent repair\"\n}\n```\n\nEvaluate in this order:\n\n1. Reject missing members and wrong JSON kinds as `REPAIR_REQUIRED` at `import_contract`; `example_only` must be a Boolean.\n2. Treat blank, `Unknown`, `N/A`, `TBD`, `None`, `null`, `-`, and `—` as missing for required identities, named owners, and planned route. Return `LAUNCH_HOLD` at the earliest identity or planning state. Matching placeholder values across receipts never prove identity.\n3. Check the exact portal, Business Manager, ad account, Page, form and cutoff scope, supported ad format, ordered timestamps, and pre-cutoff test authorization.\n4. Check every PASS/FAIL receipt for a dated native or explicit fictional-example receipt with the complete identity key.\n5. For launch/post-test, walk observations in this exact order before population reconciliation: hubspot_ads_permission, marketing_contacts_permission, facebook_user_authorization, ad_account_admin, account_status, app_authorization, page_app_permission, connection, reporting, auto_tracking, ad_format, destination_url, tracking_parameters, lead_terms_acceptance, lead_delivery, submission, contact, contact_event, routing. Return the first blank, Unknown, failed, mismatched, or contradictory step. Unsupported URL-tracking steps require documented `NOT_APPLICABLE`.\n6. Then validate same-cutoff population receipts, positive unresolved submissions, PASS-plus-evidenced-zero contradictions, submitted = accepted + rejected + unresolved, and contact/routing/duplicate subset rules. Keep later blockers in diagnostics when the output format allows, but never hide an earlier broken observation.\n7. A structurally complete draft with named identities/owners can return `DRAFT_READY`. A launch/post-test record returns `VERIFIED` only when all ordered observations and populations pass and unresolved equals zero.\n\nStable request-ID mapping:\n\n```json\n{\n  \"hubspot_ads_permission\": \"REQ_HUBSPOT_ADS_PUBLISH_ACCESS\",\n  \"marketing_contacts_permission\": \"REQ_MARKETING_CONTACTS_PERMISSION\",\n  \"facebook_user_authorization\": \"REQ_FACEBOOK_USER_AUTHORIZATION\",\n  \"ad_account_admin\": \"REQ_AD_ACCOUNT_ADMIN\",\n  \"account_status\": \"REQ_CONNECTION_READBACK\",\n  \"app_authorization\": \"REQ_CONNECTION_READBACK\",\n  \"page_app_permission\": \"REQ_PAGE_APP_PERMISSION\",\n  \"connection\": \"REQ_CONNECTION_READBACK\",\n  \"reporting\": \"REQ_CONNECTION_READBACK\",\n  \"auto_tracking\": \"REQ_AUTO_TRACKING_READBACK\",\n  \"ad_format\": \"REQ_AD_URL_TRACKING_READBACK\",\n  \"destination_url\": \"REQ_AD_URL_TRACKING_READBACK\",\n  \"tracking_parameters\": \"REQ_AD_URL_TRACKING_READBACK\",\n  \"lead_terms_acceptance\": \"REQ_LEAD_TERMS_ACCEPTANCE\",\n  \"lead_delivery\": \"REQ_TEST_SUBMISSION_POPULATION\",\n  \"submission\": \"REQ_TEST_SUBMISSION_POPULATION\",\n  \"contact\": \"REQ_CONTACT_EVENT_READBACK\",\n  \"contact_event\": \"REQ_CONTACT_EVENT_READBACK\",\n  \"routing\": \"REQ_ROUTING_READBACK\",\n  \"test_authorization\": \"REQ_TEST_SUBMISSION_POPULATION\",\n  \"population_evidence\": \"REQ_TEST_SUBMISSION_POPULATION\",\n  \"population_reconciliation\": \"REQ_POPULATION_RECONCILIATION\",\n  \"planning\": \"REQ_CONNECTION_READBACK\",\n  \"import_contract\": \"REQ_POPULATION_RECONCILIATION\"\n}\n```\n\nFor missing inputs, keep the field blank or Unknown and return `LAUNCH_HOLD` with the exact mapped request ID. Do not invent a fifth disposition such as `NEEDS_INPUT`. For multiple failures, return the earliest state from the order above.\n\n## Canonical request fields and result strings\n\nResolve `next_request.owner` exactly: if `first_broken_state` names an observation and that observation has a nonblank `owner`, copy that owner byte for byte. Otherwise use this fallback map:\n\n```json\n{\n  \"hubspot_ads_permission\": \"HubSpot portal admin\",\n  \"marketing_contacts_permission\": \"HubSpot portal admin\",\n  \"facebook_user_authorization\": \"Facebook Business Manager owner\",\n  \"ad_account_admin\": \"Facebook Business Manager owner\",\n  \"account_status\": \"Facebook ad-account owner\",\n  \"app_authorization\": \"Facebook integration owner\",\n  \"page_app_permission\": \"Facebook Page admin\",\n  \"connection\": \"HubSpot Ads owner\",\n  \"reporting\": \"HubSpot Ads owner\",\n  \"auto_tracking\": \"HubSpot Ads owner\",\n  \"ad_format\": \"Facebook campaign owner\",\n  \"destination_url\": \"Facebook campaign owner\",\n  \"tracking_parameters\": \"HubSpot Ads owner\",\n  \"lead_terms_acceptance\": \"Facebook Primary Connected User\",\n  \"lead_delivery\": \"HubSpot Ads owner\",\n  \"submission\": \"Facebook form owner\",\n  \"contact\": \"HubSpot CRM owner\",\n  \"contact_event\": \"HubSpot CRM owner\",\n  \"routing\": \"HubSpot workflow owner\",\n  \"test_authorization\": \"Facebook form owner\",\n  \"population_evidence\": \"Marketing operations owner\",\n  \"population_reconciliation\": \"Marketing operations owner\",\n  \"planning\": \"Marketing operations owner\",\n  \"import_contract\": \"Record owner\"\n}\n```\n\nUse the exact `receipt` string for the selected state:\n\n```json\n{\n  \"hubspot_ads_permission\": \"Read back Publish access to HubSpot Ads for the connecting user in the named portal.\",\n  \"marketing_contacts_permission\": \"Read back Marketing contacts access for the operator creating the lead ad.\",\n  \"facebook_user_authorization\": \"Read back the signed-in Facebook user for the intended Business Manager.\",\n  \"ad_account_admin\": \"Read back ad-account admin access with Manage Ad Account enabled for the exact user and ad account.\",\n  \"account_status\": \"Read back the exact ad-account status and resolve a disabled or inactive state before reconnecting.\",\n  \"app_authorization\": \"Read back every required HubSpot Ads business-integration permission before considering a reset.\",\n  \"page_app_permission\": \"Read back the relevant Page permission switches for the exact Page ID.\",\n  \"connection\": \"Read back the connected ad-account ID and primary Facebook user in HubSpot Ads settings.\",\n  \"reporting\": \"Read back the exact campaign/ad and selected date range in HubSpot Ads.\",\n  \"auto_tracking\": \"Read back auto-tracking for this exact ad account.\",\n  \"ad_format\": \"Read back the actual Facebook ad format and whether it has an eligible external destination.\",\n  \"destination_url\": \"Read back the final destination URL from the actual ad.\",\n  \"tracking_parameters\": \"Read back the parameters applied to the actual eligible ad; a planned template is not evidence.\",\n  \"lead_terms_acceptance\": \"Read back Lead Ad Terms acceptance for the exact Page by the Primary Connected User.\",\n  \"lead_delivery\": \"Read back the selected Page/form scope and the resulting HubSpot lead-delivery state.\",\n  \"submission\": \"Provide the authorized Facebook submission ID and timestamp for the exact form and cutoff.\",\n  \"contact\": \"Read back the matching HubSpot contact ID and whether it existed before the submission.\",\n  \"contact_event\": \"Read back the matching ad or form activity on that HubSpot contact.\",\n  \"routing\": \"Read back the actual list, workflow or owner receipt for the contact and test window.\",\n  \"test_authorization\": \"Provide the form owner's dated authorization before the cutoff starts.\",\n  \"population_evidence\": \"Provide a dated same-scope native count. Keep blank, Unknown and evidenced zero distinct.\",\n  \"population_reconciliation\": \"Name each unresolved submission ID, its last proven receipt and the next system owner.\",\n  \"planning\": \"Complete the named planned field without inventing an observed result.\",\n  \"import_contract\": \"Repair the named field and reevaluate the preserved source.\"\n}\n```\n\nUse these exact path and reason rules:\n\n- Missing or Unknown observation: path `observations.<step>`; reason `Native state is blank or Unknown; obtain the next receipt.`\n- Observed FAIL: path `observations.<step>`; reason `Observed failure: <exact supplied value>`\n- Expected-value mismatch: path `observations.<step>.value`; reason `Observed value does not match the declared identity or required state.`\n- PASS/FAIL without a valid same-scope receipt: path `observations.<step>`; reason `An observed state needs a specific dated same-scope native receipt.`\n- Missing required identity placeholder: path `scope.<field>`; reason `A named identity value is required; blank and placeholder values do not establish scope.`\n- Missing required owner/route placeholder: path `plan.<field>`; reason `A named owner or route is required; blank and placeholder values do not complete the plan.`\n- Positive unresolved after earlier failure: keep the earlier state as `first_broken_state` and append a diagnostic object with path `populations.unresolved.value`, expected_kind `zero unresolved submissions`, received_kind `number`, the supplied numeric value, message `<count> submission(s) remain unresolved at the cutoff.`, state `population_reconciliation`, and request_id `REQ_POPULATION_RECONCILIATION`.\n\nA complete result must match the canonical checker field by field, including `path`, `reason`, `next_request.owner`, `next_request.receipt`, diagnostics, and the untouched `source`. Do not paraphrase these fields.\n\n## Canonical success strings and diagnostic keys\n\nUse these exact nonblocking reasons:\n\n- `DRAFT_READY`: `Planned record is reviewable; native verification is still pending.`\n- `VERIFIED`: `Dated same-scope receipts and a zero-unresolved submission partition reconcile.`\n\nEvery diagnostic object uses the exact keys `path`, `expected_kind`, `received_kind`, `value`, and `message`. Later-blocker diagnostics also add `state` and `request_id`. The supplied value always goes under `value`; never rename it `supplied_value`.\n"
    }
  ],
  "fixture_ids": [
    "complete_verified",
    "missing_essential_form",
    "wrong_facebook_user",
    "pass_with_zero_population",
    "positive_unresolved",
    "cross_portal_receipt",
    "missing_page_permission",
    "unknown_identity",
    "wrong_kind_example_only",
    "earlier_wrong_user_plus_unresolved"
  ],
  "fixtures": [
    {
      "id": "complete_verified",
      "description": "Complete fictional same-scope lead-ad handoff.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-northstar-fictional-complete-v1",
        "example_only": true,
        "evaluation_phase": "post_test",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "hs-portal-1001",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "Avery, fictional form owner",
          "test_authorized_at": "2026-10-08T17:30:00Z",
          "test_authorization_ref": "EV-AUTH"
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "hs-portal-1001",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001"
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "PASS",
            "value": "Publish",
            "evidence_ref": "EV-HUBSPOT_ADS_PERMISSION",
            "observed_at": "2026-10-08T19:01:00Z",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "PASS",
            "value": "Granted",
            "evidence_ref": "EV-MARKETING_CONTACTS_PERMISSION",
            "observed_at": "2026-10-08T19:02:00Z",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "PASS",
            "value": "fb-user-3001",
            "evidence_ref": "EV-FACEBOOK_USER_AUTHORIZATION",
            "observed_at": "2026-10-08T19:03:00Z",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "PASS",
            "value": "Manage Ad Account",
            "evidence_ref": "EV-AD_ACCOUNT_ADMIN",
            "observed_at": "2026-10-08T19:04:00Z",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "PASS",
            "value": "active",
            "evidence_ref": "EV-ACCOUNT_STATUS",
            "observed_at": "2026-10-08T19:05:00Z",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "PASS",
            "value": "current",
            "evidence_ref": "EV-APP_AUTHORIZATION",
            "observed_at": "2026-10-08T19:06:00Z",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "PASS",
            "value": "all_required_on",
            "evidence_ref": "EV-PAGE_APP_PERMISSION",
            "observed_at": "2026-10-08T19:07:00Z",
            "owner": "Named system owner"
          },
          "connection": {
            "state": "PASS",
            "value": "act-4001",
            "evidence_ref": "EV-CONNECTION",
            "observed_at": "2026-10-08T19:08:00Z",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "PASS",
            "value": "camp-7001 ad-8001 visible for declared window",
            "evidence_ref": "EV-REPORTING",
            "observed_at": "2026-10-08T19:09:00Z",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "ad_format": {
            "state": "PASS",
            "value": "Facebook Lead Ad",
            "evidence_ref": "EV-AD_FORMAT",
            "observed_at": "2026-10-08T19:11:00Z",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "tracking_parameters": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "lead_terms_acceptance": {
            "state": "PASS",
            "value": "accepted",
            "evidence_ref": "EV-LEAD_TERMS_ACCEPTANCE",
            "observed_at": "2026-10-08T19:14:00Z",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "PASS",
            "value": "accepted page-5001 form-6001",
            "evidence_ref": "EV-LEAD_DELIVERY",
            "observed_at": "2026-10-08T19:15:00Z",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "PASS",
            "value": "sub-01 sub-02 sub-03",
            "evidence_ref": "EV-SUBMISSION",
            "observed_at": "2026-10-08T19:16:00Z",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "PASS",
            "value": "contact-01 contact-02",
            "evidence_ref": "EV-CONTACT",
            "observed_at": "2026-10-08T19:17:00Z",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "PASS",
            "value": "event-01 event-02",
            "evidence_ref": "EV-CONTACT_EVENT",
            "observed_at": "2026-10-08T19:18:00Z",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "PASS",
            "value": "contact-01 contact-02 routed",
            "evidence_ref": "EV-ROUTING",
            "observed_at": "2026-10-08T19:19:00Z",
            "owner": "Named system owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": [
          {
            "id": "EV-AUTH",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T17:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional owner authorization for the declared test window."
          },
          {
            "id": "EV-HUBSPOT_ADS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:01:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for hubspot_ads_permission."
          },
          {
            "id": "EV-MARKETING_CONTACTS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:02:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for marketing_contacts_permission."
          },
          {
            "id": "EV-FACEBOOK_USER_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:03:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for facebook_user_authorization."
          },
          {
            "id": "EV-AD_ACCOUNT_ADMIN",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:04:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_account_admin."
          },
          {
            "id": "EV-ACCOUNT_STATUS",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:05:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for account_status."
          },
          {
            "id": "EV-APP_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:06:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for app_authorization."
          },
          {
            "id": "EV-PAGE_APP_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:07:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for page_app_permission."
          },
          {
            "id": "EV-CONNECTION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:08:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for connection."
          },
          {
            "id": "EV-REPORTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:09:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for reporting."
          },
          {
            "id": "EV-AD_FORMAT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:11:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_format."
          },
          {
            "id": "EV-LEAD_TERMS_ACCEPTANCE",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:14:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_terms_acceptance."
          },
          {
            "id": "EV-LEAD_DELIVERY",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:15:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_delivery."
          },
          {
            "id": "EV-SUBMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:16:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for submission."
          },
          {
            "id": "EV-CONTACT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:17:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact."
          },
          {
            "id": "EV-CONTACT_EVENT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:18:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact_event."
          },
          {
            "id": "EV-ROUTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:19:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for routing."
          },
          {
            "id": "EV-POPULATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional ID-level submitted, accepted, rejected and unresolved reconciliation with contact and routing joins."
          }
        ]
      },
      "expected": {
        "disposition": "VERIFIED",
        "request_id": null
      }
    },
    {
      "id": "missing_essential_form",
      "description": "Missing essential form scope stays missing.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-blank-v1",
        "example_only": false,
        "evaluation_phase": "draft",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "hs-portal-1001",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "",
          "test_authorized_at": "",
          "test_authorization_ref": ""
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "hs-portal-1001",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": ""
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "connection": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "ad_format": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "tracking_parameters": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "lead_terms_acceptance": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "BLANK",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot workflow owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "BLANK",
            "value": null,
            "evidence_ref": "",
            "captured_at": "",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "BLANK",
            "value": null,
            "evidence_ref": "",
            "captured_at": "",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "BLANK",
            "value": null,
            "evidence_ref": "",
            "captured_at": "",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "BLANK",
            "value": null,
            "evidence_ref": "",
            "captured_at": "",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "BLANK",
            "value": null,
            "evidence_ref": "",
            "captured_at": "",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "BLANK",
            "value": null,
            "evidence_ref": "",
            "captured_at": "",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "BLANK",
            "value": null,
            "evidence_ref": "",
            "captured_at": "",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "BLANK",
            "value": null,
            "evidence_ref": "",
            "captured_at": "",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": []
      },
      "expected": {
        "disposition": "LAUNCH_HOLD",
        "request_id": "REQ_CONNECTION_READBACK"
      }
    },
    {
      "id": "wrong_facebook_user",
      "description": "Wrong signed-in Facebook user.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-northstar-fictional-complete-v1",
        "example_only": true,
        "evaluation_phase": "post_test",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "hs-portal-1001",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "Avery, fictional form owner",
          "test_authorized_at": "2026-10-08T17:30:00Z",
          "test_authorization_ref": "EV-AUTH"
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "hs-portal-1001",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001"
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "PASS",
            "value": "Publish",
            "evidence_ref": "EV-HUBSPOT_ADS_PERMISSION",
            "observed_at": "2026-10-08T19:01:00Z",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "PASS",
            "value": "Granted",
            "evidence_ref": "EV-MARKETING_CONTACTS_PERMISSION",
            "observed_at": "2026-10-08T19:02:00Z",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "PASS",
            "value": "fb-user-wrong",
            "evidence_ref": "EV-FACEBOOK_USER_AUTHORIZATION",
            "observed_at": "2026-10-08T19:03:00Z",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "PASS",
            "value": "Manage Ad Account",
            "evidence_ref": "EV-AD_ACCOUNT_ADMIN",
            "observed_at": "2026-10-08T19:04:00Z",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "PASS",
            "value": "active",
            "evidence_ref": "EV-ACCOUNT_STATUS",
            "observed_at": "2026-10-08T19:05:00Z",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "PASS",
            "value": "current",
            "evidence_ref": "EV-APP_AUTHORIZATION",
            "observed_at": "2026-10-08T19:06:00Z",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "PASS",
            "value": "all_required_on",
            "evidence_ref": "EV-PAGE_APP_PERMISSION",
            "observed_at": "2026-10-08T19:07:00Z",
            "owner": "Named system owner"
          },
          "connection": {
            "state": "PASS",
            "value": "act-4001",
            "evidence_ref": "EV-CONNECTION",
            "observed_at": "2026-10-08T19:08:00Z",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "PASS",
            "value": "camp-7001 ad-8001 visible for declared window",
            "evidence_ref": "EV-REPORTING",
            "observed_at": "2026-10-08T19:09:00Z",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "ad_format": {
            "state": "PASS",
            "value": "Facebook Lead Ad",
            "evidence_ref": "EV-AD_FORMAT",
            "observed_at": "2026-10-08T19:11:00Z",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "tracking_parameters": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "lead_terms_acceptance": {
            "state": "PASS",
            "value": "accepted",
            "evidence_ref": "EV-LEAD_TERMS_ACCEPTANCE",
            "observed_at": "2026-10-08T19:14:00Z",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "PASS",
            "value": "accepted page-5001 form-6001",
            "evidence_ref": "EV-LEAD_DELIVERY",
            "observed_at": "2026-10-08T19:15:00Z",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "PASS",
            "value": "sub-01 sub-02 sub-03",
            "evidence_ref": "EV-SUBMISSION",
            "observed_at": "2026-10-08T19:16:00Z",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "PASS",
            "value": "contact-01 contact-02",
            "evidence_ref": "EV-CONTACT",
            "observed_at": "2026-10-08T19:17:00Z",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "PASS",
            "value": "event-01 event-02",
            "evidence_ref": "EV-CONTACT_EVENT",
            "observed_at": "2026-10-08T19:18:00Z",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "PASS",
            "value": "contact-01 contact-02 routed",
            "evidence_ref": "EV-ROUTING",
            "observed_at": "2026-10-08T19:19:00Z",
            "owner": "Named system owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": [
          {
            "id": "EV-AUTH",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T17:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional owner authorization for the declared test window."
          },
          {
            "id": "EV-HUBSPOT_ADS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:01:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for hubspot_ads_permission."
          },
          {
            "id": "EV-MARKETING_CONTACTS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:02:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for marketing_contacts_permission."
          },
          {
            "id": "EV-FACEBOOK_USER_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:03:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for facebook_user_authorization."
          },
          {
            "id": "EV-AD_ACCOUNT_ADMIN",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:04:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_account_admin."
          },
          {
            "id": "EV-ACCOUNT_STATUS",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:05:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for account_status."
          },
          {
            "id": "EV-APP_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:06:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for app_authorization."
          },
          {
            "id": "EV-PAGE_APP_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:07:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for page_app_permission."
          },
          {
            "id": "EV-CONNECTION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:08:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for connection."
          },
          {
            "id": "EV-REPORTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:09:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for reporting."
          },
          {
            "id": "EV-AD_FORMAT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:11:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_format."
          },
          {
            "id": "EV-LEAD_TERMS_ACCEPTANCE",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:14:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_terms_acceptance."
          },
          {
            "id": "EV-LEAD_DELIVERY",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:15:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_delivery."
          },
          {
            "id": "EV-SUBMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:16:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for submission."
          },
          {
            "id": "EV-CONTACT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:17:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact."
          },
          {
            "id": "EV-CONTACT_EVENT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:18:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact_event."
          },
          {
            "id": "EV-ROUTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:19:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for routing."
          },
          {
            "id": "EV-POPULATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional ID-level submitted, accepted, rejected and unresolved reconciliation with contact and routing joins."
          }
        ]
      },
      "expected": {
        "disposition": "REPAIR_REQUIRED",
        "request_id": "REQ_FACEBOOK_USER_AUTHORIZATION"
      }
    },
    {
      "id": "pass_with_zero_population",
      "description": "PASS cannot coexist with evidenced zero.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-northstar-fictional-complete-v1",
        "example_only": true,
        "evaluation_phase": "post_test",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "hs-portal-1001",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "Avery, fictional form owner",
          "test_authorized_at": "2026-10-08T17:30:00Z",
          "test_authorization_ref": "EV-AUTH"
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "hs-portal-1001",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001"
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "PASS",
            "value": "Publish",
            "evidence_ref": "EV-HUBSPOT_ADS_PERMISSION",
            "observed_at": "2026-10-08T19:01:00Z",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "PASS",
            "value": "Granted",
            "evidence_ref": "EV-MARKETING_CONTACTS_PERMISSION",
            "observed_at": "2026-10-08T19:02:00Z",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "PASS",
            "value": "fb-user-3001",
            "evidence_ref": "EV-FACEBOOK_USER_AUTHORIZATION",
            "observed_at": "2026-10-08T19:03:00Z",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "PASS",
            "value": "Manage Ad Account",
            "evidence_ref": "EV-AD_ACCOUNT_ADMIN",
            "observed_at": "2026-10-08T19:04:00Z",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "PASS",
            "value": "active",
            "evidence_ref": "EV-ACCOUNT_STATUS",
            "observed_at": "2026-10-08T19:05:00Z",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "PASS",
            "value": "current",
            "evidence_ref": "EV-APP_AUTHORIZATION",
            "observed_at": "2026-10-08T19:06:00Z",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "PASS",
            "value": "all_required_on",
            "evidence_ref": "EV-PAGE_APP_PERMISSION",
            "observed_at": "2026-10-08T19:07:00Z",
            "owner": "Named system owner"
          },
          "connection": {
            "state": "PASS",
            "value": "act-4001",
            "evidence_ref": "EV-CONNECTION",
            "observed_at": "2026-10-08T19:08:00Z",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "PASS",
            "value": "camp-7001 ad-8001 visible for declared window",
            "evidence_ref": "EV-REPORTING",
            "observed_at": "2026-10-08T19:09:00Z",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "ad_format": {
            "state": "PASS",
            "value": "Facebook Lead Ad",
            "evidence_ref": "EV-AD_FORMAT",
            "observed_at": "2026-10-08T19:11:00Z",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "tracking_parameters": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "lead_terms_acceptance": {
            "state": "PASS",
            "value": "accepted",
            "evidence_ref": "EV-LEAD_TERMS_ACCEPTANCE",
            "observed_at": "2026-10-08T19:14:00Z",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "PASS",
            "value": "accepted page-5001 form-6001",
            "evidence_ref": "EV-LEAD_DELIVERY",
            "observed_at": "2026-10-08T19:15:00Z",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "PASS",
            "value": "sub-01 sub-02 sub-03",
            "evidence_ref": "EV-SUBMISSION",
            "observed_at": "2026-10-08T19:16:00Z",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "PASS",
            "value": "contact-01 contact-02",
            "evidence_ref": "EV-CONTACT",
            "observed_at": "2026-10-08T19:17:00Z",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "PASS",
            "value": "event-01 event-02",
            "evidence_ref": "EV-CONTACT_EVENT",
            "observed_at": "2026-10-08T19:18:00Z",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "PASS",
            "value": "contact-01 contact-02 routed",
            "evidence_ref": "EV-ROUTING",
            "observed_at": "2026-10-08T19:19:00Z",
            "owner": "Named system owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": [
          {
            "id": "EV-AUTH",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T17:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional owner authorization for the declared test window."
          },
          {
            "id": "EV-HUBSPOT_ADS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:01:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for hubspot_ads_permission."
          },
          {
            "id": "EV-MARKETING_CONTACTS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:02:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for marketing_contacts_permission."
          },
          {
            "id": "EV-FACEBOOK_USER_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:03:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for facebook_user_authorization."
          },
          {
            "id": "EV-AD_ACCOUNT_ADMIN",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:04:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_account_admin."
          },
          {
            "id": "EV-ACCOUNT_STATUS",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:05:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for account_status."
          },
          {
            "id": "EV-APP_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:06:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for app_authorization."
          },
          {
            "id": "EV-PAGE_APP_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:07:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for page_app_permission."
          },
          {
            "id": "EV-CONNECTION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:08:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for connection."
          },
          {
            "id": "EV-REPORTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:09:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for reporting."
          },
          {
            "id": "EV-AD_FORMAT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:11:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_format."
          },
          {
            "id": "EV-LEAD_TERMS_ACCEPTANCE",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:14:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_terms_acceptance."
          },
          {
            "id": "EV-LEAD_DELIVERY",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:15:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_delivery."
          },
          {
            "id": "EV-SUBMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:16:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for submission."
          },
          {
            "id": "EV-CONTACT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:17:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact."
          },
          {
            "id": "EV-CONTACT_EVENT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:18:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact_event."
          },
          {
            "id": "EV-ROUTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:19:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for routing."
          },
          {
            "id": "EV-POPULATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional ID-level submitted, accepted, rejected and unresolved reconciliation with contact and routing joins."
          }
        ]
      },
      "expected": {
        "disposition": "REPAIR_REQUIRED",
        "request_id": "REQ_TEST_SUBMISSION_POPULATION"
      }
    },
    {
      "id": "positive_unresolved",
      "description": "Positive unresolved blocks verification.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-northstar-fictional-complete-v1",
        "example_only": true,
        "evaluation_phase": "post_test",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "hs-portal-1001",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "Avery, fictional form owner",
          "test_authorized_at": "2026-10-08T17:30:00Z",
          "test_authorization_ref": "EV-AUTH"
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "hs-portal-1001",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001"
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "PASS",
            "value": "Publish",
            "evidence_ref": "EV-HUBSPOT_ADS_PERMISSION",
            "observed_at": "2026-10-08T19:01:00Z",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "PASS",
            "value": "Granted",
            "evidence_ref": "EV-MARKETING_CONTACTS_PERMISSION",
            "observed_at": "2026-10-08T19:02:00Z",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "PASS",
            "value": "fb-user-3001",
            "evidence_ref": "EV-FACEBOOK_USER_AUTHORIZATION",
            "observed_at": "2026-10-08T19:03:00Z",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "PASS",
            "value": "Manage Ad Account",
            "evidence_ref": "EV-AD_ACCOUNT_ADMIN",
            "observed_at": "2026-10-08T19:04:00Z",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "PASS",
            "value": "active",
            "evidence_ref": "EV-ACCOUNT_STATUS",
            "observed_at": "2026-10-08T19:05:00Z",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "PASS",
            "value": "current",
            "evidence_ref": "EV-APP_AUTHORIZATION",
            "observed_at": "2026-10-08T19:06:00Z",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "PASS",
            "value": "all_required_on",
            "evidence_ref": "EV-PAGE_APP_PERMISSION",
            "observed_at": "2026-10-08T19:07:00Z",
            "owner": "Named system owner"
          },
          "connection": {
            "state": "PASS",
            "value": "act-4001",
            "evidence_ref": "EV-CONNECTION",
            "observed_at": "2026-10-08T19:08:00Z",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "PASS",
            "value": "camp-7001 ad-8001 visible for declared window",
            "evidence_ref": "EV-REPORTING",
            "observed_at": "2026-10-08T19:09:00Z",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "ad_format": {
            "state": "PASS",
            "value": "Facebook Lead Ad",
            "evidence_ref": "EV-AD_FORMAT",
            "observed_at": "2026-10-08T19:11:00Z",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "tracking_parameters": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "lead_terms_acceptance": {
            "state": "PASS",
            "value": "accepted",
            "evidence_ref": "EV-LEAD_TERMS_ACCEPTANCE",
            "observed_at": "2026-10-08T19:14:00Z",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "PASS",
            "value": "accepted page-5001 form-6001",
            "evidence_ref": "EV-LEAD_DELIVERY",
            "observed_at": "2026-10-08T19:15:00Z",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "PASS",
            "value": "sub-01 sub-02 sub-03",
            "evidence_ref": "EV-SUBMISSION",
            "observed_at": "2026-10-08T19:16:00Z",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "PASS",
            "value": "contact-01 contact-02",
            "evidence_ref": "EV-CONTACT",
            "observed_at": "2026-10-08T19:17:00Z",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "PASS",
            "value": "event-01 event-02",
            "evidence_ref": "EV-CONTACT_EVENT",
            "observed_at": "2026-10-08T19:18:00Z",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "PASS",
            "value": "contact-01 contact-02 routed",
            "evidence_ref": "EV-ROUTING",
            "observed_at": "2026-10-08T19:19:00Z",
            "owner": "Named system owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": [
          {
            "id": "EV-AUTH",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T17:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional owner authorization for the declared test window."
          },
          {
            "id": "EV-HUBSPOT_ADS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:01:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for hubspot_ads_permission."
          },
          {
            "id": "EV-MARKETING_CONTACTS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:02:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for marketing_contacts_permission."
          },
          {
            "id": "EV-FACEBOOK_USER_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:03:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for facebook_user_authorization."
          },
          {
            "id": "EV-AD_ACCOUNT_ADMIN",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:04:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_account_admin."
          },
          {
            "id": "EV-ACCOUNT_STATUS",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:05:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for account_status."
          },
          {
            "id": "EV-APP_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:06:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for app_authorization."
          },
          {
            "id": "EV-PAGE_APP_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:07:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for page_app_permission."
          },
          {
            "id": "EV-CONNECTION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:08:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for connection."
          },
          {
            "id": "EV-REPORTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:09:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for reporting."
          },
          {
            "id": "EV-AD_FORMAT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:11:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_format."
          },
          {
            "id": "EV-LEAD_TERMS_ACCEPTANCE",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:14:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_terms_acceptance."
          },
          {
            "id": "EV-LEAD_DELIVERY",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:15:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_delivery."
          },
          {
            "id": "EV-SUBMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:16:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for submission."
          },
          {
            "id": "EV-CONTACT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:17:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact."
          },
          {
            "id": "EV-CONTACT_EVENT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:18:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact_event."
          },
          {
            "id": "EV-ROUTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:19:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for routing."
          },
          {
            "id": "EV-POPULATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional ID-level submitted, accepted, rejected and unresolved reconciliation with contact and routing joins."
          }
        ]
      },
      "expected": {
        "disposition": "REPAIR_REQUIRED",
        "request_id": "REQ_POPULATION_RECONCILIATION"
      }
    },
    {
      "id": "cross_portal_receipt",
      "description": "Cross-portal receipt is rejected.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-northstar-fictional-complete-v1",
        "example_only": true,
        "evaluation_phase": "post_test",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "hs-portal-1001",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "Avery, fictional form owner",
          "test_authorized_at": "2026-10-08T17:30:00Z",
          "test_authorization_ref": "EV-AUTH"
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "hs-portal-1001",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001"
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "PASS",
            "value": "Publish",
            "evidence_ref": "EV-HUBSPOT_ADS_PERMISSION",
            "observed_at": "2026-10-08T19:01:00Z",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "PASS",
            "value": "Granted",
            "evidence_ref": "EV-MARKETING_CONTACTS_PERMISSION",
            "observed_at": "2026-10-08T19:02:00Z",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "PASS",
            "value": "fb-user-3001",
            "evidence_ref": "EV-FACEBOOK_USER_AUTHORIZATION",
            "observed_at": "2026-10-08T19:03:00Z",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "PASS",
            "value": "Manage Ad Account",
            "evidence_ref": "EV-AD_ACCOUNT_ADMIN",
            "observed_at": "2026-10-08T19:04:00Z",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "PASS",
            "value": "active",
            "evidence_ref": "EV-ACCOUNT_STATUS",
            "observed_at": "2026-10-08T19:05:00Z",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "PASS",
            "value": "current",
            "evidence_ref": "EV-APP_AUTHORIZATION",
            "observed_at": "2026-10-08T19:06:00Z",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "PASS",
            "value": "all_required_on",
            "evidence_ref": "EV-PAGE_APP_PERMISSION",
            "observed_at": "2026-10-08T19:07:00Z",
            "owner": "Named system owner"
          },
          "connection": {
            "state": "PASS",
            "value": "act-4001",
            "evidence_ref": "EV-CONNECTION",
            "observed_at": "2026-10-08T19:08:00Z",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "PASS",
            "value": "camp-7001 ad-8001 visible for declared window",
            "evidence_ref": "EV-REPORTING",
            "observed_at": "2026-10-08T19:09:00Z",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "ad_format": {
            "state": "PASS",
            "value": "Facebook Lead Ad",
            "evidence_ref": "EV-AD_FORMAT",
            "observed_at": "2026-10-08T19:11:00Z",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "tracking_parameters": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "lead_terms_acceptance": {
            "state": "PASS",
            "value": "accepted",
            "evidence_ref": "EV-LEAD_TERMS_ACCEPTANCE",
            "observed_at": "2026-10-08T19:14:00Z",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "PASS",
            "value": "accepted page-5001 form-6001",
            "evidence_ref": "EV-LEAD_DELIVERY",
            "observed_at": "2026-10-08T19:15:00Z",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "PASS",
            "value": "sub-01 sub-02 sub-03",
            "evidence_ref": "EV-SUBMISSION",
            "observed_at": "2026-10-08T19:16:00Z",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "PASS",
            "value": "contact-01 contact-02",
            "evidence_ref": "EV-CONTACT",
            "observed_at": "2026-10-08T19:17:00Z",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "PASS",
            "value": "event-01 event-02",
            "evidence_ref": "EV-CONTACT_EVENT",
            "observed_at": "2026-10-08T19:18:00Z",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "PASS",
            "value": "contact-01 contact-02 routed",
            "evidence_ref": "EV-ROUTING",
            "observed_at": "2026-10-08T19:19:00Z",
            "owner": "Named system owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": [
          {
            "id": "EV-AUTH",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T17:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional owner authorization for the declared test window."
          },
          {
            "id": "EV-HUBSPOT_ADS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:01:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for hubspot_ads_permission."
          },
          {
            "id": "EV-MARKETING_CONTACTS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:02:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for marketing_contacts_permission."
          },
          {
            "id": "EV-FACEBOOK_USER_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:03:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for facebook_user_authorization."
          },
          {
            "id": "EV-AD_ACCOUNT_ADMIN",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:04:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_account_admin."
          },
          {
            "id": "EV-ACCOUNT_STATUS",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:05:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-other",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for account_status."
          },
          {
            "id": "EV-APP_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:06:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for app_authorization."
          },
          {
            "id": "EV-PAGE_APP_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:07:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for page_app_permission."
          },
          {
            "id": "EV-CONNECTION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:08:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for connection."
          },
          {
            "id": "EV-REPORTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:09:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for reporting."
          },
          {
            "id": "EV-AD_FORMAT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:11:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_format."
          },
          {
            "id": "EV-LEAD_TERMS_ACCEPTANCE",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:14:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_terms_acceptance."
          },
          {
            "id": "EV-LEAD_DELIVERY",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:15:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_delivery."
          },
          {
            "id": "EV-SUBMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:16:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for submission."
          },
          {
            "id": "EV-CONTACT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:17:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact."
          },
          {
            "id": "EV-CONTACT_EVENT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:18:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact_event."
          },
          {
            "id": "EV-ROUTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:19:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for routing."
          },
          {
            "id": "EV-POPULATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional ID-level submitted, accepted, rejected and unresolved reconciliation with contact and routing joins."
          }
        ]
      },
      "expected": {
        "disposition": "LAUNCH_HOLD",
        "request_id": "REQ_CONNECTION_READBACK"
      }
    },
    {
      "id": "missing_page_permission",
      "description": "Unknown Page permission asks exact Page request.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-missing-page-permission-v1",
        "example_only": true,
        "evaluation_phase": "post_test",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "hs-portal-1001",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "Avery, fictional form owner",
          "test_authorized_at": "2026-10-08T17:30:00Z",
          "test_authorization_ref": "EV-AUTH"
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "hs-portal-1001",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001"
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "PASS",
            "value": "Publish",
            "evidence_ref": "EV-HUBSPOT_ADS_PERMISSION",
            "observed_at": "2026-10-08T19:01:00Z",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "PASS",
            "value": "Granted",
            "evidence_ref": "EV-MARKETING_CONTACTS_PERMISSION",
            "observed_at": "2026-10-08T19:02:00Z",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "PASS",
            "value": "fb-user-3001",
            "evidence_ref": "EV-FACEBOOK_USER_AUTHORIZATION",
            "observed_at": "2026-10-08T19:03:00Z",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "PASS",
            "value": "Manage Ad Account",
            "evidence_ref": "EV-AD_ACCOUNT_ADMIN",
            "observed_at": "2026-10-08T19:04:00Z",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "PASS",
            "value": "active",
            "evidence_ref": "EV-ACCOUNT_STATUS",
            "observed_at": "2026-10-08T19:05:00Z",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "PASS",
            "value": "current",
            "evidence_ref": "EV-APP_AUTHORIZATION",
            "observed_at": "2026-10-08T19:06:00Z",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "UNKNOWN",
            "value": "",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "Facebook Page admin"
          },
          "connection": {
            "state": "PASS",
            "value": "act-4001",
            "evidence_ref": "EV-CONNECTION",
            "observed_at": "2026-10-08T19:08:00Z",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "PASS",
            "value": "camp-7001 ad-8001 visible for declared window",
            "evidence_ref": "EV-REPORTING",
            "observed_at": "2026-10-08T19:09:00Z",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "ad_format": {
            "state": "PASS",
            "value": "Facebook Lead Ad",
            "evidence_ref": "EV-AD_FORMAT",
            "observed_at": "2026-10-08T19:11:00Z",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "tracking_parameters": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "lead_terms_acceptance": {
            "state": "PASS",
            "value": "accepted",
            "evidence_ref": "EV-LEAD_TERMS_ACCEPTANCE",
            "observed_at": "2026-10-08T19:14:00Z",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "PASS",
            "value": "accepted page-5001 form-6001",
            "evidence_ref": "EV-LEAD_DELIVERY",
            "observed_at": "2026-10-08T19:15:00Z",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "PASS",
            "value": "sub-01 sub-02 sub-03",
            "evidence_ref": "EV-SUBMISSION",
            "observed_at": "2026-10-08T19:16:00Z",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "PASS",
            "value": "contact-01 contact-02",
            "evidence_ref": "EV-CONTACT",
            "observed_at": "2026-10-08T19:17:00Z",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "PASS",
            "value": "event-01 event-02",
            "evidence_ref": "EV-CONTACT_EVENT",
            "observed_at": "2026-10-08T19:18:00Z",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "PASS",
            "value": "contact-01 contact-02 routed",
            "evidence_ref": "EV-ROUTING",
            "observed_at": "2026-10-08T19:19:00Z",
            "owner": "Named system owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": [
          {
            "id": "EV-AUTH",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T17:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional owner authorization for the declared test window."
          },
          {
            "id": "EV-HUBSPOT_ADS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:01:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for hubspot_ads_permission."
          },
          {
            "id": "EV-MARKETING_CONTACTS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:02:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for marketing_contacts_permission."
          },
          {
            "id": "EV-FACEBOOK_USER_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:03:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for facebook_user_authorization."
          },
          {
            "id": "EV-AD_ACCOUNT_ADMIN",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:04:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_account_admin."
          },
          {
            "id": "EV-ACCOUNT_STATUS",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:05:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for account_status."
          },
          {
            "id": "EV-APP_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:06:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for app_authorization."
          },
          {
            "id": "EV-PAGE_APP_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:07:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for page_app_permission."
          },
          {
            "id": "EV-CONNECTION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:08:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for connection."
          },
          {
            "id": "EV-REPORTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:09:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for reporting."
          },
          {
            "id": "EV-AD_FORMAT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:11:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_format."
          },
          {
            "id": "EV-LEAD_TERMS_ACCEPTANCE",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:14:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_terms_acceptance."
          },
          {
            "id": "EV-LEAD_DELIVERY",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:15:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_delivery."
          },
          {
            "id": "EV-SUBMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:16:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for submission."
          },
          {
            "id": "EV-CONTACT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:17:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact."
          },
          {
            "id": "EV-CONTACT_EVENT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:18:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact_event."
          },
          {
            "id": "EV-ROUTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:19:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for routing."
          },
          {
            "id": "EV-POPULATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional ID-level submitted, accepted, rejected and unresolved reconciliation with contact and routing joins."
          }
        ]
      },
      "expected": {
        "disposition": "LAUNCH_HOLD",
        "request_id": "REQ_PAGE_APP_PERMISSION"
      }
    },
    {
      "id": "unknown_identity",
      "description": "Literal Unknown portal and matching receipt scopes must not verify.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-northstar-fictional-complete-v1",
        "example_only": true,
        "evaluation_phase": "post_test",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "Unknown",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "Avery, fictional form owner",
          "test_authorized_at": "2026-10-08T17:30:00Z",
          "test_authorization_ref": "EV-AUTH"
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "Unknown",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001"
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "PASS",
            "value": "Publish",
            "evidence_ref": "EV-HUBSPOT_ADS_PERMISSION",
            "observed_at": "2026-10-08T19:01:00Z",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "PASS",
            "value": "Granted",
            "evidence_ref": "EV-MARKETING_CONTACTS_PERMISSION",
            "observed_at": "2026-10-08T19:02:00Z",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "PASS",
            "value": "fb-user-3001",
            "evidence_ref": "EV-FACEBOOK_USER_AUTHORIZATION",
            "observed_at": "2026-10-08T19:03:00Z",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "PASS",
            "value": "Manage Ad Account",
            "evidence_ref": "EV-AD_ACCOUNT_ADMIN",
            "observed_at": "2026-10-08T19:04:00Z",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "PASS",
            "value": "active",
            "evidence_ref": "EV-ACCOUNT_STATUS",
            "observed_at": "2026-10-08T19:05:00Z",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "PASS",
            "value": "current",
            "evidence_ref": "EV-APP_AUTHORIZATION",
            "observed_at": "2026-10-08T19:06:00Z",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "PASS",
            "value": "all_required_on",
            "evidence_ref": "EV-PAGE_APP_PERMISSION",
            "observed_at": "2026-10-08T19:07:00Z",
            "owner": "Named system owner"
          },
          "connection": {
            "state": "PASS",
            "value": "act-4001",
            "evidence_ref": "EV-CONNECTION",
            "observed_at": "2026-10-08T19:08:00Z",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "PASS",
            "value": "camp-7001 ad-8001 visible for declared window",
            "evidence_ref": "EV-REPORTING",
            "observed_at": "2026-10-08T19:09:00Z",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "ad_format": {
            "state": "PASS",
            "value": "Facebook Lead Ad",
            "evidence_ref": "EV-AD_FORMAT",
            "observed_at": "2026-10-08T19:11:00Z",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "tracking_parameters": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "lead_terms_acceptance": {
            "state": "PASS",
            "value": "accepted",
            "evidence_ref": "EV-LEAD_TERMS_ACCEPTANCE",
            "observed_at": "2026-10-08T19:14:00Z",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "PASS",
            "value": "accepted page-5001 form-6001",
            "evidence_ref": "EV-LEAD_DELIVERY",
            "observed_at": "2026-10-08T19:15:00Z",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "PASS",
            "value": "sub-01 sub-02 sub-03",
            "evidence_ref": "EV-SUBMISSION",
            "observed_at": "2026-10-08T19:16:00Z",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "PASS",
            "value": "contact-01 contact-02",
            "evidence_ref": "EV-CONTACT",
            "observed_at": "2026-10-08T19:17:00Z",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "PASS",
            "value": "event-01 event-02",
            "evidence_ref": "EV-CONTACT_EVENT",
            "observed_at": "2026-10-08T19:18:00Z",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "PASS",
            "value": "contact-01 contact-02 routed",
            "evidence_ref": "EV-ROUTING",
            "observed_at": "2026-10-08T19:19:00Z",
            "owner": "Named system owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": [
          {
            "id": "EV-AUTH",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T17:30:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional owner authorization for the declared test window."
          },
          {
            "id": "EV-HUBSPOT_ADS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:01:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for hubspot_ads_permission."
          },
          {
            "id": "EV-MARKETING_CONTACTS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:02:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for marketing_contacts_permission."
          },
          {
            "id": "EV-FACEBOOK_USER_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:03:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for facebook_user_authorization."
          },
          {
            "id": "EV-AD_ACCOUNT_ADMIN",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:04:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_account_admin."
          },
          {
            "id": "EV-ACCOUNT_STATUS",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:05:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for account_status."
          },
          {
            "id": "EV-APP_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:06:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for app_authorization."
          },
          {
            "id": "EV-PAGE_APP_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:07:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for page_app_permission."
          },
          {
            "id": "EV-CONNECTION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:08:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for connection."
          },
          {
            "id": "EV-REPORTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:09:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for reporting."
          },
          {
            "id": "EV-AD_FORMAT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:11:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_format."
          },
          {
            "id": "EV-LEAD_TERMS_ACCEPTANCE",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:14:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_terms_acceptance."
          },
          {
            "id": "EV-LEAD_DELIVERY",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:15:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_delivery."
          },
          {
            "id": "EV-SUBMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:16:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for submission."
          },
          {
            "id": "EV-CONTACT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:17:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact."
          },
          {
            "id": "EV-CONTACT_EVENT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:18:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact_event."
          },
          {
            "id": "EV-ROUTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:19:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for routing."
          },
          {
            "id": "EV-POPULATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:30:00Z",
            "scope": {
              "hubspot_portal_id": "Unknown",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional ID-level submitted, accepted, rejected and unresolved reconciliation with contact and routing joins."
          }
        ]
      },
      "expected": {
        "disposition": "LAUNCH_HOLD",
        "request_id": "REQ_CONNECTION_READBACK"
      }
    },
    {
      "id": "wrong_kind_example_only",
      "description": "String false must fail the Boolean import contract.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-northstar-fictional-complete-v1",
        "example_only": "false",
        "evaluation_phase": "post_test",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "hs-portal-1001",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "Avery, fictional form owner",
          "test_authorized_at": "2026-10-08T17:30:00Z",
          "test_authorization_ref": "EV-AUTH"
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "hs-portal-1001",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001"
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "PASS",
            "value": "Publish",
            "evidence_ref": "EV-HUBSPOT_ADS_PERMISSION",
            "observed_at": "2026-10-08T19:01:00Z",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "PASS",
            "value": "Granted",
            "evidence_ref": "EV-MARKETING_CONTACTS_PERMISSION",
            "observed_at": "2026-10-08T19:02:00Z",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "PASS",
            "value": "fb-user-3001",
            "evidence_ref": "EV-FACEBOOK_USER_AUTHORIZATION",
            "observed_at": "2026-10-08T19:03:00Z",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "PASS",
            "value": "Manage Ad Account",
            "evidence_ref": "EV-AD_ACCOUNT_ADMIN",
            "observed_at": "2026-10-08T19:04:00Z",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "PASS",
            "value": "active",
            "evidence_ref": "EV-ACCOUNT_STATUS",
            "observed_at": "2026-10-08T19:05:00Z",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "PASS",
            "value": "current",
            "evidence_ref": "EV-APP_AUTHORIZATION",
            "observed_at": "2026-10-08T19:06:00Z",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "PASS",
            "value": "all_required_on",
            "evidence_ref": "EV-PAGE_APP_PERMISSION",
            "observed_at": "2026-10-08T19:07:00Z",
            "owner": "Named system owner"
          },
          "connection": {
            "state": "PASS",
            "value": "act-4001",
            "evidence_ref": "EV-CONNECTION",
            "observed_at": "2026-10-08T19:08:00Z",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "PASS",
            "value": "camp-7001 ad-8001 visible for declared window",
            "evidence_ref": "EV-REPORTING",
            "observed_at": "2026-10-08T19:09:00Z",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "ad_format": {
            "state": "PASS",
            "value": "Facebook Lead Ad",
            "evidence_ref": "EV-AD_FORMAT",
            "observed_at": "2026-10-08T19:11:00Z",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "tracking_parameters": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "lead_terms_acceptance": {
            "state": "PASS",
            "value": "accepted",
            "evidence_ref": "EV-LEAD_TERMS_ACCEPTANCE",
            "observed_at": "2026-10-08T19:14:00Z",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "PASS",
            "value": "accepted page-5001 form-6001",
            "evidence_ref": "EV-LEAD_DELIVERY",
            "observed_at": "2026-10-08T19:15:00Z",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "PASS",
            "value": "sub-01 sub-02 sub-03",
            "evidence_ref": "EV-SUBMISSION",
            "observed_at": "2026-10-08T19:16:00Z",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "PASS",
            "value": "contact-01 contact-02",
            "evidence_ref": "EV-CONTACT",
            "observed_at": "2026-10-08T19:17:00Z",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "PASS",
            "value": "event-01 event-02",
            "evidence_ref": "EV-CONTACT_EVENT",
            "observed_at": "2026-10-08T19:18:00Z",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "PASS",
            "value": "contact-01 contact-02 routed",
            "evidence_ref": "EV-ROUTING",
            "observed_at": "2026-10-08T19:19:00Z",
            "owner": "Named system owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": [
          {
            "id": "EV-AUTH",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T17:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional owner authorization for the declared test window."
          },
          {
            "id": "EV-HUBSPOT_ADS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:01:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for hubspot_ads_permission."
          },
          {
            "id": "EV-MARKETING_CONTACTS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:02:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for marketing_contacts_permission."
          },
          {
            "id": "EV-FACEBOOK_USER_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:03:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for facebook_user_authorization."
          },
          {
            "id": "EV-AD_ACCOUNT_ADMIN",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:04:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_account_admin."
          },
          {
            "id": "EV-ACCOUNT_STATUS",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:05:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for account_status."
          },
          {
            "id": "EV-APP_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:06:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for app_authorization."
          },
          {
            "id": "EV-PAGE_APP_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:07:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for page_app_permission."
          },
          {
            "id": "EV-CONNECTION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:08:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for connection."
          },
          {
            "id": "EV-REPORTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:09:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for reporting."
          },
          {
            "id": "EV-AD_FORMAT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:11:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_format."
          },
          {
            "id": "EV-LEAD_TERMS_ACCEPTANCE",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:14:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_terms_acceptance."
          },
          {
            "id": "EV-LEAD_DELIVERY",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:15:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_delivery."
          },
          {
            "id": "EV-SUBMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:16:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for submission."
          },
          {
            "id": "EV-CONTACT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:17:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact."
          },
          {
            "id": "EV-CONTACT_EVENT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:18:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact_event."
          },
          {
            "id": "EV-ROUTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:19:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for routing."
          },
          {
            "id": "EV-POPULATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional ID-level submitted, accepted, rejected and unresolved reconciliation with contact and routing joins."
          }
        ]
      },
      "expected": {
        "disposition": "REPAIR_REQUIRED",
        "request_id": "REQ_POPULATION_RECONCILIATION"
      }
    },
    {
      "id": "earlier_wrong_user_plus_unresolved",
      "description": "Earlier wrong Facebook user wins over later unresolved population.",
      "input": {
        "schema_version": "maestro.hubspot-facebook-integration.v1",
        "record_id": "hf-northstar-fictional-complete-v1",
        "example_only": true,
        "evaluation_phase": "post_test",
        "scope": {
          "organization": "Northstar Analytics (fictional)",
          "hubspot_portal_id": "hs-portal-1001",
          "hubspot_user_ref": "hs-user-ops-01",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_user_ref": "fb-user-3001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001",
          "campaign_id": "camp-7001",
          "ad_id": "ad-8001",
          "ad_format": "Facebook Lead Ad"
        },
        "plan": {
          "connection_owner": "Morgan, HubSpot Ads owner",
          "lead_delivery_owner": "Riley, marketing operations",
          "routing_owner": "Casey, RevOps",
          "destination_url": "",
          "planned_route": "Add accepted contacts to Fictional Meta Test list and assign the named owner",
          "test_authorized_by": "Avery, fictional form owner",
          "test_authorized_at": "2026-10-08T17:30:00Z",
          "test_authorization_ref": "EV-AUTH"
        },
        "cutoff": {
          "start": "2026-10-08T18:00:00Z",
          "end": "2026-10-08T19:00:00Z",
          "timezone": "UTC",
          "cohort": "authorized-fictional-test",
          "hubspot_portal_id": "hs-portal-1001",
          "facebook_business_manager_id": "fb-bm-2001",
          "facebook_ad_account_id": "act-4001",
          "facebook_page_id": "page-5001",
          "facebook_form_id": "form-6001"
        },
        "observations": {
          "hubspot_ads_permission": {
            "state": "PASS",
            "value": "Publish",
            "evidence_ref": "EV-HUBSPOT_ADS_PERMISSION",
            "observed_at": "2026-10-08T19:01:00Z",
            "owner": "Named system owner"
          },
          "marketing_contacts_permission": {
            "state": "PASS",
            "value": "Granted",
            "evidence_ref": "EV-MARKETING_CONTACTS_PERMISSION",
            "observed_at": "2026-10-08T19:02:00Z",
            "owner": "Named system owner"
          },
          "facebook_user_authorization": {
            "state": "PASS",
            "value": "wrong-user",
            "evidence_ref": "EV-FACEBOOK_USER_AUTHORIZATION",
            "observed_at": "2026-10-08T19:03:00Z",
            "owner": "Named system owner"
          },
          "ad_account_admin": {
            "state": "PASS",
            "value": "Manage Ad Account",
            "evidence_ref": "EV-AD_ACCOUNT_ADMIN",
            "observed_at": "2026-10-08T19:04:00Z",
            "owner": "Named system owner"
          },
          "account_status": {
            "state": "PASS",
            "value": "active",
            "evidence_ref": "EV-ACCOUNT_STATUS",
            "observed_at": "2026-10-08T19:05:00Z",
            "owner": "Named system owner"
          },
          "app_authorization": {
            "state": "PASS",
            "value": "current",
            "evidence_ref": "EV-APP_AUTHORIZATION",
            "observed_at": "2026-10-08T19:06:00Z",
            "owner": "Named system owner"
          },
          "page_app_permission": {
            "state": "PASS",
            "value": "all_required_on",
            "evidence_ref": "EV-PAGE_APP_PERMISSION",
            "observed_at": "2026-10-08T19:07:00Z",
            "owner": "Named system owner"
          },
          "connection": {
            "state": "PASS",
            "value": "act-4001",
            "evidence_ref": "EV-CONNECTION",
            "observed_at": "2026-10-08T19:08:00Z",
            "owner": "Named system owner"
          },
          "reporting": {
            "state": "PASS",
            "value": "camp-7001 ad-8001 visible for declared window",
            "evidence_ref": "EV-REPORTING",
            "observed_at": "2026-10-08T19:09:00Z",
            "owner": "Named system owner"
          },
          "auto_tracking": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "ad_format": {
            "state": "PASS",
            "value": "Facebook Lead Ad",
            "evidence_ref": "EV-AD_FORMAT",
            "observed_at": "2026-10-08T19:11:00Z",
            "owner": "Named system owner"
          },
          "destination_url": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "tracking_parameters": {
            "state": "NOT_APPLICABLE",
            "value": "not applicable: lead ad has no external destination",
            "evidence_ref": "",
            "observed_at": "",
            "owner": "HubSpot Ads owner"
          },
          "lead_terms_acceptance": {
            "state": "PASS",
            "value": "accepted",
            "evidence_ref": "EV-LEAD_TERMS_ACCEPTANCE",
            "observed_at": "2026-10-08T19:14:00Z",
            "owner": "Named system owner"
          },
          "lead_delivery": {
            "state": "PASS",
            "value": "accepted page-5001 form-6001",
            "evidence_ref": "EV-LEAD_DELIVERY",
            "observed_at": "2026-10-08T19:15:00Z",
            "owner": "Named system owner"
          },
          "submission": {
            "state": "PASS",
            "value": "sub-01 sub-02 sub-03",
            "evidence_ref": "EV-SUBMISSION",
            "observed_at": "2026-10-08T19:16:00Z",
            "owner": "Named system owner"
          },
          "contact": {
            "state": "PASS",
            "value": "contact-01 contact-02",
            "evidence_ref": "EV-CONTACT",
            "observed_at": "2026-10-08T19:17:00Z",
            "owner": "Named system owner"
          },
          "contact_event": {
            "state": "PASS",
            "value": "event-01 event-02",
            "evidence_ref": "EV-CONTACT_EVENT",
            "observed_at": "2026-10-08T19:18:00Z",
            "owner": "Named system owner"
          },
          "routing": {
            "state": "PASS",
            "value": "contact-01 contact-02 routed",
            "evidence_ref": "EV-ROUTING",
            "observed_at": "2026-10-08T19:19:00Z",
            "owner": "Named system owner"
          }
        },
        "populations": {
          "submitted": {
            "state": "KNOWN",
            "value": 3,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "submitted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "accepted": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "accepted for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "rejected": {
            "state": "KNOWN",
            "value": 0,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "rejected for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "contact_events": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "contact events for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "routed_contacts": {
            "state": "KNOWN",
            "value": 2,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "routed contacts for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "duplicate_submissions": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "duplicate submissions for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          },
          "unresolved": {
            "state": "KNOWN",
            "value": 1,
            "evidence_ref": "EV-POPULATION",
            "captured_at": "2026-10-08T19:30:00Z",
            "definition": "unresolved for the declared cutoff",
            "scope": {
              "start": "2026-10-08T18:00:00Z",
              "end": "2026-10-08T19:00:00Z",
              "timezone": "UTC",
              "cohort": "authorized-fictional-test",
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            }
          }
        },
        "evidence": [
          {
            "id": "EV-AUTH",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T17:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional owner authorization for the declared test window."
          },
          {
            "id": "EV-HUBSPOT_ADS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:01:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for hubspot_ads_permission."
          },
          {
            "id": "EV-MARKETING_CONTACTS_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:02:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for marketing_contacts_permission."
          },
          {
            "id": "EV-FACEBOOK_USER_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:03:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for facebook_user_authorization."
          },
          {
            "id": "EV-AD_ACCOUNT_ADMIN",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:04:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_account_admin."
          },
          {
            "id": "EV-ACCOUNT_STATUS",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:05:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for account_status."
          },
          {
            "id": "EV-APP_AUTHORIZATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:06:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for app_authorization."
          },
          {
            "id": "EV-PAGE_APP_PERMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:07:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for page_app_permission."
          },
          {
            "id": "EV-CONNECTION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:08:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for connection."
          },
          {
            "id": "EV-REPORTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:09:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for reporting."
          },
          {
            "id": "EV-AD_FORMAT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:11:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for ad_format."
          },
          {
            "id": "EV-LEAD_TERMS_ACCEPTANCE",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:14:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_terms_acceptance."
          },
          {
            "id": "EV-LEAD_DELIVERY",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:15:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for lead_delivery."
          },
          {
            "id": "EV-SUBMISSION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:16:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for submission."
          },
          {
            "id": "EV-CONTACT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:17:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact."
          },
          {
            "id": "EV-CONTACT_EVENT",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:18:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for contact_event."
          },
          {
            "id": "EV-ROUTING",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:19:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional same-scope receipt for routing."
          },
          {
            "id": "EV-POPULATION",
            "type": "fictional_example_receipt",
            "observed_at": "2026-10-08T19:30:00Z",
            "scope": {
              "hubspot_portal_id": "hs-portal-1001",
              "facebook_business_manager_id": "fb-bm-2001",
              "facebook_ad_account_id": "act-4001",
              "facebook_page_id": "page-5001",
              "facebook_form_id": "form-6001"
            },
            "detail": "Fictional ID-level submitted, accepted, rejected and unresolved reconciliation with contact and routing joins."
          }
        ]
      },
      "expected": {
        "disposition": "REPAIR_REQUIRED",
        "request_id": "REQ_FACEBOOK_USER_AUTHORIZATION"
      }
    }
  ],
  "source_links": [
    {
      "id": "S01",
      "url": "https://knowledge.hubspot.com/ads/connect-your-facebook-ads-account-to-hubspot",
      "summary": "Ads Publish, ad-account admin, account selection and auto-tracking."
    },
    {
      "id": "S02",
      "url": "https://knowledge.hubspot.com/ads/facebook-ads-account-troubleshooting",
      "summary": "Facebook user, Business Manager, account status, app/Page permissions and reset blast radius."
    },
    {
      "id": "S03",
      "url": "https://knowledge.hubspot.com/ads/ad-tracking-in-hubspot",
      "summary": "Reporting versus attribution, format limits and non-retroactive tracking."
    },
    {
      "id": "S04",
      "url": "https://knowledge.hubspot.com/ads/create-facebook-and-linkedin-lead-ads-in-hubspot",
      "summary": "Page/form, Marketing contacts permission, Lead Ad Terms and automation."
    }
  ],
  "invocations": [
    {
      "runtime": "python",
      "command": "python3 hubspot-facebook-checker.py INPUT.json"
    },
    {
      "runtime": "node",
      "command": "Import evaluateRecord from hubspot-facebook-checker.mjs and pass parsed INPUT.json."
    }
  ],
  "schema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "maestro.hubspot-facebook-integration.v1",
    "type": "object",
    "required": [
      "schema_version",
      "record_id",
      "example_only",
      "evaluation_phase",
      "scope",
      "plan",
      "cutoff",
      "observations",
      "populations",
      "evidence"
    ],
    "properties": {
      "schema_version": {
        "const": "maestro.hubspot-facebook-integration.v1"
      },
      "record_id": {
        "type": "string"
      },
      "example_only": {
        "type": "boolean"
      },
      "evaluation_phase": {
        "enum": [
          "draft",
          "launch",
          "post_test"
        ]
      },
      "scope": {
        "type": "object",
        "required": [
          "organization",
          "hubspot_portal_id",
          "hubspot_user_ref",
          "facebook_business_manager_id",
          "facebook_user_ref",
          "facebook_ad_account_id",
          "facebook_page_id",
          "facebook_form_id",
          "campaign_id",
          "ad_id",
          "ad_format"
        ],
        "properties": {
          "organization": {
            "type": "string"
          },
          "hubspot_portal_id": {
            "type": "string"
          },
          "hubspot_user_ref": {
            "type": "string"
          },
          "facebook_business_manager_id": {
            "type": "string"
          },
          "facebook_user_ref": {
            "type": "string"
          },
          "facebook_ad_account_id": {
            "type": "string"
          },
          "facebook_page_id": {
            "type": "string"
          },
          "facebook_form_id": {
            "type": "string"
          },
          "campaign_id": {
            "type": "string"
          },
          "ad_id": {
            "type": "string"
          },
          "ad_format": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "plan": {
        "type": "object",
        "required": [
          "connection_owner",
          "lead_delivery_owner",
          "routing_owner",
          "destination_url",
          "planned_route",
          "test_authorized_by",
          "test_authorized_at",
          "test_authorization_ref"
        ],
        "properties": {
          "connection_owner": {
            "type": "string"
          },
          "lead_delivery_owner": {
            "type": "string"
          },
          "routing_owner": {
            "type": "string"
          },
          "destination_url": {
            "type": "string"
          },
          "planned_route": {
            "type": "string"
          },
          "test_authorized_by": {
            "type": "string"
          },
          "test_authorized_at": {
            "type": "string"
          },
          "test_authorization_ref": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "cutoff": {
        "type": "object",
        "required": [
          "start",
          "end",
          "timezone",
          "cohort",
          "hubspot_portal_id",
          "facebook_business_manager_id",
          "facebook_ad_account_id",
          "facebook_page_id",
          "facebook_form_id"
        ],
        "properties": {
          "start": {
            "type": "string"
          },
          "end": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "cohort": {
            "type": "string"
          },
          "hubspot_portal_id": {
            "type": "string"
          },
          "facebook_business_manager_id": {
            "type": "string"
          },
          "facebook_ad_account_id": {
            "type": "string"
          },
          "facebook_page_id": {
            "type": "string"
          },
          "facebook_form_id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "observations": {
        "type": "object",
        "required": [
          "hubspot_ads_permission",
          "marketing_contacts_permission",
          "facebook_user_authorization",
          "ad_account_admin",
          "account_status",
          "app_authorization",
          "page_app_permission",
          "connection",
          "reporting",
          "auto_tracking",
          "ad_format",
          "destination_url",
          "tracking_parameters",
          "lead_terms_acceptance",
          "lead_delivery",
          "submission",
          "contact",
          "contact_event",
          "routing"
        ],
        "properties": {
          "hubspot_ads_permission": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "marketing_contacts_permission": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "facebook_user_authorization": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "ad_account_admin": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "account_status": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "app_authorization": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "page_app_permission": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "connection": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "reporting": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "auto_tracking": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "ad_format": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "destination_url": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "tracking_parameters": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "lead_terms_acceptance": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "lead_delivery": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "submission": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "contact": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "contact_event": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "routing": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "observed_at",
              "owner"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "PASS",
                  "FAIL",
                  "NOT_APPLICABLE"
                ]
              },
              "value": {
                "type": "string"
              },
              "evidence_ref": {
                "type": "string"
              },
              "observed_at": {
                "type": "string"
              },
              "owner": {
                "type": "string"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "populations": {
        "type": "object",
        "required": [
          "submitted",
          "accepted",
          "rejected",
          "contacts",
          "contact_events",
          "routed_contacts",
          "duplicate_submissions",
          "unresolved"
        ],
        "properties": {
          "submitted": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "captured_at",
              "definition",
              "scope"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "KNOWN"
                ]
              },
              "value": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "evidence_ref": {
                "type": "string"
              },
              "captured_at": {
                "type": "string"
              },
              "definition": {
                "type": "string"
              },
              "scope": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "accepted": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "captured_at",
              "definition",
              "scope"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "KNOWN"
                ]
              },
              "value": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "evidence_ref": {
                "type": "string"
              },
              "captured_at": {
                "type": "string"
              },
              "definition": {
                "type": "string"
              },
              "scope": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "rejected": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "captured_at",
              "definition",
              "scope"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "KNOWN"
                ]
              },
              "value": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "evidence_ref": {
                "type": "string"
              },
              "captured_at": {
                "type": "string"
              },
              "definition": {
                "type": "string"
              },
              "scope": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "contacts": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "captured_at",
              "definition",
              "scope"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "KNOWN"
                ]
              },
              "value": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "evidence_ref": {
                "type": "string"
              },
              "captured_at": {
                "type": "string"
              },
              "definition": {
                "type": "string"
              },
              "scope": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "contact_events": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "captured_at",
              "definition",
              "scope"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "KNOWN"
                ]
              },
              "value": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "evidence_ref": {
                "type": "string"
              },
              "captured_at": {
                "type": "string"
              },
              "definition": {
                "type": "string"
              },
              "scope": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "routed_contacts": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "captured_at",
              "definition",
              "scope"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "KNOWN"
                ]
              },
              "value": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "evidence_ref": {
                "type": "string"
              },
              "captured_at": {
                "type": "string"
              },
              "definition": {
                "type": "string"
              },
              "scope": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "duplicate_submissions": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "captured_at",
              "definition",
              "scope"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "KNOWN"
                ]
              },
              "value": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "evidence_ref": {
                "type": "string"
              },
              "captured_at": {
                "type": "string"
              },
              "definition": {
                "type": "string"
              },
              "scope": {
                "type": "object"
              }
            },
            "additionalProperties": false
          },
          "unresolved": {
            "type": "object",
            "required": [
              "state",
              "value",
              "evidence_ref",
              "captured_at",
              "definition",
              "scope"
            ],
            "properties": {
              "state": {
                "enum": [
                  "BLANK",
                  "UNKNOWN",
                  "KNOWN"
                ]
              },
              "value": {
                "type": [
                  "integer",
                  "null"
                ],
                "minimum": 0
              },
              "evidence_ref": {
                "type": "string"
              },
              "captured_at": {
                "type": "string"
              },
              "definition": {
                "type": "string"
              },
              "scope": {
                "type": "object"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "evidence": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "id",
            "type",
            "observed_at",
            "scope",
            "detail"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "type": {
              "type": "string"
            },
            "observed_at": {
              "type": "string"
            },
            "scope": {
              "type": "object"
            },
            "detail": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "additionalProperties": false
  }
}
