IATI Activity
<iati-activity></iati-activity>
From the schema
Top-level element for a single IATI activity report.
@version | A number indicating the IATI specification version in use. Defaults to "1.0" if not specified. It is required to specify this attribute if the document is using features specific to an IATI specification other than the initial 1.0 version. |
@last-updated-datetime | The last date/time that the data for this specific activity was updated. This date must change whenever the value of any field changes. |
@default-currency | Default ISO 4217 currency code for all financial values in this activity report. See http://iatistandard.org/codelists/currency |
@hierarchy | 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. |
@linked-data-uri | A Linked Data URI for a given activity (overrides iati-activities/@linked-data-default if set) |
IATI Activity
Example Usage
This example declares that the activity has a default language of English (en) and a default currency of US dollars. It was last updated on the 31st March 2012, and has a hierarchy value of 1.
<iati-activity xml:lang="en" default-currency="USD" last-updated-datetime="2012-03-31T01:01:01" hierarchy="1"> .... </iati-activity>
Additionally, a IATI version number can be declared. NB: This would already be within the <iati-activities> element, but could differ.
<iati-activity xml:lang="en" default-currency="USD" last-updated-datetime="2012-03-31T01:01:01" hierarchy="1" version="1.01"> .... </iati-activity>
Finally, this example, includes the linked-data-uri attribute, introduced in the decimal upgrade 1.02
<iati-activity xml:lang="en" default-currency="USD" last-updated-datetime="2012-03-31T01:01:01" hierarchy="1" version="1.01" linked-data-uri=""> .... </iati-activity>
Changelog
1.02
Introduced the @linked-data-uri attribute on iati-activity element
1.01