Add docs/schedule-api-contract.md (current state, time semantics, schedule data model, validation rules, endpoints, sync behavior, System Name rules, dynamic audio, backward compatibility, per-phase touchpoints, open items, changelog) and docs/fixtures/*.json (daily, weekly, none, midnight-crossing, adjacent, dynamic-audio, and legacy v2 payloads). Kept byte-identical with the portal repo.
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"version": "sched-dynamic-0001",
|
|
"type": "daily",
|
|
"daily": [
|
|
{
|
|
"id": "ee111111-1111-4111-8111-111111111111",
|
|
"startTime": "08:00",
|
|
"startMinutes": 480,
|
|
"endTime": "10:00",
|
|
"endMinutes": 600,
|
|
"overnight": false,
|
|
"durationMinutes": 120,
|
|
"proclamationIds": ["b40fdcb9-703c-420e-af32-a081964c6f08"],
|
|
"dynamicAudio": true
|
|
},
|
|
{
|
|
"id": "ee222222-2222-4222-8222-222222222222",
|
|
"startTime": "20:00",
|
|
"startMinutes": 1200,
|
|
"endTime": "22:00",
|
|
"endMinutes": 1320,
|
|
"overnight": false,
|
|
"durationMinutes": 120,
|
|
"proclamationIds": ["7c9e1a2b-3d4e-5f60-8a9b-0c1d2e3f4a5b"],
|
|
"dynamicAudio": false
|
|
}
|
|
],
|
|
"weekly": {},
|
|
"blocks": [
|
|
{
|
|
"id": "ee111111-1111-4111-8111-111111111111",
|
|
"startTime": "08:00",
|
|
"startMinutes": 480,
|
|
"endTime": "10:00",
|
|
"endMinutes": 600,
|
|
"overnight": false,
|
|
"durationMinutes": 120,
|
|
"dynamicAudio": true,
|
|
"proclamationIds": ["b40fdcb9-703c-420e-af32-a081964c6f08"]
|
|
},
|
|
{
|
|
"id": "ee222222-2222-4222-8222-222222222222",
|
|
"startTime": "20:00",
|
|
"startMinutes": 1200,
|
|
"endTime": "22:00",
|
|
"endMinutes": 1320,
|
|
"overnight": false,
|
|
"durationMinutes": 120,
|
|
"dynamicAudio": false,
|
|
"proclamationIds": ["7c9e1a2b-3d4e-5f60-8a9b-0c1d2e3f4a5b"]
|
|
}
|
|
]
|
|
}
|