Skip to content

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

@amy-silcock

Description

@amy-silcock

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions