{
  "format_version": 1,
  "fixture_id": "packed-event-retire-train-territory-overlay-fixture",
  "source": {
    "kind": "captured-runtime",
    "description": "Fixture proving descriptor 15 Retire Train executes against territory and locomotive filters."
  },
  "state_input_path": "packed-event-retire-train-territory-overlay.json",
  "commands": [
    {
      "kind": "service_trigger_kind",
      "trigger_kind": 7
    }
  ],
  "expected_summary": {
    "calendar_projection_source": "base-snapshot-preserved",
    "calendar_projection_is_placeholder": false,
    "company_count": 2,
    "train_count": 3,
    "active_train_count": 1,
    "retired_train_count": 2,
    "packed_event_collection_present": true,
    "packed_event_record_count": 1,
    "packed_event_decoded_record_count": 1,
    "packed_event_imported_runtime_record_count": 1,
    "event_runtime_record_count": 1,
    "total_event_record_service_count": 1,
    "total_trigger_dispatch_count": 1
  },
  "expected_state_fragment": {
    "trains": [
      {
        "train_id": 100,
        "active": false,
        "retired": true
      },
      {
        "train_id": 101,
        "active": true,
        "retired": false
      },
      {
        "train_id": 102,
        "active": false,
        "retired": true
      }
    ],
    "packed_event_collection": {
      "records": [
        {
          "import_outcome": "imported",
          "decoded_actions": [
            {
              "kind": "retire_trains",
              "territory_target": {
                "kind": "ids",
                "ids": [7]
              },
              "locomotive_name": "Mikado"
            }
          ]
        }
      ]
    }
  }
}
