pwyf / 2024-Index-indicator-definitions

the rule-set test Index consultation for the 2024 Index
0 stars 0 forks source link

Unique ID #24

Closed publishwhatyoufund closed 1 year ago

publishwhatyoufund commented 1 year ago

Description

The activity identifier is a unique reference ID for the activity, e.g. a project number.

Current test

Firstly:

For each current activity, `iati-identifier` should be present

Secondly:

For each current activity,
either:
`iati-identifier/text()`
should start w​ith `reporting-org/@ref`
o​r
`iati-identifier/text()`
should start w​ith `other-identifier[@type="B1"]/@ref`

Example

If the reporting-org is 44000 then the following example would pass the test: <iati-identifier>44000-P126875</iati-identifier>

While this example would not pass the test: <iati-identifier>P126875</iati-identifier>