eiEventDescriptor.xml 1.6 KB

123456789101112131415161718192021222324
  1. <ei:eventDescriptor>
  2. <ei:eventID>{{ event.event_descriptor.event_id }}</ei:eventID>
  3. <ei:modificationNumber>{{ event.event_descriptor.modification_number }}</ei:modificationNumber>
  4. {% if event.event_descriptor.modification_date_time is defined and event.event_descriptor.modification_date_time is not none %}
  5. <ei:modificationDateTime>{{ event.event_descriptor.modification_date_time|datetimeformat }}</ei:modificationDateTime>
  6. {% endif %}
  7. {% if event.event_descriptor.modification_reason is defined and event.event_descriptor.modification_reason is not none %}
  8. <ei:modificationReason>{{ event.event_descriptor.modification_reason }}</ei:modificationReason>
  9. {% endif %}
  10. {%if event.event_descriptor.priority is not none %}
  11. <ei:priority>{{ event.event_descriptor.priority }}</ei:priority>
  12. {% endif %}
  13. <ei:eiMarketContext>
  14. <marketContext xmlns="http://docs.oasis-open.org/ns/emix/2011/06">{{ event.event_descriptor.market_context }}</marketContext>
  15. </ei:eiMarketContext>
  16. <ei:createdDateTime>{{ event.event_descriptor.created_date_time|datetimeformat }}</ei:createdDateTime>
  17. <ei:eventStatus>{{ event.event_descriptor.event_status }}</ei:eventStatus>
  18. {% if event.event_descriptor.test_event is defined and event.event_descriptor.test_event is not none %}
  19. <ei:testEvent>{{ event.event_descriptor.test_event|booleanformat }}</ei:testEvent>
  20. {% endif %}
  21. {% if event.event_descriptor.vtn_comment is defined and event.event_descriptor.vtn_comment is not none %}
  22. <ei:vtnComment>{{ event.event_descriptor.vtn_comment }}</ei:vtnComment>
  23. {% endif %}
  24. </ei:eventDescriptor>