# CHART Events file

namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"

element events {
    attribute xsi:noNamespaceSchemaLocation { "http://chart/schemas/eventlist.xsd" }? &
    element validity {
        element start-time { xsd:dateTime } &
        element stop-time { xsd:dateTime } &
        element scid { text } &
        element event { text }*
    }? &
    element event {
        element event-classname { text } &
        element scid { text } &
        element gen-method { text } &
        element gen-time { xsd:dateTime } &
        element start-time { xsd:dateTime } &
        element stop-time { xsd:dateTime }? &
        element properties {
            element property {
                element name { text } &
                element value { text }
            }*
        }?
    }*
}

Download as raw Relax-NG Compact here or as raw XSD here