83 lines
2.3 KiB
JSON
83 lines
2.3 KiB
JSON
{
|
|
"format_version": 1,
|
|
"fixture_id": "packed-event-locomotive-availability-overlay-fixture",
|
|
"source": {
|
|
"kind": "captured-runtime",
|
|
"description": "Fixture backed by an overlay import document so scalar locomotive availability descriptors execute against captured catalog context."
|
|
},
|
|
"state_import_path": "packed-event-locomotive-availability-overlay.json",
|
|
"commands": [
|
|
{
|
|
"kind": "service_trigger_kind",
|
|
"trigger_kind": 7
|
|
}
|
|
],
|
|
"expected_summary": {
|
|
"calendar": {
|
|
"year": 1835,
|
|
"month_slot": 1,
|
|
"phase_slot": 2,
|
|
"tick_slot": 4
|
|
},
|
|
"calendar_projection_is_placeholder": false,
|
|
"locomotive_catalog_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,
|
|
"packed_event_parity_only_record_count": 1,
|
|
"event_runtime_record_count": 1,
|
|
"named_locomotive_availability_count": 2,
|
|
"zero_named_locomotive_availability_count": 0,
|
|
"total_event_record_service_count": 1,
|
|
"total_trigger_dispatch_count": 1
|
|
},
|
|
"expected_state_fragment": {
|
|
"metadata": {
|
|
"base.note": "preserve locomotive catalog context",
|
|
"save_slice.import_projection": "overlay-runtime-restore-v1"
|
|
},
|
|
"named_locomotive_availability": {
|
|
"Big Boy 4-8-8-4": 42,
|
|
"VL80T": 7
|
|
},
|
|
"packed_event_collection": {
|
|
"live_entry_ids": [33],
|
|
"records": [
|
|
{
|
|
"decode_status": "parity_only",
|
|
"payload_family": "real_packed_v1",
|
|
"import_outcome": "imported",
|
|
"grouped_effect_rows": [
|
|
{
|
|
"descriptor_id": 250,
|
|
"recovered_locomotive_id": 10
|
|
},
|
|
{
|
|
"descriptor_id": 298,
|
|
"recovered_locomotive_id": 58
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"event_runtime_records": [
|
|
{
|
|
"record_id": 33,
|
|
"service_count": 1,
|
|
"effects": [
|
|
{
|
|
"kind": "set_named_locomotive_availability_value",
|
|
"name": "Big Boy 4-8-8-4",
|
|
"value": 42
|
|
},
|
|
{
|
|
"kind": "set_named_locomotive_availability_value",
|
|
"name": "VL80T",
|
|
"value": 7
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|