Showing:

Annotations
Attributes
Diagrams
Facets
Properties
Source
Used by
Included schema schemaCommon.xsd
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Defines common types that can be used across all legislation and associated documents
Properties
attribute form default unqualified
element form default qualified
version 2.5
Simple Type CategoryType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
Diagram
Facets
enumeration primary
enumeration secondary
enumeration euretained
Used by
Source
<xsd:simpleType name="CategoryType">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="primary"/>
    <xsd:enumeration value="secondary"/>
    <xsd:enumeration value="euretained"/>
  </xsd:restriction>
</xsd:simpleType>
Simple Type DocumentMainType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaCommon_xsd.tmp#DocumentMainTypeBasic
Facets
enumeration EnglandAct
enumeration GreatBritainAct
enumeration IrelandAct
enumeration NorthernIrelandAct
enumeration NorthernIrelandAssemblyMeasure
enumeration NorthernIrelandParliamentAct
enumeration NorthernIrelandOrderInCouncil
enumeration NorthernIrelandDraftOrderInCouncil
enumeration NorthernIrelandStatutoryRule
enumeration NorthernIrelandStatutoryRuleOrOrder
enumeration NorthernIrelandDraftStatutoryRule
enumeration ScottishAct
enumeration ScottishOldAct
enumeration ScottishStatutoryInstrument
enumeration ScottishDraftStatutoryInstrument
enumeration UnitedKingdomChurchInstrument
enumeration UnitedKingdomChurchMeasure
enumeration UnitedKingdomPrivateAct
enumeration UnitedKingdomPublicGeneralAct
enumeration UnitedKingdomLocalAct
enumeration UnitedKingdomPrivateOrPersonalAct
enumeration GreatBritainPrivateOrPersonalAct
enumeration GreatBritainLocalAct
enumeration UnitedKingdomMinisterialDirection
enumeration UnitedKingdomMinisterialOrder
enumeration UnitedKingdomStatutoryInstrument
enumeration UnitedKingdomDraftStatutoryInstrument
enumeration UnitedKingdomStatutoryRuleOrOrder
enumeration WelshParliamentAct
The new name for Acts created in the Welsh parliament following law http://www.legislation.gov.uk/anaw/2020/1/enacted#section-3
enumeration WelshAssemblyMeasure
enumeration WelshNationalAssemblyAct
enumeration WelshStatutoryInstrument
enumeration WelshDraftStatutoryInstrument
enumeration UnitedKingdomImpactAssessment
enumeration EuropeanUnionRegulation
enumeration EuropeanEconomicCommunityRegulation
enumeration EuropeanUnionDirective
enumeration EuropeanUnionTreaty
enumeration EuropeanEconomicCommunityDirective
enumeration EuropeanUnionDecision
enumeration EuropeanEconomicCommunityDecision
enumeration EuropeanUnionCorrigendum
enumeration EuropeanUnionOfficialJournal
enumeration EuropeanUnionOther
Used by
Source
<xsd:simpleType name="DocumentMainType">
  <xsd:restriction base="DocumentMainTypeBasic"/>
