activity-date¶
iati-activities/iati-activity/activity-date
This is the reference page for the XML element activity-date
.
Definition¶
The planned and actual start and completion dates of the activity. Start dates may reflect either the commencement of funding, planning or physical activity. End dates should, wherever possible, reflect the ending of physical activity.
The narrative content may contain text (e.g. 2011Q1) for accurately recording less specific dates such as month, quarter, or year.
Rules¶
This element must occur at least once (within each parent element).
activity-date[@type='1' or @type='2']
must be present.
Attributes¶
- @type
An IATI code defining the type of activity date being reported.
This attribute is required.
This value must be of type xsd:string.
This value must be on the ActivityDateType codelist.
@iso-date
This attribute is required.
This value must be of type xsd:date.
activity-date[@type='1']/@iso-date
must be before or the same asactivity-date[@type='3']/@iso-date
activity-date[@type='2']/@iso-date
must be before or the same asactivity-date[@type='4']/@iso-date
activity-date[@type='2']/@iso-date
must not be in the future.
activity-date[@type='4']/@iso-date
must not be in the future.
Example Usage¶
Example activity-date
for an``iati-activity``.
@type
attribute declares a valid code (1) from the ActivityDateType codelist.@iso-date
attribute.<activity-date iso-date="2012-04-28" type="1" />
activity-date
element can be repeated in any iati-activity
.activity-date
are declared. <activity-date iso-date="2012-04-15" type="1">
<narrative>Planned start date of the activity</narrative>
<narrative xml:lang="fr">Date prévue de début de l'activité</narrative>
</activity-date>
<activity-date iso-date="2012-04-28" type="2" />
<activity-date iso-date="2015-12-31" type="3" />
Note: In some cases, not all ActivityDateType codes can be declared, depending on the activity-status
of the iati-activity
Changelog¶
2.01¶
Freetext is no longer allowed with this element. It should now be declared with the new child narrative
element.
ActivityDateType
codelist was changed to numeric codes