Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing rule - provider/receiver name or ref must be provided #315

Open
amy-silcock opened this issue Jan 13, 2020 · 0 comments
Open

Missing rule - provider/receiver name or ref must be provided #315

amy-silcock opened this issue Jan 13, 2020 · 0 comments

Comments

@amy-silcock
Copy link
Collaborator

Hi AidStream,

There's a missing rule which occurs twice in the <transaction> and <planned-disbursement> elements. It occurs for both <receiver-org> and <provider-org>.

The rule is found for @ref attribute:

Machine-readable identification string for the organisation issuing the report. Must be in the format {RegistrationAgency}-{RegistrationNumber} where {RegistrationAgency} is a valid code in the Organisation Registration Agency code list and {RegistrationNumber} is a valid identifier issued by the {RegistrationAgency}. If this is not present then the narrative MUST contain the name of the organisation.

This value must be of type xsd:string.

Either transaction/provider-org/@ref or transaction/provider-org/narrative must be present.

transaction/provider-org/@ref should match the regex [^\/\&\|\?]+

Either @ref or narrative must be present.

IF a <provider-org> or a <receiver-org> element gets published. Then the element must contain either the @ref attribute or the <narrative> element.

See: http://reference.iatistandard.org/203/activity-standard/iati-activities/iati-activity/transaction/provider-org/

Please could this be added?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant