<?php
header('Content-Type: application/json');
header('Access-Control-Allow-Origin: *');

$schedule = [
    "updated" => date('Y-m-d'),
    "notice" => "Full programme schedule coming soon. Stay connected for updates.",
    "days" => [
        [
            "day" => "Monday",
            "programmes" => [
                ["time" => "06:00", "title" => "Morning Devotion", "host" => "TBW Team", "description" => "Start your day with prayer, scripture and worship."],
                ["time" => "08:00", "title" => "Faith for the Week", "host" => "TBW Team", "description" => "Equipping you with purpose for the week ahead."],
                ["time" => "12:00", "title" => "Midday Word", "host" => "TBW Team", "description" => "A short powerful word to fuel your afternoon."],
                ["time" => "18:00", "title" => "Evening Worship", "host" => "TBW Team", "description" => "Songs of praise and reflection."],
                ["time" => "20:00", "title" => "Night Watch", "host" => "TBW Team", "description" => "Intercession and night prayer."]
            ]
        ],
        [
            "day" => "Tuesday",
            "programmes" => [
                ["time" => "06:00", "title" => "Morning Devotion", "host" => "TBW Team", "description" => "Begin with the Word."],
                ["time" => "09:00", "title" => "The Book Within", "host" => "TBW Team", "description" => "Exploring your God-written destiny."],
                ["time" => "12:00", "title" => "Midday Word", "host" => "TBW Team", "description" => "Power-packed scripture for your day."],
                ["time" => "19:00", "title" => "Purpose & Identity", "host" => "TBW Team", "description" => "Walking in your God-given assignment."]
            ]
        ],
        [
            "day" => "Wednesday",
            "programmes" => [
                ["time" => "06:00", "title" => "Morning Devotion", "host" => "TBW Team", "description" => "Daily scripture and prayer."],
                ["time" => "10:00", "title" => "Community Hour", "host" => "TBW Team", "description" => "Stories of faith from across the community."],
                ["time" => "12:00", "title" => "Midday Word", "host" => "TBW Team", "description" => "Nourishment for your spirit."],
                ["time" => "18:00", "title" => "Midweek Worship", "host" => "TBW Team", "description" => "Recentring with praise and worship."]
            ]
        ],
        [
            "day" => "Thursday",
            "programmes" => [
                ["time" => "06:00", "title" => "Morning Devotion", "host" => "TBW Team", "description" => "Grounded in the Word."],
                ["time" => "09:00", "title" => "Conquer It", "host" => "TBW Team", "description" => "Overcoming challenges by faith."],
                ["time" => "12:00", "title" => "Midday Word", "host" => "TBW Team", "description" => "Midday encounter with scripture."],
                ["time" => "20:00", "title" => "Kingdom Business", "host" => "TBW Team", "description" => "Faith-led enterprise and calling."]
            ]
        ],
        [
            "day" => "Friday",
            "programmes" => [
                ["time" => "06:00", "title" => "Morning Devotion", "host" => "TBW Team", "description" => "Enter the weekend with the Word."],
                ["time" => "09:00", "title" => "See It | Receive It", "host" => "TBW Team", "description" => "Vision and faith for your destiny."],
                ["time" => "12:00", "title" => "Midday Word", "host" => "TBW Team", "description" => "Friday power word."],
                ["time" => "18:00", "title" => "Weekend Preparation", "host" => "TBW Team", "description" => "Setting the atmosphere for a blessed weekend."]
            ]
        ],
        [
            "day" => "Saturday",
            "programmes" => [
                ["time" => "08:00", "title" => "Saturday Morning Prayer", "host" => "TBW Team", "description" => "Powerful corporate intercession."],
                ["time" => "10:00", "title" => "Families in Faith", "host" => "TBW Team", "description" => "Strengthening families through the Word."],
                ["time" => "14:00", "title" => "Youth & Purpose", "host" => "TBW Team", "description" => "Equipping the next generation."],
                ["time" => "18:00", "title" => "Saturday Worship Night", "host" => "TBW Team", "description" => "Extended praise and worship."]
            ]
        ],
        [
            "day" => "Sunday",
            "programmes" => [
                ["time" => "07:00", "title" => "Sunrise Service", "host" => "TBW Team", "description" => "Welcoming the Lord's Day."],
                ["time" => "10:00", "title" => "Sunday Live Service", "host" => "TBW Team", "description" => "Full live worship and the Word."],
                ["time" => "14:00", "title" => "Afternoon Gospel", "host" => "TBW Team", "description" => "Spirit-filled afternoon programming."],
                ["time" => "18:00", "title" => "Evening Reflection", "host" => "TBW Team", "description" => "Closing the week in worship."],
                ["time" => "20:00", "title" => "Sunday Night Prayer", "host" => "TBW Team", "description" => "Setting the tone for the week ahead."]
            ]
        ]
    ]
];

echo json_encode($schedule, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
