XML Schema Definition (XSD) is a language, published as a recommendation of the World Wide Web Consortium, for describing what an XML document may contain. An XSD file lists the allowed elements and attributes, their order, how often each may appear, and their data types, such as dates, decimals or codes from a fixed list. Software can then validate a document against the schema and reject anything that does not conform.
In payments XSD is central to ISO 20022. Each ISO 20022 message, such as pain.001 for customer credit transfer initiation or pacs.008 for interbank transfers, is published with an XSD, and the version is part of the message identifier, as in pain.001.001.09. Payment schemes and market infrastructures publish their own restricted schemas, and the European Payments Council issues XSDs for SEPA messages. Banks validate incoming files against the right schema version before processing.
Ref 1130000652