Time of Day with Qualifiers
The example below demonstrates the structure of a JSON CPR containing a Time of Day node including branch qualifiers. It also shows the usage of the 15-minute declinations in determining the time of day range.
{
"node": {
"type": "lata",
"branches": [
{
"values": [
"820",
"822",
"824",
"826",
"828",
"830",
"870",
"871",
"884",
"888"
],
"node": {
"type": "action",
"values": [
{
"action_type": "set_final_treatment",
"action_value": "out_of_band_announcement"
}
]
}
},
{
"values": [
"others"
],
"node": {
"type": "time_of_day",
"qualifiers": [
{
"qualifier_type": "time_zone",
"qualifier_value": "central_time_zone"
},
{
"qualifier_type": "dst_flag",
"qualifier_value": "dst_in_effect"
}
],
"branches": [
{
"values": [
"0:48"
],
"node": {
"type": "action",
"values": [
{
"action_type": "set_final_treatment",
"action_value": "vacant_code_announcement"
}
]
}
},
{
"values": [
"48:96"
],
"node": {
"type": "action",
"values": [
{
"action_type": "set_final_treatment",
"action_value": "out_of_band_announcement"
}
]
}
}
]
}
}
]
}
}