Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in the manufacturer's ram:PostalTradeAddress.
A country subdivision, such as a region or state, is provided no more than once in this address.
The product manufacturer's postal address contains the country subdivision more than once. You can resolve this by limiting the information to no more than one element.
- Locate the postal address under
ram:ManufacturerTradeParty. - Check the number of
ram:CountrySubDivisionNameelements. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Region A</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>Region B</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Region A</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technical details
The check verifies that there is no more than one direct ram:CountrySubDivisionName element in ram:PostalTradeAddress. The element may also be absent.
The rule applies to the manufacturer's postal address for a product within an invoice line.
rule/@context)assert/@test)