<xs:complexType name="TimePeriod">
<xs:sequence>
<xs:element name="From" type="DateTime" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Start timestamp indicating the starting point of the event.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="Duration" type="Duration" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Indicates the duration of a time period.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="To" type="DateTime" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Is the ending timestamp of the event.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="inclusive" type="xs:boolean" use="optional" default="true" />
<!-- <xs:complexContent>
<xs:restriction base="TimePeriodBase">
-->
<!-- </xs:restriction>
</xs:complexContent>
-->
</xs:complexType>
|