{# State 511 (Castle Rock ATIS) detail rows. Fields from payload->data->data; every block guarded. direction "Unknown"/"None" suppressed (wzdx lesson). #} {% set d = (event.data.get('data') or {}).get('data') or {} %} {% if d.get('roadway_name') %}
Road
{{ d.roadway_name }}{% if d.get('direction') and d.direction not in ['Unknown', 'None'] %} ({{ d.direction }}){% endif %}
{% endif %} {% if d.get('location_description') %}
Location
{{ d.location_description }}
{% endif %} {% if d.get('event_sub_type') %}
Type
{{ d.event_sub_type }}
{% endif %} {% if d.get('is_full_closure') %}
Full closure
Yes
{% endif %} {% if d.get('start_date') %}
Started
{{ d.start_date }}
{% endif %} {% if d.get('last_updated') %}
Updated
{{ d.last_updated }}
{% endif %} {% if d.get('description') %}
Description
{{ d.description | truncate(220) }}
{% endif %}