</xsd:simpleType>
Simple Type DocumentMainTypeBasic
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
The choice of main document types common across all UK Legislation.
Diagram
Diagram
Facets
enumeration EnglandAct
enumeration GreatBritainAct
enumeration IrelandAct
enumeration NorthernIrelandAct
enumeration NorthernIrelandAssemblyMeasure
enumeration NorthernIrelandParliamentAct
enumeration NorthernIrelandOrderInCouncil
enumeration NorthernIrelandDraftOrderInCouncil
enumeration NorthernIrelandStatutoryRule
enumeration NorthernIrelandStatutoryRuleOrOrder
enumeration NorthernIrelandDraftStatutoryRule
enumeration ScottishAct
enumeration ScottishOldAct
enumeration ScottishStatutoryInstrument
enumeration ScottishDraftStatutoryInstrument
enumeration UnitedKingdomChurchInstrument
enumeration UnitedKingdomChurchMeasure
enumeration UnitedKingdomPrivateAct
enumeration UnitedKingdomPublicGeneralAct
enumeration UnitedKingdomLocalAct
enumeration UnitedKingdomPrivateOrPersonalAct
enumeration GreatBritainPrivateOrPersonalAct
enumeration GreatBritainLocalAct
enumeration UnitedKingdomMinisterialDirection
enumeration UnitedKingdomMinisterialOrder
enumeration UnitedKingdomStatutoryInstrument
enumeration UnitedKingdomDraftStatutoryInstrument
enumeration UnitedKingdomStatutoryRuleOrOrder
enumeration WelshParliamentAct
The new name for Acts created in the Welsh parliament following law http://www.legislation.gov.uk/anaw/2020/1/enacted#section-3
enumeration WelshAssemblyMeasure
enumeration WelshNationalAssemblyAct
enumeration WelshStatutoryInstrument
enumeration WelshDraftStatutoryInstrument
enumeration UnitedKingdomImpactAssessment
enumeration EuropeanUnionRegulation
enumeration EuropeanEconomicCommunityRegulation
enumeration EuropeanUnionDirective
enumeration EuropeanUnionTreaty
enumeration EuropeanEconomicCommunityDirective
enumeration EuropeanUnionDecision
enumeration EuropeanEconomicCommunityDecision
enumeration EuropeanUnionCorrigendum
enumeration EuropeanUnionOfficialJournal
enumeration EuropeanUnionOther
Used by
Simple Type DocumentMainType
Source
<xsd:simpleType name="DocumentMainTypeBasic">
  <xsd:annotation>
    <xsd:documentation>The choice of main document types common across all UK Legislation.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="EnglandAct"/>
    <xsd:enumeration value="GreatBritainAct"/>
    <xsd:enumeration value="IrelandAct"/>
    <xsd:enumeration value="NorthernIrelandAct"/>
    <xsd:enumeration value="NorthernIrelandAssemblyMeasure"/>
    <xsd:enumeration value="NorthernIrelandParliamentAct"/>
    <xsd:enumeration value="NorthernIrelandOrderInCouncil"/>
    <xsd:enumeration value="NorthernIrelandDraftOrderInCouncil"/>
    <xsd:enumeration value="NorthernIrelandStatutoryRule"/>
    <xsd:enumeration value="NorthernIrelandStatutoryRuleOrOrder"/>
    <xsd:enumeration value="NorthernIrelandDraftStatutoryRule"/>
    <xsd:enumeration value="ScottishAct"/>
    <xsd:enumeration value="ScottishOldAct"/>
    <xsd:enumeration value="ScottishStatutoryInstrument"/>
    <xsd:enumeration value="ScottishDraftStatutoryInstrument"/>
    <xsd:enumeration value="UnitedKingdomChurchInstrument"/>
    <xsd:enumeration value="UnitedKingdomChurchMeasure"/>
    <xsd:enumeration value="UnitedKingdomPrivateAct"/>
    <xsd:enumeration value="UnitedKingdomPublicGeneralAct"/>
    <xsd:enumeration value="UnitedKingdomLocalAct"/>
    <xsd:enumeration value="UnitedKingdomPrivateOrPersonalAct"/>
    <xsd:enumeration value="GreatBritainPrivateOrPersonalAct"/>
    <xsd:enumeration value="GreatBritainLocalAct"/>
    <xsd:enumeration value="UnitedKingdomMinisterialDirection"/>
    <xsd:enumeration value="UnitedKingdomMinisterialOrder"/>
    <xsd:enumeration value="UnitedKingdomStatutoryInstrument"/>
    <xsd:enumeration value="UnitedKingdomDraftStatutoryInstrument"/>
    <xsd:enumeration value="UnitedKingdomStatutoryRuleOrOrder"/>
    <xsd:enumeration value="WelshParliamentAct">
      <xsd:annotation>
        <xsd:documentation>The new name for Acts created in the Welsh parliament following law http://www.legislation.gov.uk/anaw/2020/1/enacted#section-3</xsd:documentation>
      </xsd:annotation>
    </xsd:enumeration>
    <xsd:enumeration value="WelshAssemblyMeasure"/>
    <xsd:enumeration value="WelshNationalAssemblyAct"/>
    <xsd:enumeration value="WelshStatutoryInstrument"/>
    <xsd:enumeration value="WelshDraftStatutoryInstrument"/>
    <xsd:enumeration value="UnitedKingdomImpactAssessment"/>
    <xsd:enumeration value="EuropeanUnionRegulation"/>
    <xsd:enumeration value="EuropeanEconomicCommunityRegulation"/>
    <xsd:enumeration value="EuropeanUnionDirective"/>
    <xsd:enumeration value="EuropeanUnionTreaty"/>
    <xsd:enumeration value="EuropeanEconomicCommunityDirective"/>
    <xsd:enumeration value="EuropeanUnionDecision"/>
    <xsd:enumeration value="EuropeanEconomicCommunityDecision"/>
    <xsd:enumeration value="EuropeanUnionCorrigendum"/>
    <xsd:enumeration value="EuropeanUnionOfficialJournal"/>
    <xsd:enumeration value="EuropeanUnionOther"/>
    <!-- deprecated see #113007733 
				Data to be changed to "EuropeanUnionOther" by #162038035
			Allow these in publication schema but not in others... 
			<xsd:enumeration value="EuropeanUnion"/>
			<xsd:enumeration value="EuropeanEconomicCommunity"/>
			<xsd:enumeration value="EuropeanCommission"/>
			
			The following are deprecated everywhere except in historical publications data
			<xsd:enumeration value="NorthernIrelandStatutoryRuleLocal"/>
			<xsd:enumeration value="ScottishStatutoryInstrumentLocal"/>
			<xsd:enumeration value="WelshStatutoryInstrumentLocal"/>  -->
  </xsd:restriction>
</xsd:simpleType>
Simple Type UKMinorType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
UK minor document types.
Diagram
Diagram
Facets
enumeration order
enumeration regulation
enumeration rule
enumeration scheme
enumeration resolution
enumeration unknown
Used by
Source
<xsd:simpleType name="UKMinorType">
  <xsd:annotation>
    <xsd:documentation>UK minor document types.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="order"/>
    <xsd:enumeration value="regulation"/>
    <xsd:enumeration value="rule"/>
    <xsd:enumeration value="scheme"/>
    <xsd:enumeration value="resolution"/>
    <xsd:enumeration value="unknown"/>
  </xsd:restriction>
</xsd:simpleType>
Simple Type ExtentType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations

Valid Extent Types

  • E = England
  • W = Wales
  • S = Scotland
  • N.I. = Northern Ireland
  • E.U. = European Union
  • + = combines
Diagram
Diagram
Facets
enumeration E
enumeration W
enumeration S
enumeration N.I.
enumeration E+W
enumeration E+S
enumeration E+N.I.
enumeration W+S
enumeration W+N.I.
enumeration S+N.I.
enumeration E+W+S
enumeration E+W+N.I.
enumeration W+S+N.I.
enumeration E+W+S+N.I.
enumeration E.U.
enumeration E+E.U.
enumeration W+E.U.
enumeration E+W+E.U.
enumeration S+E.U.
enumeration E+S+E.U.
enumeration W+S+E.U.
enumeration E+W+S+E.U.
enumeration N.I.+E.U.
enumeration E+N.I.+E.U.
enumeration W+N.I.+E.U.
enumeration E+W+N.I.+E.U.
enumeration S+N.I.+E.U.
enumeration E+S+N.I.+E.U.
enumeration W+S+N.I.+E.U.
enumeration E+W+S+N.I.+E.U.
Used by
Source
<xsd:simpleType name="ExtentType">
  <xsd:annotation>
    <xsd:documentation xmlns:h="http://www.w3.org/1999/xhtml">
      <h:p>Valid Extent Types</h:p>
      <h:ul>
        <h:li>E = England</h:li>
        <h:li>W = Wales</h:li>
        <h:li>S = Scotland</h:li>
        <h:li>N.I. = Northern Ireland</h:li>
        <h:li>E.U. = European Union</h:li>
        <h:li>+ = combines</h:li>
      </h:ul>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:token">
    <xsd:enumeration value="E"/>
    <xsd:enumeration value="W"/>
    <xsd:enumeration value="S"/>
    <xsd:enumeration value="N.I."/>
    <xsd:enumeration value="E+W"/>
    <xsd:enumeration value="E+S"/>
    <xsd:enumeration value="E+N.I."/>
    <xsd:enumeration value="W+S"/>
    <xsd:enumeration value="W+N.I."/>
    <xsd:enumeration value="S+N.I."/>
    <xsd:enumeration value="E+W+S"/>
    <xsd:enumeration value="E+W+N.I."/>
    <xsd:enumeration value="W+S+N.I."/>
    <xsd:enumeration value="E+W+S+N.I."/>
    <xsd:enumeration value="E.U."/>
    <xsd:enumeration value="E+E.U."/>
    <xsd:enumeration value="W+E.U."/>
    <xsd:enumeration value="E+W+E.U."/>
    <xsd:enumeration value="S+E.U."/>
    <xsd:enumeration value="E+S+E.U."/>
    <xsd:enumeration value="W+S+E.U."/>
    <xsd:enumeration value="E+W+S+E.U."/>
    <xsd:enumeration value="N.I.+E.U."/>
    <xsd:enumeration value="E+N.I.+E.U."/>
    <xsd:enumeration value="W+N.I.+E.U."/>
    <xsd:enumeration value="E+W+N.I.+E.U."/>
    <xsd:enumeration value="S+N.I.+E.U."/>
    <xsd:enumeration value="E+S+N.I.+E.U."/>
    <xsd:enumeration value="W+S+N.I.+E.U."/>
    <xsd:enumeration value="E+W+S+N.I.+E.U."/>
  </xsd:restriction>
</xsd:simpleType>
Simple Type AffectingExtentType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Choice of extents plus 'Same as affected'
Diagram
DiagramschemaCommon_xsd.tmp#ExtentType
Used by
Source
<xsd:simpleType name="AffectingExtentType">
  <xsd:annotation>
    <xsd:documentation>Choice of extents plus 'Same as affected'</xsd:documentation>
  </xsd:annotation>
  <xsd:union memberTypes="ExtentType">
    <xsd:simpleType>
      <xsd:restriction base="xsd:string">
        <xsd:enumeration value="Same as affected"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:union>
</xsd:simpleType>
Simple Type CategoryUnknownType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaCommon_xsd.tmp#CategoryType
Used by
Source
<xsd:simpleType name="CategoryUnknownType">
  <xsd:union memberTypes="CategoryType">
    <xsd:simpleType>
      <xsd:restriction base="xsd:string">
        <xsd:enumeration value="unknown"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:union>
</xsd:simpleType>
Simple Type MinorType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Combination of UK and EU minor document types.
Diagram
DiagramschemaCommon_xsd.tmp#UKMinorTypeschemaCommon_xsd.tmp#EUMinorType
Used by
Source
<xsd:simpleType name="MinorType">
  <xsd:annotation>
    <xsd:documentation>Combination of UK and EU minor document types.</xsd:documentation>
  </xsd:annotation>
  <xsd:union memberTypes="UKMinorType EUMinorType"/>
</xsd:simpleType>
Simple Type DocumentMainTypeDeprecated
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Old deprecated values of main document types for UK Legislation. Not to be used in updated or new data but may be present in old data.
Diagram
Diagram
Facets
enumeration EuropeanUnion
enumeration EuropeanEconomicCommunity
enumeration EuropeanCommission
enumeration NorthernIrelandStatutoryRuleLocal
enumeration ScottishStatutoryInstrumentLocal
enumeration WelshStatutoryInstrumentLocal
enumeration UnitedKingdomStatutoryInstrumentLocal
Source
<xsd:simpleType name="DocumentMainTypeDeprecated">
  <xsd:annotation>
    <xsd:documentation>Old deprecated values of main document types for UK Legislation. Not to be used in updated or new data but may be present in old data.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="EuropeanUnion"/>
    <xsd:enumeration value="EuropeanEconomicCommunity"/>
    <xsd:enumeration value="EuropeanCommission"/>
    <xsd:enumeration value="NorthernIrelandStatutoryRuleLocal"/>
    <xsd:enumeration value="ScottishStatutoryInstrumentLocal"/>
    <xsd:enumeration value="WelshStatutoryInstrumentLocal"/>
    <xsd:enumeration value="UnitedKingdomStatutoryInstrumentLocal"/>
  </xsd:restriction>
</xsd:simpleType>
Simple Type EUMinorType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
EU minor document types.
Diagram
Diagram
Facets
enumeration euregulation
enumeration eudecision
enumeration eudirective
enumeration eutreaty
Source
<xsd:simpleType name="EUMinorType">
  <xsd:annotation>
    <xsd:documentation>EU minor document types.</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="euregulation"/>
    <xsd:enumeration value="eudecision"/>
    <xsd:enumeration value="eudirective"/>
    <xsd:enumeration value="eutreaty"/>
  </xsd:restriction>
</xsd:simpleType>
Attribute OptionalURIs / @DocumentURI
Namespace No namespace
Annotations
The URI to this part of the document (to the enacted version).
Properties
content simple
Used by
Attribute Group OptionalURIs
Source
<xsd:attribute name="DocumentURI" type="xsd:anyURI">
  <xsd:annotation>
    <xsd:documentation>The URI to this part of the document (to the enacted version).</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute OptionalURIs / @IdURI
Namespace No namespace
Annotations
The URI to the id of this part of the document (to the current revised version).
Properties
content simple
Used by
Attribute Group OptionalURIs
Source
<xsd:attribute name="IdURI" type="xsd:anyURI">
  <xsd:annotation>
    <xsd:documentation>The URI to the id of this part of the document (to the current revised version).</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute SchemaVersion / @SchemaVersion
Namespace No namespace
Properties
use optional
default 2.2
Facets
enumeration 1.0
enumeration 2.0
enumeration 2.1
enumeration 2.2
Used by
Attribute Group SchemaVersion
Source
<xsd:attribute name="SchemaVersion" use="optional" default="2.2">
  <xsd:simpleType>
    <xsd:restriction base="xsd:NMTOKEN">
      <xsd:enumeration value="1.0"/>
      <xsd:enumeration value="2.0"/>
      <xsd:enumeration value="2.1"/>
      <xsd:enumeration value="2.2"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute MandatoryURIs / @DocumentURI
Namespace No namespace
Annotations
The URI to this part of the document (to the enacted version).
Properties
use required
Used by
Attribute Group MandatoryURIs
Source
<xsd:attribute name="DocumentURI" type="xsd:anyURI" use="required">
  <xsd:annotation>
    <xsd:documentation>The URI to this part of the document (to the enacted version).</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute MandatoryURIs / @IdURI
Namespace No namespace
Annotations
The URI to the id of this part of the document (to the current revised version).
Properties
use required
Used by
Attribute Group MandatoryURIs
Source
<xsd:attribute name="IdURI" type="xsd:anyURI" use="required">
  <xsd:annotation>
    <xsd:documentation>The URI to the id of this part of the document (to the current revised version).</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Group OptionalURIs
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaCommon_xsd.tmp#OptionalURIs_DocumentURIschemaCommon_xsd.tmp#OptionalURIs_IdURI
Used by
Attributes
QName Type Use Annotation
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Source
<xsd:attributeGroup name="OptionalURIs">
  <xsd:attribute name="DocumentURI" type="xsd:anyURI">
    <xsd:annotation>
      <xsd:documentation>The URI to this part of the document (to the enacted version).</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="IdURI" type="xsd:anyURI">
    <xsd:annotation>
      <xsd:documentation>The URI to the id of this part of the document (to the current revised version).</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:attributeGroup>
Attribute Group SchemaVersion
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Can be used to indicate the version of the schema to which the document pertains.
Diagram
DiagramschemaCommon_xsd.tmp#SchemaVersion_SchemaVersion
Used by
Element Legislation
Attributes
QName Type Default Use
SchemaVersion restriction of xsd:NMTOKEN 2.2 optional
Source
<xsd:attributeGroup name="SchemaVersion">
  <xsd:annotation>
    <xsd:documentation>Can be used to indicate the version of the schema to which the document pertains.</xsd:documentation>
  </xsd:annotation>
  <!--<xsd:attribute name="SchemaVersion" type="xsd:NMTOKEN" use="required" fixed="1.0"/>-->
  <xsd:attribute name="SchemaVersion" use="optional" default="2.2">
    <xsd:simpleType>
      <xsd:restriction base="xsd:NMTOKEN">
        <xsd:enumeration value="1.0"/>
        <xsd:enumeration value="2.0"/>
        <xsd:enumeration value="2.1"/>
        <xsd:enumeration value="2.2"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:attribute>
</xsd:attributeGroup>
Attribute Group MandatoryURIs
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaCommon_xsd.tmp#MandatoryURIs_DocumentURIschemaCommon_xsd.tmp#MandatoryURIs_IdURI
Attributes
QName Type Use Annotation
DocumentURI xsd:anyURI required
The URI to this part of the document (to the enacted version).
IdURI xsd:anyURI required
The URI to the id of this part of the document (to the current revised version).
Source
<xsd:attributeGroup name="MandatoryURIs">
  <xsd:attribute name="DocumentURI" type="xsd:anyURI" use="required">
    <xsd:annotation>
      <xsd:documentation>The URI to this part of the document (to the enacted version).</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="IdURI" type="xsd:anyURI" use="required">
    <xsd:annotation>
      <xsd:documentation>The URI to the id of this part of the document (to the current revised version).</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:attributeGroup>