<xs:attributeGroup name="DurationGroup">
<xs:annotation>
<xs:documentation>Defines duration information and reference about the starting point for the duration</xs:documentation>
</xs:annotation>
<xs:attribute name="Unit" type="DurationUnitCodeType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="En">If not present, the duration is obvious. For instance, by default a stay is expressed in nights. If several durations are provided, the unit usually becomes a very important piece of information. It may still not be required in case the durations are discriminated by other items, such as their role (trip and stay durations), their values (like 7 and 14 nights stays)...</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Value" type="DateDurationType" use="optional"/>
<xs:attribute name="CountingFrom" type="DateDurationStartCodeType" use="optional"/>
<xs:attribute name="Role" type="DurationRoleCodeType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="En">This attribute is used to allow qualification orf a duraiton or durations within a list, in case all durations are provided in the same location and not below the corresponding funcitonal elements (by default, flight duration should be in a flight segment but if present below the product direction, the role can be used). This attribute is usually not used since position of the duraiton is often enough to understand its intrinsec role.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup> |