default-aid-type¶
iati-activities/iati-activity/default-aid-type
This is the reference page for the XML element default-aid-type
.
Definition¶
The type of aid being supplied (project-type intervention, budget support, debt relief, etc.). This element specifies a default for all the activity’s financial transactions; it can be overridden at the individual transaction level.
Rules¶
This element may occur any number of times.
Attributes¶
- @code
A code from the specified vocabulary.
This attribute is required.
This value must be of type xsd:string.
This value must be on the AidType codelist, if the relevant vocabulary is used.
This value must be on the EarmarkingCategory codelist, if the relevant vocabulary is used.
This value must be on the CashandVoucherModalities codelist, if the relevant vocabulary is used.
- @vocabulary
A code for the vocabulary aid-type classifications. If omitted the AidType (OECD DAC) codelist is assumed. The code must be a valid value in the AidTypeVocabulary codelist.
Each selected vocabulary should only be used once for each activity (iati-activity/default-aid-type) or transaction (iati-activity/transaction/aid-type). All activities and/or transactions should contain a code from the DAC Type of Aid Vocabulary. The above guidelines should be converted to rules at the next integer upgrade.
This value must be of type xsd:string.
This value must be on the AidTypeVocabulary codelist.
Example Usage¶
Example default-aid-type
for an iati-activity
.
@code
attribute declares a valid code from the specified codelist.@vocabulary
attribute declares a valid code (1) from the AidTypeVocabulary codelist.<default-aid-type code="A01" vocabulary="1" />
The default-aid-type element can be repeated in any iati-activity.
<default-aid-type code="A01" vocabulary="1" />
<default-aid-type code="1" vocabulary="2" />
The vocabulary is used to declare which AidType list is in use. If omitted, an AidType Vocabulary of 1 (OECD DAC) is assumed.
aid-type
element can override the default-aid-type
value set in iati-activity