eiEvent.xml 834 B

12345678910111213141516171819202122
  1. <oadr:oadrEvent>
  2. <ei:eiEvent>
  3. {% include 'parts/eiEventDescriptor.xml' %}
  4. {% include 'parts/eiActivePeriod.xml' %}
  5. <ei:eiEventSignals>
  6. {% for signal in event.event_signals %}
  7. {% include 'parts/eiEventSignal.xml' %}
  8. {% endfor %}
  9. </ei:eiEventSignals>
  10. {% if event.report_requests %}
  11. <ei:eiReportRequests>
  12. {% for report_request in event.report_requests %}
  13. {% include 'parts/eiReportRequest.xml' %}
  14. {% endfor %}
  15. </ns1>
  16. {% endif %}
  17. {% if event.targets is defined and event.targets is not none %}
  18. {% include 'parts/eiEventTarget.xml' %}
  19. {% endif %}
  20. </ei:eiEvent>
  21. <oadr:oadrResponseRequired>{{ event.response_required }}</oadr:oadrResponseRequired>
  22. </oadr:oadrEvent>