Hi everyone,
I’m a Waze for Cities partner submitting road closures via a JSON CIFS feed. Everything works correctly — incidents are validated at 100% in Partner Hub — but the Daily Hours field always shows as N/A, even when I include the schedule element.
The official CIFS specification at Waze | Google for Developers only provides an XML example for schedule:
<schedule>
<monday>09:00-18:00</monday>
<tuesday>09:00-18:00</tuesday>
<friday>09:00-18:00</friday>
</schedule>
I have tried two different JSON representations, neither of which populates Daily Hours in Partner Hub:
Attempt 1 — array format:
"schedule": {
"daily": [
{
"dayOfWeek": ["MO", "TU", "WE", "TH", "FR"],
"startTime": "09:00",
"endTime": "18:00"
}
]
}
Attempt 2 — flat object with full day names (my best guess at the XML equivalent):
"schedule": {
"monday": "09:00-18:00",
"tuesday": "09:00-18:00",
"wednesday": "09:00-18:00",
"thursday": "09:00-18:00",
"friday": "09:00-18:00"
}
In both cases the feed validates without errors, but Daily Hours remains N/A in Partner Hub event details.
My questions:
- What is the correct JSON format for the
schedulefield? - Is
scheduleactually supported in JSON feeds, or only in XML feeds?
Thanks in advance.