Attribute '@schemeID' is required in this context.
The schemeID attribute is missing from ram:GlobalID.
The schemeID attribute identifies the scheme of the global identifier. Without it, the identifier’s scheme is not specified on the element.
The global ship-to party identifier is missing the schemeID attribute. Add it to ram:GlobalID to specify the identifier’s scheme.
- Find
ram:GlobalIDwithinram:ShipToTradeParty. - Add the
schemeIDattribute to theram:GlobalIDelement. - Regenerate the invoice and validate it again.
<ram:GlobalID>123</ram:GlobalID>
<ram:GlobalID schemeID="">123</ram:GlobalID>
Technical details
The @schemeID test requires the attribute to be present on the context node ram:GlobalID.
The rule applies to ram:GlobalID within the ship-to party element ram:ShipToTradeParty.
rule/@context)assert/@test)