gml:RelatedTimeType provides a content model for indicating the relative position of an arbitrary member of the substitution group whose head is gml:AbstractTimePrimitive. It extends the generic gml:TimePrimitivePropertyType with an XML attribute relativePosition, whose value is selected from the set of 13 temporal relationships identified by Allen (1983)
<complexType name="RelatedTimeType"><annotation><documentation>gml:RelatedTimeType provides a content model for indicating the relative position of an arbitrary member of the substitution group whose head is gml:AbstractTimePrimitive. It extends the generic gml:TimePrimitivePropertyType with an XML attribute relativePosition, whose value is selected from the set of 13 temporal relationships identified by Allen (1983)</documentation></annotation><complexContent><extension base="gml:TimePrimitivePropertyType"><attribute name="relativePosition"><simpleType><restriction base="string"><enumeration value="Before"/><enumeration value="After"/><enumeration value="Begins"/><enumeration value="Ends"/><enumeration value="During"/><enumeration value="Equals"/><enumeration value="Contains"/><enumeration value="Overlaps"/><enumeration value="Meets"/><enumeration value="OverlappedBy"/><enumeration value="MetBy"/><enumeration value="BegunBy"/><enumeration value="EndedBy"/></restriction></simpleType></attribute></extension></complexContent></complexType>