recipient-country¶
iati-activities/iati-activity/recipient-country
This is the reference page for the XML element recipient-country
.
Definition¶
A country that will benefit from this activity. If a specific country is not known the recipient-region element should be used instead. For geographical location, use the location element.
Multiple countries and regions can be reported, in which case the percentage attribute MUST be used to specify the share of total commitments across all reported countries and regions.
The country can also be specified at transaction rather than activity level. If recipient-country OR recipient-region are reported at the transaction level, ALL transactions MUST contain a recipient-country or recipient-region element and iati-activity/recipient-country and iati-activity/recipient-region MUST NOT be used.
Rules¶
This element may occur any number of times.
Attributes¶
- @code
ISO 3166-1 alpha-2 code for the country.
This attribute is required.
This value must be of type xsd:string.
This value should be on the Country codelist.
- @percentage
The percentage of total commitments or total activity budget to this item. Content must be a decimal number between 0 and 100 inclusive, with no percentage sign. Percentages for all reported countries and regions within a vocabulary MUST add up to 100.
This value must be of type xsd:decimal.
The sum of values matched at
recipient-country/@percentage
andrecipient-region/@percentage
must be100
.The value of each of the elements described by
recipient-country/@percentage
must be at least0.0
no more than100.0
(inclusive).
Example Usage¶
Example recipient-country
of an iati-activity
.
@code
attribute declares a valid code (AF) from the Country codelist.<recipient-country code="AF" />
recipient-country
element can be repeated in any iati-activity
.recipient-country
are declared, then the @percentage
values should sum to 100% for the specific iati-activity
:<recipient-country code="AF" percentage="50" />
<recipient-country code="AG" percentage="50" />
recipient-region
and recipient-country
, then the @percentage
values should sum to 100% for the specific iati-activity
.<recipient-country code="AF" percentage="50" />
<recipient-region code="489" vocabulary="1" percentage="50" />
Changelog¶
2.01¶
Freetext is no longer allowed with this element. It should now be declared with the new child narrative
element, but only in particular use-cases.
1.03¶
Where used, the @percentage
attribute is now designated as a decimal value and no longer as a positive Integer