related-activity
iati-activities/iati-activity/related-activity
This is the reference page for the XML element related-activity
.
Definition
Another separately reported IATI activity that is related to this one. The ‘type’ attribute describes the type of relationship: eg. parent, child, multifunded …
Rules
This element may occur any number of times.
Attributes
- @ref
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.
- @type
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 Usage
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.
Changelog
2.01
Freetext is no longer allowed within this element.
Developer tools
Find the source of this documentation on github: