Sample XML for the Activities Standard
This page is currently flagged for review. We are undertaking an update of the information we publish about the IATI Standard, and the content here has not yet been checked.
Annotated Blank Sample
* = repeating elements
<iati-activities version=”[0.00]” generated-datetime=”[yyyy-mm-ddThh:mm:ss]“>
<iati-activity xml:lang=”[Language Code]” default-currency=”[Currency Code]” hierarchy=”[!!!]” last-updated-datetime=”[yyyy-mm-ddThh:mm:ss]“>
<iati-identifier>[Text]</iati-identifier>
<reporting-org ref=”[Organisation Identifier]” type=”[Organisation Type Code]” xml:lang=”[Language Code]“>[Text]</reporting-org>
<participating-org role=”[Organisation Role Code]” ref=”[Organisation Identifier]” type=”[Organisation Type Code]” xml:lang=”[Language Code]“>[Text]</participating-org>*
<recipient-country code=”[Country Code]” percentage=”[Integer]” xml:lang=”[Language Code]“>[Text]</recipient-country>*
<recipient-region code=”[Region Code]” percentage=”[Integer]” xml:lang=”[Language Code]“>[Text]</recipient-region>*
<title xml:lang=”[Language Code]“>[Text]</title>*
<description type=”[Description Type Code]” xml:lang=”[Language Code]“>[Text]</description>*
<activity-website>[u.r.l.]</activity-website>
<activity-date type=”[Activity Date Type Code]” iso-date=”[yyyy-mm-dd]” xml:lang=”[Language Code]“>[Text]</activity-date>*
<other-identifier owner-ref=”[Organisation Identifier]” owner-name=”[Text]“>[Text]</other-identifier>*
<related-activity type=”[Related Activity Type Code]” ref=”[Text]” xml:lang=”[Language Code]“>[Text]</related-activity>*
<sector vocabulary=”[Vocabulary Code]” code=”[Sector Code]” percentage=”[Integer]” xml:lang=”[Language Code]“>[Text]</sector>*
<policy-marker significance=”[Policy Significance Code]” vocabulary=”[Vocabulary Code]” code=”[Policy Marker Code]” xml:lang=”[Language Code]“>[Text]</policy-marker>*
<collaboration-type code=”[Collaboration Type Code]” xml:lang=”[Language Code]“>[Text]</collaboration-type>
<default-flow-type code=”[Flow Type Code]” xml:lang=”[Language Code]“>[Text]</default-flow-type>
<default-aid-type code=”[Aid Type Code]” xml:lang=”[Language Code]“>[Text]</default-aid-type>
<default-finance-type code=”[Finance Type Code]” xml:lang=”[Language Code]“>[Text]</default-finance-type>
<default-tied-status code=”[Tied Status Code]” xml:lang=”[Language Code]“>[Text]</default-tied-status>
<activity-status code=”[Activity Status Code]” xml:lang=”[Language Code]“>[Text]</activity-status>
<transaction>*
. <transaction-type code=”[Transaction Type Code]“>[Text]</transaction-type>
. <provider-org ref=”" provider-activity-id=”"></provider-org>
. <receiver-org ref=”" receiver-activity-id=”"></receiver-org>
. <value currency=”" value-date=”"></value>
. <description xml:lang=”[Language Code]“></description>
. <transaction-date iso-date=”"></transaction-date>
. <flow-type code=”" xml:lang=”[Language Code]“></flow-type>
. <aid-type code=”" xml:lang=”[Language Code]“></aid-type>
. <finance-type code=”" xml:lang=”[Language Code]“></finance-type>
. <tied-status code=”" xml:lang=”[Language Code]“></tied-status>
. <disbursement-channel code=”"></disbursement_channel>
</transaction>
<document-link url=”" format=”" xml:lang=”">*
. <category code=”"></category>*
. <title></title>
</document-link>
<location percentage=”">*
. <location-type code=”"/>
. <name xml:lang=”[Language Code]“></name>
. <description></description>
. <administrative country=”" adm1=”" adm2=”"></administrative>
. <coordinates latitude=”" longitude=”" precision=”"/>
. <gazetteer-entry gazetteer-ref=”"></gazetteer-entry>
</location>
</iati-activity>
</iati-activities>
Blank Sample
* = repeating elements
<iati-activities version=”1.01″ generated-datetime=”">
<iati-activity xml:lang=”" default-currency=”" hierarchy=”" last-updated-datetime=”">
<iati-identifier></iati-identifier>
<reporting-org ref=”" type=”" xml:lang=”"></reporting-org>
<participating-org role=”" ref=”" type=”" xml:lang=”"></participating-org>*
<recipient-country code=”" percentage=”" xml:lang=”"></recipient-country>*
<recipient-region code=”" percentage=”" xml:lang=”"></recipient-region>*
<title xml:lang=”"></title>*
<description type=”" xml:lang=”"></description>*
<activity-website></activity-website>
<activity-date type=”" iso-date=”" xml:lang=”"></activity-date>*
<other-identifier owner-ref=”" owner-name=”"></other-identifier>*
<related-activity type=”" ref=”" xml:lang=”"></related-activity>*
<sector vocabulary=”" code=”" percentage=”" xml:lang=”"></sector>*
<policy-marker significance=”" vocabulary=”" code=”" xml:lang=”"></policy-marker>*
<collaboration-type code=”" xml:lang=”"></collaboration-type>
<default-flow-type code=”" xml:lang=”"></default-flow-type>
<default-aid-type code=”" xml:lang=”"></default-aid-type>
<default-finance-type code=”" xml:lang=”"></default-finance-type>
<default-tied-status code=”" xml:lang=”"></default-tied-status>
<activity-status code=”" xml:lang=”"></activity-status>
<transaction>*
<transaction-type code=”"></transaction-type>
<provider-org ref=”" provider-activity-id=”"></provider-org>
<receiver-org ref=”" receiver-activity-id=”"></receiver-org>
<value currency=”" value-date=”"></value>
<description xml:lang=”"></description>
<transaction-date iso-date=”"></transaction-date>
<flow-type code=”" xml:lang=”"></flow-type>
<aid-type code=”" xml:lang=”"></aid-type>
<finance-type code=”" xml:lang=”"></finance-type>
<tied-status code=”" xml:lang=”"></tied-status>
<disbursement-channel code=”"></disbursement_channel>
</transaction>
<document-link url=”" format=”" xml:lang=”">*
<category code=”"></category>*
<title></title>
</document-link>
<location percentage=”">*
<location-type code=”"/>
<name xml:lang=”"></name>
<description></description>
<administrative country=”" adm1=”" adm2=”"></administrative>
<coordinates latitude=”" longitude=”" precision=”"/>
<gazetteer-entry gazetteer-ref=”"></gazetteer-entry>
</location>
</iati-activity>
</iati-activities>
Last updated on 16 December 2012.