{
  "example_metadata": {
    "record_mode": "DUMMY",
    "all_scenario_values_are_synthetic": true,
    "physical_sensor_evidence_claimed": false,
    "schema_profile": "aegis-flow-expanded-dummy-example-1.0",
    "basis": "Aegis Flow v2.9, Appendix A: eleven event field groups",
    "additional_fields_status": "Illustrative extensions; not an approved production schema",
    "scenario": "Single apple-peel deposit into B1, linked to one preparation context",
    "confidence_interpretation": "Illustrative scores, not measured accuracy or calibrated probabilities",
    "reference_policy": "dummy:// references name illustrative evidence; those media files do not exist",
    "created_for": "Project Aegis Flow",
    "example_date_local": "2026-10-29",
    "display_timezone": "Asia/Karachi",
    "units": {
      "mass": "g",
      "temperature": "degC",
      "duration": "ms",
      "confidence": "0..1",
      "bbox": "pixels, xyxy"
    }
  },
  "identity": {
    "event_id": "DUMMY-AF-20261029-K1-B1-000125",
    "event_type": "waste_deposit",
    "event_subtype": "single_material_preparation_peel",
    "schema_version": "dummy-expanded-1.0",
    "site_id": "DUMMY-SITE-014",
    "site_name": "Royal Delhi kitchen - dummy scenario",
    "station_id": "DUMMY-PREP-K1",
    "station_name": "Preparation bench 1",
    "zone_id": "Z_PEEL",
    "bin_id": "B1",
    "bin_role": "peel_waste",
    "load_cell_id": "DUMMY-LC2-B1",
    "device_id": "DUMMY-EDGE-K1-01",
    "device_type": "planned_edge_unit",
    "stream_epoch": "DUMMY-EPOCH-20261029-01",
    "sequence_number": 125,
    "run_id": "DUMMY-RUN-20261029-AM",
    "session_id": "DUMMY-SESSION-K1-001",
    "batch_id": "DUMMY-APPLE-BATCH-029",
    "lot_id": "DUMMY-APPLE-LOT-17",
    "parent_preparation_id": "DUMMY-PREP-000087",
    "parent_input_measurement_id": "DUMMY-INPUT-000087",
    "mass_event_id": "DUMMY-MASS-B1-000125",
    "trigger_id": "DUMMY-TRIGGER-B1-000125",
    "camera_observation_ids": [
      "DUMMY-C1-OBS-8124",
      "DUMMY-C2-OBS-8140"
    ],
    "idempotency_key": "DUMMY-EDGE-K1-01:DUMMY-EPOCH-20261029-01:125",
    "duplicate_of": null,
    "correction_of": null
  },
  "time": {
    "capture_timestamp": "2026-10-29T05:15:01.200Z",
    "event_timestamp": "2026-10-29T05:15:01.200Z",
    "storage_timestamp": "2026-10-29T05:15:01.640Z",
    "ingestion_timestamp": "2026-10-29T05:15:03.010Z",
    "commit_timestamp": "2026-10-29T05:15:04.780Z",
    "display_event_time": "2026-10-29 10:15:01.200 PKT",
    "utc_offset": "+05:00",
    "trigger_onset_timestamp": "2026-10-29T05:15:00.100Z",
    "trigger_confirmed_timestamp": "2026-10-29T05:15:00.200Z",
    "stable_window_start": "2026-10-29T05:15:00.700Z",
    "stable_window_end": "2026-10-29T05:15:01.200Z",
    "event_closed_timestamp": "2026-10-29T05:15:01.600Z",
    "acknowledgement_timestamp": "2026-10-29T05:15:04.900Z",
    "clock_source": "DUMMY-NTP",
    "clock_offset_ms": 12,
    "clock_uncertainty_ms": 25,
    "clock_health": "SIMULATED_SYNCHRONISED",
    "canonical_time_anchor": "LOAD_CELL_SETTLED",
    "settling_duration_ms": 1100,
    "capture_to_local_storage_ms": 440,
    "capture_to_ingestion_ms": 1810,
    "capture_to_simulated_commit_ms": 3580,
    "all_timestamps_are_illustrative": true
  },
  "classification": {
    "material": "apple",
    "material_display_name": "Apple peel",
    "class": "waste",
    "waste_stream": "peel",
    "reason_code": "PREPARATION_TRIMMING",
    "class_confidence": 0.94,
    "material_confidence": 0.95,
    "mixed_material": false,
    "unknown_material": false,
    "spoilage_observed": false,
    "edibility_decision": "NOT_ASSESSED",
    "food_safety_decision": "NOT_ASSESSED",
    "alternatives": [
      {
        "material": "pear",
        "score": 0.31,
        "rejected_by": "lower_identity_score_and_incompatible_parent"
      },
      {
        "material": "onion",
        "score": 0.18,
        "rejected_by": "source_to_peel_relationship_rule"
      }
    ],
    "label_mapping_version": "DUMMY-label-map-1.0",
    "result_basis": "Synthetic camera classes and synthetic association decision"
  },
  "quantity": {
    "mass_unit": "g",
    "scale_capacity_g": 10000,
    "scale_resolution_g": 0.1,
    "container_tare_g": 1200.0,
    "gross_baseline_g": 2700.0,
    "gross_after_g": 2745.0,
    "mass_baseline_g": 1500.0,
    "mass_after_g": 1545.0,
    "mass_delta_g": 45.0,
    "temperature_correction_g": -0.4,
    "mass_delta_corrected_g": 44.6,
    "mass_used_for_reporting_g": 44.6,
    "reporting_mass_basis": "temperature_corrected_deposit",
    "alpha_g_per_c": 0.08,
    "alpha_version": "DUMMY-alpha-2026-10-v1",
    "correction_reference_temperature_c": 20.0,
    "correction_sensor_id": "DUMMY-T2-BIN",
    "correction_formula": "mass_delta_g - alpha_g_per_c * (T2_c - reference_temperature_c)",
    "measurement_uncertainty_g": 0.8,
    "uncertainty_status": "ILLUSTRATIVE_ASSUMPTION_NOT_ESTABLISHED",
    "trigger_threshold_g": 10.0,
    "sample_rate_hz": 80,
    "stable_window_duration_ms": 500,
    "stable_window_sample_count": 40,
    "stable_window_mean_g": 1545.0,
    "stable_window_stddev_g": 0.12,
    "allowed_stddev_g": 0.5,
    "settling_timeout_ms": 5000,
    "stable_reading": true,
    "transient_rejected": false,
    "bin_emptying_detected": false,
    "overload_detected": false,
    "tare_valid_in_scenario": true,
    "calibration_id": "DUMMY-CAL-LC2-20261029",
    "calibration_status": "ASSUMED_VALID_FOR_DUMMY_SCENARIO",
    "physical_calibration_verified": false,
    "measurement_status": "SIMULATED_VALID",
    "raw_samples_ref": "dummy://evidence/LC2-000125.csv",
    "raw_samples_sha256": null,
    "raw_samples_file_available": false
  },
  "conditions": {
    "temperature_c": 25.0,
    "temperature_available": true,
    "temperature_sensor_for_compensation": "DUMMY-T2-BIN",
    "temperature_channels": [
      {
        "sensor_id": "DUMMY-T1-BENCH",
        "location": "bench",
        "temperature_c": 24.5,
        "capture_timestamp": "2026-10-29T05:15:01.100Z",
        "age_at_event_ms": 100,
        "status": "SIMULATED_AVAILABLE"
      },
      {
        "sensor_id": "DUMMY-T2-BIN",
        "location": "bin-side measurement channel",
        "temperature_c": 25.0,
        "capture_timestamp": "2026-10-29T05:15:01.150Z",
        "age_at_event_ms": 50,
        "status": "SIMULATED_AVAILABLE"
      }
    ],
    "temperature_calibration_version": "DUMMY-thermal-cal-1.0",
    "compensation_applied": true,
    "compensation_scope": "LC2 deposit mass only; illustrative linear correction",
    "ambient_notes": "Dummy kitchen preparation conditions; brief partial hand occlusion at C2",
    "conditions_are_food_core_measurements": false
  },
  "vision": {
    "capture_mode": "SYNTHETIC_EXAMPLE",
    "per_camera": [
      {
        "camera_id": "C1",
        "role": "raw_stock",
        "zone_id": "RAW_PLATFORM",
        "camera_status": "SIMULATED_HEALTHY",
        "observation_id": "DUMMY-C1-OBS-8124",
        "frame_time": "2026-10-29T05:14:58.400Z",
        "frame_id": 8124,
        "image_width_px": 1920,
        "image_height_px": 1080,
        "class": "apple",
        "disposition": "usable",
        "confidence": 0.95,
        "object_id": "DUMMY-OBJ-APPLE-017",
        "track_id": "DUMMY-TRACK-C1-017",
        "bbox_xyxy_px": [
          610,
          310,
          910,
          650
        ],
        "quality_score": 0.91,
        "quality_band": "pass",
        "blur_flag": false,
        "occlusion_fraction": 0.05,
        "lighting_status": "acceptable",
        "contributes_to_decision": true,
        "decision_role": "candidate_parent_identity",
        "model_version": "DUMMY-raw-detector-v1",
        "inference_duration_ms": 78,
        "evidence_ref": "dummy://evidence/EVT-125-C1.jpg",
        "evidence_sha256": null,
        "media_file_available": false
      },
      {
        "camera_id": "C2",
        "role": "peels",
        "zone_id": "Z_PEEL",
        "camera_status": "SIMULATED_HEALTHY",
        "observation_id": "DUMMY-C2-OBS-8140",
        "frame_time": "2026-10-29T05:15:00.100Z",
        "frame_id": 8140,
        "image_width_px": 1920,
        "image_height_px": 1080,
        "class": "apple_peel",
        "disposition": "waste",
        "confidence": 0.93,
        "object_id": "DUMMY-OBJ-PEEL-125",
        "track_id": "DUMMY-TRACK-C2-125",
        "bbox_xyxy_px": [
          710,
          460,
          950,
          710
        ],
        "quality_score": 0.78,
        "quality_band": "marginal",
        "blur_flag": false,
        "occlusion_fraction": 0.18,
        "lighting_status": "acceptable",
        "contributes_to_decision": true,
        "decision_role": "waste_identity_and_deposit_zone",
        "quality_action": "retain_with_quality_downweight_and_flag",
        "model_version": "DUMMY-peel-detector-v1",
        "inference_duration_ms": 81,
        "evidence_ref": "dummy://evidence/EVT-125-C2.jpg",
        "evidence_sha256": null,
        "media_file_available": false
      },
      {
        "camera_id": "C3",
        "role": "rotten",
        "zone_id": "Z_ROTTEN_B2",
        "camera_status": "SIMULATED_HEALTHY",
        "observation_id": "DUMMY-C3-OBS-8160",
        "frame_time": "2026-10-29T05:15:00.200Z",
        "frame_id": 8160,
        "image_width_px": 1920,
        "image_height_px": 1080,
        "class": null,
        "disposition": null,
        "confidence": null,
        "object_id": null,
        "track_id": null,
        "bbox_xyxy_px": null,
        "quality_score": 0.88,
        "quality_band": "pass",
        "blur_flag": false,
        "occlusion_fraction": 0.0,
        "lighting_status": "acceptable",
        "contributes_to_decision": false,
        "decision_role": "not_relevant_to_this_B1_deposit",
        "no_detection_reason": "no_relevant_object_observed; sensor_is_available",
        "model_version": "DUMMY-rotten-detector-v1",
        "inference_duration_ms": 79,
        "evidence_ref": null,
        "evidence_sha256": null,
        "media_file_available": false
      }
    ],
    "evidence_clip_ref": "dummy://evidence/EVT-125-context.mp4",
    "clip_start_utc": "2026-10-29T05:14:56.200Z",
    "clip_end_utc": "2026-10-29T05:15:03.200Z",
    "clip_duration_ms": 7000,
    "clip_file_available": false,
    "frame_deduplication": "repeated observations consolidated by camera/run/track context",
    "mass_inferred_from_pixels": false
  },
  "correlation": {
    "anchor": "LOAD_CELL_SETTLED",
    "window_start": "2026-10-29T05:14:56.200Z",
    "window_end": "2026-10-29T05:15:01.400Z",
    "lookback_s": 5.0,
    "lookahead_s": 0.2,
    "window_length_s": 5.2,
    "candidate_count_after_frame_deduplication": 2,
    "selected_parent_preparation_id": "DUMMY-PREP-000087",
    "association_status": "SIMULATED_MATCHED",
    "exact_source_verified_in_physical_trial": false,
    "simulated_transfer_check": "PASS",
    "evidence_scores": {
      "time": 0.9,
      "object": 0.95,
      "class": 1.0,
      "motion": 0.92,
      "mass": 0.96,
      "zone": 0.98,
      "pattern": 0.89
    },
    "score_weights": {
      "time": 0.15,
      "object": 0.2,
      "class": 0.1,
      "motion": 0.15,
      "mass": 0.1,
      "zone": 0.2,
      "pattern": 0.1
    },
    "score_formula": "sum(evidence_scores[test] * score_weights[test]); scores already reflect quality handling",
    "fusion_confidence": 0.944,
    "confidence_band": "high",
    "accept_threshold": 0.9,
    "threshold_status": "DUMMY_POLICY_VALUES_NOT_VALIDATED_PRODUCTION_PARAMETERS",
    "matching_rule_version": "DUMMY-fusion-rules-1.0",
    "selected_candidate_reason": "compatible material/peel relationship, recent preparation, B1 zone and plausible mass step",
    "rejected_candidates": [
      {
        "parent_preparation_id": "DUMMY-PREP-000086",
        "material": "onion",
        "track_id": "DUMMY-TRACK-C1-016",
        "eliminated_by": "incompatible_parent_to_apple_peel_relationship"
      }
    ],
    "mass_shared_between_candidates": false,
    "mixed_deposit_apportionment": "NOT_APPLIED",
    "decision_explanation": "Synthetic LC2 stable step anchors one deposit; C1 supplies apple context, C2 supplies peel evidence; C3 is healthy but irrelevant."
  },
  "health": {
    "sensor_health": [
      {
        "sensor_id": "C1",
        "state": "SIMULATED_HEALTHY",
        "relevant_to_event": true
      },
      {
        "sensor_id": "C2",
        "state": "SIMULATED_HEALTHY",
        "relevant_to_event": true,
        "quality_warning": "marginal_frame_quality"
      },
      {
        "sensor_id": "C3",
        "state": "SIMULATED_HEALTHY",
        "relevant_to_event": false
      },
      {
        "sensor_id": "DUMMY-LC1-BENCH",
        "state": "SIMULATED_HEALTHY",
        "role": "independent_source_input_measurement"
      },
      {
        "sensor_id": "DUMMY-LC2-B1",
        "state": "SIMULATED_HEALTHY",
        "role": "deposit_measurement"
      },
      {
        "sensor_id": "DUMMY-LC3-B2",
        "state": "SIMULATED_HEALTHY",
        "role": "other_bin_not_used_for_this_event"
      },
      {
        "sensor_id": "DUMMY-T1-BENCH",
        "state": "SIMULATED_HEALTHY"
      },
      {
        "sensor_id": "DUMMY-T2-BIN",
        "state": "SIMULATED_HEALTHY"
      }
    ],
    "edge_temperature_c": 58.2,
    "cpu_utilisation_percent": 61.0,
    "ram_used_mb": 2450,
    "ram_total_mb": 8192,
    "free_storage_gb": 64.2,
    "thermal_throttling": false,
    "power_status": "SIMULATED_MAINS_OK",
    "queue_depth_at_capture": 0,
    "queue_depth_after_storage": 1,
    "queue_depth_after_ack": 0,
    "clock_sync_ok": true,
    "critical_sensor_fault": false
  },
  "lifecycle": {
    "state": "CLOSED",
    "validation_result": "SIMULATED_PASSED_WITH_QUALITY_FLAG",
    "degraded_flags": [
      "camera_2_marginal_quality"
    ],
    "missing_required_evidence_in_scenario": [],
    "real_media_files_available": false,
    "review_required_in_scenario": false,
    "review_reason": null,
    "review_decision_id": null,
    "local_preservation_state": "DUMMY_JSON_FILE_CREATED",
    "simulated_delivery_state": "ACKNOWLEDGED",
    "simulated_ledger_state": "COMMITTED",
    "actual_ledger_committed": false,
    "retry_count": 1,
    "duplicate_count_in_scenario": 1,
    "duplicate_handling": "same ID and same content acknowledged; do not add waste twice",
    "correction_policy": "append linked correction; preserve original event",
    "superseded_by": null,
    "validation_checks": [
      {
        "check": "required_fields_present",
        "result": "PASS"
      },
      {
        "check": "unit_and_mass_arithmetic",
        "result": "PASS"
      },
      {
        "check": "timestamp_order",
        "result": "PASS"
      },
      {
        "check": "stable_positive_deposit",
        "result": "SIMULATED_PASS"
      },
      {
        "check": "temperature_compensation_reference",
        "result": "SIMULATED_PASS"
      },
      {
        "check": "camera_quality_gate",
        "result": "SIMULATED_PASS_WITH_C2_FLAG"
      },
      {
        "check": "parent_association",
        "result": "SIMULATED_PASS"
      },
      {
        "check": "physical_source_validation",
        "result": "NOT_PERFORMED_DUMMY"
      }
    ],
    "state_history": [
      {
        "state": "TRIGGERED",
        "timestamp": "2026-10-29T05:15:00.100Z"
      },
      {
        "state": "WAITING_FOR_STABILITY",
        "timestamp": "2026-10-29T05:15:00.200Z"
      },
      {
        "state": "MASS_SETTLED",
        "timestamp": "2026-10-29T05:15:01.200Z"
      },
      {
        "state": "FUSED",
        "timestamp": "2026-10-29T05:15:01.500Z"
      },
      {
        "state": "CLOSED",
        "timestamp": "2026-10-29T05:15:01.600Z"
      },
      {
        "state": "STORED_LOCALLY",
        "timestamp": "2026-10-29T05:15:01.640Z"
      },
      {
        "state": "SERVER_ACCEPTED",
        "timestamp": "2026-10-29T05:15:03.010Z"
      },
      {
        "state": "SIMULATED_COMMITTED",
        "timestamp": "2026-10-29T05:15:04.780Z"
      },
      {
        "state": "ACKNOWLEDGED",
        "timestamp": "2026-10-29T05:15:04.900Z"
      }
    ]
  },
  "provenance": {
    "data_origin": "MANUALLY_AUTHORED_SYNTHETIC_EXAMPLE",
    "model_version": "DUMMY-vision-suite-1.0",
    "ruleset_version": "DUMMY-fusion-rules-1.0",
    "software_version": "DUMMY-aegis-edge-1.0",
    "firmware_version": "DUMMY-sensor-fw-1.0",
    "quantity_pipeline_version": "DUMMY-mass-pipeline-1.0",
    "calibration_version": "DUMMY-CAL-LC2-20261029",
    "configuration_id": "DUMMY-CFG-K1-001",
    "config_hash": null,
    "model_artifact_hash": null,
    "build_commit": null,
    "hashes_omitted_reason": "No real model, firmware or configuration artifacts are claimed by this example",
    "label_schema_version": "DUMMY-label-map-1.0",
    "operator_id": "DUMMY-OP-017",
    "operator_name_recorded": false,
    "creation_method": "Expanded example based on project event field groups"
  },
  "integrity": {
    "hash_algorithm": "SHA-256",
    "canonicalisation": "Python json.dumps(sort_keys=True, separators=(',', ':'), ensure_ascii=False, allow_nan=False), UTF-8",
    "payload_hash_scope": "whole top-level event object excluding the integrity group",
    "payload_hash": "sha256:059031ca908b5e6b5809b829a6f41885f14d7dd448c57dd342b358a1e9494e0c",
    "previous_ref": null,
    "ledger_ref": null,
    "simulated_ledger_ref": "DUMMY-LEDGER-BLOCK-000124/TX-07",
    "signature_algorithm": "Ed25519 (planned; not generated in this dummy)",
    "key_id": null,
    "signature": null,
    "signature_status": "NOT_GENERATED",
    "payload_hash_generated_for_this_file": true,
    "payload_hash_verification_result": "PASS_FOR_SYNTHETIC_FILE",
    "sensor_truth_verified": false,
    "external_ledger_verification_result": "NOT_PERFORMED"
  },
  "preparation_context_extension": {
    "parent_preparation_id": "DUMMY-PREP-000087",
    "ingredient": "apple",
    "input_measurement_id": "DUMMY-INPUT-000087",
    "input_load_cell_id": "DUMMY-LC1-BENCH",
    "independently_measured_input_g": 250.0,
    "input_measurement_timestamp": "2026-10-29T05:14:40.000Z",
    "input_measurement_status": "SIMULATED_VALID",
    "preparation_start": "2026-10-29T05:14:45.000Z",
    "preparation_end": "2026-10-29T05:15:00.050Z",
    "preparation_action": "peeling",
    "selected_parent_link_status": "SIMULATED_MATCHED",
    "this_deposit_to_input_ratio_percent": 17.84,
    "ratio_interpretation": "44.6g / 250g for this linked deposit only; not complete batch yield",
    "all_parent_waste_captured": null,
    "measured_usable_output_g": null,
    "saleable_yield_g": null,
    "parent_batch_complete": false
  },
  "delivery_extension": {
    "transport_in_scenario": "HTTPS",
    "radio_link_validated": false,
    "durable_outbox_entry_id": "DUMMY-OUTBOX-000125",
    "preserve_before_transmission": true,
    "first_send_timestamp": "2026-10-29T05:15:02.000Z",
    "server_first_accept_timestamp": "2026-10-29T05:15:03.010Z",
    "first_acknowledgement": "SIMULATED_LOST",
    "retry_send_timestamp": "2026-10-29T05:15:04.800Z",
    "retry_payload_changed": false,
    "retry_response": "SIMULATED_DUPLICATE_ALREADY_COMMITTED",
    "ack_event_id": "DUMMY-AF-20261029-K1-B1-000125",
    "ack_sequence_number": 125,
    "acknowledged_timestamp": "2026-10-29T05:15:04.900Z",
    "effective_waste_records_added": 1,
    "real_network_request_performed": false
  },
  "reporting_and_cost_extension": {
    "simulation_totals_only": true,
    "include_in_actual_business_totals": false,
    "include_in_dummy_total_waste": true,
    "include_in_dummy_ingredient_totals": true,
    "include_in_dummy_peel_totals": true,
    "reporting_date_local": "2026-10-29",
    "reporting_timezone": "Asia/Karachi",
    "measured_vs_estimated": "Mass is synthetic measurement; cost is illustrative calculation",
    "reported_waste_g": 44.6,
    "currency": "GBP",
    "illustrative_ingredient_price_per_kg": 0.8,
    "cost_price_source_ref": "dummy://purchase-price/APPLE-LOT-17",
    "cost_formula": "44.6 / 1000 * 0.80",
    "unrounded_estimated_waste_cost": 0.03568,
    "display_estimated_waste_cost": 0.04,
    "display_rounding": "round only for display; preserve unrounded calculation",
    "forecast_included_in_measured_mass": false,
    "alert_generated": false,
    "alert_reason": "No dummy severity threshold exceeded; C2 quality retained as an event flag"
  },
  "evidence_access_extension": {
    "event_evidence_uri": "dummy://events/DUMMY-AF-20261029-K1-B1-000125",
    "supporting_refs": [
      "dummy://evidence/EVT-125-C1.jpg",
      "dummy://evidence/EVT-125-C2.jpg",
      "dummy://evidence/EVT-125-context.mp4",
      "dummy://evidence/LC2-000125.csv"
    ],
    "media_is_placeholder": true,
    "raw_evidence_retention_days": 30,
    "retention_policy_status": "ILLUSTRATIVE_NOT_AN_APPROVED_POLICY",
    "access_roles": [
      "operator:read_station",
      "manager:read_site",
      "reviewer:append_decision",
      "auditor:read_and_verify"
    ],
    "original_event_editable": false,
    "review_changes_append_only": true,
    "face_identity_collected": false,
    "operator_notes": "Dummy event: one peel deposit; C2 marginal quality retained; no human review requested by dummy policy."
  }
}
