# XML Schema Documentation

### Complex Type: RelativeDates

#### [Table of contents]

Super-types: | Interval < Offset (by extension) < RelativeDateOffset (by extension) < RelativeDates (by extension)
Sub-types: | None

Name | RelativeDates
Used by (from the same schema document) | Complex Type AdjustableOrRelativeDates , Complex Type AdjustableRelativeOrPeriodicDates2
Abstract | no
Documentation | A type describing a set of dates defined as relative to another set of dates.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<periodMultiplier> xsd:integer </periodMultiplier> [1]

'A time period multiplier, e.g. 1, 2 or 3 etc. A negative value can be used when specifying an offset relative to another date, e.g. -2 days. If the period value is T (Term) then periodMultiplier must contain the value 1.'

<period> PeriodEnum </period> [1]

'A time period, e.g. a day, week, month, year or term of the stream. If the periodMultiplier value is 0 (zero) then period must contain the value D (day).'

<dayType> DayTypeEnum </dayType> [0..1]

'In the case of an offset specified as a number of days, this element defines whether consideration is given as to whether a day is a good business day or not. If a day type of business days is specified then non-business days are ignored when calculating the offset. The financial business centers to use for determination of business days are implied by the context in which this element is used. This element must only be included when the offset is specified as a number of days. If the offset is zero days then the dayType element should not be included.'

<businessDayConvention> BusinessDayConventionEnum </businessDayConvention> [1]

'The convention for adjusting a date if it would otherwise fall on a day that is not a business day.'

Start Group: BusinessCentersOrReference.model [0..1]
Start Choice [1]
<businessCentersReference> BusinessCentersReference </businessCentersReference> [1]

'A pointer style reference to a set of financial business centers defined elsewhere in the document. This set of business centers is used to determine whether a particular day is a business day or not.'

<businessCenters> BusinessCenters </businessCenters> [1]
End Choice
End Group: BusinessCentersOrReference.model
<dateRelativeTo> DateReference </dateRelativeTo> [1]

'Specifies the anchor as an href attribute. The href attribute value is a pointer style reference to the element or component elsewhere in the document where the anchor date is defined.'

<periodSkip> xsd:positiveInteger </periodSkip> [0..1]

'The number of periods in the referenced date schedule that are between each date in the relative date schedule. Thus a skip of 2 would mean that dates are relative to every second date in the referenced schedule. If present this should have a value greater than 1.'

<scheduleBounds> DateRange </scheduleBounds> [0..1]

'The first and last dates of a schedule. This can be used to restrict the range of values in a reference series of dates.'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="RelativeDates">
<xsd:complexContent>
<xsd:extension base=" RelativeDateOffset ">
<xsd:sequence>
<xsd:element name="periodSkip" type=" xsd:positiveInteger " minOccurs="0"/>
<xsd:element name="scheduleBounds" type=" DateRange " minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>