{
  "at": "2026-10-30T12:22:43.422740+00:00",
  "layer": "Read-only database assertions for saved UI state",
  "stage": "before-state-lifecycle",
  "businesses": {
    "oak": {
      "counts": {
        "customers": 3,
        "jobs": 3,
        "quotes": 0,
        "payments": 0,
        "operations": 31,
        "assets": 0,
        "site": 1,
        "site_history": 1,
        "audit": 37,
        "storage_identity": 1,
        "invoices": 1,
        "quote_links": 0,
        "document_events": 3,
        "document_counters": 2,
        "payment_stages": 0,
        "payment_allocations": 0,
        "payment_reversals": 0,
        "payment_details": 0,
        "customer_changes": 0,
        "customer_links": 0,
        "materials_catalogue": 0,
        "job_materials": 0,
        "material_audit": 0,
        "team_resources": 6,
        "time_entries": 2,
        "workforce_audit": 9,
        "calendar_bookings": 11,
        "calendar_audit": 20,
        "setup_progress": 1,
        "staff_updates": 0,
        "photo_blobs": 0,
        "job_photos": 0,
        "photo_history": 0,
        "gallery_projects": 0,
        "gallery_history": 0,
        "field_logs": 1,
        "field_log_history": 1,
        "field_sessions": 1,
        "field_intervals": 1,
        "field_resource_locks": 0,
        "field_history": 4,
        "field_time_links": 2,
        "field_material_links": 0,
        "document_sources": 1,
        "source_history": 2,
        "recurring_contracts": 2,
        "recurrence_rules": 3,
        "recurrence_blocks": 2,
        "recurrence_occurrences": 10,
        "recurrence_history": 37,
        "recurrence_runs": 8,
        "portal_accounts": 0,
        "portal_tokens": 0,
        "portal_events": 0,
        "portal_migrations": 1,
        "sales_settings": 1,
        "sales_settings_history": 0,
        "quote_responses": 0,
        "payment_request_snapshots": 0,
        "feedback_requests": 0,
        "feedback_tokens": 0,
        "feedback_responses": 0,
        "feedback_consents": 0,
        "feedback_publications": 0,
        "feedback_history": 0,
        "job_workflow": 3,
        "job_workflow_history": 4,
        "opportunity_settings": 1,
        "opportunity_settings_history": 0,
        "opportunity_reviews": 0,
        "opportunity_history": 0,
        "customer_records": 3,
        "customer_record_history": 3,
        "customer_pair_decisions": 0,
        "customer_pair_history": 0,
        "customer_transfers": 0,
        "customer_transfer_jobs": 0,
        "customer_completion_runs": 0,
        "enquiry_intakes": 0,
        "enquiry_photo_sources": 0
      },
      "work_finance_job_customer_rows_unchanged": true,
      "contracts": [
        {
          "id": "ec0a006df51f75f20bb1dc34871bc969",
          "kind": "job",
          "job_id": "030a91e3f84c5b96395ab6649ba51b36",
          "customer_id": "7a4a1b492c16afceaf700002374004a9",
          "name": "Protected history QA",
          "service_label": "",
          "note": "",
          "state": "active",
          "version": 2,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "kind": "job",
          "job_id": "d2e0305544b4716f2f44a1417667c758",
          "customer_id": "80fef0eb330a39fae1ee3dddbaa25ff5",
          "name": "Weekly garden QA",
          "service_label": "Garden care",
          "note": "PRIVATE REPEAT NOTE: retain after validation and leave checks.",
          "state": "active",
          "version": 8,
          "created_at": "2026-10-30T12:12:46+00:00",
          "updated_at": "2026-10-30T12:22:38+00:00"
        }
      ],
      "rules": [
        {
          "id": "1cffa17a357d062a543d267cab6bfc5f",
          "contract_id": "ec0a006df51f75f20bb1dc34871bc969",
          "revision": 1,
          "effective_from": "2026-10-19",
          "content": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-10-19\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"887fbd90fbca760147743caae28ba075\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"09:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "author_id": "oak",
          "membership_id": "f59e5ceb8e859053f3cfd0f1e24e9ddc",
          "created_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "5b58837333ae4d4c3f4137491126548c",
          "contract_id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "revision": 1,
          "effective_from": "2026-10-30",
          "content": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-11-02\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"4f1c08062af36f32094ebee6eb0b1fe4\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"09:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "author_id": "oak",
          "membership_id": "f59e5ceb8e859053f3cfd0f1e24e9ddc",
          "created_at": "2026-10-30T12:12:46+00:00"
        },
        {
          "id": "d4b5e6af13ad07067c1a8292e4a50bd2",
          "contract_id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "revision": 8,
          "effective_from": "2026-11-16",
          "content": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-11-02\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"4f1c08062af36f32094ebee6eb0b1fe4\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"10:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "author_id": "oak",
          "membership_id": "f59e5ceb8e859053f3cfd0f1e24e9ddc",
          "created_at": "2026-10-30T12:22:38+00:00"
        }
      ],
      "blocks": [
        {
          "id": "2ed38db68b8ff15eb5b063f78066f0ed",
          "contract_id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "start_date": "2026-11-16",
          "end_date": "2026-11-23",
          "reason": "Fictional holiday A: 16\u201323 November inclusive.",
          "active": 0,
          "version": 2,
          "created_at": "2026-10-30T12:22:03+00:00",
          "updated_at": "2026-10-30T12:22:22+00:00"
        },
        {
          "id": "1889374e3b885c70565a3beed048e916",
          "contract_id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "start_date": "2026-11-23",
          "end_date": "2026-11-30",
          "reason": "Fictional holiday B overlaps A on 23 November.",
          "active": 1,
          "version": 1,
          "created_at": "2026-10-30T12:22:08+00:00",
          "updated_at": "2026-10-30T12:22:08+00:00"
        }
      ],
      "occurrences": [
        {
          "id": "5512fbe201d259330f526897bd2d975b",
          "contract_id": "ec0a006df51f75f20bb1dc34871bc969",
          "nominal_date": "2026-10-19",
          "original_rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-10-19\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"887fbd90fbca760147743caae28ba075\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"09:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "f7fb432cba1e9e2e6b25e7469e8f87ff",
          "state": "active",
          "overridden": 0,
          "exclusion_ids": "[]",
          "reason": "Owner-reviewed generate",
          "version": 1,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "b87815d20c591f6c085c58c418b0b7aa",
          "contract_id": "ec0a006df51f75f20bb1dc34871bc969",
          "nominal_date": "2026-10-26",
          "original_rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-10-19\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"887fbd90fbca760147743caae28ba075\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"09:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "bc4c119d17e234579b43342254d671d6",
          "state": "active",
          "overridden": 0,
          "exclusion_ids": "[]",
          "reason": "Owner-reviewed generate",
          "version": 1,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "9dd27223d5da30d67d6c959b5100bc8e",
          "contract_id": "ec0a006df51f75f20bb1dc34871bc969",
          "nominal_date": "2026-11-02",
          "original_rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-10-19\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"887fbd90fbca760147743caae28ba075\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"09:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "c51ee014fa0a0e0b1af140336507782f",
          "state": "active",
          "overridden": 0,
          "exclusion_ids": "[]",
          "reason": "Owner-reviewed generate",
          "version": 1,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "254b5a038f2af3ab67dfaff4d11ad656",
          "contract_id": "ec0a006df51f75f20bb1dc34871bc969",
          "nominal_date": "2026-11-09",
          "original_rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-10-19\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"887fbd90fbca760147743caae28ba075\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"09:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "82b2f79c0fec7080a5af9adb1a370ca4",
          "state": "active",
          "overridden": 0,
          "exclusion_ids": "[]",
          "reason": "Owner-reviewed generate",
          "version": 1,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "1d342bed53d9ef82a330172778bab269",
          "contract_id": "ec0a006df51f75f20bb1dc34871bc969",
          "nominal_date": "2026-11-16",
          "original_rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_id": "1cffa17a357d062a543d267cab6bfc5f",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-10-19\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"887fbd90fbca760147743caae28ba075\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"09:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "3848038877f2d01fff3eb605e5f59e8a",
          "state": "active",
          "overridden": 0,
          "exclusion_ids": "[]",
          "reason": "Owner-reviewed generate",
          "version": 1,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "4a90c9af1cf82368e7333ea9fabb86fb",
          "contract_id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "nominal_date": "2026-11-02",
          "original_rule_id": "5b58837333ae4d4c3f4137491126548c",
          "rule_id": "5b58837333ae4d4c3f4137491126548c",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-11-02\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"4f1c08062af36f32094ebee6eb0b1fe4\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"09:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "011e20ecec6c86815ecf31544de3eaca",
          "state": "active",
          "overridden": 1,
          "exclusion_ids": "[]",
          "reason": "Fictional owner requested Tuesday afternoon for this one unstarted visit.",
          "version": 2,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:21:22+00:00"
        },
        {
          "id": "bc995ed1cff253ef174864a517ec72b6",
          "contract_id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "nominal_date": "2026-11-09",
          "original_rule_id": "5b58837333ae4d4c3f4137491126548c",
          "rule_id": "5b58837333ae4d4c3f4137491126548c",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-11-02\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"4f1c08062af36f32094ebee6eb0b1fe4\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"09:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "9d95e469c2525d863e9dd619372337a3",
          "state": "cancelled",
          "overridden": 0,
          "exclusion_ids": "[]",
          "reason": "Fictional customer cancels this unstarted visit; do not recreate it.",
          "version": 2,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:21:44+00:00"
        },
        {
          "id": "971c7d3f417c59a4f2f0beee31b5de72",
          "contract_id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "nominal_date": "2026-11-16",
          "original_rule_id": "5b58837333ae4d4c3f4137491126548c",
          "rule_id": "d4b5e6af13ad07067c1a8292e4a50bd2",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-11-02\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"4f1c08062af36f32094ebee6eb0b1fe4\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"10:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "b908ccc8cad2b5bfb2fccc7ffcc7352d",
          "state": "active",
          "overridden": 0,
          "exclusion_ids": "[]",
          "reason": "Owner-reviewed revise",
          "version": 4,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:22:38+00:00"
        },
        {
          "id": "9c52a2382e2a80d0f724e20ef8c30866",
          "contract_id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "nominal_date": "2026-11-23",
          "original_rule_id": "5b58837333ae4d4c3f4137491126548c",
          "rule_id": "d4b5e6af13ad07067c1a8292e4a50bd2",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-11-02\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"4f1c08062af36f32094ebee6eb0b1fe4\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"10:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "3761b231e6190c8f98fe22914ea8f0ef",
          "state": "excluded",
          "overridden": 0,
          "exclusion_ids": "[\"1889374e3b885c70565a3beed048e916\"]",
          "reason": "Covered by active contract date exclusions.",
          "version": 5,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:22:38+00:00"
        },
        {
          "id": "65a407fa6f71db73631fa78393903c7d",
          "contract_id": "29240f5cdb8346bb7e46c2ce1279c1b7",
          "nominal_date": "2026-11-30",
          "original_rule_id": "5b58837333ae4d4c3f4137491126548c",
          "rule_id": "d4b5e6af13ad07067c1a8292e4a50bd2",
          "rule_snapshot": "{\"frequency\": \"weekly\", \"anchor_date\": \"2026-11-02\", \"until_date\": \"2026-11-30\", \"weekdays\": [0], \"month_day\": null, \"month_policy\": null, \"resource_ids\": [\"4f1c08062af36f32094ebee6eb0b1fe4\"], \"whole_team\": false, \"all_day\": false, \"start_time\": \"10:00\", \"duration_minutes\": 60, \"duration_days\": null, \"start_fold\": null, \"end_fold\": null, \"gap_policy\": \"require_review\", \"rolling_weeks\": 4}",
          "booking_id": "97655bdae6bce1c78ccb76304fbb0966",
          "state": "excluded",
          "overridden": 0,
          "exclusion_ids": "[\"1889374e3b885c70565a3beed048e916\"]",
          "reason": "Covered by active contract date exclusions.",
          "version": 3,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:22:38+00:00"
        }
      ],
      "calendar": [
        {
          "id": "1fd05324fb36839f6e25a1eefab981b9",
          "kind": "unavailable",
          "job_id": null,
          "title": "Alex QA unavailable",
          "resource_ids": "[\"4f1c08062af36f32094ebee6eb0b1fe4\"]",
          "resource_snapshot": "[{\"id\": \"4f1c08062af36f32094ebee6eb0b1fe4\", \"name\": \"Alex QA\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-11-09",
          "end_date": "2026-11-09",
          "start_time": "12:00",
          "end_time": "13:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-11-09T12:00:00+00:00",
          "end_utc": "2026-11-09T13:00:00+00:00",
          "note": "Second editor changed this absence after the recurrence preview.",
          "version": 3,
          "archived": 0,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:14:53+00:00"
        },
        {
          "id": "f7fb432cba1e9e2e6b25e7469e8f87ff",
          "kind": "job",
          "job_id": "030a91e3f84c5b96395ab6649ba51b36",
          "title": "Protected history QA",
          "resource_ids": "[\"887fbd90fbca760147743caae28ba075\"]",
          "resource_snapshot": "[{\"id\": \"887fbd90fbca760147743caae28ba075\", \"name\": \"Worker 0\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-10-19",
          "end_date": "2026-10-19",
          "start_time": "09:00",
          "end_time": "10:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-10-19T08:00:00+00:00",
          "end_utc": "2026-10-19T09:00:00+00:00",
          "note": "",
          "version": 1,
          "archived": 0,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "bc4c119d17e234579b43342254d671d6",
          "kind": "job",
          "job_id": "030a91e3f84c5b96395ab6649ba51b36",
          "title": "Protected history QA",
          "resource_ids": "[\"887fbd90fbca760147743caae28ba075\"]",
          "resource_snapshot": "[{\"id\": \"887fbd90fbca760147743caae28ba075\", \"name\": \"Worker 0\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-10-26",
          "end_date": "2026-10-26",
          "start_time": "09:00",
          "end_time": "10:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-10-26T09:00:00+00:00",
          "end_utc": "2026-10-26T10:00:00+00:00",
          "note": "",
          "version": 1,
          "archived": 0,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "c51ee014fa0a0e0b1af140336507782f",
          "kind": "job",
          "job_id": "030a91e3f84c5b96395ab6649ba51b36",
          "title": "Protected history QA",
          "resource_ids": "[\"887fbd90fbca760147743caae28ba075\"]",
          "resource_snapshot": "[{\"id\": \"887fbd90fbca760147743caae28ba075\", \"name\": \"Worker 0\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-11-02",
          "end_date": "2026-11-02",
          "start_time": "09:00",
          "end_time": "10:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-11-02T09:00:00+00:00",
          "end_utc": "2026-11-02T10:00:00+00:00",
          "note": "",
          "version": 1,
          "archived": 0,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "82b2f79c0fec7080a5af9adb1a370ca4",
          "kind": "job",
          "job_id": "030a91e3f84c5b96395ab6649ba51b36",
          "title": "Protected history QA",
          "resource_ids": "[\"887fbd90fbca760147743caae28ba075\"]",
          "resource_snapshot": "[{\"id\": \"887fbd90fbca760147743caae28ba075\", \"name\": \"Worker 0\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-11-09",
          "end_date": "2026-11-09",
          "start_time": "09:00",
          "end_time": "10:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-11-09T09:00:00+00:00",
          "end_utc": "2026-11-09T10:00:00+00:00",
          "note": "",
          "version": 1,
          "archived": 0,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "3848038877f2d01fff3eb605e5f59e8a",
          "kind": "job",
          "job_id": "030a91e3f84c5b96395ab6649ba51b36",
          "title": "Protected history QA",
          "resource_ids": "[\"887fbd90fbca760147743caae28ba075\"]",
          "resource_snapshot": "[{\"id\": \"887fbd90fbca760147743caae28ba075\", \"name\": \"Worker 0\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-11-16",
          "end_date": "2026-11-16",
          "start_time": "09:00",
          "end_time": "10:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-11-16T09:00:00+00:00",
          "end_utc": "2026-11-16T10:00:00+00:00",
          "note": "",
          "version": 1,
          "archived": 0,
          "created_at": "2026-10-30T12:11:25+00:00",
          "updated_at": "2026-10-30T12:11:25+00:00"
        },
        {
          "id": "011e20ecec6c86815ecf31544de3eaca",
          "kind": "job",
          "job_id": "d2e0305544b4716f2f44a1417667c758",
          "title": "Weekly garden QA",
          "resource_ids": "[\"4f1c08062af36f32094ebee6eb0b1fe4\"]",
          "resource_snapshot": "[{\"id\": \"4f1c08062af36f32094ebee6eb0b1fe4\", \"name\": \"Alex QA\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-11-03",
          "end_date": "2026-11-03",
          "start_time": "13:00",
          "end_time": "14:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-11-03T13:00:00+00:00",
          "end_utc": "2026-11-03T14:00:00+00:00",
          "note": "PRIVATE REPEAT NOTE: retain after validation and leave checks.",
          "version": 2,
          "archived": 0,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:21:22+00:00"
        },
        {
          "id": "9d95e469c2525d863e9dd619372337a3",
          "kind": "job",
          "job_id": "d2e0305544b4716f2f44a1417667c758",
          "title": "Weekly garden QA",
          "resource_ids": "[\"4f1c08062af36f32094ebee6eb0b1fe4\"]",
          "resource_snapshot": "[{\"id\": \"4f1c08062af36f32094ebee6eb0b1fe4\", \"name\": \"Alex QA\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-11-09",
          "end_date": "2026-11-09",
          "start_time": "09:00",
          "end_time": "10:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-11-09T09:00:00+00:00",
          "end_utc": "2026-11-09T10:00:00+00:00",
          "note": "PRIVATE REPEAT NOTE: retain after validation and leave checks.",
          "version": 2,
          "archived": 1,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:21:44+00:00"
        },
        {
          "id": "b908ccc8cad2b5bfb2fccc7ffcc7352d",
          "kind": "job",
          "job_id": "d2e0305544b4716f2f44a1417667c758",
          "title": "Weekly garden QA",
          "resource_ids": "[\"4f1c08062af36f32094ebee6eb0b1fe4\"]",
          "resource_snapshot": "[{\"id\": \"4f1c08062af36f32094ebee6eb0b1fe4\", \"name\": \"Alex QA\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-11-16",
          "end_date": "2026-11-16",
          "start_time": "10:00",
          "end_time": "11:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-11-16T10:00:00+00:00",
          "end_utc": "2026-11-16T11:00:00+00:00",
          "note": "PRIVATE REPEAT NOTE: retain after validation and leave checks.",
          "version": 4,
          "archived": 0,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:22:38+00:00"
        },
        {
          "id": "3761b231e6190c8f98fe22914ea8f0ef",
          "kind": "job",
          "job_id": "d2e0305544b4716f2f44a1417667c758",
          "title": "Weekly garden QA",
          "resource_ids": "[\"4f1c08062af36f32094ebee6eb0b1fe4\"]",
          "resource_snapshot": "[{\"id\": \"4f1c08062af36f32094ebee6eb0b1fe4\", \"name\": \"Alex QA\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-11-23",
          "end_date": "2026-11-23",
          "start_time": "09:00",
          "end_time": "10:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-11-23T09:00:00+00:00",
          "end_utc": "2026-11-23T10:00:00+00:00",
          "note": "PRIVATE REPEAT NOTE: retain after validation and leave checks.",
          "version": 2,
          "archived": 1,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:22:03+00:00"
        },
        {
          "id": "97655bdae6bce1c78ccb76304fbb0966",
          "kind": "job",
          "job_id": "d2e0305544b4716f2f44a1417667c758",
          "title": "Weekly garden QA",
          "resource_ids": "[\"4f1c08062af36f32094ebee6eb0b1fe4\"]",
          "resource_snapshot": "[{\"id\": \"4f1c08062af36f32094ebee6eb0b1fe4\", \"name\": \"Alex QA\", \"colour\": \"#245648\"}]",
          "whole_team": 0,
          "all_day": 0,
          "start_date": "2026-11-30",
          "end_date": "2026-11-30",
          "start_time": "09:00",
          "end_time": "10:00",
          "start_fold": null,
          "end_fold": null,
          "start_utc": "2026-11-30T09:00:00+00:00",
          "end_utc": "2026-11-30T10:00:00+00:00",
          "note": "PRIVATE REPEAT NOTE: retain after validation and leave checks.",
          "version": 2,
          "archived": 1,
          "created_at": "2026-10-30T12:15:06+00:00",
          "updated_at": "2026-10-30T12:22:08+00:00"
        }
      ],
      "history_count": 37,
      "confirmed_reviews": 8
    },
    "harbour": {
      "counts": {
        "customers": 0,
        "jobs": 0,
        "quotes": 0,
        "payments": 0,
        "operations": 0,
        "assets": 0,
        "site": 1,
        "site_history": 1,
        "audit": 1,
        "storage_identity": 1,
        "invoices": 0,
        "quote_links": 0,
        "document_events": 0,
        "document_counters": 2,
        "payment_stages": 0,
        "payment_allocations": 0,
        "payment_reversals": 0,
        "payment_details": 0,
        "customer_changes": 0,
        "customer_links": 0,
        "materials_catalogue": 0,
        "job_materials": 0,
        "material_audit": 0,
        "team_resources": 0,
        "time_entries": 0,
        "workforce_audit": 0,
        "calendar_bookings": 0,
        "calendar_audit": 0,
        "setup_progress": 1,
        "staff_updates": 0,
        "photo_blobs": 0,
        "job_photos": 0,
        "photo_history": 0,
        "gallery_projects": 0,
        "gallery_history": 0,
        "field_logs": 0,
        "field_log_history": 0,
        "field_sessions": 0,
        "field_intervals": 0,
        "field_resource_locks": 0,
        "field_history": 0,
        "field_time_links": 0,
        "field_material_links": 0,
        "document_sources": 0,
        "source_history": 0,
        "recurring_contracts": 0,
        "recurrence_rules": 0,
        "recurrence_blocks": 0,
        "recurrence_occurrences": 0,
        "recurrence_history": 0,
        "recurrence_runs": 0,
        "portal_accounts": 0,
        "portal_tokens": 0,
        "portal_events": 0,
        "portal_migrations": 1,
        "sales_settings": 1,
        "sales_settings_history": 0,
        "quote_responses": 0,
        "payment_request_snapshots": 0,
        "feedback_requests": 0,
        "feedback_tokens": 0,
        "feedback_responses": 0,
        "feedback_consents": 0,
        "feedback_publications": 0,
        "feedback_history": 0,
        "job_workflow": 0,
        "job_workflow_history": 0,
        "opportunity_settings": 1,
        "opportunity_settings_history": 0,
        "opportunity_reviews": 0,
        "opportunity_history": 0,
        "customer_records": 0,
        "customer_record_history": 0,
        "customer_pair_decisions": 0,
        "customer_pair_history": 0,
        "customer_transfers": 0,
        "customer_transfer_jobs": 0,
        "customer_completion_runs": 0,
        "enquiry_intakes": 0,
        "enquiry_photo_sources": 0
      },
      "work_finance_job_customer_rows_unchanged": true,
      "contracts": [],
      "rules": [],
      "blocks": [],
      "occurrences": [],
      "calendar": [],
      "history_count": 0,
      "confirmed_reviews": 0
    }
  }
}
