<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>
<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>
<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>
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
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>
<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: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>
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>
<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>
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>