docs: add Phase 0 schedule API/data contract and fixtures
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 radiantwave repo.
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"version": "sched-daily-0001",
|
||||
"type": "daily",
|
||||
"daily": [
|
||||
{
|
||||
"id": "11111111-1111-4111-8111-111111111111",
|
||||
"startTime": "07:00",
|
||||
"startMinutes": 420,
|
||||
"endTime": "09:00",
|
||||
"endMinutes": 540,
|
||||
"overnight": false,
|
||||
"durationMinutes": 120,
|
||||
"proclamationIds": [
|
||||
"b40fdcb9-703c-420e-af32-a081964c6f08",
|
||||
"7c9e1a2b-3d4e-5f60-8a9b-0c1d2e3f4a5b"
|
||||
],
|
||||
"dynamicAudio": true
|
||||
},
|
||||
{
|
||||
"id": "22222222-2222-4222-8222-222222222222",
|
||||
"startTime": "18:00",
|
||||
"startMinutes": 1080,
|
||||
"endTime": "20:30",
|
||||
"endMinutes": 1230,
|
||||
"overnight": false,
|
||||
"durationMinutes": 150,
|
||||
"proclamationIds": ["33333333-3333-4333-8333-333333333333"],
|
||||
"dynamicAudio": false
|
||||
}
|
||||
],
|
||||
"weekly": {},
|
||||
"blocks": [
|
||||
{
|
||||
"id": "11111111-1111-4111-8111-111111111111",
|
||||
"startTime": "07:00",
|
||||
"startMinutes": 420,
|
||||
"endTime": "09:00",
|
||||
"endMinutes": 540,
|
||||
"overnight": false,
|
||||
"durationMinutes": 120,
|
||||
"dynamicAudio": true,
|
||||
"proclamationIds": [
|
||||
"b40fdcb9-703c-420e-af32-a081964c6f08",
|
||||
"7c9e1a2b-3d4e-5f60-8a9b-0c1d2e3f4a5b"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "22222222-2222-4222-8222-222222222222",
|
||||
"startTime": "18:00",
|
||||
"startMinutes": 1080,
|
||||
"endTime": "20:30",
|
||||
"endMinutes": 1230,
|
||||
"overnight": false,
|
||||
"durationMinutes": 150,
|
||||
"dynamicAudio": false,
|
||||
"proclamationIds": ["33333333-3333-4333-8333-333333333333"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user