Attribute '@schemeID' is required in this context.
The required schemeID attribute is missing from ram:GlobalID.
The schemeID attribute identifies the identification scheme for the value in ram:GlobalID. Without this attribute, the identifier's scheme is not specified in the XML structure.
The schemeID attribute, which identifies the identification scheme, is missing from ram:GlobalID. Add the attribute so the identifier is associated with a scheme in the XML structure.
- Find
ram:GlobalIDin the agreement for the invoice line. - Add the
schemeIDattribute toram:GlobalID. - Regenerate the invoice and check it again.
<ram:GlobalID>12345</ram:GlobalID>
<ram:GlobalID schemeID="any-value">12345</ram:GlobalID>
Technical details
In the context of ram:GlobalID, the rule checks whether the @schemeID attribute exists.
The rule applies to the schemeID attribute of ram:GlobalID within the agreement for an invoice line.
rule/@context)assert/@test)