<?php
/**
 * Sample Flight Data for Multi-Region Demo
 * Jakarta, Dili, dan Darwin
 */

function getSampleFlightsJakarta() {
    return [
        ['icao24' => 'a2d819', 'callsign' => 'GA101  ', 'origin_country' => 'Indonesia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 106.8212, 'latitude' => -6.1245, 'altitude' => 3500, 'on_ground' => false, 'velocity' => 220.5, 'true_track' => 45.2, 'vertical_rate' => 150.5, 'sensors' => null, 'geo_altitude' => 3500, 'squawk' => '2345', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'a2b456', 'callsign' => 'SQ112  ', 'origin_country' => 'Singapore', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 106.7500, 'latitude' => -6.0800, 'altitude' => 8900, 'on_ground' => false, 'velocity' => 480.2, 'true_track' => 180.5, 'vertical_rate' => 850.3, 'sensors' => null, 'geo_altitude' => 8900, 'squawk' => '3456', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'a3c789', 'callsign' => 'LA202  ', 'origin_country' => 'Australia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 106.9000, 'latitude' => -6.2100, 'altitude' => 10700, 'on_ground' => false, 'velocity' => 510.8, 'true_track' => 270.0, 'vertical_rate' => -200.5, 'sensors' => null, 'geo_altitude' => 10700, 'squawk' => '4567', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'a4d012', 'callsign' => 'MH001  ', 'origin_country' => 'Malaysia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 106.5800, 'latitude' => -6.3200, 'altitude' => 5200, 'on_ground' => false, 'velocity' => 320.0, 'true_track' => 90.0, 'vertical_rate' => 400.0, 'sensors' => null, 'geo_altitude' => 5200, 'squawk' => '5678', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'a5e345', 'callsign' => 'QF008  ', 'origin_country' => 'Australia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 106.6200, 'latitude' => -6.0500, 'altitude' => 9800, 'on_ground' => false, 'velocity' => 490.5, 'true_track' => 135.2, 'vertical_rate' => 600.0, 'sensors' => null, 'geo_altitude' => 9800, 'squawk' => '6789', 'spi' => false, 'position_source' => 0, 'category' => null],
    ];
}

function getSampleFlightsDili() {
    return [
        ['icao24' => 'b1a123', 'callsign' => 'GA102  ', 'origin_country' => 'Indonesia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 125.0800, 'latitude' => -8.5100, 'altitude' => 4200, 'on_ground' => false, 'velocity' => 240.0, 'true_track' => 120.0, 'vertical_rate' => 300.0, 'sensors' => null, 'geo_altitude' => 4200, 'squawk' => '1234', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'b2b456', 'callsign' => 'TT001  ', 'origin_country' => 'Timor-Leste', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 124.9500, 'latitude' => -8.6200, 'altitude' => 2100, 'on_ground' => false, 'velocity' => 180.0, 'true_track' => 210.0, 'vertical_rate' => 100.0, 'sensors' => null, 'geo_altitude' => 2100, 'squawk' => '2341', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'b3c789', 'callsign' => 'QF042  ', 'origin_country' => 'Australia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 125.1200, 'latitude' => -8.4800, 'altitude' => 7500, 'on_ground' => false, 'velocity' => 400.0, 'true_track' => 315.0, 'vertical_rate' => -150.0, 'sensors' => null, 'geo_altitude' => 7500, 'squawk' => '3452', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'b4d012', 'callsign' => 'JT601  ', 'origin_country' => 'Indonesia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 124.8900, 'latitude' => -8.7100, 'altitude' => 3800, 'on_ground' => false, 'velocity' => 260.0, 'true_track' => 45.0, 'vertical_rate' => 250.0, 'sensors' => null, 'geo_altitude' => 3800, 'squawk' => '4563', 'spi' => false, 'position_source' => 0, 'category' => null],
    ];
}

function getSampleFlightsDarwin() {
    return [
        ['icao24' => 'c1a234', 'callsign' => 'QF001  ', 'origin_country' => 'Australia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 130.8900, 'latitude' => -12.4500, 'altitude' => 9200, 'on_ground' => false, 'velocity' => 500.0, 'true_track' => 180.0, 'vertical_rate' => -400.0, 'sensors' => null, 'geo_altitude' => 9200, 'squawk' => '5674', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'c2b567', 'callsign' => 'VH456  ', 'origin_country' => 'Australia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 130.7200, 'latitude' => -12.5800, 'altitude' => 6100, 'on_ground' => false, 'velocity' => 350.0, 'true_track' => 270.0, 'vertical_rate' => 200.0, 'sensors' => null, 'geo_altitude' => 6100, 'squawk' => '6785', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'c3c890', 'callsign' => 'TNZ805', 'origin_country' => 'New Zealand', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 130.9500, 'latitude' => -12.3200, 'altitude' => 8400, 'on_ground' => false, 'velocity' => 480.0, 'true_track' => 90.0, 'vertical_rate' => 350.0, 'sensors' => null, 'geo_altitude' => 8400, 'squawk' => '7896', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'c4d123', 'callsign' => 'JQ750  ', 'origin_country' => 'Australia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 130.6500, 'latitude' => -12.6100, 'altitude' => 4500, 'on_ground' => false, 'velocity' => 280.0, 'true_track' => 135.0, 'vertical_rate' => 150.0, 'sensors' => null, 'geo_altitude' => 4500, 'squawk' => '8907', 'spi' => false, 'position_source' => 0, 'category' => null],
        ['icao24' => 'c5e456', 'callsign' => 'SYD223 ', 'origin_country' => 'Australia', 'time_position' => time(), 'last_contact' => time(), 'longitude' => 131.0200, 'latitude' => -12.4000, 'altitude' => 7800, 'on_ground' => false, 'velocity' => 420.0, 'true_track' => 225.0, 'vertical_rate' => -100.0, 'sensors' => null, 'geo_altitude' => 7800, 'squawk' => '9018', 'spi' => false, 'position_source' => 0, 'category' => null],
    ];
}
