condition¶
iati-activities/iati-activity/conditions/condition
This is the reference page for the XML element condition.
Definition¶
The text of a specific condition attached to the activity. Organisation-wide terms and conditions that apply to all activities should not be reported here, but in either iati-organisation/document-link or iati-activity-document-link
Rules¶
This element may occur any number of times.
Attributes¶
- @type
An IATI code defining the type of condition.
This attribute is required.
This value must be of type xsd:string.
This value must be on the ConditionType codelist.
Example Usage¶
Example condition child element of conditions of an iati-activity.
The @type attribute declares a valid code (1) from the ConditionType codelist.
<conditions attached="1">
<condition type="1">
<narrative>Conditions text</narrative>
<narrative xml:lang="fr">Conditions texte</narrative>
</condition>
</conditions>
The condition element can be repeated in any conditions of an iati-activity.
Changelog¶
2.01¶
Freetext is no longer allowed with this element. It should now be declared with the new child narrative element.
1.04¶
It was always the intention of the standard that a condition could be specified in different languages but the schema has never allowed it.
This has now been fixed.