This is the reference page for the XML element iati-activity.
Top-level element for a single IATI activity report.
This element must occur at least once (within each parent element).
The last date/time that the data for this specific activity was updated. This date must change whenever the value of any field changes.
This value must be of type xsd:dateTime.
@last-updated-datetime must not be more recent than the current date
ISO 639-1 code specifying the default language used in narrative elements throughout the activity. If this is not declared then the xml:lang attribute MUST be specified for each narrative element.
This value should be on the Language codelist.
Default ISO 4217 alphabetic currency code for all financial values in this activity report. If this is not declared then the currency attribute MUST be specified for all monetary values.
This value must be of type xsd:string.
This value must be on the Currency codelist.
@default-currency must exist, otherwise all currency must exist.
If count(@default-currency) = 0 evaluates to true, then count(crs-add/loan-status/@currency) > 0 must evaluate to true.
If count(@default-currency) = 0 evaluates to true, then count(fss/forecast/@currency) > 0 must evaluate to true.
A process flag to indicate that this activity relates entirely or partially to humanitarian aid.
This value must be of type xsd:boolean.
The hierarchical level within the reporting organisation’s subdivision of its units of aid. (eg activity = 1; sub-activity = 2; sub-sub-activity = 3). If hierarchy is not reported then 1 is assumed. If multiple levels are reported then, to avoid double counting, financial transactions should only be reported at the lowest hierarchical level.
This value must be of type xsd:int.
Example of iati-activity.
<iati-activity xml:lang="en" default-currency="USD" last-updated-datetime="2014-09-10T07:15:37Z" humanitarian="1" linked-data-uri="http://data.example.org/123456789" hierarchy="1">
The iati-activity element acts as a container for other sub-elements. It is closed as follows: