Legislation.gov.uk data reuse documentation

The legislation.gov.uk data model

Legislation.gov.uk provides many different kinds of data about different things. Our data model describes how the things relate to one another and how we represent information about them in our data.

The key concepts we represent in our data are:

URIs (Uniform Resource Identifiers)

We identify things in our data using URIs (short for “uniform resource identifier”). A URI is an identifier that looks like an address of a page or resource on a website. In many cases these URIs are functioning web addresses: we say that it is possible to resolve these URIs, which means that if you open the URI in a web browser or other suitable application, you can get a page or resource that represents the thing that the URI identifies.

The following are examples of legislation.gov.uk URIs:

A URI identifies the same item or resource across legislation.gov.uk. Whatever part of our data set you use, a given URI will always refer to the same thing.

All our URIs start with http://www.legislation.gov.uk/ and follow a consistent URI scheme. You can find out more about the URIs for each type of data (legislation, versions and effects) in the section linked above for that type, and about the scheme in general in the URI scheme reference section of the guide.