-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
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.
Please could this be added?
Metadata
Metadata
Assignees
Labels
No labels