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). It is strongly recommended that linkage between activities in a hierarchical group should always be managed by use of this element with @type of 1 (parent) or 2 (child).
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.
- @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.
<related-activity ref="AA-AAA-123456789-6789" type="1" />
Changelog¶
2.01¶
Freetext is no longer allowed within this element.