iati-activities/iati-activity/related-activity
This is the reference page for the XML element related-activity
.
Another separately reported IATI activity that is related to this one. The ‘type’ attribute describes the type of relationship: eg. parent, child, multifunded …
This element may occur any number of times.
A valid activity identifier (as defined in iati-activity/iati-identifier).
This attribute is required.
This value must be of type xsd:string.
1.7.1: The related activity identifier should not start or end with spaces or newlines.
An IATI code for the type of relationship
This attribute is required.
This value must be of type xsd:string.
This value must be on the RelatedActivityType codelist.
Example related-activity
of an iati-activity
.
The @type
attribute declares a valid code (1) from the RelatedActivityType codelist.
An example @ref
for another iati-activity
of AA-AAA-123456789-6789 is provided.
<related-activity ref="AA-AAA-123456789-6789" type="1" />
Note: multiple related activities are expressed by repeating the related-activity
element.
Freetext is no longer allowed within this element.
Find the source of this documentation on github: