Also known as: XML Schema; XSD 1.1

Theme

Data & Technology

Status

Established

Description

XML Schema (XSD) helps organisations and standards bodies that exchange data in XML to define exactly what a valid XML document should contain, so that systems can check documents automatically and exchange data reliably.

Many UK data standards are published as XML schemas, such as TransXChange for bus timetables and the Multi-Agency Incident Transfer standard for emergency services.

The standard provides a language for describing the elements and attributes an XML document may contain, the order they must appear in, how many times they can occur and what type of data each holds, such as dates, numbers or text in a particular pattern. Software can use a schema to check documents and generate code.

XSD 1.1 became a W3C Recommendation in 2012; version 1.0 is still widely used.

Licence

W3C Document License

Steward

W3C

Committee

W3C XML Schema Working Group (closed)

Metadata last updated

2 December 2026