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
.
@type
attribute declares a valid code (1) from the RelatedActivityType codelist.@ref
for another iati-activity
of AA-AAA-123456789-6789 is provided. <related-activity ref="AA-AAA-123456789-6789" type="1" />
related-activity
element.Changelog¶
2.01¶
Freetext is no longer allowed within this element.