Showing:

Annotations
Attributes
Diagrams
Facets
Instances
Model
Properties
Source
Used by
Imported schema schemaLegislationMetadata.xsd
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Describes legislation metadata
Properties
attribute form default unqualified
element form default qualified
version 2.6
Element Metadata
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A container for the metadata of the document.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#PrimaryMetadataschemaLegislationMetadata_xsd.tmp#SecondaryMetadataschemaLegislationMetadataEU_xsd.tmp#EUMetadataschemaLegislationMetadata_xsd.tmp#SupersededByschemaLegislationMetadata_xsd.tmp#SupersedesschemaLegislationMetadata_xsd.tmp#ConfersPowerschemaLegislationMetadata_xsd.tmp#BlanketAmendmentschemaLegislationMetadata_xsd.tmp#NotesschemaLegislationMetadata_xsd.tmp#PolicyEqualityStatementsschemaLegislationMetadata_xsd.tmp#AlternativesschemaLegislationMetadata_xsd.tmp#CorrectionSlipsschemaLegislationMetadata_xsd.tmp#CodesOfPracticeschemaLegislationMetadata_xsd.tmp#CodesOfConductschemaLegislationMetadata_xsd.tmp#TablesOfOriginsschemaLegislationMetadata_xsd.tmp#TablesOfDestinationsschemaLegislationMetadata_xsd.tmp#OrdersInCouncilschemaLegislationMetadata_xsd.tmp#ImpactAssessmentsschemaLegislationMetadata_xsd.tmp#OtherDocumentsschemaLegislationMetadata_xsd.tmp#ExplanatoryDocumentsschemaLegislationMetadata_xsd.tmp#TranspositionNotesschemaLegislationMetadata_xsd.tmp#UKRPCOpinionsschemaLegislationMetadata_xsd.tmp#AlterschemaLegislationMetadata_xsd.tmp#StatisticsschemaLegislationMetadata_xsd.tmp#LegislationMetadata
Properties
content complex
Used by
Element Legislation
Model
Children Alternatives, BlanketAmendment, CodesOfConduct, CodesOfPractice, ConfersPower, CorrectionSlips, EUMetadata, ExplanatoryDocuments, ImpactAssessments, Notes, OrdersInCouncil, OtherDocuments, PolicyEqualityStatements, PrimaryMetadata, SecondaryMetadata, Statistics, SupersededBy, Supersedes, TablesOfDestinations, TablesOfOrigins, TranspositionNotes, UKRPCOpinions
Instance
<Metadata xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <PrimaryMetadata>{1,1}</PrimaryMetadata>
  <SecondaryMetadata>{1,1}</SecondaryMetadata>
  <EUMetadata>{1,1}</EUMetadata>
  <SupersededBy URI="">{0,1}</SupersededBy>
  <Supersedes URI="">{0,1}</Supersedes>
  <ConfersPower IdURI="" title="">{0,unbounded}</ConfersPower>
  <BlanketAmendment IdURI="" title="">{0,unbounded}</BlanketAmendment>
  <Notes>{1,1}</Notes>
  <PolicyEqualityStatements>{1,1}</PolicyEqualityStatements>
  <Alternatives>{1,1}</Alternatives>
  <CorrectionSlips>{1,1}</CorrectionSlips>
  <CodesOfPractice>{1,1}</CodesOfPractice>
  <CodesOfConduct>{1,1}</CodesOfConduct>
  <TablesOfOrigins>{1,1}</TablesOfOrigins>
  <TablesOfDestinations>{1,1}</TablesOfDestinations>
  <OrdersInCouncil>{1,1}</OrdersInCouncil>
  <ImpactAssessments>{1,1}</ImpactAssessments>
  <OtherDocuments>{1,1}</OtherDocuments>
  <ExplanatoryDocuments>{1,1}</ExplanatoryDocuments>
  <TranspositionNotes>{1,1}</TranspositionNotes>
  <UKRPCOpinions>{1,1}</UKRPCOpinions>
  <Statistics>{0,1}</Statistics>
</Metadata>
Source
<xsd:element name="Metadata">
  <xsd:annotation>
    <xsd:documentation>A container for the metadata of the document.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:group ref="leg:StandardMetadata"/>
      <xsd:group ref="LegislationMetadata"/>
      <xsd:group ref="leg:ExtraMetadata"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element PrimaryMetadata
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for primary legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#DocumentClassificationschemaLegislationMetadata_xsd.tmp#YearschemaLegislationMetadata_xsd.tmp#NumberschemaLegislationMetadata_xsd.tmp#ISBNschemaLegislationMetadata_xsd.tmp#AlternativeNumberschemaLegislationMetadata_xsd.tmp#EnactmentDateschemaLegislationMetadata_xsd.tmp#ComingIntoForceschemaLegislationMetadata_xsd.tmp#UnappliedEffectsschemaLegislationMetadata_xsd.tmp#Citations
Properties
content complex
Used by
Element Group LegislationMetadata
Model
Children AlternativeNumber, Citations, ComingIntoForce, DocumentClassification, EnactmentDate, ISBN, Number, UnappliedEffects, Year
Instance
<PrimaryMetadata xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <DocumentClassification>{1,1}</DocumentClassification>
  <Year Value="">{1,1}</Year>
  <Number Value="">{1,1}</Number>
  <ISBN Value="">{0,1}</ISBN>
  <AlternativeNumber Category="" Value="">{0,1}</AlternativeNumber>
  <EnactmentDate Date="">{0,1}</EnactmentDate>
  <ComingIntoForce>{0,1}</ComingIntoForce>
  <UnappliedEffects>{0,1}</UnappliedEffects>
  <Citations>{0,1}</Citations>
</PrimaryMetadata>
Source
<xsd:element name="PrimaryMetadata">
  <xsd:annotation>
    <xsd:documentation>Metadata for primary legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:all>
      <xsd:element ref="DocumentClassification"/>
      <xsd:element ref="Year"/>
      <xsd:element ref="Number"/>
      <xsd:element ref="ISBN" minOccurs="0"/>
      <xsd:element ref="AlternativeNumber" minOccurs="0"/>
      <xsd:element ref="EnactmentDate" minOccurs="0"/>
      <xsd:element ref="ComingIntoForce" minOccurs="0"/>
      <xsd:element ref="UnappliedEffects" minOccurs="0"/>
      <xsd:element ref="Citations" minOccurs="0"/>
    </xsd:all>
  </xsd:complexType>
</xsd:element>
Element DocumentClassification
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A container for information about the document class.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#DocumentCategoryschemaLegislationMetadata_xsd.tmp#DocumentMainTypeschemaLegislationMetadata_xsd.tmp#DocumentClassification_DocumentStatusschemaLegislationMetadata_xsd.tmp#DocumentClassification_DocumentMinorType
Properties
content complex
Used by
Model
Children DocumentCategory, DocumentMainType, DocumentMinorType, DocumentStatus
Instance
<DocumentClassification xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <DocumentCategory Value="">{1,1}</DocumentCategory>
  <DocumentMainType Value="">{1,1}</DocumentMainType>
  <DocumentStatus Value="">{1,1}</DocumentStatus>
  <DocumentMinorType Value="">{0,1}</DocumentMinorType>
</DocumentClassification>
Source
<xsd:element name="DocumentClassification">
  <xsd:annotation>
    <xsd:documentation>A container for information about the document class.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="DocumentCategory"/>
      <xsd:element ref="DocumentMainType"/>
      <xsd:element name="DocumentStatus">
        <xsd:annotation>
          <xsd:documentation>Defines the status (or stage) of the document. For secondary legislation this will be draft or final. For primary legislation this will be Bill or Act. Note Bills are not part of the scope at present.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:attribute name="Value" use="required">
            <xsd:simpleType>
              <xsd:restriction base="xsd:string">
                <xsd:enumeration value="draft"/>
                <xsd:enumeration value="final"/>
                <xsd:enumeration value="revised"/>
                <xsd:enumeration value="proposed"/>
              </xsd:restriction>
            </xsd:simpleType>
          </xsd:attribute>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="DocumentMinorType" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>Defines the subtype of the document. This currently only applies to secondary legislation</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:attribute name="Value" type="leg:UKMinorType" use="required"/>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element DocumentCategory
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Defines the category of the document. Currently the only possibilities are primary, secondary and euretained.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#DocumentCategory_Value
Properties
content complex
Used by
Attributes
QName Type Use
Value CategoryType required
Source
<xsd:element name="DocumentCategory">
  <xsd:annotation>
    <xsd:documentation>Defines the category of the document. Currently the only possibilities are primary, secondary and euretained.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <!-- As part of #172192631 remove duplication of enumerated lists by re-using a common type -->
    <xsd:attribute name="Value" type="leg:CategoryType" use="required"/>
  </xsd:complexType>
</xsd:element>
Element DocumentMainType
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Defines the set of document types of UK legislation and legislation of EU origin that are available on Legislation.gov.uk
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#DocumentMainType_Value
Properties
content complex
Used by
Attributes
QName Type Use
Value DocumentMainType required
Source
<xsd:element name="DocumentMainType">
  <xsd:annotation>
    <xsd:documentation>Defines the set of document types of UK legislation and legislation of EU origin that are available on Legislation.gov.uk</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="leg:DocumentMainType" use="required"/>
  </xsd:complexType>
</xsd:element>
Element DocumentClassification / DocumentStatus
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Defines the status (or stage) of the document. For secondary legislation this will be draft or final. For primary legislation this will be Bill or Act. Note Bills are not part of the scope at present.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#DocumentClassification_DocumentClassification_DocumentStatus_Value
Properties
content complex
Attributes
QName Type Use
Value restriction of xsd:string required
Source
<xsd:element name="DocumentStatus">
  <xsd:annotation>
    <xsd:documentation>Defines the status (or stage) of the document. For secondary legislation this will be draft or final. For primary legislation this will be Bill or Act. Note Bills are not part of the scope at present.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" use="required">
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="draft"/>
          <xsd:enumeration value="final"/>
          <xsd:enumeration value="revised"/>
          <xsd:enumeration value="proposed"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element DocumentClassification / DocumentMinorType
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Defines the subtype of the document. This currently only applies to secondary legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#DocumentClassification_DocumentClassification_DocumentMinorType_Value
Properties
content complex
minOccurs 0
Attributes
QName Type Use
Value UKMinorType required
Source
<xsd:element name="DocumentMinorType" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Defines the subtype of the document. This currently only applies to secondary legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="leg:UKMinorType" use="required"/>
  </xsd:complexType>
</xsd:element>
Element Year
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
For primary legislation it is the year of enactment. For secondary legislation it is related to the making of the document and the date of registration.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Year_Value
Properties
content complex
Used by
Attributes
QName Type Use
Value xsd:string required
Source
<xsd:element name="Year">
  <xsd:annotation>
    <xsd:documentation>For primary legislation it is the year of enactment. For secondary legislation it is related to the making of the document and the date of registration.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="xsd:string" use="required"/>
  </xsd:complexType>
</xsd:element>
Element Number
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
The number associated with the document. For primary legislation this will be the chapter number, for secondary legislation it will be the registered number and for EU legislation it will be the number originally assigned by the European Publications Office.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Number_Value
Properties
content complex
Used by
Attributes
QName Type Use
Value xsd:string required
Source
<xsd:element name="Number">
  <xsd:annotation>
    <xsd:documentation>The number associated with the document. For primary legislation this will be the chapter number, for secondary legislation it will be the registered number and for EU legislation it will be the number originally assigned by the European Publications Office.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="xsd:string" use="required"/>
  </xsd:complexType>
</xsd:element>
Element ISBN
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
The ISBN of the document
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#ISBN_Value
Properties
content complex
Used by
Attributes
QName Type Use
Value xsd:string required
Source
<xsd:element name="ISBN">
  <xsd:annotation>
    <xsd:documentation>The ISBN of the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="xsd:string" use="required"/>
  </xsd:complexType>
</xsd:element>
Element AlternativeNumber
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
For pre-1963 primary legislation, the regnal year of the document. For secondary legislation, a subsidiary number for the document in an alternative numbering series (such as the Legal or Commencement series).
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlternativeNumber_CategoryschemaLegislationMetadata_xsd.tmp#AlternativeNumber_Value
Properties
content complex
Used by
Attributes
QName Type Use Annotation
Category xsd:string required

The values that should be used in the Category attribute of this element are:

  • C - Commencement and/or Appointed Day orders that bring into force an Act or part of an Act
  • L - Legal series
  • S - Scottish series
  • NI - Northern Ireland series
  • W - National Assembly for Wales series. Where the document is in Welsh the value will be Cy
  • Regnal - Indicates the number is a regnal year
Value xsd:string required
Holds the actual number/text for the AlternativeNumber.
Instance
Source
<xsd:element name="AlternativeNumber">
  <xsd:annotation>
    <xsd:documentation>For pre-1963 primary legislation, the regnal year of the document. For secondary legislation, a subsidiary number for the document in an alternative numbering series (such as the Legal or Commencement series).</xsd:documentation>
    <xsd:documentation>
      <ci:include xmlns:ci="http://macksol.co.uk/include" href="rgAlternativeNumber.png" source="output"/>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Category" type="xsd:string" use="required">
      <xsd:annotation>
        <xsd:documentation>
          <h:p>The values that should be used in the Category attribute of this element are:</h:p>
          <h:ul>
            <h:li>C - Commencement and/or Appointed Day orders that bring into force an Act or part of an Act</h:li>
            <h:li>L - Legal series</h:li>
            <h:li>S - Scottish series</h:li>
            <h:li>NI - Northern Ireland series</h:li>
            <h:li>W - National Assembly for Wales series. Where the document is in Welsh the value will be Cy</h:li>
            <h:li>Regnal - Indicates the number is a regnal year</h:li>
          </h:ul>
        </xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="Value" type="xsd:string" use="required">
      <xsd:annotation>
        <xsd:documentation>Holds the actual number/text for the AlternativeNumber.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element EnactmentDate
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Date of enactment (used in primary legislation)
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#EnactmentDate_Date
Properties
content complex
Used by
Attributes
QName Type Use
Date xsd:date required
Source
<xsd:element name="EnactmentDate">
  <xsd:annotation>
    <xsd:documentation>Date of enactment (used in primary legislation)</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Date" type="xsd:date" use="required"/>
  </xsd:complexType>
</xsd:element>
Element ComingIntoForce
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Contains one or more DateTime elements, each of which can store a date and (optionally) time. If desired, the different dates stated within the document when parts of the legislation come into force can be stored using this mechanism.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#ComingIntoForce_DateTime
Properties
content complex
Used by
Model
Children DateTime
Instance
Source
<xsd:element name="ComingIntoForce">
  <xsd:annotation>
    <xsd:documentation>Contains one or more DateTime elements, each of which can store a date and (optionally) time. If desired, the different dates stated within the document when parts of the legislation come into force can be stored using this mechanism.</xsd:documentation>
    <xsd:documentation>
      <ci:include xmlns:ci="http://macksol.co.uk/include" href="rgComingIntoForce.png" source="output"/>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence maxOccurs="unbounded">
      <xsd:element name="DateTime">
        <xsd:complexType>
          <xsd:attribute name="Date" type="xsd:date" use="required"/>
          <xsd:attribute name="Time" type="xsd:time"/>
        </xsd:complexType>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element ComingIntoForce / DateTime
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#ComingIntoForce_ComingIntoForce_DateTime_DateschemaLegislationMetadata_xsd.tmp#ComingIntoForce_ComingIntoForce_DateTime_Time
Properties
content complex
Attributes
QName Type Use
Date xsd:date required
Time xsd:time optional
Source
<xsd:element name="DateTime">
  <xsd:complexType>
    <xsd:attribute name="Date" type="xsd:date" use="required"/>
    <xsd:attribute name="Time" type="xsd:time"/>
  </xsd:complexType>
</xsd:element>
Element UnappliedEffects
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Lists any effects from legislation that have not yet been applied to the content of the document.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#UnappliedEffect
Properties
content complex
Used by
Model
Children UnappliedEffect
Instance
<UnappliedEffects xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <UnappliedEffect Affected="" AffectedClass="" AffectedEffectsExtent="" AffectedExtent="" AffectedExtentSections="" AffectedNumber="" AffectedProvisions="" AffectedTerritorialApplication="" AffectedURI="" AffectedYear="" AffectingClass="" AffectingCommencementSections="" AffectingEffectsExtent="" AffectingExtent="" AffectingExtentSections="" AffectingNumber="" AffectingProvisions="" AffectingRoyalAssent="" AffectingTerritorialApplication="" AffectingURI="" AffectingYear="" AppendedCommentary="" AppliedModified="" Comments="" Created="" EffectId="" Index="" Modified="" New="" NewRandomSeq="" Notes="" RequiresApplied="" RequiresWelshApplied="" Row="" Type="" TypeNotes="" URI="">{1,1}</UnappliedEffect>
</UnappliedEffects>
Source
<xsd:element name="UnappliedEffects">
  <xsd:annotation>
    <xsd:documentation>Lists any effects from legislation that have not yet been applied to the content of the document.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence maxOccurs="unbounded">
      <xsd:element ref="UnappliedEffect"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element UnappliedEffect
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Defines an effect from another piece of legislation on this item of legislation (currently generated from effects spreadsheet).
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#EffectType_NewschemaLegislationMetadata_xsd.tmp#EffectType_TypeschemaLegislationMetadata_xsd.tmp#EffectType_TypeNotesschemaLegislationMetadata_xsd.tmp#EffectType_NotesschemaLegislationMetadata_xsd.tmp#EffectType_CommentsschemaLegislationMetadata_xsd.tmp#EffectType_AffectingURIschemaLegislationMetadata_xsd.tmp#EffectType_AffectingClassschemaLegislationMetadata_xsd.tmp#EffectType_AffectingYearschemaLegislationMetadata_xsd.tmp#EffectType_AffectingNumberschemaLegislationMetadata_xsd.tmp#NO_NAMESPACE_EffectType_AffectingProvisionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectedURIschemaLegislationMetadata_xsd.tmp#EffectType_AffectedClassschemaLegislationMetadata_xsd.tmp#EffectType_AffectedYearschemaLegislationMetadata_xsd.tmp#EffectType_AffectedNumberschemaLegislationMetadata_xsd.tmp#NO_NAMESPACE_EffectType_AffectedProvisionsschemaLegislationMetadata_xsd.tmp#EffectType_IndexschemaLegislationMetadata_xsd.tmp#EffectType_RowschemaLegislationMetadata_xsd.tmp#EffectType_ModifiedschemaLegislationMetadata_xsd.tmp#EffectType_AppliedModifiedschemaLegislationMetadata_xsd.tmp#EffectType_URIschemaLegislationMetadata_xsd.tmp#EffectType_CreatedschemaLegislationMetadata_xsd.tmp#EffectType_EffectIdschemaLegislationMetadata_xsd.tmp#EffectType_RequiresAppliedschemaLegislationMetadata_xsd.tmp#EffectType_RequiresWelshAppliedschemaLegislationMetadata_xsd.tmp#EffectType_AffectedEffectsExtentschemaLegislationMetadata_xsd.tmp#EffectType_AffectedExtentschemaLegislationMetadata_xsd.tmp#EffectType_AffectedExtentSectionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectedTerritorialApplicationschemaLegislationMetadata_xsd.tmp#EffectType_AffectingCommencementSectionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectingEffectsExtentschemaLegislationMetadata_xsd.tmp#EffectType_AffectingExtentschemaLegislationMetadata_xsd.tmp#EffectType_AffectingExtentSectionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectingRoyalAssentschemaLegislationMetadata_xsd.tmp#EffectType_AffectingTerritorialApplicationschemaLegislationMetadata_xsd.tmp#EffectType_AppendedCommentaryschemaLegislationMetadata_xsd.tmp#EffectType_NewRandomSequkGovErrors_xsd.tmp#missingUnappliedEffectschemaLegislationMetadata_xsd.tmp#EffectType_AffectedProvisionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectingProvisionsschemaLegislationMetadata_xsd.tmp#EffectType_CommencedschemaLegislationMetadata_xsd.tmp#AffectedTitleschemaLegislationMetadata_xsd.tmp#AffectingTitleschemaLegislationMetadata_xsd.tmp#EffectType_SavingsschemaLegislationMetadata_xsd.tmp#EffectType_CommencementAuthorityschemaLegislationMetadata_xsd.tmp#InForceDatesschemaLegislationMetadata_xsd.tmp#EffectType
Properties
content complex
Used by
Model
Children AffectedProvisions, AffectedTitle, AffectingProvisions, AffectingTitle, Commenced, CommencementAuthority, InForceDates, Savings
Attributes
QName Type Use Annotation
Affected xsd:string optional
AffectedClass DocumentMainType required
The DocumentMainType of the affected document
AffectedEffectsExtent AffectingExtentType optional
Indicates TOES application of the 'Affected Effects Extent'
AffectedExtent ExtentType optional
Indicates TOES application of the 'Affected Provisions Extent'
AffectedExtentSections xsd:string optional
Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial
AffectedNumber xsd:positiveInteger required
The affected document's number
AffectedProvisions xsd:string optional
A string representation of the affected provision(s) that the effect amends or modifies
AffectedTerritorialApplication ExtentType optional
Indicates the territorial application of the affected provision(s). The editorial system uses this value to determine whether the effect’s extent/territorial application of the effect is smaller than that of the affected provision(s), i.e. the provisions it affects. If smaller, the original text or meaning of those provisions will remain unchanged in the territories to which the effect does not extend/apply, and the editor must indicate that the amendment only extends to/applies in specific territories when they carry out the amendment
AffectedURI xsd:anyURI required
A link to the section in this legislation that has been affected. Or (if the AffectedUpTo attribute is also present), a link to the first of the affected sections.
AffectedYear xsd:gYear required
The year in which the affected document was published
AffectingClass DocumentMainType required
The DocumentMainType of the affecting document
AffectingCommencementSections xsd:anyURI optional
This works same as that of 'CommencementAuthority', which details the provision giving authority for the In-Force date(s)
AffectingEffectsExtent AffectingExtentType optional
Indicates TOES application of the Affecting Extent
AffectingExtent ExtentType optional
Indicates TOES application of the Affecting Provisions Extent
AffectingExtentSections xsd:string optional
Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial
AffectingNumber xsd:positiveInteger required
The affecting document's number
AffectingProvisions xsd:string optional
A string representation of the affecting provision(s) from which the effect originates
AffectingRoyalAssent xsd:date optional
Date of royal assent. No longer used in new Effects data, but its values are held in TOES XML added as bulk upload
AffectingTerritorialApplication ExtentType optional
Indicates the territorial application of the affecting provision(s)
AffectingURI xsd:anyURI required
A link to the legislation (and the section within it) that affects this one. Or (if AffectingUpTo is also present), a link to the first section affecting this one.
AffectingYear xsd:gYear required
The year in which the affecting document was published
AppendedCommentary xsd:string optional
Used to add additional commentary information that will be displayed after the core effect commentary information which will be generated using the preceding Extended TOES columns
AppliedModified xsd:dateTime optional
Records the date and time when the Applied status of the effect is changed
Comments xsd:string optional
Contains notes to assist the legislation.gov.uk update editor in applying the amendment to the affected item of legislation
Created xsd:dateTime optional
Records the date and time of its creation, i.e. indicating an Effect has been created via Editorial system. Incase of bulk upload, this value might be the date when it was first added in Editorial system unless otherwise a creation dateTime value is known
EffectId xsd:string optional
This is an unique ID for each effect, and is made up by combining the core key elements in an effect and generated MD5 hash code
Index xsd:integer optional
An Integer value, not in use anymore for spreadsheet processing. But some bulk uploaded data still contains uses it, having the index number of Effect in the uploaded spreadsheet
Modified xsd:dateTime optional
Records the date and time, indicating an Effect has been modified via Editorial system
New xsd:boolean optional
Interimly used within the code. If set true, it means the effect is not present in the database and hence the Effect should be excluded from the 'update' list
NewRandomSeq xsd:integer optional
Notes xsd:string optional
Contains notes for the readers of legislation to clarify the operation or application of the effect. The field is often used to indicate that a particular effect will only come into force after another event occurs (such as the coming into force of a provision of a different item of legislation) or that the effect will not be applied to Legislation.gov.uk (for example, when the affecting provision is repealed before it comes into force). The Legislation.gov.uk 'Changes to Legislation' page displays these notes to the user
RequiresApplied xsd:boolean optional
Indicates whether or not the effect will be applied. For example, if the affecting provision is repealed or superseded before it comes into force, the effect will never come into force and so does not need to be applied. Where the affected item of legislation is a dual-language item (in English and Welsh), indicates whether or not the effect will be applied to the English text
RequiresWelshApplied xsd:boolean optional
Indicates, for effects on dual-language legislation (in English and Welsh), whether or not the effect will be applied to the Welsh text. For example, if the effect only amends the English text, the effect does not need to be applied to the Welsh text
Row xsd:integer optional
Used to store the row number of the spreadsheet, from where the specific Effect data came from
Type xsd:token required
Indicates the type of amendment that this effect represents, e.g. inserted, substituted, repealed, modified, extended and applied
TypeNotes xsd:string optional
This was used to store Notes and serve the same purpose as legacy:notes. Not used anymore (to process the spreadsheet), some effects still have this attribute value
URI xsd:anyURI optional
Used to store the previous Effect ID along with legislation base URI. Not an identifier for the Effect
Instance
<UnappliedEffect Affected="" AffectedClass="" AffectedEffectsExtent="" AffectedExtent="" AffectedExtentSections="" AffectedNumber="" AffectedProvisions="" AffectedTerritorialApplication="" AffectedURI="" AffectedYear="" AffectingClass="" AffectingCommencementSections="" AffectingEffectsExtent="" AffectingExtent="" AffectingExtentSections="" AffectingNumber="" AffectingProvisions="" AffectingRoyalAssent="" AffectingTerritorialApplication="" AffectingURI="" AffectingYear="" AppendedCommentary="" AppliedModified="" Comments="" Created="" EffectId="" Index="" Modified="" New="" NewRandomSeq="" Notes="" RequiresApplied="" RequiresWelshApplied="" Row="" Type="" TypeNotes="" URI="" xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <AffectedProvisions>{0,1}</AffectedProvisions>
  <AffectingProvisions>{0,1}</AffectingProvisions>
  <Commenced>{0,1}</Commenced>
  <AffectedTitle xml:lang="">{0,unbounded}</AffectedTitle>
  <AffectingTitle xml:lang="">{0,unbounded}</AffectingTitle>
  <Savings>{0,1}</Savings>
  <CommencementAuthority>{0,1}</CommencementAuthority>
  <InForceDates>{0,1}</InForceDates>
</UnappliedEffect>
Source
<xsd:element name="UnappliedEffect" type="EffectType">
  <xsd:annotation>
    <xsd:documentation>Defines an effect from another piece of legislation on this item of legislation (currently generated from effects spreadsheet).</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element EffectType / AffectedProvisions
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SectionschemaLegislationMetadata_xsd.tmp#SectionRangeschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_CitationschemaLegislationMetadata_xsd.tmp#ProvisionsStructure
Properties
content complex
minOccurs 0
mixed true
Model
Children Citation, Section, SectionRange
Instance
<AffectedProvisions xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Section End="" Extent="" ExtentStatus="" FoundRef="" Missing="" Ref="" Ref="" Start="" StartDate="" StartDateStatus="" URI="">{1,1}</Section>
  <SectionRange End="" End="" FoundEnd="" FoundStart="" Missing="" MissingEnd="" MissingStart="" Ref="" Start="" Start="" UpTo="" URI="">{1,1}</SectionRange>
  <Citation Class="" Number="" Title="" URI="" Year="">{1,1}</Citation>
</AffectedProvisions>
Source
<xsd:element name="AffectedProvisions" type="ProvisionsStructure" minOccurs="0"/>
Element Section
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Section_RefschemaLegislationMetadata_xsd.tmp#Section_URIschemaLegislationMetadata_xsd.tmp#Section_FoundRefschemaLegislationMetadata_xsd.tmp#Section_MissingschemaLegislationMetadata_xsd.tmp#Section_ExtentschemaLegislationMetadata_xsd.tmp#Section_ExtentStatusschemaLegislationMetadata_xsd.tmp#Section_StartDateschemaLegislationMetadata_xsd.tmp#Section_StartDateStatusukGovErrors_xsd.tmp#missingSection
Properties
content complex
mixed true
Used by
Element SectionRange
Complex Type ProvisionsStructure
Model
Attributes
QName Type Use Annotation
End xsd:string optional
Indicates that there is a problem with the range's ending provision, referred to by the Start attribute. The standard error message “Section missing in legislation” indicates that the referenced provision does not exist, likely because an editor incorrectly entered the provision in TOES or the referenced provision is being created by the effect
Extent ExtentType optional
ExtentStatus xsd:string optional
FoundRef xsd:NMTOKEN optional
Missing xsd:boolean optional
Ref xsd:NMTOKEN required
Holds the identifier of the referenced provision
Ref xsd:string optional
Indicates that there is a problem with the provision referred to by the Ref attribute. The standard error message “Section missing in legislation” indicates that the referenced provision does not exist, likely because an editor incorrectly entered the provision in TOES or the referenced provision is being created by the effect
Start xsd:string optional
Indicates that there is a problem with the range's starting provision, referred to by the Start attribute. The standard error message “Section missing in legislation” indicates that the referenced provision does not exist, likely because an editor incorrectly entered the provision in TOES or the referenced provision is being created by the effect
StartDate xsd:string optional
StartDateStatus xsd:string optional
URI xsd:anyURI required
Source
<xsd:element name="Section">
  <xsd:complexType mixed="true">
    <xsd:attribute name="Ref" type="xsd:NMTOKEN" use="required">
      <xsd:annotation>
        <xsd:documentation>Holds the identifier of the referenced provision</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
    <xsd:attribute name="FoundRef" type="xsd:NMTOKEN"/>
    <xsd:attribute name="Missing" type="xsd:boolean"/>
    <!-- added #153283251 -->
    <xsd:attribute name="Extent" type="leg:ExtentType"/>
    <xsd:attribute name="ExtentStatus" type="xsd:string"/>
    <xsd:attribute name="StartDate" type="xsd:string"/>
    <xsd:attribute name="StartDateStatus" type="xsd:string"/>
    <xsd:attributeGroup ref="errl:missingSection"/>
  </xsd:complexType>
</xsd:element>
Element SectionRange
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SectionRange_StartschemaLegislationMetadata_xsd.tmp#SectionRange_EndschemaLegislationMetadata_xsd.tmp#SectionRange_URIschemaLegislationMetadata_xsd.tmp#SectionRange_UpToschemaLegislationMetadata_xsd.tmp#SectionRange_FoundStartschemaLegislationMetadata_xsd.tmp#SectionRange_FoundEndschemaLegislationMetadata_xsd.tmp#SectionRange_MissingStartschemaLegislationMetadata_xsd.tmp#SectionRange_MissingEndschemaLegislationMetadata_xsd.tmp#SectionRange_MissingukGovErrors_xsd.tmp#missingSectionRangeschemaLegislationMetadata_xsd.tmp#Section
Properties
content complex
mixed true
Used by
Complex Type ProvisionsStructure
Model
Children Section
Attributes
QName Type Use Annotation
End xsd:NMTOKEN required
Holds the identifier of the ending provision in a range of provisions
End xsd:string optional
Indicates that there is a problem with the range's ending provision, referred to by the Start attribute. The standard error message “Section missing in legislation” indicates that the referenced provision does not exist, likely because an editor incorrectly entered the provision in TOES or the referenced provision is being created by the effect
FoundEnd xsd:NMTOKEN optional
FoundStart xsd:NMTOKEN optional
Missing xsd:boolean optional
MissingEnd xsd:boolean optional
MissingStart xsd:boolean optional
Ref xsd:string optional
Indicates that there is a problem with the provision referred to by the Ref attribute. The standard error message “Section missing in legislation” indicates that the referenced provision does not exist, likely because an editor incorrectly entered the provision in TOES or the referenced provision is being created by the effect
Start xsd:NMTOKEN required
Holds the identifier of the starting provision in a range of provisions
Start xsd:string optional
Indicates that there is a problem with the range's starting provision, referred to by the Start attribute. The standard error message “Section missing in legislation” indicates that the referenced provision does not exist, likely because an editor incorrectly entered the provision in TOES or the referenced provision is being created by the effect
URI xsd:anyURI required
UpTo xsd:anyURI required
Instance
<SectionRange End="" End="" FoundEnd="" FoundStart="" Missing="" MissingEnd="" MissingStart="" Ref="" Start="" Start="" UpTo="" URI="" xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Section End="" Extent="" ExtentStatus="" FoundRef="" Missing="" Ref="" Ref="" Start="" StartDate="" StartDateStatus="" URI="">{2,2}</Section>
</SectionRange>
Source
<xsd:element name="SectionRange">
  <xsd:complexType mixed="true">
    <xsd:sequence>
      <xsd:element ref="Section" minOccurs="2" maxOccurs="2"/>
    </xsd:sequence>
    <xsd:attribute name="Start" type="xsd:NMTOKEN" use="required">
      <xsd:annotation>
        <xsd:documentation>Holds the identifier of the starting provision in a range of provisions</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="End" type="xsd:NMTOKEN" use="required">
      <xsd:annotation>
        <xsd:documentation>Holds the identifier of the ending provision in a range of provisions</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
    <xsd:attribute name="UpTo" type="xsd:anyURI" use="required"/>
    <xsd:attribute name="FoundStart" type="xsd:NMTOKEN"/>
    <xsd:attribute name="FoundEnd" type="xsd:NMTOKEN"/>
    <xsd:attribute name="MissingStart" type="xsd:boolean"/>
    <xsd:attribute name="MissingEnd" type="xsd:boolean"/>
    <xsd:attribute name="Missing" type="xsd:boolean"/>
    <xsd:attributeGroup ref="errl:missingSectionRange"/>
  </xsd:complexType>
</xsd:element>
Element ProvisionsStructure / Citation
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Used within a "Commencement Order" effect to denote the item of legislation being commenced by the commencement order
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_ProvisionsStructure_Citation_URIschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_ProvisionsStructure_Citation_ClassschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_ProvisionsStructure_Citation_YearschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_ProvisionsStructure_Citation_NumberschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_ProvisionsStructure_Citation_Title
Properties
content complex
mixed true
Model
Attributes
QName Type Use
Class DocumentMainType optional
Number xsd:integer optional
Title xsd:string optional
URI xsd:anyURI required
Year xsd:gYear optional
Source
<xsd:element name="Citation">
  <xsd:annotation>
    <xsd:documentation>Used within a "Commencement Order" effect to denote the item of legislation being commenced by the commencement order</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType mixed="true">
    <xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
    <xsd:attribute name="Class" type="leg:DocumentMainType"/>
    <xsd:attribute name="Year" type="xsd:gYear"/>
    <xsd:attribute name="Number" type="xsd:integer"/>
    <xsd:attribute name="Title" type="xsd:string"/>
  </xsd:complexType>
</xsd:element>
Element EffectType / AffectingProvisions
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SectionschemaLegislationMetadata_xsd.tmp#SectionRangeschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_CitationschemaLegislationMetadata_xsd.tmp#ProvisionsStructure
Properties
content complex
minOccurs 0
mixed true
Model
Children Citation, Section, SectionRange
Instance
<AffectingProvisions xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Section End="" Extent="" ExtentStatus="" FoundRef="" Missing="" Ref="" Ref="" Start="" StartDate="" StartDateStatus="" URI="">{1,1}</Section>
  <SectionRange End="" End="" FoundEnd="" FoundStart="" Missing="" MissingEnd="" MissingStart="" Ref="" Start="" Start="" UpTo="" URI="">{1,1}</SectionRange>
  <Citation Class="" Number="" Title="" URI="" Year="">{1,1}</Citation>
</AffectingProvisions>
Source
<xsd:element name="AffectingProvisions" type="ProvisionsStructure" minOccurs="0"/>
Element EffectType / Commenced
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SectionschemaLegislationMetadata_xsd.tmp#SectionRangeschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_CitationschemaLegislationMetadata_xsd.tmp#ProvisionsStructure
Properties
content complex
minOccurs 0
mixed true
Model
Children Citation, Section, SectionRange
Instance
<Commenced xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Section End="" Extent="" ExtentStatus="" FoundRef="" Missing="" Ref="" Ref="" Start="" StartDate="" StartDateStatus="" URI="">{1,1}</Section>
  <SectionRange End="" End="" FoundEnd="" FoundStart="" Missing="" MissingEnd="" MissingStart="" Ref="" Start="" Start="" UpTo="" URI="">{1,1}</SectionRange>
  <Citation Class="" Number="" Title="" URI="" Year="">{1,1}</Citation>
</Commenced>
Source
<xsd:element name="Commenced" type="ProvisionsStructure" minOccurs="0"/>
Element AffectedTitle
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
Diagramnamespace_xsd.tmp#lang
Properties
content complex
mixed true
Used by
Complex Type EffectType
Model
Attributes
QName Type Use Annotation
xml:lang xs:language optional
Should be used to indicate the main language of the content contained by the element upon which the attribute is appearing. Values should be taken from the ISO 639 standard. This attribute should be used where the language is different from the main language of the document.
Source
<xsd:element name="AffectedTitle">
  <xsd:complexType mixed="true">
    <xsd:attribute ref="xml:lang"/>
  </xsd:complexType>
</xsd:element>
Element AffectingTitle
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
Diagramnamespace_xsd.tmp#lang
Properties
content complex
mixed true
Used by
Complex Type EffectType
Model
Attributes
QName Type Use Annotation
xml:lang xs:language optional
Should be used to indicate the main language of the content contained by the element upon which the attribute is appearing. Values should be taken from the ISO 639 standard. This attribute should be used where the language is different from the main language of the document.
Source
<xsd:element name="AffectingTitle">
  <xsd:complexType mixed="true">
    <xsd:attribute ref="xml:lang"/>
  </xsd:complexType>
</xsd:element>
Element EffectType / Savings
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SectionschemaLegislationMetadata_xsd.tmp#SectionRangeschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_CitationschemaLegislationMetadata_xsd.tmp#ProvisionsStructure
Properties
content complex
minOccurs 0
mixed true
Model
Children Citation, Section, SectionRange
Instance
<Savings xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Section End="" Extent="" ExtentStatus="" FoundRef="" Missing="" Ref="" Ref="" Start="" StartDate="" StartDateStatus="" URI="">{1,1}</Section>
  <SectionRange End="" End="" FoundEnd="" FoundStart="" Missing="" MissingEnd="" MissingStart="" Ref="" Start="" Start="" UpTo="" URI="">{1,1}</SectionRange>
  <Citation Class="" Number="" Title="" URI="" Year="">{1,1}</Citation>
</Savings>
Source
<xsd:element name="Savings" type="ProvisionsStructure" minOccurs="0"/>
Element EffectType / CommencementAuthority
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Provide details of the provision giving authority for the In-Force date(s). If there is no commencement provision then there will be a value added 'N'. Where the commencement date is defined elsewhere, for example, in an Interpretation provision, then this provision also will be included as part of the Commencement Authority
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SectionschemaLegislationMetadata_xsd.tmp#SectionRangeschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_CitationschemaLegislationMetadata_xsd.tmp#ProvisionsStructure
Properties
content complex
minOccurs 0
mixed true
Model
Children Citation, Section, SectionRange
Instance
<CommencementAuthority xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Section End="" Extent="" ExtentStatus="" FoundRef="" Missing="" Ref="" Ref="" Start="" StartDate="" StartDateStatus="" URI="">{1,1}</Section>
  <SectionRange End="" End="" FoundEnd="" FoundStart="" Missing="" MissingEnd="" MissingStart="" Ref="" Start="" Start="" UpTo="" URI="">{1,1}</SectionRange>
  <Citation Class="" Number="" Title="" URI="" Year="">{1,1}</Citation>
</CommencementAuthority>
Source
<xsd:element name="CommencementAuthority" type="ProvisionsStructure" minOccurs="0">
  <xsd:annotation>
    <xsd:documentation>Provide details of the provision giving authority for the In-Force date(s). If there is no commencement provision then there will be a value added 'N'. Where the commencement date is defined elsewhere, for example, in an Interpretation provision, then this provision also will be included as part of the Commencement Authority</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element InForceDates
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#InForce
Properties
content complex
Used by
Complex Type EffectType
Model
Children InForce
Instance
<InForceDates xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <InForce AffectingClass="" AppendedCommentary="" Applied="" CommencingClass="" CommencingNumber="" CommencingURI="" CommencingYear="" Comments="" Date="" Notes="" OtherQualification="" Prospective="" Qualification="" WelshApplied="">{1,unbounded}</InForce>
</InForceDates>
Source
<xsd:element name="InForceDates">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="InForce" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element InForce
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations

Represents an amendment.

An effect has one amendment for each time its affecting provision (or more rarely, the effect itself) comes into force in full, in part or for specified extents or purposes. Each amendment for an effect is normally applied by an editor separately, although if two or more amendments apply on the same date an editor may combine them into a single application and mark them all as applied. If the affecting provision or effect is prospective (that is, it is not in force and no provision of legislation is set to bring it into force), then the effect will either have an amendment with Prospective="true" or no amendments at all.

Diagram
DiagramschemaLegislationMetadata_xsd.tmp#InForce_AffectingClassschemaLegislationMetadata_xsd.tmp#InForce_AppliedschemaLegislationMetadata_xsd.tmp#InForce_WelshAppliedschemaLegislationMetadata_xsd.tmp#InForce_AppendedCommentaryschemaLegislationMetadata_xsd.tmp#InForce_CommencingClassschemaLegislationMetadata_xsd.tmp#InForce_CommencingNumberschemaLegislationMetadata_xsd.tmp#InForce_CommencingURIschemaLegislationMetadata_xsd.tmp#InForce_CommencingYearschemaLegislationMetadata_xsd.tmp#InForce_CommentsschemaLegislationMetadata_xsd.tmp#InForce_DateschemaLegislationMetadata_xsd.tmp#InForce_NotesschemaLegislationMetadata_xsd.tmp#InForce_OtherQualificationschemaLegislationMetadata_xsd.tmp#InForce_ProspectiveschemaLegislationMetadata_xsd.tmp#InForce_QualificationschemaLegislationMetadata_xsd.tmp#InForce_CommencingProvisionsschemaLegislationMetadata_xsd.tmp#InForce_CommencingSavings
Properties
content complex
Used by
Element InForceDates
Model
Children CommencingProvisions, CommencingSavings
Attributes
QName Type Use Annotation
AffectingClass DocumentMainType optional
AppendedCommentary xsd:string optional
Applied xsd:boolean optional
Indicates if the amendment has been applied to the text of the affected provision(s). Where the affected item of legislation is a dual-language item (in English and Welsh), indicates if the amendment has been applied to the English text
CommencingClass DocumentMainType optional
CommencingNumber xsd:string optional
CommencingURI xsd:anyURI optional
CommencingYear xsd:string optional
Comments xsd:string optional
Date xsd:date optional
Notes xsd:string optional
OtherQualification xsd:string optional
Prospective xsd:boolean optional
Qualification xsd:string required
WelshApplied xsd:boolean optional
Indicates, for amendments to dual-language legislation (in English and Welsh), whether the amendment has been applied to the Welsh text
Instance
<InForce AffectingClass="" AppendedCommentary="" Applied="" CommencingClass="" CommencingNumber="" CommencingURI="" CommencingYear="" Comments="" Date="" Notes="" OtherQualification="" Prospective="" Qualification="" WelshApplied="" xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <CommencingProvisions>{0,1}</CommencingProvisions>
  <CommencingSavings>{0,1}</CommencingSavings>
</InForce>
Source
<xsd:element name="InForce">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Represents an amendment.</h:p>
      <h:p>An effect has one amendment for each time its affecting provision (or more rarely, the effect itself) comes into force in full, in part or for specified extents or purposes. Each amendment for an effect is normally applied by an editor separately, although if two or more amendments apply on the same date an editor may combine them into a single application and mark them all as applied. If the affecting provision or effect is prospective (that is, it is not in force and no provision of legislation is set to bring it into force), then the effect will either have an amendment with Prospective="true" or no amendments at all.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence minOccurs="0">
      <xsd:element name="CommencingProvisions" type="ProvisionsStructure" minOccurs="0" maxOccurs="1"/>
      <xsd:element name="CommencingSavings" type="ProvisionsStructure" minOccurs="0" maxOccurs="1"/>
    </xsd:sequence>
    <xsd:attribute name="AffectingClass" type="leg:DocumentMainType"/>
    <xsd:attribute name="Applied" type="xsd:boolean">
      <xsd:annotation>
        <xsd:documentation>Indicates if the amendment has been applied to the text of the affected provision(s). Where the affected item of legislation is a dual-language item (in English and Welsh), indicates if the amendment has been applied to the English text</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="WelshApplied" type="xsd:boolean" use="optional">
      <xsd:annotation>
        <xsd:documentation>Indicates, for amendments to dual-language legislation (in English and Welsh), whether the amendment has been applied to the Welsh text</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="AppendedCommentary" type="xsd:string"/>
    <xsd:attribute name="CommencingClass" type="leg:DocumentMainType"/>
    <xsd:attribute name="CommencingNumber" type="xsd:string"/>
    <xsd:attribute name="CommencingURI" type="xsd:anyURI"/>
    <xsd:attribute name="CommencingYear" type="xsd:string"/>
    <xsd:attribute name="Comments" type="xsd:string"/>
    <xsd:attribute name="Date" type="xsd:date"/>
    <xsd:attribute name="Notes" type="xsd:string"/>
    <xsd:attribute name="OtherQualification" type="xsd:string"/>
    <xsd:attribute name="Prospective" type="xsd:boolean"/>
    <xsd:attribute name="Qualification" type="xsd:string" use="required"/>
    <!-- #171654037 enforce a choice of enumerated values for Qualification attribute of InForce element (including empty string for historical reasons)
				My be implemented in a future version
				<xsd:attribute name="Qualification" use="required">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:enumeration value="wholly in force"/>
						<xsd:enumeration value="in force in so far as not already in force"/>
						<xsd:enumeration value="for specified purposes"/>
						<xsd:enumeration value="for E.W.S."/>
						<xsd:enumeration value="for E.W."/>
						<xsd:enumeration value="for E."/>
						<xsd:enumeration value="for W."/>
						<xsd:enumeration value="for S."/>
						<xsd:enumeration value="for N.I."/>
						<xsd:enumeration value="for E.W.N.I."/>
						<xsd:enumeration value="for S.N.I."/>
						<xsd:enumeration value="for E.W.S. for specified purposes"/>
						<xsd:enumeration value="for E.W. for specified purposes"/>
						<xsd:enumeration value="for E. for specified purposes"/>
						<xsd:enumeration value="for W. for specified purposes"/>
						<xsd:enumeration value="for S. for specified purposes"/>
						<xsd:enumeration value="for N.I. for specified purposes"/>
						<xsd:enumeration value="for E.W.N.I. for specified purposes"/>
						<xsd:enumeration value="for S.N.I. for specified purposes"/>
						<xsd:enumeration value="retrospective"/>
						<xsd:enumeration value="with effect in accordance with"/>
						<xsd:enumeration value="with application in accordance with"/>
						<xsd:enumeration value="for specified purposes and with effect in accordance with"/>
						<xsd:enumeration value="for specified purposes and with application in accordance with"/>
						<xsd:enumeration value="retrospective and with effect in accordance with"/>
						<xsd:enumeration value="retrospective and with application in accordance with"/>
						<xsd:enumeration value="coming into force in accordance with"/>
						<xsd:enumeration value="Other"/>
						<xsd:enumeration value=""/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>-->
  </xsd:complexType>
</xsd:element>
Element InForce / CommencingProvisions
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SectionschemaLegislationMetadata_xsd.tmp#SectionRangeschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_CitationschemaLegislationMetadata_xsd.tmp#ProvisionsStructure
Properties
content complex
minOccurs 0
maxOccurs 1
mixed true
Model
Children Citation, Section, SectionRange
Instance
<CommencingProvisions xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Section End="" Extent="" ExtentStatus="" FoundRef="" Missing="" Ref="" Ref="" Start="" StartDate="" StartDateStatus="" URI="">{1,1}</Section>
  <SectionRange End="" End="" FoundEnd="" FoundStart="" Missing="" MissingEnd="" MissingStart="" Ref="" Start="" Start="" UpTo="" URI="">{1,1}</SectionRange>
  <Citation Class="" Number="" Title="" URI="" Year="">{1,1}</Citation>
</CommencingProvisions>
Source
<xsd:element name="CommencingProvisions" type="ProvisionsStructure" minOccurs="0" maxOccurs="1"/>
Element InForce / CommencingSavings
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SectionschemaLegislationMetadata_xsd.tmp#SectionRangeschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_CitationschemaLegislationMetadata_xsd.tmp#ProvisionsStructure
Properties
content complex
minOccurs 0
maxOccurs 1
mixed true
Model
Children Citation, Section, SectionRange
Instance
<CommencingSavings xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Section End="" Extent="" ExtentStatus="" FoundRef="" Missing="" Ref="" Ref="" Start="" StartDate="" StartDateStatus="" URI="">{1,1}</Section>
  <SectionRange End="" End="" FoundEnd="" FoundStart="" Missing="" MissingEnd="" MissingStart="" Ref="" Start="" Start="" UpTo="" URI="">{1,1}</SectionRange>
  <Citation Class="" Number="" Title="" URI="" Year="">{1,1}</Citation>
</CommencingSavings>
Source
<xsd:element name="CommencingSavings" type="ProvisionsStructure" minOccurs="0" maxOccurs="1"/>
Element Citations
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Citation
Properties
content complex
Used by
Model
Children Citation
Instance
<Citations xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Citation Title="" URI="">{1,unbounded}</Citation>
</Citations>
Source
<xsd:element name="Citations">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Citation" maxOccurs="unbounded"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element Citation
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
This describes a citations to the provision(s) being viewed. Defined by namespace http://www.legislation.gov.uk/namespaces/metadata and could have been deprecated

Links to another document that cites the current document.

This element does not normally appear in published CLML. The website uses this element to provide information for certain legislation pages—for example, the "Found References" page for items of legislation we do not hold, which lists the documents that cite the missing item.

This ukm:Citation element is not the same as the ukm:Citation that appears within ukm:Effect and ukm:UnappliedEffect, nor the leg:Citation that appears within the text of a CLML document or the editorial metadata for CLML fragments.

Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Citation_URIschemaLegislationMetadata_xsd.tmp#Citation_TitleschemaLegislationMetadata_xsd.tmp#Commentary
Properties
content complex
Used by
Element Citations
Model
Children Commentary
Attributes
QName Type Use
Title required
URI xsd:anyURI required
Instance
<Citation Title="" URI="" xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Commentary Ref="" Type="">{1,unbounded}</Commentary>
</Citation>
Source
<xsd:element name="Citation">
  <xsd:annotation>
    <xsd:documentation>This describes a citations to the provision(s) being viewed. Defined by namespace http://www.legislation.gov.uk/namespaces/metadata and could have been deprecated</xsd:documentation>
    <xsd:documentation>
      <h:p>Links to another document that cites the current document.</h:p>
      <h:p>This element does not normally appear in published CLML. The website uses this element to provide information for certain legislation pages—for example, the "Found References" page for items of legislation we do not hold, which lists the documents that cite the missing item.</h:p>
      <h:p>This ukm:Citation element is not the same as the ukm:Citation that appears within ukm:Effect and ukm:UnappliedEffect, nor the leg:Citation that appears within the text of a CLML document or the editorial metadata for CLML fragments.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="Commentary" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
    <xsd:attribute name="Title" use="required"/>
  </xsd:complexType>
</xsd:element>
Element Commentary
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Commentary_RefschemaLegislationMetadata_xsd.tmp#Commentary_Type
Properties
content complex
Used by
Element Citation
Model
Attributes
QName Type Use Annotation
Ref restriction of xsd:NCName required
A unique identifier in the format c000000
Type CommentaryType required
Indicates the role of the commentary.
Source
<xsd:element name="Commentary">
  <xsd:complexType>
    <xsd:group ref="leg:ParaRestricted" maxOccurs="unbounded"/>
    <xsd:attribute name="Ref" use="required">
      <xsd:annotation>
        <xsd:documentation>A unique identifier in the format c000000</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:NCName">
          <xsd:pattern value="c[0-9]{5,7}"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="Type" type="leg:CommentaryType" use="required">
      <xsd:annotation>
        <xsd:documentation>Indicates the role of the commentary.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element SecondaryMetadata
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for secondary legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#DocumentClassificationschemaLegislationMetadata_xsd.tmp#YearschemaLegislationMetadata_xsd.tmp#NumberschemaLegislationMetadata_xsd.tmp#ISBNschemaLegislationMetadata_xsd.tmp#AlternativeNumberschemaLegislationMetadata_xsd.tmp#DepartmentCodeschemaLegislationMetadata_xsd.tmp#SiftedschemaLegislationMetadata_xsd.tmp#MadeschemaLegislationMetadata_xsd.tmp#LaidschemaLegislationMetadata_xsd.tmp#ComingIntoForceschemaLegislationMetadata_xsd.tmp#ResolutionschemaLegislationMetadata_xsd.tmp#RoyalPresenceschemaLegislationMetadata_xsd.tmp#UnappliedEffectsschemaLegislationMetadata_xsd.tmp#CitationsschemaLegislationMetadata_xsd.tmp#SecondaryMetadata_Correction
Properties
content complex
Used by
Element Group LegislationMetadata
Model
Children AlternativeNumber, Citations, ComingIntoForce, Correction, DepartmentCode, DocumentClassification, ISBN, Laid, Made, Number, Resolution, RoyalPresence, Sifted, UnappliedEffects, Year
Instance
<SecondaryMetadata xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <DocumentClassification>{1,1}</DocumentClassification>
  <Year Value="">{1,1}</Year>
  <Number Value="">{0,1}</Number>
  <ISBN Value="">{0,1}</ISBN>
  <AlternativeNumber Category="" Value="">{0,unbounded}</AlternativeNumber>
  <DepartmentCode Value="">{0,1}</DepartmentCode>
  <Sifted Date="" Time="">{0,1}</Sifted>
  <Made Date="" Time="">{0,1}</Made>
  <Laid Class="" Date="" Time="">{0,unbounded}</Laid>
  <ComingIntoForce>{0,1}</ComingIntoForce>
  <Resolution Date="">{0,1}</Resolution>
  <RoyalPresence Date="">{0,1}</RoyalPresence>
  <UnappliedEffects>{0,1}</UnappliedEffects>
  <Citations>{0,1}</Citations>
  <Correction Class="" ISBN="" Number="" Type="" Year="">{1,1}</Correction>
</SecondaryMetadata>
Source
<xsd:element name="SecondaryMetadata">
  <xsd:annotation>
    <xsd:documentation>Metadata for secondary legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="DocumentClassification"/>
      <xsd:element ref="Year"/>
      <xsd:element ref="Number" minOccurs="0"/>
      <xsd:choice maxOccurs="unbounded">
        <xsd:element ref="ISBN" minOccurs="0"/>
        <xsd:element ref="AlternativeNumber" minOccurs="0" maxOccurs="unbounded"/>
        <xsd:element ref="DepartmentCode" minOccurs="0"/>
        <xsd:element ref="Sifted" minOccurs="0"/>
        <xsd:element ref="Made" minOccurs="0"/>
        <xsd:element ref="Laid" minOccurs="0" maxOccurs="unbounded"/>
        <xsd:element ref="ComingIntoForce" minOccurs="0"/>
        <xsd:choice>
          <xsd:element ref="Resolution" minOccurs="0"/>
          <xsd:element ref="RoyalPresence" minOccurs="0"/>
        </xsd:choice>
        <xsd:element ref="UnappliedEffects" minOccurs="0"/>
        <xsd:element ref="Citations" minOccurs="0"/>
        <!-- #161958070 supported element -
					No examples found with text or element content
					element definition is found in
					schemaLegislationMetadataCorrection.xsd for all schemas except
					when editing publications using schemaLegislationbase-v1-0.xsd
					then it is in schemaLegislationMetadataCorrectionEdit.xsd-->
        <xsd:element name="Correction">
          <xsd:annotation>
            <xsd:documentation>
              <h:p>Certain items of legislation get corrected or are correcting. This information is used to connect the two items together.</h:p>
              <h:p>It is also possible to correct a draft legislation item. In that case the identifier of the other document should be used.</h:p>
              <h:p>When the data is past the published stage, only the attributes are present not the element content. This model is used for the data delivered by the website and bulk downloads. The data model has been made more strict (required attributes to match our expectations of data quality.</h:p>
            </xsd:documentation>
          </xsd:annotation>
          <xsd:complexType>
            <xsd:sequence minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>If in publications editing then complete contents not attributes</xsd:documentation>
              </xsd:annotation>
              <xsd:element ref="DocumentMainType"/>
              <xsd:choice>
                <xsd:sequence>
                  <xsd:element ref="Year"/>
                  <xsd:element ref="Number"/>
                  <xsd:element ref="dc:identifier" minOccurs="0"/>
                </xsd:sequence>
                <xsd:element ref="dc:identifier"/>
              </xsd:choice>
            </xsd:sequence>
            <xsd:attribute name="Type" use="required">
              <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                  <xsd:enumeration value="corrects"/>
                  <xsd:enumeration value="correctedBy"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:attribute>
            <!-- if editing in publications then the following should not be used (used in delivered data) -->
            <xsd:attribute name="Class" type="leg:DocumentMainType" use="required">
              <xsd:annotation>
                <xsd:documentation>Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
              </xsd:annotation>
            </xsd:attribute>
            <!-- Year 4 digit  -->
            <xsd:attribute name="Year" type="xsd:gYear" use="required">
              <xsd:annotation>
                <xsd:documentation>Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
              </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="Number" type="xsd:integer" use="optional">
              <xsd:annotation>
                <xsd:documentation>Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
              </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="ISBN" use="optional">
              <xsd:annotation>
                <xsd:documentation>This is used in draft documents. Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
              </xsd:annotation>
              <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                  <xsd:maxLength value="13"/>
                  <xsd:minLength value="10"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:attribute>
          </xsd:complexType>
        </xsd:element>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element DepartmentCode
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Certain document types may have a department code (also known as a domestic serial number) indicating the relevant Government department
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#DepartmentCode_Value
Properties
content complex
Used by
Attributes
QName Type Use
Value xsd:string required
Instance
<ukm:Metadata>
  <dc:title>The Town and Country Planning (General Development Procedure) (Amendment) (England) Order 2005</dc:title>
  <dc:subject>Town and country planning, England</dc:subject>
  <dc:identifier>urn:isbn:0110731948</dc:identifier>
  <dc:language>en</dc:language>
  <ukm:SecondaryMetadata>
    <ukm:DocumentClassification>
      <ukm:DocumentCategory Value="secondary"/>
      <ukm:DocumentMainType Value="UnitedKingdomStatutoryInstrument"/>
      <ukm:DocumentStatus Value="final"/>
      <ukm:DocumentMinorType Value="order"/>
    </ukm:DocumentClassification>
    <ukm:Year Value="2005"/>
    <ukm:Number Value="2087"/>
    <ukm:DepartmentCode Value="ODPM 3032"/>
    <ukm:Made Date="2005-07-25"/>
    <ukm:Laid Date="2005-08-03" Class="UnitedKingdomParliament"/>
    <ukm:ComingIntoForce>
      <ukm:DateTime Date="2005-08-24"/>
    </ukm:ComingIntoForce>
  </ukm:SecondaryMetadata>
</ukm:Metadata>

Ref: Example taken from uksi_20052087_en (PDF p. 1, XML Ref. UG00202)

Ref: Example taken from uksi_20052087_en (PDF p. 1, XML Ref. UG00202)

Source
<xsd:element name="DepartmentCode">
  <xsd:annotation>
    <xsd:documentation>Certain document types may have a department code (also known as a domestic serial number) indicating the relevant Government department</xsd:documentation>
    <xsd:documentation>
      <ci:include xmlns:ci="http://macksol.co.uk/include" href="uksi_20052087_en.xml" xpath="/*:Legislation/*:Metadata" fileref="Example taken from uksi_20052087_en (PDF p. 1, XML Ref. UG00202)" source="example"/>
      <ci:include xmlns:ci="http://macksol.co.uk/include" href="img/rgDepartmentCode.png" fileref="Example taken from uksi_20052087_en (PDF p. 1, XML Ref. UG00202)" source="output"/>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="xsd:string" use="required"/>
  </xsd:complexType>
</xsd:element>
Element Sifted
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations

Indicates the end date of a sifting period, for items that relate to exiting the EU. Sifting refers to a period that allows 10 sitting days for a committee of each House in Parliament to recommend whether a draft EU Exit SI should be subject to negative or affirmative procedure.

A Minister of the Crown may make EU Exit instruments that are subject to sifting for up to two years after the end of the transition period, under section 8 of the European Union (Withdrawal Act) 2018 or under section 31 of the European Union (Future Relationship) Act 2020.

Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Sifted_DateschemaLegislationMetadata_xsd.tmp#Sifted_Time
Properties
content complex
Used by
Attributes
QName Type Use
Date xsd:date required
Time xsd:time optional
Source
<xsd:element name="Sifted">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Indicates the end date of a sifting period, for items that relate to exiting the EU. Sifting refers to a period that allows 10 sitting days for a committee of each House in Parliament to recommend whether a draft EU Exit SI should be subject to negative or affirmative procedure.</h:p>
      <h:p>A Minister of the Crown may make EU Exit instruments that are subject to sifting for up to two years after the end of the transition period, under section 8 of the European Union (Withdrawal Act) 2018 or under section 31 of the European Union (Future Relationship) Act 2020.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Date" type="xsd:date" use="required"/>
    <xsd:attribute name="Time" type="xsd:time"/>
  </xsd:complexType>
</xsd:element>
Element Made
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Indicates the date (and optionally the time) when the document was signed (made) by a minister or person with authority under the Act. The Date attribute refers to the date when the document gets signed. For some documents it may also include a Time attribute.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Made_DateschemaLegislationMetadata_xsd.tmp#Made_Time
Properties
content complex
Used by
Attributes
QName Type Use Annotation
Date xsd:date required
Made date
Time xsd:time optional
Made time
Source
<xsd:element name="Made">
  <xsd:annotation>
    <xsd:documentation>Indicates the date (and optionally the time) when the document was signed (made) by a minister or person with authority under the Act. The
      <h:code>Date</h:code>attribute refers to the date when the document gets signed. For some documents it may also include a
      <h:code>Time</h:code>attribute.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Date" type="xsd:date" use="required">
      <xsd:annotation>
        <xsd:documentation>Made date</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="Time" type="xsd:time">
      <xsd:annotation>
        <xsd:documentation>Made time</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element Laid
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Indicates the date (and optionally the time) when the document was laid before a Parliament, Assembly or relevant body. This may occur once or more, or not at all. The Date attribute refers to the date when the document gets signed. For some documents it may also include a Time attribute.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Laid_DateschemaLegislationMetadata_xsd.tmp#Laid_TimeschemaLegislationMetadata_xsd.tmp#Laid_Class
Properties
content complex
Used by
Attributes
QName Type Use Annotation
Class restriction of xsd:string required
The legislature before which the document was laid
Date xsd:date required
The date on which the document was laid
Time xsd:time optional
The time at which the document was laid
Source
<xsd:element name="Laid">
  <xsd:annotation>
    <xsd:documentation>Indicates the date (and optionally the time) when the document was laid before a Parliament, Assembly or relevant body. This may occur once or more, or not at all. The
      <h:code>Date</h:code>attribute refers to the date when the document gets signed. For some documents it may also include a
      <h:code>Time</h:code>attribute.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Date" type="xsd:date" use="required">
      <xsd:annotation>
        <xsd:documentation>The date on which the document was laid</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="Time" type="xsd:time">
      <xsd:annotation>
        <xsd:documentation>The time at which the document was laid</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="Class" use="required">
      <xsd:annotation>
        <xsd:documentation>The legislature before which the document was laid</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="NorthernIrelandAssembly"/>
          <xsd:enumeration value="ScottishParliament"/>
          <xsd:enumeration value="UnitedKingdomParliament"/>
          <xsd:enumeration value="WelshParliament">
            <xsd:annotation>
              <xsd:documentation>"WelshParliament" to be used for all new Welsh secondary legislation following http://www.legislation.gov.uk/anaw/2020/1/enacted#section-3</xsd:documentation>
            </xsd:annotation>
          </xsd:enumeration>
          <xsd:enumeration value="WelshAssembly"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element Resolution
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
This element only applies to secondary legislation that has a document subclass of resolution (which is very rare). It is the date of resolution of the document and the actual date is held in a Date attribute, which should be formatted as for the made date. The value should be taken from the Resolution element in the preliminary matter
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Resolution_Date
Properties
content complex
Used by
Attributes
QName Type Use
Date xsd:date required
Source
<xsd:element name="Resolution">
  <xsd:annotation>
    <xsd:documentation>This element only applies to secondary legislation that has a document subclass of resolution (which is very rare). It is the date of resolution of the document and the actual date is held in a Date attribute, which should be formatted as for the made date. The value should be taken from the Resolution element in the preliminary matter</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Date" type="xsd:date" use="required"/>
  </xsd:complexType>
</xsd:element>
Element RoyalPresence
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
The date of royal presence should be present where there has been a royal presence in passing the legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#RoyalPresence_Date
Properties
content complex
Used by
Attributes
QName Type Use
Date xsd:date required
Source
<xsd:element name="RoyalPresence">
  <xsd:annotation>
    <xsd:documentation>The date of royal presence should be present where there has been a royal presence in passing the legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Date" type="xsd:date" use="required"/>
  </xsd:complexType>
</xsd:element>
Element SecondaryMetadata / Correction
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations

Certain items of legislation get corrected or are correcting. This information is used to connect the two items together.

It is also possible to correct a draft legislation item. In that case the identifier of the other document should be used.

When the data is past the published stage, only the attributes are present not the element content. This model is used for the data delivered by the website and bulk downloads. The data model has been made more strict (required attributes to match our expectations of data quality.

Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SecondaryMetadata_SecondaryMetadata_Correction_TypeschemaLegislationMetadata_xsd.tmp#SecondaryMetadata_SecondaryMetadata_Correction_ClassschemaLegislationMetadata_xsd.tmp#SecondaryMetadata_SecondaryMetadata_Correction_YearschemaLegislationMetadata_xsd.tmp#SecondaryMetadata_SecondaryMetadata_Correction_NumberschemaLegislationMetadata_xsd.tmp#SecondaryMetadata_SecondaryMetadata_Correction_ISBNschemaLegislationMetadata_xsd.tmp#DocumentMainTypeschemaLegislationMetadata_xsd.tmp#YearschemaLegislationMetadata_xsd.tmp#Numberdc_xsd.tmp#identifierdc_xsd.tmp#identifier
Properties
content complex
Model
Children DocumentMainType, Number, Year, identifier
Attributes
QName Type Use Annotation
Class DocumentMainType required
Do not set this attribute in publications editing (only for delivered data)
ISBN restriction of xsd:string optional
This is used in draft documents. Do not set this attribute in publications editing (only for delivered data)
Number xsd:integer optional
Do not set this attribute in publications editing (only for delivered data)
Type restriction of xsd:string required
Year xsd:gYear required
Do not set this attribute in publications editing (only for delivered data)
Instance
<Correction Class="" ISBN="" Number="" Type="" Year="" xmlns="http://www.legislation.gov.uk/namespaces/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <DocumentMainType Value="">{1,1}</DocumentMainType>
  <Year Value="">{1,1}</Year>
  <Number Value="">{1,1}</Number>
  <dc:identifier>{0,1}</dc:identifier>
  <dc:identifier>{1,1}</dc:identifier>
</Correction>
Source
<xsd:element name="Correction">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Certain items of legislation get corrected or are correcting. This information is used to connect the two items together.</h:p>
      <h:p>It is also possible to correct a draft legislation item. In that case the identifier of the other document should be used.</h:p>
      <h:p>When the data is past the published stage, only the attributes are present not the element content. This model is used for the data delivered by the website and bulk downloads. The data model has been made more strict (required attributes to match our expectations of data quality.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>If in publications editing then complete contents not attributes</xsd:documentation>
      </xsd:annotation>
      <xsd:element ref="DocumentMainType"/>
      <xsd:choice>
        <xsd:sequence>
          <xsd:element ref="Year"/>
          <xsd:element ref="Number"/>
          <xsd:element ref="dc:identifier" minOccurs="0"/>
        </xsd:sequence>
        <xsd:element ref="dc:identifier"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attribute name="Type" use="required">
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value="corrects"/>
          <xsd:enumeration value="correctedBy"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <!-- if editing in publications then the following should not be used (used in delivered data) -->
    <xsd:attribute name="Class" type="leg:DocumentMainType" use="required">
      <xsd:annotation>
        <xsd:documentation>Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <!-- Year 4 digit  -->
    <xsd:attribute name="Year" type="xsd:gYear" use="required">
      <xsd:annotation>
        <xsd:documentation>Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="Number" type="xsd:integer" use="optional">
      <xsd:annotation>
        <xsd:documentation>Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="ISBN" use="optional">
      <xsd:annotation>
        <xsd:documentation>This is used in draft documents. Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
      </xsd:annotation>
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:maxLength value="13"/>
          <xsd:minLength value="10"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element SupersededBy
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Defines the legislation that has superseded this legislation.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SupersededBy_URIdc_xsd.tmp#titleschemaLegislationMetadata_xsd.tmp#DocumentMainTypeschemaLegislationMetadata_xsd.tmp#YearschemaLegislationMetadata_xsd.tmp#NumberschemaLegislationMetadata_xsd.tmp#ISBNschemaLegislationMetadata_xsd.tmp#AlternativeNumberschemaLegislationMetadata_xsd.tmp#ISBN
Properties
content complex
Used by
Element Group LegislationMetadata
Model
Children AlternativeNumber, DocumentMainType, ISBN, Number, Year, title
Attributes
QName Type Use
URI xsd:anyURI required
Instance
<SupersededBy URI="" xmlns="http://www.legislation.gov.uk/namespaces/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <dc:title>{1,1}</dc:title>
  <DocumentMainType Value="">{1,1}</DocumentMainType>
  <Year Value="">{1,1}</Year>
  <Number Value="">{1,1}</Number>
  <ISBN Value="">{0,1}</ISBN>
  <AlternativeNumber Category="" Value="">{0,unbounded}</AlternativeNumber>
  <ISBN Value="">{1,1}</ISBN>
</SupersededBy>
Source
<xsd:element name="SupersededBy">
  <xsd:annotation>
    <xsd:documentation>Defines the legislation that has superseded this legislation.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="dc:title"/>
      <xsd:element ref="DocumentMainType"/>
      <xsd:element ref="Year"/>
      <xsd:choice>
        <xsd:sequence>
          <xsd:element ref="Number"/>
          <xsd:element ref="ISBN" minOccurs="0"/>
          <xsd:element ref="AlternativeNumber" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
        <xsd:element ref="ISBN"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
  </xsd:complexType>
</xsd:element>
Element Supersedes
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Defines the legislation that this legislation has superseded.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Supersedes_URIdc_xsd.tmp#titleschemaLegislationMetadata_xsd.tmp#DocumentMainTypeschemaLegislationMetadata_xsd.tmp#YearschemaLegislationMetadata_xsd.tmp#ISBNschemaLegislationMetadata_xsd.tmp#AlternativeNumber
Properties
content complex
Used by
Element Group LegislationMetadata
Model
Children AlternativeNumber, DocumentMainType, ISBN, Year, title
Attributes
QName Type Use
URI xsd:anyURI required
Instance
<Supersedes URI="" xmlns="http://www.legislation.gov.uk/namespaces/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <dc:title>{1,1}</dc:title>
  <DocumentMainType Value="">{1,1}</DocumentMainType>
  <Year Value="">{1,1}</Year>
  <ISBN Value="">{1,1}</ISBN>
  <AlternativeNumber Category="" Value="">{0,1}</AlternativeNumber>
</Supersedes>
Source
<xsd:element name="Supersedes">
  <xsd:annotation>
    <xsd:documentation>Defines the legislation that this legislation has superseded.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="dc:title"/>
      <xsd:element ref="DocumentMainType"/>
      <xsd:element ref="Year"/>
      <xsd:element ref="ISBN"/>
      <xsd:element ref="AlternativeNumber" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
  </xsd:complexType>
</xsd:element>
Element ConfersPower
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Specifies that a provision confers power to make secondary legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#ConfersPower_IdURIschemaLegislationMetadata_xsd.tmp#ConfersPower_title
Properties
content complex
Used by
Element Group LegislationMetadata
Attributes
QName Type Use Annotation
IdURI xsd:anyURI required
The URI of a provision that confers power to make subordinate legislation.
title xsd:string optional
The title of the provision.
Source
<xsd:element name="ConfersPower">
  <xsd:annotation>
    <xsd:documentation>Specifies that a provision confers power to make secondary legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="IdURI" type="xsd:anyURI" use="required">
      <xsd:annotation>
        <xsd:documentation>The URI of a provision that confers power to make subordinate legislation.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="title" type="xsd:string" use="optional">
      <xsd:annotation>
        <xsd:documentation>The title of the provision.</xsd:documentation>
      </xsd:annotation>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>
Element BlanketAmendment
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Is a term used to indicate the provision contains an amendment that affects the legislation in general rather than for a specific provision(s). For example where a provision indicates a change to a term 'wherever it occurs in the affected legislation'.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#BlanketAmendment_IdURIschemaLegislationMetadata_xsd.tmp#BlanketAmendment_title
Properties
content complex
Used by
Element Group LegislationMetadata
Attributes
QName Type Use
IdURI xsd:anyURI required
title xsd:string optional
Source
<xsd:element name="BlanketAmendment">
  <xsd:annotation>
    <xsd:documentation>Is a term used to indicate the provision contains an amendment that affects the legislation in general rather than for a specific provision(s). For example where a provision indicates a change to a term 'wherever it occurs in the affected legislation'.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="IdURI" type="xsd:anyURI" use="required"/>
    <xsd:attribute name="title" type="xsd:string" use="optional"/>
  </xsd:complexType>
</xsd:element>
Element Notes
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for Explanatory Notes (ENs) and Explanatory Memorandums (EMs) for this legislation item
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#NoteschemaLegislationMetadata_xsd.tmp#AlternativesschemaLegislationMetadata_xsd.tmp#CorrectionSlips
Properties
content complex
Used by
Element Group Alter
Model
Children Alternatives, CorrectionSlips, Note
Instance
<Notes xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Note DocumentURI="" IdURI="">{1,1}</Note>
  <Alternatives>{1,1}</Alternatives>
  <CorrectionSlips>{1,1}</CorrectionSlips>
</Notes>
Source
<xsd:element name="Notes">
  <xsd:annotation>
    <xsd:documentation>Metadata for Explanatory Notes (ENs) and Explanatory Memorandums (EMs) for this legislation item</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:choice minOccurs="1" maxOccurs="unbounded">
      <xsd:element ref="Note"/>
      <xsd:element ref="Alternatives"/>
      <xsd:element ref="CorrectionSlips"/>
    </xsd:choice>
  </xsd:complexType>
</xsd:element>
Element Note
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for a single EN or EM for this legislation item
Diagram
DiagramschemaCommon_xsd.tmp#OptionalURIs
Properties
content complex
Used by
Element Notes
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:element name="Note">
  <xsd:annotation>
    <xsd:documentation>Metadata for a single EN or EM for this legislation item</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attributeGroup ref="leg:OptionalURIs"/>
  </xsd:complexType>
</xsd:element>
Element Alternatives
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Contains a set of alternative formats for the document
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#Alternatives_Alternative
Properties
content complex
Used by
Element Notes
Element Group Alter
Model
Children Alternative
Instance
<Alternatives xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <Alternative Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</Alternative>
</Alternatives>
Source
<xsd:element name="Alternatives">
  <xsd:annotation>
    <xsd:documentation>Contains a set of alternative formats for the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="Alternative" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>An alternative format for the document</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element Alternatives / Alternative
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
An alternative format for the document
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="Alternative" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>An alternative format for the document</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element CorrectionSlips
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Group of correction slips on this legislation or note
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#CorrectionSlips_CorrectionSlip
Properties
content complex
Used by
Element Notes
Element Group Alter
Model
Children CorrectionSlip
Instance
<CorrectionSlips xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <CorrectionSlip Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</CorrectionSlip>
</CorrectionSlips>
Source
<xsd:element name="CorrectionSlips">
  <xsd:annotation>
    <xsd:documentation>Group of correction slips on this legislation or note</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="CorrectionSlip" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>A correction slip on an item of legislation or explanatory note</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element CorrectionSlips / CorrectionSlip
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A correction slip on an item of legislation or explanatory note
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="CorrectionSlip" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>A correction slip on an item of legislation or explanatory note</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element PolicyEqualityStatements
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Group of Policy Equality Statements for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#PolicyEqualityStatements_PolicyEqualityStatement
Properties
content complex
Used by
Element Group Alter
Model
Children PolicyEqualityStatement
Instance
<PolicyEqualityStatements xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <PolicyEqualityStatement Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</PolicyEqualityStatement>
</PolicyEqualityStatements>
Source
<xsd:element name="PolicyEqualityStatements">
  <xsd:annotation>
    <xsd:documentation>Group of Policy Equality Statements for this legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="PolicyEqualityStatement" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>Policy Equality Statement for this legislation</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element PolicyEqualityStatements / PolicyEqualityStatement
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Policy Equality Statement for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="PolicyEqualityStatement" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>Policy Equality Statement for this legislation</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element CodesOfPractice
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Group of codes of practice for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#CodesOfPractice_CodeOfPractice
Properties
content complex
Used by
Element Group Alter
Model
Children CodeOfPractice
Instance
<CodesOfPractice xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <CodeOfPractice Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</CodeOfPractice>
</CodesOfPractice>
Source
<xsd:element name="CodesOfPractice">
  <xsd:annotation>
    <xsd:documentation>Group of codes of practice for this legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="CodeOfPractice" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>A correction slips on this legislation or note</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element CodesOfPractice / CodeOfPractice
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A correction slips on this legislation or note
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="CodeOfPractice" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>A correction slips on this legislation or note</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element CodesOfConduct
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Group of codes of conduct for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#CodesOfConduct_CodeOfConduct
Properties
content complex
Used by
Element Group Alter
Model
Children CodeOfConduct
Instance
<CodesOfConduct xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <CodeOfConduct Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</CodeOfConduct>
</CodesOfConduct>
Source
<xsd:element name="CodesOfConduct">
  <xsd:annotation>
    <xsd:documentation>Group of codes of conduct for this legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="CodeOfConduct" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>A code of conduct for this legislation</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element CodesOfConduct / CodeOfConduct
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A code of conduct for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="CodeOfConduct" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>A code of conduct for this legislation</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element TablesOfOrigins
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Group of tables of origins for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#TablesOfOrigins_TableOfOrigins
Properties
content complex
Used by
Element Group Alter
Model
Children TableOfOrigins
Instance
<TablesOfOrigins xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <TableOfOrigins Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</TableOfOrigins>
</TablesOfOrigins>
Source
<xsd:element name="TablesOfOrigins">
  <xsd:annotation>
    <xsd:documentation>Group of tables of origins for this legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="TableOfOrigins" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>A table of origin for this legislation</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element TablesOfOrigins / TableOfOrigins
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A table of origin for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="TableOfOrigins" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>A table of origin for this legislation</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element TablesOfDestinations
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Group of tables of destinations for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#TablesOfDestinations_TableOfDestinations
Properties
content complex
Used by
Element Group Alter
Model
Children TableOfDestinations
Instance
<TablesOfDestinations xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <TableOfDestinations Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</TableOfDestinations>
</TablesOfDestinations>
Source
<xsd:element name="TablesOfDestinations">
  <xsd:annotation>
    <xsd:documentation>Group of tables of destinations for this legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="TableOfDestinations" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>A table of desitnations for this legislation</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element TablesOfDestinations / TableOfDestinations
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A table of desitnations for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="TableOfDestinations" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>A table of desitnations for this legislation</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element OrdersInCouncil
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for Orders In Council
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#OrdersInCouncil_OrderInCouncil
Properties
content complex
Used by
Element Group Alter
Model
Children OrderInCouncil
Instance
<OrdersInCouncil xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <OrderInCouncil Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</OrderInCouncil>
</OrdersInCouncil>
Source
<xsd:element name="OrdersInCouncil">
  <xsd:annotation>
    <xsd:documentation>Metadata for Orders In Council</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="OrderInCouncil" maxOccurs="unbounded" type="AlterType"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element OrdersInCouncil / OrderInCouncil
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="OrderInCouncil" maxOccurs="unbounded" type="AlterType"/>
Element ImpactAssessments
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for Impact Assessments
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#ImpactAssessments_ImpactAssessment
Properties
content complex
Used by
Element Group Alter
Model
Children ImpactAssessment
Instance
<ImpactAssessments xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <ImpactAssessment Date="" Department="" Language="" Number="" Size="" Stage="" Title="" TitleWelsh="" URI="" Year="">{1,unbounded}</ImpactAssessment>
</ImpactAssessments>
Source
<xsd:element name="ImpactAssessments">
  <xsd:annotation>
    <xsd:documentation>Metadata for Impact Assessments</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="ImpactAssessment" maxOccurs="unbounded" type="IAalterType">
        <xsd:annotation>
          <xsd:documentation>Links to an associated Impact Assessment, which assesses the impact of legislative proposals realised by the document. An Impact Assessment can be associated with one or many items of legislation (or not be associated with an item of legislation at all, if it assesses proposed policy changes yet to be drafted as legislation).</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element ImpactAssessments / ImpactAssessment
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Links to an associated Impact Assessment, which assesses the impact of legislative proposals realised by the document. An Impact Assessment can be associated with one or many items of legislation (or not be associated with an item of legislation at all, if it assesses proposed policy changes yet to be drafted as legislation).
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#IAalterType_DateschemaLegislationMetadata_xsd.tmp#IAalterType_URIschemaLegislationMetadata_xsd.tmp#IAalterType_TitleschemaLegislationMetadata_xsd.tmp#IAalterType_TitleWelshschemaLegislationMetadata_xsd.tmp#IAalterType_StageschemaLegislationMetadata_xsd.tmp#IAalterType_DepartmentschemaLegislationMetadata_xsd.tmp#IAalterType_YearschemaLegislationMetadata_xsd.tmp#IAalterType_NumberschemaLegislationMetadata_xsd.tmp#IAalterType_LanguageschemaLegislationMetadata_xsd.tmp#IAalterType_SizeschemaLegislationMetadata_xsd.tmp#IAalterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the Impact Assessment, in yyyy-mm-dd format
Department xsd:string optional
The department associated with the Impact Assessment
Language xsd:string optional
The language of the Impact Assessment
Number xsd:string optional
The document number of the Impact Assessment
Size xsd:integer optional
The filesize of the Impact Assessment in kb
Stage xsd:string optional
Indicates the stage of the development of the legislation to which the Impact Assessment relates, which may be before its development (Consultation), during its development (Development), after the drafting of the document (Final), after its amendment in Parliament (Enactment) or after its enactment (Post-Implementation)
Title xsd:string optional
The Title of the Impact Assessment
TitleWelsh xsd:string optional
The Welsh language Title of the Impact Assessment
URI xsd:anyURI required
The URI of the Impact Assessment, usually PDF
Year xsd:string optional
The year of the Impact Assessment
Source
<xsd:element name="ImpactAssessment" maxOccurs="unbounded" type="IAalterType">
  <xsd:annotation>
    <xsd:documentation>Links to an associated Impact Assessment, which assesses the impact of legislative proposals realised by the document. An Impact Assessment can be associated with one or many items of legislation (or not be associated with an item of legislation at all, if it assesses proposed policy changes yet to be drafted as legislation).</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element OtherDocuments
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for other documents that do not fit any of the other options; covers Explanatory Documents as well as more random documents
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#OtherDocuments_OtherDocument
Properties
content complex
Used by
Element Group Alter
Model
Children OtherDocument
Instance
<OtherDocuments xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <OtherDocument Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</OtherDocument>
</OtherDocuments>
Source
<xsd:element name="OtherDocuments">
  <xsd:annotation>
    <xsd:documentation>Metadata for other documents that do not fit any of the other options; covers Explanatory Documents as well as more random documents</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="OtherDocument" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>Links to an associated document that that is not defined by another AlterType or IAalterType element - for example, a Post Implementation Review (PIR)</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element OtherDocuments / OtherDocument
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Links to an associated document that that is not defined by another AlterType or IAalterType element - for example, a Post Implementation Review (PIR)
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="OtherDocument" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>Links to an associated document that that is not defined by another AlterType or IAalterType element - for example, a Post Implementation Review (PIR)</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element ExplanatoryDocuments
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Group of Explanatory Documents for this legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#ExplanatoryDocuments_ExplanatoryDocument
Properties
content complex
Used by
Element Group Alter
Model
Children ExplanatoryDocument
Instance
<ExplanatoryDocuments xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <ExplanatoryDocument Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</ExplanatoryDocument>
</ExplanatoryDocuments>
Source
<xsd:element name="ExplanatoryDocuments">
  <xsd:annotation>
    <xsd:documentation>Group of Explanatory Documents for this legislation</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="ExplanatoryDocument" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>An explanatory document for the item of legislation</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element ExplanatoryDocuments / ExplanatoryDocument
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
An explanatory document for the item of legislation
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="ExplanatoryDocument" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>An explanatory document for the item of legislation</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element TranspositionNotes
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for Transposition Notes
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#TranspositionNotes_TranspositionNote
Properties
content complex
Used by
Element Group Alter
Model
Children TranspositionNote
Instance
<TranspositionNotes xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <TranspositionNote Date="" Language="" Print="" Revised="" Size="" Title="" TitleWelsh="" URI="">{1,unbounded}</TranspositionNote>
</TranspositionNotes>
Source
<xsd:element name="TranspositionNotes">
  <xsd:annotation>
    <xsd:documentation>Metadata for Transposition Notes</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="TranspositionNote" maxOccurs="unbounded" type="AlterType">
        <xsd:annotation>
          <xsd:documentation>Links to a transposition note, which explains how the document implements a particular European Directive</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element TranspositionNotes / TranspositionNote
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Links to a transposition note, which explains how the document implements a particular European Directive
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_PrintschemaLegislationMetadata_xsd.tmp#AlterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:element name="TranspositionNote" maxOccurs="unbounded" type="AlterType">
  <xsd:annotation>
    <xsd:documentation>Links to a transposition note, which explains how the document implements a particular European Directive</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element UKRPCOpinions
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for UK Regulatory Policy Committee Opinions on Impact Assessments
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#UKRPCOpinions_UKRPCOpinion
Properties
content complex
Used by
Element Group Alter
Model
Children UKRPCOpinion
Instance
<UKRPCOpinions xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <UKRPCOpinion Date="" Department="" Language="" Number="" Size="" Stage="" Title="" TitleWelsh="" URI="" Year="">{1,unbounded}</UKRPCOpinion>
</UKRPCOpinions>
Source
<xsd:element name="UKRPCOpinions">
  <xsd:annotation>
    <xsd:documentation>Metadata for UK Regulatory Policy Committee Opinions on Impact Assessments</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="UKRPCOpinion" maxOccurs="unbounded" type="IAalterType">
        <xsd:annotation>
          <xsd:documentation>Links to an associated UK Regulatory Policy Committee Opinion</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element UKRPCOpinions / UKRPCOpinion
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Links to an associated UK Regulatory Policy Committee Opinion
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#IAalterType_DateschemaLegislationMetadata_xsd.tmp#IAalterType_URIschemaLegislationMetadata_xsd.tmp#IAalterType_TitleschemaLegislationMetadata_xsd.tmp#IAalterType_TitleWelshschemaLegislationMetadata_xsd.tmp#IAalterType_StageschemaLegislationMetadata_xsd.tmp#IAalterType_DepartmentschemaLegislationMetadata_xsd.tmp#IAalterType_YearschemaLegislationMetadata_xsd.tmp#IAalterType_NumberschemaLegislationMetadata_xsd.tmp#IAalterType_LanguageschemaLegislationMetadata_xsd.tmp#IAalterType_SizeschemaLegislationMetadata_xsd.tmp#IAalterType
Properties
content complex
maxOccurs unbounded
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the Impact Assessment, in yyyy-mm-dd format
Department xsd:string optional
The department associated with the Impact Assessment
Language xsd:string optional
The language of the Impact Assessment
Number xsd:string optional
The document number of the Impact Assessment
Size xsd:integer optional
The filesize of the Impact Assessment in kb
Stage xsd:string optional
Indicates the stage of the development of the legislation to which the Impact Assessment relates, which may be before its development (Consultation), during its development (Development), after the drafting of the document (Final), after its amendment in Parliament (Enactment) or after its enactment (Post-Implementation)
Title xsd:string optional
The Title of the Impact Assessment
TitleWelsh xsd:string optional
The Welsh language Title of the Impact Assessment
URI xsd:anyURI required
The URI of the Impact Assessment, usually PDF
Year xsd:string optional
The year of the Impact Assessment
Source
<xsd:element name="UKRPCOpinion" maxOccurs="unbounded" type="IAalterType">
  <xsd:annotation>
    <xsd:documentation>Links to an associated UK Regulatory Policy Committee Opinion</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element Statistics
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations

Holds statistics about the document.

Legislation.gov.uk generates the statistics within the <Statistics> automatically on each page load. The website frontend uses the statistics to determine the behaviour of the links in the sidebar that open all or part of the item. If there are more than a certain number of paragraphs in the part to be opened, the website will warn the user before navigating to the part and allow them to cancel navigation.

Diagram
DiagramschemaLegislationMetadata_xsd.tmp#TotalParagraphsschemaLegislationMetadata_xsd.tmp#BodyParagraphsschemaLegislationMetadata_xsd.tmp#ScheduleParagraphsschemaLegislationMetadata_xsd.tmp#AttachmentParagraphsschemaLegislationMetadata_xsd.tmp#TotalImages
Properties
content complex
Used by
Element Group LegislationMetadata
Model
Children AttachmentParagraphs, BodyParagraphs, ScheduleParagraphs, TotalImages, TotalParagraphs
Instance
<Statistics xmlns="http://www.legislation.gov.uk/namespaces/metadata">
  <TotalParagraphs Value="">{0,1}</TotalParagraphs>
  <BodyParagraphs Value="">{0,1}</BodyParagraphs>
  <ScheduleParagraphs Value="">{0,1}</ScheduleParagraphs>
  <AttachmentParagraphs Value="">{0,1}</AttachmentParagraphs>
  <TotalImages Value="">{0,1}</TotalImages>
</Statistics>
Source
<xsd:element name="Statistics">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>Holds statistics about the document.</h:p>
      <h:p>Legislation.gov.uk generates the statistics within the
        <h:code><Statistics></h:code>automatically on each page load. The website frontend uses the statistics to determine the behaviour of the links in the sidebar that open all or part of the item. If there are more than a certain number of paragraphs in the part to be opened, the website will warn the user before navigating to the part and allow them to cancel navigation.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="TotalParagraphs" minOccurs="0"/>
      <xsd:element ref="BodyParagraphs" minOccurs="0"/>
      <xsd:element ref="ScheduleParagraphs" minOccurs="0"/>
      <xsd:element ref="AttachmentParagraphs" minOccurs="0"/>
      <xsd:element ref="TotalImages" minOccurs="0"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element TotalParagraphs
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A count of all paragraphs in the document.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#TotalParagraphs_Value
Properties
content complex
Used by
Element Statistics
Attributes
QName Type Use
Value xsd:integer required
Source
<xsd:element name="TotalParagraphs">
  <xsd:annotation>
    <xsd:documentation>A count of all paragraphs in the document.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="xsd:integer" use="required"/>
  </xsd:complexType>
</xsd:element>
Element BodyParagraphs
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A count of paragraphs in the body of the document.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#BodyParagraphs_Value
Properties
content complex
Used by
Element Statistics
Attributes
QName Type Use
Value xsd:integer required
Source
<xsd:element name="BodyParagraphs">
  <xsd:annotation>
    <xsd:documentation>A count of paragraphs in the body of the document.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="xsd:integer" use="required"/>
  </xsd:complexType>
</xsd:element>
Element ScheduleParagraphs
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A count of paragraphs in the schedules of the document.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#ScheduleParagraphs_Value
Properties
content complex
Used by
Element Statistics
Attributes
QName Type Use
Value xsd:integer required
Source
<xsd:element name="ScheduleParagraphs">
  <xsd:annotation>
    <xsd:documentation>A count of paragraphs in the schedules of the document.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="xsd:integer" use="required"/>
  </xsd:complexType>
</xsd:element>
Element AttachmentParagraphs
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A count of paragraphs in attachments of the document.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AttachmentParagraphs_Value
Properties
content complex
Used by
Element Statistics
Attributes
QName Type Use
Value xsd:integer required
Source
<xsd:element name="AttachmentParagraphs">
  <xsd:annotation>
    <xsd:documentation>A count of paragraphs in attachments of the document.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="xsd:integer" use="required"/>
  </xsd:complexType>
</xsd:element>
Element TotalImages
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A count of images in the document.
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#TotalImages_Value
Properties
content complex
Used by
Element Statistics
Attributes
QName Type Use
Value xsd:integer required
Source
<xsd:element name="TotalImages">
  <xsd:annotation>
    <xsd:documentation>A count of images in the document.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:attribute name="Value" type="xsd:integer" use="required"/>
  </xsd:complexType>
</xsd:element>
Complex Type EffectType
Namespace http://www.legislation.gov.uk/namespaces/metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#EffectType_NewschemaLegislationMetadata_xsd.tmp#EffectType_TypeschemaLegislationMetadata_xsd.tmp#EffectType_TypeNotesschemaLegislationMetadata_xsd.tmp#EffectType_NotesschemaLegislationMetadata_xsd.tmp#EffectType_CommentsschemaLegislationMetadata_xsd.tmp#EffectType_AffectingURIschemaLegislationMetadata_xsd.tmp#EffectType_AffectingClassschemaLegislationMetadata_xsd.tmp#EffectType_AffectingYearschemaLegislationMetadata_xsd.tmp#EffectType_AffectingNumberschemaLegislationMetadata_xsd.tmp#NO_NAMESPACE_EffectType_AffectingProvisionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectedURIschemaLegislationMetadata_xsd.tmp#EffectType_AffectedClassschemaLegislationMetadata_xsd.tmp#EffectType_AffectedYearschemaLegislationMetadata_xsd.tmp#EffectType_AffectedNumberschemaLegislationMetadata_xsd.tmp#NO_NAMESPACE_EffectType_AffectedProvisionsschemaLegislationMetadata_xsd.tmp#EffectType_IndexschemaLegislationMetadata_xsd.tmp#EffectType_RowschemaLegislationMetadata_xsd.tmp#EffectType_ModifiedschemaLegislationMetadata_xsd.tmp#EffectType_AppliedModifiedschemaLegislationMetadata_xsd.tmp#EffectType_URIschemaLegislationMetadata_xsd.tmp#EffectType_CreatedschemaLegislationMetadata_xsd.tmp#EffectType_EffectIdschemaLegislationMetadata_xsd.tmp#EffectType_RequiresAppliedschemaLegislationMetadata_xsd.tmp#EffectType_RequiresWelshAppliedschemaLegislationMetadata_xsd.tmp#EffectType_AffectedEffectsExtentschemaLegislationMetadata_xsd.tmp#EffectType_AffectedExtentschemaLegislationMetadata_xsd.tmp#EffectType_AffectedExtentSectionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectedTerritorialApplicationschemaLegislationMetadata_xsd.tmp#EffectType_AffectingCommencementSectionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectingEffectsExtentschemaLegislationMetadata_xsd.tmp#EffectType_AffectingExtentschemaLegislationMetadata_xsd.tmp#EffectType_AffectingExtentSectionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectingRoyalAssentschemaLegislationMetadata_xsd.tmp#EffectType_AffectingTerritorialApplicationschemaLegislationMetadata_xsd.tmp#EffectType_AppendedCommentaryschemaLegislationMetadata_xsd.tmp#EffectType_NewRandomSequkGovErrors_xsd.tmp#missingUnappliedEffectschemaLegislationMetadata_xsd.tmp#EffectType_AffectedProvisionsschemaLegislationMetadata_xsd.tmp#EffectType_AffectingProvisionsschemaLegislationMetadata_xsd.tmp#EffectType_CommencedschemaLegislationMetadata_xsd.tmp#AffectedTitleschemaLegislationMetadata_xsd.tmp#AffectingTitleschemaLegislationMetadata_xsd.tmp#EffectType_SavingsschemaLegislationMetadata_xsd.tmp#EffectType_CommencementAuthorityschemaLegislationMetadata_xsd.tmp#InForceDates
Used by
Element UnappliedEffect
Model
Children AffectedProvisions, AffectedTitle, AffectingProvisions, AffectingTitle, Commenced, CommencementAuthority, InForceDates, Savings
Attributes
QName Type Use Annotation
Affected xsd:string optional
AffectedClass DocumentMainType required
The DocumentMainType of the affected document
AffectedEffectsExtent AffectingExtentType optional
Indicates TOES application of the 'Affected Effects Extent'
AffectedExtent ExtentType optional
Indicates TOES application of the 'Affected Provisions Extent'
AffectedExtentSections xsd:string optional
Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial
AffectedNumber xsd:positiveInteger required
The affected document's number
AffectedProvisions xsd:string optional
A string representation of the affected provision(s) that the effect amends or modifies
AffectedTerritorialApplication ExtentType optional
Indicates the territorial application of the affected provision(s). The editorial system uses this value to determine whether the effect’s extent/territorial application of the effect is smaller than that of the affected provision(s), i.e. the provisions it affects. If smaller, the original text or meaning of those provisions will remain unchanged in the territories to which the effect does not extend/apply, and the editor must indicate that the amendment only extends to/applies in specific territories when they carry out the amendment
AffectedURI xsd:anyURI required
A link to the section in this legislation that has been affected. Or (if the AffectedUpTo attribute is also present), a link to the first of the affected sections.
AffectedYear xsd:gYear required
The year in which the affected document was published
AffectingClass DocumentMainType required
The DocumentMainType of the affecting document
AffectingCommencementSections xsd:anyURI optional
This works same as that of 'CommencementAuthority', which details the provision giving authority for the In-Force date(s)
AffectingEffectsExtent AffectingExtentType optional
Indicates TOES application of the Affecting Extent
AffectingExtent ExtentType optional
Indicates TOES application of the Affecting Provisions Extent
AffectingExtentSections xsd:string optional
Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial
AffectingNumber xsd:positiveInteger required
The affecting document's number
AffectingProvisions xsd:string optional
A string representation of the affecting provision(s) from which the effect originates
AffectingRoyalAssent xsd:date optional
Date of royal assent. No longer used in new Effects data, but its values are held in TOES XML added as bulk upload
AffectingTerritorialApplication ExtentType optional
Indicates the territorial application of the affecting provision(s)
AffectingURI xsd:anyURI required
A link to the legislation (and the section within it) that affects this one. Or (if AffectingUpTo is also present), a link to the first section affecting this one.
AffectingYear xsd:gYear required
The year in which the affecting document was published
AppendedCommentary xsd:string optional
Used to add additional commentary information that will be displayed after the core effect commentary information which will be generated using the preceding Extended TOES columns
AppliedModified xsd:dateTime optional
Records the date and time when the Applied status of the effect is changed
Comments xsd:string optional
Contains notes to assist the legislation.gov.uk update editor in applying the amendment to the affected item of legislation
Created xsd:dateTime optional
Records the date and time of its creation, i.e. indicating an Effect has been created via Editorial system. Incase of bulk upload, this value might be the date when it was first added in Editorial system unless otherwise a creation dateTime value is known
EffectId xsd:string optional
This is an unique ID for each effect, and is made up by combining the core key elements in an effect and generated MD5 hash code
Index xsd:integer optional
An Integer value, not in use anymore for spreadsheet processing. But some bulk uploaded data still contains uses it, having the index number of Effect in the uploaded spreadsheet
Modified xsd:dateTime optional
Records the date and time, indicating an Effect has been modified via Editorial system
New xsd:boolean optional
Interimly used within the code. If set true, it means the effect is not present in the database and hence the Effect should be excluded from the 'update' list
NewRandomSeq xsd:integer optional
Notes xsd:string optional
Contains notes for the readers of legislation to clarify the operation or application of the effect. The field is often used to indicate that a particular effect will only come into force after another event occurs (such as the coming into force of a provision of a different item of legislation) or that the effect will not be applied to Legislation.gov.uk (for example, when the affecting provision is repealed before it comes into force). The Legislation.gov.uk 'Changes to Legislation' page displays these notes to the user
RequiresApplied xsd:boolean optional
Indicates whether or not the effect will be applied. For example, if the affecting provision is repealed or superseded before it comes into force, the effect will never come into force and so does not need to be applied. Where the affected item of legislation is a dual-language item (in English and Welsh), indicates whether or not the effect will be applied to the English text
RequiresWelshApplied xsd:boolean optional
Indicates, for effects on dual-language legislation (in English and Welsh), whether or not the effect will be applied to the Welsh text. For example, if the effect only amends the English text, the effect does not need to be applied to the Welsh text
Row xsd:integer optional
Used to store the row number of the spreadsheet, from where the specific Effect data came from
Type xsd:token required
Indicates the type of amendment that this effect represents, e.g. inserted, substituted, repealed, modified, extended and applied
TypeNotes xsd:string optional
This was used to store Notes and serve the same purpose as legacy:notes. Not used anymore (to process the spreadsheet), some effects still have this attribute value
URI xsd:anyURI optional
Used to store the previous Effect ID along with legislation base URI. Not an identifier for the Effect
Source
<xsd:complexType name="EffectType">
  <!-- Original more strict order did not match data
				<xsd:sequence>
				<xsd:element name="AffectedProvisions" type="ProvisionsStructure" minOccurs="0"/>
				<xsd:element name="AffectingProvisions" type="ProvisionsStructure" minOccurs="0"/>
				<xsd:element name="Commenced" type="ProvisionsStructure" minOccurs="0"/>
				<xsd:element name="AffectedTitle" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element name="AffectingTitle" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element name="Savings" type="ProvisionsStructure" minOccurs="0"/>
				<xsd:element name="CommencementAuthority" type="ProvisionsStructure" minOccurs="0"/>
				<xsd:element ref="InForceDates" minOccurs="0"/>
			</xsd:sequence>-->
  <!-- #113004935 -->
  <xsd:choice minOccurs="1" maxOccurs="unbounded">
    <xsd:element name="AffectedProvisions" type="ProvisionsStructure" minOccurs="0"/>
    <xsd:element name="AffectingProvisions" type="ProvisionsStructure" minOccurs="0"/>
    <xsd:element name="Commenced" type="ProvisionsStructure" minOccurs="0"/>
    <xsd:element ref="AffectedTitle" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="AffectingTitle" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="Savings" type="ProvisionsStructure" minOccurs="0"/>
    <xsd:element name="CommencementAuthority" type="ProvisionsStructure" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>Provide details of the provision giving authority for the In-Force date(s). If there is no commencement provision then there will be a value added 'N'. Where the commencement date is defined elsewhere, for example, in an Interpretation provision, then this provision also will be included as part of the Commencement Authority</xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    <xsd:element ref="InForceDates" minOccurs="0"/>
  </xsd:choice>
  <xsd:attribute name="New" type="xsd:boolean">
    <xsd:annotation>
      <xsd:documentation>Interimly used within the code. If set true, it means the effect is not present in the database and hence the Effect should be excluded from the 'update' list</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Type" type="xsd:token" use="required">
    <xsd:annotation>
      <xsd:documentation>Indicates the type of amendment that this effect represents, e.g. inserted, substituted, repealed, modified, extended and applied</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="TypeNotes" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>This was used to store Notes and serve the same purpose as legacy:notes. Not used anymore (to process the spreadsheet), some effects still have this attribute value</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Notes" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>Contains notes for the readers of legislation to clarify the operation or application of the effect. The field is often used to indicate that a particular effect will only come into force after another event occurs (such as the coming into force of a provision of a different item of legislation) or that the effect will not be applied to Legislation.gov.uk (for example, when the affecting provision is repealed before it comes into force). The Legislation.gov.uk 'Changes to Legislation' page displays these notes to the user</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Comments" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>Contains notes to assist the legislation.gov.uk update editor in applying the amendment to the affected item of legislation</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingURI" type="xsd:anyURI" use="required">
    <xsd:annotation>
      <xsd:documentation>A link to the legislation (and the section within it) that affects this one. Or (if AffectingUpTo is also present), a link to the first section affecting this one.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingClass" type="leg:DocumentMainType" use="required">
    <xsd:annotation>
      <xsd:documentation>The DocumentMainType of the affecting document</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingYear" type="xsd:gYear" use="required">
    <xsd:annotation>
      <xsd:documentation>The year in which the affecting document was published</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingNumber" type="xsd:positiveInteger" use="required">
    <xsd:annotation>
      <xsd:documentation>The affecting document's number</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingProvisions" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>A string representation of the affecting provision(s) from which the effect originates</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectedURI" type="xsd:anyURI" use="required">
    <xsd:annotation>
      <xsd:documentation>A link to the section in this legislation that has been affected. Or (if the AffectedUpTo attribute is also present), a link to the first of the affected sections.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectedClass" type="leg:DocumentMainType" use="required">
    <xsd:annotation>
      <xsd:documentation>The DocumentMainType of the affected document</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectedYear" type="xsd:gYear" use="required">
    <xsd:annotation>
      <xsd:documentation>The year in which the affected document was published</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectedNumber" type="xsd:positiveInteger" use="required">
    <xsd:annotation>
      <xsd:documentation>The affected document's number</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectedProvisions" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>A string representation of the affected provision(s) that the effect amends or modifies</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Index" type="xsd:integer">
    <xsd:annotation>
      <xsd:documentation>An Integer value, not in use anymore for spreadsheet processing. But some bulk uploaded data still contains uses it, having the index number of Effect in the uploaded spreadsheet</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Row" type="xsd:integer">
    <xsd:annotation>
      <xsd:documentation>Used to store the row number of the spreadsheet, from where the specific Effect data came from</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Modified" type="xsd:dateTime">
    <xsd:annotation>
      <xsd:documentation>Records the date and time, indicating an Effect has been modified via Editorial system</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AppliedModified" type="xsd:dateTime">
    <xsd:annotation>
      <xsd:documentation>Records the date and time when the Applied status of the effect is changed</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="URI" type="xsd:anyURI">
    <xsd:annotation>
      <xsd:documentation>Used to store the previous Effect ID along with legislation base URI. Not an identifier for the Effect</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Created" type="xsd:dateTime">
    <xsd:annotation>
      <xsd:documentation>Records the date and time of its creation, i.e. indicating an Effect has been created via Editorial system. Incase of bulk upload, this value might be the date when it was first added in Editorial system unless otherwise a creation dateTime value is known</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="EffectId" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>This is an unique ID for each effect, and is made up by combining the core key elements in an effect and generated MD5 hash code</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="RequiresApplied" type="xsd:boolean">
    <xsd:annotation>
      <xsd:documentation>Indicates whether or not the effect will be applied. For example, if the affecting provision is repealed or superseded before it comes into force, the effect will never come into force and so does not need to be applied. Where the affected item of legislation is a dual-language item (in English and Welsh), indicates whether or not the effect will be applied to the English text</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="RequiresWelshApplied" type="xsd:boolean" use="optional">
    <xsd:annotation>
      <xsd:documentation>Indicates, for effects on dual-language legislation (in English and Welsh), whether or not the effect will be applied to the Welsh text. For example, if the effect only amends the English text, the effect does not need to be applied to the Welsh text</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <!-- changed from ExtentType as data also contins "Same as affected" -->
  <xsd:attribute name="AffectedEffectsExtent" type="leg:AffectingExtentType">
    <xsd:annotation>
      <xsd:documentation>Indicates TOES application of the 'Affected Effects Extent'</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectedExtent" type="leg:ExtentType">
    <xsd:annotation>
      <xsd:documentation>Indicates TOES application of the 'Affected Provisions Extent'</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectedExtentSections" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectedTerritorialApplication" type="leg:ExtentType">
    <xsd:annotation>
      <xsd:documentation>Indicates the territorial application of the affected provision(s). The editorial system uses this value to determine whether the effect’s extent/territorial application of the effect is smaller than that of the affected provision(s), i.e. the provisions it affects. If smaller, the original text or meaning of those provisions will remain unchanged in the territories to which the effect does not extend/apply, and the editor must indicate that the amendment only extends to/applies in specific territories when they carry out the amendment</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingCommencementSections" type="xsd:anyURI">
    <xsd:annotation>
      <xsd:documentation>This works same as that of 'CommencementAuthority', which details the provision giving authority for the In-Force date(s)</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingEffectsExtent" type="leg:AffectingExtentType">
    <xsd:annotation>
      <xsd:documentation>Indicates TOES application of the Affecting Extent</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingExtent" type="leg:ExtentType">
    <xsd:annotation>
      <xsd:documentation>Indicates TOES application of the Affecting Provisions Extent</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingExtentSections" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingRoyalAssent" type="xsd:date">
    <xsd:annotation>
      <xsd:documentation>Date of royal assent. No longer used in new Effects data, but its values are held in TOES XML added as bulk upload</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AffectingTerritorialApplication" type="leg:ExtentType">
    <xsd:annotation>
      <xsd:documentation>Indicates the territorial application of the affecting provision(s)</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="AppendedCommentary" type="xsd:string">
    <xsd:annotation>
      <xsd:documentation>Used to add additional commentary information that will be displayed after the core effect commentary information which will be generated using the preceding Extended TOES columns</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="NewRandomSeq" type="xsd:integer"/>
  <!-- Looks like not in use anymore in Editorial -->
  <xsd:attributeGroup ref="errl:missingUnappliedEffect"/>
</xsd:complexType>
Complex Type ProvisionsStructure
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
A complex type for defining the sets of provisions within TOES effects. These sets of provisions include the affecting provisions from which an effect originates, the affected provisions that the effect modifies, and any provisions bringing the effect into force or qualifying the effect
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#SectionschemaLegislationMetadata_xsd.tmp#SectionRangeschemaLegislationMetadata_xsd.tmp#ProvisionsStructure_Citation
Properties
mixed true
Used by
Model
Children Citation, Section, SectionRange
Source
<xsd:complexType name="ProvisionsStructure" mixed="true">
  <xsd:annotation>
    <xsd:documentation>A complex type for defining the sets of provisions within TOES effects. These sets of provisions include the affecting provisions from which an effect originates, the affected provisions that the effect modifies, and any provisions bringing the effect into force or qualifying the effect</xsd:documentation>
  </xsd:annotation>
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="Section"/>
    <xsd:element ref="SectionRange"/>
    <xsd:element name="Citation">
      <xsd:annotation>
        <xsd:documentation>Used within a "Commencement Order" effect to denote the item of legislation being commenced by the commencement order</xsd:documentation>
      </xsd:annotation>
      <xsd:complexType mixed="true">
        <xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
        <xsd:attribute name="Class" type="leg:DocumentMainType"/>
        <xsd:attribute name="Year" type="xsd:gYear"/>
        <xsd:attribute name="Number" type="xsd:integer"/>
        <xsd:attribute name="Title" type="xsd:string"/>
      </xsd:complexType>
    </xsd:element>
  </xsd:choice>
</xsd:complexType>
Complex Type AlterType
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Defines attributes for associated documents
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#AlterType_DateschemaLegislationMetadata_xsd.tmp#AlterType_URIschemaLegislationMetadata_xsd.tmp#AlterType_TitleschemaLegislationMetadata_xsd.tmp#AlterType_TitleWelshschemaLegislationMetadata_xsd.tmp#AlterType_LanguageschemaLegislationMetadata_xsd.tmp#AlterType_SizeschemaLegislationMetadata_xsd.tmp#AlterType_RevisedschemaLegislationMetadata_xsd.tmp#AlterType_Print
Used by
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the associated item, in yyyy-mm-dd format
Language xsd:string optional
The language of the associated item
Print xsd:boolean optional
This indicates whether this is a print or non-print PDF
Revised xsd:date optional
This indicates the date of the latest revisions incorporated within the linked document
Size xsd:integer optional
The filesize of the associated item in kb
Title xsd:string optional
The Title of the associated item
TitleWelsh xsd:string optional
The Welsh language Title of the associated item
URI xsd:anyURI required
The URI of the associated item, usually PDF
Source
<xsd:complexType name="AlterType">
  <xsd:annotation>
    <xsd:documentation>Defines attributes for associated documents</xsd:documentation>
  </xsd:annotation>
  <xsd:attribute name="Date" type="xsd:date" use="required">
    <xsd:annotation>
      <xsd:documentation>The Published date of the associated item, in yyyy-mm-dd format</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="URI" type="xsd:anyURI" use="required">
    <xsd:annotation>
      <xsd:documentation>The URI of the associated item, usually PDF</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Title" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>The Title of the associated item</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="TitleWelsh" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>The Welsh language Title of the associated item</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Language" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>The language of the associated item</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Size" type="xsd:integer" use="optional">
    <xsd:annotation>
      <xsd:documentation>The filesize of the associated item in kb</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <!-- Below attribute "Revised" always seems to be a date, not type="xsd:string" -->
  <xsd:attribute name="Revised" type="xsd:date" use="optional">
    <xsd:annotation>
      <xsd:documentation>This indicates the date of the latest revisions incorporated within the linked document</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Print" type="xsd:boolean" use="optional">
    <xsd:annotation>
      <xsd:documentation>This indicates whether this is a print or non-print PDF</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:complexType>
Complex Type IAalterType
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Defines attributes for associated Impact Assessments and UK Regulatory Policy Commission Opinions
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#IAalterType_DateschemaLegislationMetadata_xsd.tmp#IAalterType_URIschemaLegislationMetadata_xsd.tmp#IAalterType_TitleschemaLegislationMetadata_xsd.tmp#IAalterType_TitleWelshschemaLegislationMetadata_xsd.tmp#IAalterType_StageschemaLegislationMetadata_xsd.tmp#IAalterType_DepartmentschemaLegislationMetadata_xsd.tmp#IAalterType_YearschemaLegislationMetadata_xsd.tmp#IAalterType_NumberschemaLegislationMetadata_xsd.tmp#IAalterType_LanguageschemaLegislationMetadata_xsd.tmp#IAalterType_Size
Used by
Attributes
QName Type Use Annotation
Date xsd:date required
The Published date of the Impact Assessment, in yyyy-mm-dd format
Department xsd:string optional
The department associated with the Impact Assessment
Language xsd:string optional
The language of the Impact Assessment
Number xsd:string optional
The document number of the Impact Assessment
Size xsd:integer optional
The filesize of the Impact Assessment in kb
Stage xsd:string optional
Indicates the stage of the development of the legislation to which the Impact Assessment relates, which may be before its development (Consultation), during its development (Development), after the drafting of the document (Final), after its amendment in Parliament (Enactment) or after its enactment (Post-Implementation)
Title xsd:string optional
The Title of the Impact Assessment
TitleWelsh xsd:string optional
The Welsh language Title of the Impact Assessment
URI xsd:anyURI required
The URI of the Impact Assessment, usually PDF
Year xsd:string optional
The year of the Impact Assessment
Source
<xsd:complexType name="IAalterType">
  <xsd:annotation>
    <xsd:documentation>Defines attributes for associated Impact Assessments and UK Regulatory Policy Commission Opinions</xsd:documentation>
  </xsd:annotation>
  <xsd:attribute name="Date" type="xsd:date" use="required">
    <xsd:annotation>
      <xsd:documentation>The Published date of the Impact Assessment, in yyyy-mm-dd format</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="URI" type="xsd:anyURI" use="required">
    <xsd:annotation>
      <xsd:documentation>The URI of the Impact Assessment, usually PDF</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Title" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>The Title of the Impact Assessment</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="TitleWelsh" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>The Welsh language Title of the Impact Assessment</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Stage" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>Indicates the stage of the development of the legislation to which the Impact Assessment relates, which may be before its development (Consultation), during its development (Development), after the drafting of the document (Final), after its amendment in Parliament (Enactment) or after its enactment (Post-Implementation)</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Department" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>The department associated with the Impact Assessment</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Year" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>The year of the Impact Assessment</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Number" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>The document number of the Impact Assessment</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Language" type="xsd:string" use="optional">
    <xsd:annotation>
      <xsd:documentation>The language of the Impact Assessment</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Size" type="xsd:integer" use="optional">
    <xsd:annotation>
      <xsd:documentation>The filesize of the Impact Assessment in kb</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:complexType>
Attribute DocumentCategory / @Value
Namespace No namespace
Properties
use required
Facets
enumeration primary
enumeration secondary
enumeration euretained
Used by
Source
<xsd:attribute name="Value" type="leg:CategoryType" use="required"/>
Attribute DocumentMainType / @Value
Namespace No namespace
Properties
use required
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:attribute name="Value" type="leg:DocumentMainType" use="required"/>
Attribute DocumentClassification / DocumentStatus / @Value
Namespace No namespace
Properties
use required
Facets
enumeration draft
enumeration final
enumeration revised
enumeration proposed
Used by
Source
<xsd:attribute name="Value" use="required">
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="draft"/>
      <xsd:enumeration value="final"/>
      <xsd:enumeration value="revised"/>
      <xsd:enumeration value="proposed"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute DocumentClassification / DocumentMinorType / @Value
Namespace No namespace
Properties
use required
Facets
enumeration order
enumeration regulation
enumeration rule
enumeration scheme
enumeration resolution
enumeration unknown
Used by
Source
<xsd:attribute name="Value" type="leg:UKMinorType" use="required"/>
Attribute Year / @Value
Namespace No namespace
Properties
use required
Used by
Element Year
Source
<xsd:attribute name="Value" type="xsd:string" use="required"/>
Attribute Number / @Value
Namespace No namespace
Properties
use required
Used by
Element Number
Source
<xsd:attribute name="Value" type="xsd:string" use="required"/>
Attribute ISBN / @Value
Namespace No namespace
Properties
use required
Used by
Element ISBN
Source
<xsd:attribute name="Value" type="xsd:string" use="required"/>
Attribute AlternativeNumber / @Category
Namespace No namespace
Annotations

The values that should be used in the Category attribute of this element are:

  • C - Commencement and/or Appointed Day orders that bring into force an Act or part of an Act
  • L - Legal series
  • S - Scottish series
  • NI - Northern Ireland series
  • W - National Assembly for Wales series. Where the document is in Welsh the value will be Cy
  • Regnal - Indicates the number is a regnal year
Properties
use required
Used by
Source
<xsd:attribute name="Category" type="xsd:string" use="required">
  <xsd:annotation>
    <xsd:documentation>
      <h:p>The values that should be used in the Category attribute of this element are:</h:p>
      <h:ul>
        <h:li>C - Commencement and/or Appointed Day orders that bring into force an Act or part of an Act</h:li>
        <h:li>L - Legal series</h:li>
        <h:li>S - Scottish series</h:li>
        <h:li>NI - Northern Ireland series</h:li>
        <h:li>W - National Assembly for Wales series. Where the document is in Welsh the value will be Cy</h:li>
        <h:li>Regnal - Indicates the number is a regnal year</h:li>
      </h:ul>
    </xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute AlternativeNumber / @Value
Namespace No namespace
Annotations
Holds the actual number/text for the AlternativeNumber.
Properties
use required
Used by
Source
<xsd:attribute name="Value" type="xsd:string" use="required">
  <xsd:annotation>
    <xsd:documentation>Holds the actual number/text for the AlternativeNumber.</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EnactmentDate / @Date
Namespace No namespace
Properties
use required
Used by
Element EnactmentDate
Source
<xsd:attribute name="Date" type="xsd:date" use="required"/>
Attribute ComingIntoForce / DateTime / @Date
Namespace No namespace
Properties
use required
Used by
Source
<xsd:attribute name="Date" type="xsd:date" use="required"/>
Attribute ComingIntoForce / DateTime / @Time
Namespace No namespace
Properties
content simple
Used by
Source
<xsd:attribute name="Time" type="xsd:time"/>
Attribute Section / @Ref
Namespace No namespace
Annotations
Holds the identifier of the referenced provision
Properties
use required
Used by
Element Section
Source
<xsd:attribute name="Ref" type="xsd:NMTOKEN" use="required">
  <xsd:annotation>
    <xsd:documentation>Holds the identifier of the referenced provision</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Section / @URI
Namespace No namespace
Properties
use required
Used by
Element Section
Source
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
Attribute Section / @FoundRef
Namespace No namespace
Properties
content simple
Used by
Element Section
Source
<xsd:attribute name="FoundRef" type="xsd:NMTOKEN"/>
Attribute Section / @Missing
Namespace No namespace
Properties
content simple
Used by
Element Section
Source
<xsd:attribute name="Missing" type="xsd:boolean"/>
Attribute Section / @Extent
Namespace No namespace
Properties
content simple
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
Element Section
Source
<xsd:attribute name="Extent" type="leg:ExtentType"/>
Attribute Section / @ExtentStatus
Namespace No namespace
Properties
content simple
Used by
Element Section
Source
<xsd:attribute name="ExtentStatus" type="xsd:string"/>
Attribute Section / @StartDate
Namespace No namespace
Properties
content simple
Used by
Element Section
Source
<xsd:attribute name="StartDate" type="xsd:string"/>
Attribute Section / @StartDateStatus
Namespace No namespace
Properties
content simple
Used by
Element Section
Source
<xsd:attribute name="StartDateStatus" type="xsd:string"/>
Attribute SectionRange / @Start
Namespace No namespace
Annotations
Holds the identifier of the starting provision in a range of provisions
Properties
use required
Used by
Element SectionRange
Source
<xsd:attribute name="Start" type="xsd:NMTOKEN" use="required">
  <xsd:annotation>
    <xsd:documentation>Holds the identifier of the starting provision in a range of provisions</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute SectionRange / @End
Namespace No namespace
Annotations
Holds the identifier of the ending provision in a range of provisions
Properties
use required
Used by
Element SectionRange
Source
<xsd:attribute name="End" type="xsd:NMTOKEN" use="required">
  <xsd:annotation>
    <xsd:documentation>Holds the identifier of the ending provision in a range of provisions</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute SectionRange / @URI
Namespace No namespace
Properties
use required
Used by
Element SectionRange
Source
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
Attribute SectionRange / @UpTo
Namespace No namespace
Properties
use required
Used by
Element SectionRange
Source
<xsd:attribute name="UpTo" type="xsd:anyURI" use="required"/>
Attribute SectionRange / @FoundStart
Namespace No namespace
Properties
content simple
Used by
Element SectionRange
Source
<xsd:attribute name="FoundStart" type="xsd:NMTOKEN"/>
Attribute SectionRange / @FoundEnd
Namespace No namespace
Properties
content simple
Used by
Element SectionRange
Source
<xsd:attribute name="FoundEnd" type="xsd:NMTOKEN"/>
Attribute SectionRange / @MissingStart
Namespace No namespace
Properties
content simple
Used by
Element SectionRange
Source
<xsd:attribute name="MissingStart" type="xsd:boolean"/>
Attribute SectionRange / @MissingEnd
Namespace No namespace
Properties
content simple
Used by
Element SectionRange
Source
<xsd:attribute name="MissingEnd" type="xsd:boolean"/>
Attribute SectionRange / @Missing
Namespace No namespace
Properties
content simple
Used by
Element SectionRange
Source
<xsd:attribute name="Missing" type="xsd:boolean"/>
Attribute ProvisionsStructure / Citation / @URI
Namespace No namespace
Properties
use required
Used by
Source
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
Attribute ProvisionsStructure / Citation / @Class
Namespace No namespace
Properties
content simple
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:attribute name="Class" type="leg:DocumentMainType"/>
Attribute ProvisionsStructure / Citation / @Year
Namespace No namespace
Properties
content simple
Used by
Source
<xsd:attribute name="Year" type="xsd:gYear"/>
Attribute ProvisionsStructure / Citation / @Number
Namespace No namespace
Properties
content simple
Used by
Source
<xsd:attribute name="Number" type="xsd:integer"/>
Attribute ProvisionsStructure / Citation / @Title
Namespace No namespace
Properties
content simple
Used by
Source
<xsd:attribute name="Title" type="xsd:string"/>
Attribute InForce / @AffectingClass
Namespace No namespace
Properties
content simple
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
Element InForce
Source
<xsd:attribute name="AffectingClass" type="leg:DocumentMainType"/>
Attribute InForce / @Applied
Namespace No namespace
Annotations
Indicates if the amendment has been applied to the text of the affected provision(s). Where the affected item of legislation is a dual-language item (in English and Welsh), indicates if the amendment has been applied to the English text
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="Applied" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>Indicates if the amendment has been applied to the text of the affected provision(s). Where the affected item of legislation is a dual-language item (in English and Welsh), indicates if the amendment has been applied to the English text</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute InForce / @WelshApplied
Namespace No namespace
Annotations
Indicates, for amendments to dual-language legislation (in English and Welsh), whether the amendment has been applied to the Welsh text
Properties
use optional
Used by
Element InForce
Source
<xsd:attribute name="WelshApplied" type="xsd:boolean" use="optional">
  <xsd:annotation>
    <xsd:documentation>Indicates, for amendments to dual-language legislation (in English and Welsh), whether the amendment has been applied to the Welsh text</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute InForce / @AppendedCommentary
Namespace No namespace
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="AppendedCommentary" type="xsd:string"/>
Attribute InForce / @CommencingClass
Namespace No namespace
Properties
content simple
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
Element InForce
Source
<xsd:attribute name="CommencingClass" type="leg:DocumentMainType"/>
Attribute InForce / @CommencingNumber
Namespace No namespace
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="CommencingNumber" type="xsd:string"/>
Attribute InForce / @CommencingURI
Namespace No namespace
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="CommencingURI" type="xsd:anyURI"/>
Attribute InForce / @CommencingYear
Namespace No namespace
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="CommencingYear" type="xsd:string"/>
Attribute InForce / @Comments
Namespace No namespace
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="Comments" type="xsd:string"/>
Attribute InForce / @Date
Namespace No namespace
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="Date" type="xsd:date"/>
Attribute InForce / @Notes
Namespace No namespace
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="Notes" type="xsd:string"/>
Attribute InForce / @OtherQualification
Namespace No namespace
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="OtherQualification" type="xsd:string"/>
Attribute InForce / @Prospective
Namespace No namespace
Properties
content simple
Used by
Element InForce
Source
<xsd:attribute name="Prospective" type="xsd:boolean"/>
Attribute InForce / @Qualification
Namespace No namespace
Properties
use required
Used by
Element InForce
Source
<xsd:attribute name="Qualification" type="xsd:string" use="required"/>
Attribute EffectType / @New
Namespace No namespace
Annotations
Interimly used within the code. If set true, it means the effect is not present in the database and hence the Effect should be excluded from the 'update' list
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="New" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>Interimly used within the code. If set true, it means the effect is not present in the database and hence the Effect should be excluded from the 'update' list</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @Type
Namespace No namespace
Annotations
Indicates the type of amendment that this effect represents, e.g. inserted, substituted, repealed, modified, extended and applied
Properties
use required
Used by
Complex Type EffectType
Source
<xsd:attribute name="Type" type="xsd:token" use="required">
  <xsd:annotation>
    <xsd:documentation>Indicates the type of amendment that this effect represents, e.g. inserted, substituted, repealed, modified, extended and applied</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @TypeNotes
Namespace No namespace
Annotations
This was used to store Notes and serve the same purpose as legacy:notes. Not used anymore (to process the spreadsheet), some effects still have this attribute value
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="TypeNotes" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>This was used to store Notes and serve the same purpose as legacy:notes. Not used anymore (to process the spreadsheet), some effects still have this attribute value</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @Notes
Namespace No namespace
Annotations
Contains notes for the readers of legislation to clarify the operation or application of the effect. The field is often used to indicate that a particular effect will only come into force after another event occurs (such as the coming into force of a provision of a different item of legislation) or that the effect will not be applied to Legislation.gov.uk (for example, when the affecting provision is repealed before it comes into force). The Legislation.gov.uk 'Changes to Legislation' page displays these notes to the user
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="Notes" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Contains notes for the readers of legislation to clarify the operation or application of the effect. The field is often used to indicate that a particular effect will only come into force after another event occurs (such as the coming into force of a provision of a different item of legislation) or that the effect will not be applied to Legislation.gov.uk (for example, when the affecting provision is repealed before it comes into force). The Legislation.gov.uk 'Changes to Legislation' page displays these notes to the user</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @Comments
Namespace No namespace
Annotations
Contains notes to assist the legislation.gov.uk update editor in applying the amendment to the affected item of legislation
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="Comments" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Contains notes to assist the legislation.gov.uk update editor in applying the amendment to the affected item of legislation</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingURI
Namespace No namespace
Annotations
A link to the legislation (and the section within it) that affects this one. Or (if AffectingUpTo is also present), a link to the first section affecting this one.
Properties
use required
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectingURI" type="xsd:anyURI" use="required">
  <xsd:annotation>
    <xsd:documentation>A link to the legislation (and the section within it) that affects this one. Or (if AffectingUpTo is also present), a link to the first section affecting this one.</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingClass
Namespace No namespace
Annotations
The DocumentMainType of the affecting document
Properties
use required
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
Complex Type EffectType
Source
<xsd:attribute name="AffectingClass" type="leg:DocumentMainType" use="required">
  <xsd:annotation>
    <xsd:documentation>The DocumentMainType of the affecting document</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingYear
Namespace No namespace
Annotations
The year in which the affecting document was published
Properties
use required
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectingYear" type="xsd:gYear" use="required">
  <xsd:annotation>
    <xsd:documentation>The year in which the affecting document was published</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingNumber
Namespace No namespace
Annotations
The affecting document's number
Properties
use required
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectingNumber" type="xsd:positiveInteger" use="required">
  <xsd:annotation>
    <xsd:documentation>The affecting document's number</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingProvisions
Namespace No namespace
Annotations
A string representation of the affecting provision(s) from which the effect originates
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectingProvisions" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>A string representation of the affecting provision(s) from which the effect originates</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectedURI
Namespace No namespace
Annotations
A link to the section in this legislation that has been affected. Or (if the AffectedUpTo attribute is also present), a link to the first of the affected sections.
Properties
use required
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectedURI" type="xsd:anyURI" use="required">
  <xsd:annotation>
    <xsd:documentation>A link to the section in this legislation that has been affected. Or (if the AffectedUpTo attribute is also present), a link to the first of the affected sections.</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectedClass
Namespace No namespace
Annotations
The DocumentMainType of the affected document
Properties
use required
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
Complex Type EffectType
Source
<xsd:attribute name="AffectedClass" type="leg:DocumentMainType" use="required">
  <xsd:annotation>
    <xsd:documentation>The DocumentMainType of the affected document</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectedYear
Namespace No namespace
Annotations
The year in which the affected document was published
Properties
use required
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectedYear" type="xsd:gYear" use="required">
  <xsd:annotation>
    <xsd:documentation>The year in which the affected document was published</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectedNumber
Namespace No namespace
Annotations
The affected document's number
Properties
use required
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectedNumber" type="xsd:positiveInteger" use="required">
  <xsd:annotation>
    <xsd:documentation>The affected document's number</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectedProvisions
Namespace No namespace
Annotations
A string representation of the affected provision(s) that the effect amends or modifies
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectedProvisions" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>A string representation of the affected provision(s) that the effect amends or modifies</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @Index
Namespace No namespace
Annotations
An Integer value, not in use anymore for spreadsheet processing. But some bulk uploaded data still contains uses it, having the index number of Effect in the uploaded spreadsheet
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="Index" type="xsd:integer">
  <xsd:annotation>
    <xsd:documentation>An Integer value, not in use anymore for spreadsheet processing. But some bulk uploaded data still contains uses it, having the index number of Effect in the uploaded spreadsheet</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @Row
Namespace No namespace
Annotations
Used to store the row number of the spreadsheet, from where the specific Effect data came from
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="Row" type="xsd:integer">
  <xsd:annotation>
    <xsd:documentation>Used to store the row number of the spreadsheet, from where the specific Effect data came from</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @Modified
Namespace No namespace
Annotations
Records the date and time, indicating an Effect has been modified via Editorial system
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="Modified" type="xsd:dateTime">
  <xsd:annotation>
    <xsd:documentation>Records the date and time, indicating an Effect has been modified via Editorial system</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AppliedModified
Namespace No namespace
Annotations
Records the date and time when the Applied status of the effect is changed
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AppliedModified" type="xsd:dateTime">
  <xsd:annotation>
    <xsd:documentation>Records the date and time when the Applied status of the effect is changed</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @URI
Namespace No namespace
Annotations
Used to store the previous Effect ID along with legislation base URI. Not an identifier for the Effect
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="URI" type="xsd:anyURI">
  <xsd:annotation>
    <xsd:documentation>Used to store the previous Effect ID along with legislation base URI. Not an identifier for the Effect</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @Created
Namespace No namespace
Annotations
Records the date and time of its creation, i.e. indicating an Effect has been created via Editorial system. Incase of bulk upload, this value might be the date when it was first added in Editorial system unless otherwise a creation dateTime value is known
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="Created" type="xsd:dateTime">
  <xsd:annotation>
    <xsd:documentation>Records the date and time of its creation, i.e. indicating an Effect has been created via Editorial system. Incase of bulk upload, this value might be the date when it was first added in Editorial system unless otherwise a creation dateTime value is known</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @EffectId
Namespace No namespace
Annotations
This is an unique ID for each effect, and is made up by combining the core key elements in an effect and generated MD5 hash code
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="EffectId" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>This is an unique ID for each effect, and is made up by combining the core key elements in an effect and generated MD5 hash code</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @RequiresApplied
Namespace No namespace
Annotations
Indicates whether or not the effect will be applied. For example, if the affecting provision is repealed or superseded before it comes into force, the effect will never come into force and so does not need to be applied. Where the affected item of legislation is a dual-language item (in English and Welsh), indicates whether or not the effect will be applied to the English text
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="RequiresApplied" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>Indicates whether or not the effect will be applied. For example, if the affecting provision is repealed or superseded before it comes into force, the effect will never come into force and so does not need to be applied. Where the affected item of legislation is a dual-language item (in English and Welsh), indicates whether or not the effect will be applied to the English text</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @RequiresWelshApplied
Namespace No namespace
Annotations
Indicates, for effects on dual-language legislation (in English and Welsh), whether or not the effect will be applied to the Welsh text. For example, if the effect only amends the English text, the effect does not need to be applied to the Welsh text
Properties
use optional
Used by
Complex Type EffectType
Source
<xsd:attribute name="RequiresWelshApplied" type="xsd:boolean" use="optional">
  <xsd:annotation>
    <xsd:documentation>Indicates, for effects on dual-language legislation (in English and Welsh), whether or not the effect will be applied to the Welsh text. For example, if the effect only amends the English text, the effect does not need to be applied to the Welsh text</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectedEffectsExtent
Namespace No namespace
Annotations
Indicates TOES application of the 'Affected Effects Extent'
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectedEffectsExtent" type="leg:AffectingExtentType">
  <xsd:annotation>
    <xsd:documentation>Indicates TOES application of the 'Affected Effects Extent'</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectedExtent
Namespace No namespace
Annotations
Indicates TOES application of the 'Affected Provisions Extent'
Properties
content simple
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
Complex Type EffectType
Source
<xsd:attribute name="AffectedExtent" type="leg:ExtentType">
  <xsd:annotation>
    <xsd:documentation>Indicates TOES application of the 'Affected Provisions Extent'</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectedExtentSections
Namespace No namespace
Annotations
Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectedExtentSections" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectedTerritorialApplication
Namespace No namespace
Annotations
Indicates the territorial application of the affected provision(s). The editorial system uses this value to determine whether the effect’s extent/territorial application of the effect is smaller than that of the affected provision(s), i.e. the provisions it affects. If smaller, the original text or meaning of those provisions will remain unchanged in the territories to which the effect does not extend/apply, and the editor must indicate that the amendment only extends to/applies in specific territories when they carry out the amendment
Properties
content simple
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
Complex Type EffectType
Source
<xsd:attribute name="AffectedTerritorialApplication" type="leg:ExtentType">
  <xsd:annotation>
    <xsd:documentation>Indicates the territorial application of the affected provision(s). The editorial system uses this value to determine whether the effect’s extent/territorial application of the effect is smaller than that of the affected provision(s), i.e. the provisions it affects. If smaller, the original text or meaning of those provisions will remain unchanged in the territories to which the effect does not extend/apply, and the editor must indicate that the amendment only extends to/applies in specific territories when they carry out the amendment</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingCommencementSections
Namespace No namespace
Annotations
This works same as that of 'CommencementAuthority', which details the provision giving authority for the In-Force date(s)
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectingCommencementSections" type="xsd:anyURI">
  <xsd:annotation>
    <xsd:documentation>This works same as that of 'CommencementAuthority', which details the provision giving authority for the In-Force date(s)</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingEffectsExtent
Namespace No namespace
Annotations
Indicates TOES application of the Affecting Extent
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectingEffectsExtent" type="leg:AffectingExtentType">
  <xsd:annotation>
    <xsd:documentation>Indicates TOES application of the Affecting Extent</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingExtent
Namespace No namespace
Annotations
Indicates TOES application of the Affecting Provisions Extent
Properties
content simple
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
Complex Type EffectType
Source
<xsd:attribute name="AffectingExtent" type="leg:ExtentType">
  <xsd:annotation>
    <xsd:documentation>Indicates TOES application of the Affecting Provisions Extent</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingExtentSections
Namespace No namespace
Annotations
Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectingExtentSections" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Automatically generated by the Editorial system on bulk effects data load. No longer used in Editorial</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingRoyalAssent
Namespace No namespace
Annotations
Date of royal assent. No longer used in new Effects data, but its values are held in TOES XML added as bulk upload
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AffectingRoyalAssent" type="xsd:date">
  <xsd:annotation>
    <xsd:documentation>Date of royal assent. No longer used in new Effects data, but its values are held in TOES XML added as bulk upload</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AffectingTerritorialApplication
Namespace No namespace
Annotations
Indicates the territorial application of the affecting provision(s)
Properties
content simple
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
Complex Type EffectType
Source
<xsd:attribute name="AffectingTerritorialApplication" type="leg:ExtentType">
  <xsd:annotation>
    <xsd:documentation>Indicates the territorial application of the affecting provision(s)</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @AppendedCommentary
Namespace No namespace
Annotations
Used to add additional commentary information that will be displayed after the core effect commentary information which will be generated using the preceding Extended TOES columns
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="AppendedCommentary" type="xsd:string">
  <xsd:annotation>
    <xsd:documentation>Used to add additional commentary information that will be displayed after the core effect commentary information which will be generated using the preceding Extended TOES columns</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute EffectType / @NewRandomSeq
Namespace No namespace
Properties
content simple
Used by
Complex Type EffectType
Source
<xsd:attribute name="NewRandomSeq" type="xsd:integer"/>
Attribute Commentary / @Ref
Namespace No namespace
Annotations
A unique identifier in the format c000000
Properties
use required
Facets
pattern (\i\c*) & ([\i-[:]][\c-[:]]*) & (c[0-9]{5,7})
Used by
Element Commentary
Source
<xsd:attribute name="Ref" use="required">
  <xsd:annotation>
    <xsd:documentation>A unique identifier in the format c000000</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:NCName">
      <xsd:pattern value="c[0-9]{5,7}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Commentary / @Type
Namespace No namespace
Annotations
Indicates the role of the commentary.
Properties
use required
Used by
Element Commentary
Source
<xsd:attribute name="Type" type="leg:CommentaryType" use="required">
  <xsd:annotation>
    <xsd:documentation>Indicates the role of the commentary.</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Citation / @URI
Namespace No namespace
Properties
use required
Used by
Element Citation
Source
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
Attribute Citation / @Title
Namespace No namespace
Properties
use required
Used by
Element Citation
Source
<xsd:attribute name="Title" use="required"/>
Attribute DepartmentCode / @Value
Namespace No namespace
Properties
use required
Used by
Element DepartmentCode
Source
<xsd:attribute name="Value" type="xsd:string" use="required"/>
Attribute Sifted / @Date
Namespace No namespace
Properties
use required
Used by
Element Sifted
Source
<xsd:attribute name="Date" type="xsd:date" use="required"/>
Attribute Sifted / @Time
Namespace No namespace
Properties
content simple
Used by
Element Sifted
Source
<xsd:attribute name="Time" type="xsd:time"/>
Attribute Made / @Date
Namespace No namespace
Annotations
Made date
Properties
use required
Used by
Element Made
Source
<xsd:attribute name="Date" type="xsd:date" use="required">
  <xsd:annotation>
    <xsd:documentation>Made date</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Made / @Time
Namespace No namespace
Annotations
Made time
Properties
content simple
Used by
Element Made
Source
<xsd:attribute name="Time" type="xsd:time">
  <xsd:annotation>
    <xsd:documentation>Made time</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Laid / @Date
Namespace No namespace
Annotations
The date on which the document was laid
Properties
use required
Used by
Element Laid
Source
<xsd:attribute name="Date" type="xsd:date" use="required">
  <xsd:annotation>
    <xsd:documentation>The date on which the document was laid</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Laid / @Time
Namespace No namespace
Annotations
The time at which the document was laid
Properties
content simple
Used by
Element Laid
Source
<xsd:attribute name="Time" type="xsd:time">
  <xsd:annotation>
    <xsd:documentation>The time at which the document was laid</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Laid / @Class
Namespace No namespace
Annotations
The legislature before which the document was laid
Properties
use required
Facets
enumeration NorthernIrelandAssembly
enumeration ScottishParliament
enumeration UnitedKingdomParliament
enumeration WelshParliament
"WelshParliament" to be used for all new Welsh secondary legislation following http://www.legislation.gov.uk/anaw/2020/1/enacted#section-3
enumeration WelshAssembly
Used by
Element Laid
Source
<xsd:attribute name="Class" use="required">
  <xsd:annotation>
    <xsd:documentation>The legislature before which the document was laid</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="NorthernIrelandAssembly"/>
      <xsd:enumeration value="ScottishParliament"/>
      <xsd:enumeration value="UnitedKingdomParliament"/>
      <xsd:enumeration value="WelshParliament">
        <xsd:annotation>
          <xsd:documentation>"WelshParliament" to be used for all new Welsh secondary legislation following http://www.legislation.gov.uk/anaw/2020/1/enacted#section-3</xsd:documentation>
        </xsd:annotation>
      </xsd:enumeration>
      <xsd:enumeration value="WelshAssembly"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Resolution / @Date
Namespace No namespace
Properties
use required
Used by
Element Resolution
Source
<xsd:attribute name="Date" type="xsd:date" use="required"/>
Attribute RoyalPresence / @Date
Namespace No namespace
Properties
use required
Used by
Element RoyalPresence
Source
<xsd:attribute name="Date" type="xsd:date" use="required"/>
Attribute SecondaryMetadata / Correction / @Type
Namespace No namespace
Properties
use required
Facets
enumeration corrects
enumeration correctedBy
Used by
Source
<xsd:attribute name="Type" use="required">
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="corrects"/>
      <xsd:enumeration value="correctedBy"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute SecondaryMetadata / Correction / @Class
Namespace No namespace
Annotations
Do not set this attribute in publications editing (only for delivered data)
Properties
use required
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:attribute name="Class" type="leg:DocumentMainType" use="required">
  <xsd:annotation>
    <xsd:documentation>Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute SecondaryMetadata / Correction / @Year
Namespace No namespace
Annotations
Do not set this attribute in publications editing (only for delivered data)
Properties
use required
Used by
Source
<xsd:attribute name="Year" type="xsd:gYear" use="required">
  <xsd:annotation>
    <xsd:documentation>Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute SecondaryMetadata / Correction / @Number
Namespace No namespace
Annotations
Do not set this attribute in publications editing (only for delivered data)
Properties
use optional
Used by
Source
<xsd:attribute name="Number" type="xsd:integer" use="optional">
  <xsd:annotation>
    <xsd:documentation>Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute SecondaryMetadata / Correction / @ISBN
Namespace No namespace
Annotations
This is used in draft documents. Do not set this attribute in publications editing (only for delivered data)
Properties
use optional
Facets
minLength 10
maxLength 13
Used by
Source
<xsd:attribute name="ISBN" use="optional">
  <xsd:annotation>
    <xsd:documentation>This is used in draft documents. Do not set this attribute in publications editing (only for delivered data)</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:maxLength value="13"/>
      <xsd:minLength value="10"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute SupersededBy / @URI
Namespace No namespace
Properties
use required
Used by
Element SupersededBy
Source
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
Attribute Supersedes / @URI
Namespace No namespace
Properties
use required
Used by
Element Supersedes
Source
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
Attribute ConfersPower / @IdURI
Namespace No namespace
Annotations
The URI of a provision that confers power to make subordinate legislation.
Properties
use required
Used by
Element ConfersPower
Source
<xsd:attribute name="IdURI" type="xsd:anyURI" use="required">
  <xsd:annotation>
    <xsd:documentation>The URI of a provision that confers power to make subordinate legislation.</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute ConfersPower / @title
Namespace No namespace
Annotations
The title of the provision.
Properties
use optional
Used by
Element ConfersPower
Source
<xsd:attribute name="title" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The title of the provision.</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute BlanketAmendment / @IdURI
Namespace No namespace
Properties
use required
Used by
Source
<xsd:attribute name="IdURI" type="xsd:anyURI" use="required"/>
Attribute BlanketAmendment / @title
Namespace No namespace
Properties
use optional
Used by
Source
<xsd:attribute name="title" type="xsd:string" use="optional"/>
Attribute AlterType / @Date
Namespace No namespace
Annotations
The Published date of the associated item, in yyyy-mm-dd format
Properties
use required
Used by
Complex Type AlterType
Source
<xsd:attribute name="Date" type="xsd:date" use="required">
  <xsd:annotation>
    <xsd:documentation>The Published date of the associated item, in yyyy-mm-dd format</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute AlterType / @URI
Namespace No namespace
Annotations
The URI of the associated item, usually PDF
Properties
use required
Used by
Complex Type AlterType
Source
<xsd:attribute name="URI" type="xsd:anyURI" use="required">
  <xsd:annotation>
    <xsd:documentation>The URI of the associated item, usually PDF</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute AlterType / @Title
Namespace No namespace
Annotations
The Title of the associated item
Properties
use optional
Used by
Complex Type AlterType
Source
<xsd:attribute name="Title" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The Title of the associated item</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute AlterType / @TitleWelsh
Namespace No namespace
Annotations
The Welsh language Title of the associated item
Properties
use optional
Used by
Complex Type AlterType
Source
<xsd:attribute name="TitleWelsh" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The Welsh language Title of the associated item</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute AlterType / @Language
Namespace No namespace
Annotations
The language of the associated item
Properties
use optional
Used by
Complex Type AlterType
Source
<xsd:attribute name="Language" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The language of the associated item</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute AlterType / @Size
Namespace No namespace
Annotations
The filesize of the associated item in kb
Properties
use optional
Used by
Complex Type AlterType
Source
<xsd:attribute name="Size" type="xsd:integer" use="optional">
  <xsd:annotation>
    <xsd:documentation>The filesize of the associated item in kb</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute AlterType / @Revised
Namespace No namespace
Annotations
This indicates the date of the latest revisions incorporated within the linked document
Properties
use optional
Used by
Complex Type AlterType
Source
<xsd:attribute name="Revised" type="xsd:date" use="optional">
  <xsd:annotation>
    <xsd:documentation>This indicates the date of the latest revisions incorporated within the linked document</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute AlterType / @Print
Namespace No namespace
Annotations
This indicates whether this is a print or non-print PDF
Properties
use optional
Used by
Complex Type AlterType
Source
<xsd:attribute name="Print" type="xsd:boolean" use="optional">
  <xsd:annotation>
    <xsd:documentation>This indicates whether this is a print or non-print PDF</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @Date
Namespace No namespace
Annotations
The Published date of the Impact Assessment, in yyyy-mm-dd format
Properties
use required
Used by
Complex Type IAalterType
Source
<xsd:attribute name="Date" type="xsd:date" use="required">
  <xsd:annotation>
    <xsd:documentation>The Published date of the Impact Assessment, in yyyy-mm-dd format</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @URI
Namespace No namespace
Annotations
The URI of the Impact Assessment, usually PDF
Properties
use required
Used by
Complex Type IAalterType
Source
<xsd:attribute name="URI" type="xsd:anyURI" use="required">
  <xsd:annotation>
    <xsd:documentation>The URI of the Impact Assessment, usually PDF</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @Title
Namespace No namespace
Annotations
The Title of the Impact Assessment
Properties
use optional
Used by
Complex Type IAalterType
Source
<xsd:attribute name="Title" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The Title of the Impact Assessment</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @TitleWelsh
Namespace No namespace
Annotations
The Welsh language Title of the Impact Assessment
Properties
use optional
Used by
Complex Type IAalterType
Source
<xsd:attribute name="TitleWelsh" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The Welsh language Title of the Impact Assessment</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @Stage
Namespace No namespace
Annotations
Indicates the stage of the development of the legislation to which the Impact Assessment relates, which may be before its development (Consultation), during its development (Development), after the drafting of the document (Final), after its amendment in Parliament (Enactment) or after its enactment (Post-Implementation)
Properties
use optional
Used by
Complex Type IAalterType
Source
<xsd:attribute name="Stage" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>Indicates the stage of the development of the legislation to which the Impact Assessment relates, which may be before its development (Consultation), during its development (Development), after the drafting of the document (Final), after its amendment in Parliament (Enactment) or after its enactment (Post-Implementation)</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @Department
Namespace No namespace
Annotations
The department associated with the Impact Assessment
Properties
use optional
Used by
Complex Type IAalterType
Source
<xsd:attribute name="Department" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The department associated with the Impact Assessment</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @Year
Namespace No namespace
Annotations
The year of the Impact Assessment
Properties
use optional
Used by
Complex Type IAalterType
Source
<xsd:attribute name="Year" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The year of the Impact Assessment</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @Number
Namespace No namespace
Annotations
The document number of the Impact Assessment
Properties
use optional
Used by
Complex Type IAalterType
Source
<xsd:attribute name="Number" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The document number of the Impact Assessment</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @Language
Namespace No namespace
Annotations
The language of the Impact Assessment
Properties
use optional
Used by
Complex Type IAalterType
Source
<xsd:attribute name="Language" type="xsd:string" use="optional">
  <xsd:annotation>
    <xsd:documentation>The language of the Impact Assessment</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute IAalterType / @Size
Namespace No namespace
Annotations
The filesize of the Impact Assessment in kb
Properties
use optional
Used by
Complex Type IAalterType
Source
<xsd:attribute name="Size" type="xsd:integer" use="optional">
  <xsd:annotation>
    <xsd:documentation>The filesize of the Impact Assessment in kb</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute TotalParagraphs / @Value
Namespace No namespace
Properties
use required
Used by
Element TotalParagraphs
Source
<xsd:attribute name="Value" type="xsd:integer" use="required"/>
Attribute BodyParagraphs / @Value
Namespace No namespace
Properties
use required
Used by
Element BodyParagraphs
Source
<xsd:attribute name="Value" type="xsd:integer" use="required"/>
Attribute ScheduleParagraphs / @Value
Namespace No namespace
Properties
use required
Used by
Source
<xsd:attribute name="Value" type="xsd:integer" use="required"/>
Attribute AttachmentParagraphs / @Value
Namespace No namespace
Properties
use required
Used by
Source
<xsd:attribute name="Value" type="xsd:integer" use="required"/>
Attribute TotalImages / @Value
Namespace No namespace
Properties
use required
Used by
Element TotalImages
Source
<xsd:attribute name="Value" type="xsd:integer" use="required"/>
Element Group LegislationMetadata
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Legislation specific metadata
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#PrimaryMetadataschemaLegislationMetadata_xsd.tmp#SecondaryMetadataschemaLegislationMetadataEU_xsd.tmp#EUMetadataschemaLegislationMetadata_xsd.tmp#SupersededByschemaLegislationMetadata_xsd.tmp#SupersedesschemaLegislationMetadata_xsd.tmp#ConfersPowerschemaLegislationMetadata_xsd.tmp#BlanketAmendmentschemaLegislationMetadata_xsd.tmp#NotesschemaLegislationMetadata_xsd.tmp#PolicyEqualityStatementsschemaLegislationMetadata_xsd.tmp#AlternativesschemaLegislationMetadata_xsd.tmp#CorrectionSlipsschemaLegislationMetadata_xsd.tmp#CodesOfPracticeschemaLegislationMetadata_xsd.tmp#CodesOfConductschemaLegislationMetadata_xsd.tmp#TablesOfOriginsschemaLegislationMetadata_xsd.tmp#TablesOfDestinationsschemaLegislationMetadata_xsd.tmp#OrdersInCouncilschemaLegislationMetadata_xsd.tmp#ImpactAssessmentsschemaLegislationMetadata_xsd.tmp#OtherDocumentsschemaLegislationMetadata_xsd.tmp#ExplanatoryDocumentsschemaLegislationMetadata_xsd.tmp#TranspositionNotesschemaLegislationMetadata_xsd.tmp#UKRPCOpinionsschemaLegislationMetadata_xsd.tmp#AlterschemaLegislationMetadata_xsd.tmp#Statistics
Used by
Element Metadata
Model
Children Alternatives, BlanketAmendment, CodesOfConduct, CodesOfPractice, ConfersPower, CorrectionSlips, EUMetadata, ExplanatoryDocuments, ImpactAssessments, Notes, OrdersInCouncil, OtherDocuments, PolicyEqualityStatements, PrimaryMetadata, SecondaryMetadata, Statistics, SupersededBy, Supersedes, TablesOfDestinations, TablesOfOrigins, TranspositionNotes, UKRPCOpinions
Source
<xsd:group name="LegislationMetadata">
  <xsd:annotation>
    <xsd:documentation>Legislation specific metadata</xsd:documentation>
  </xsd:annotation>
  <xsd:sequence>
    <xsd:choice>
      <xsd:element ref="PrimaryMetadata"/>
      <xsd:element ref="SecondaryMetadata"/>
      <xsd:element ref="EUMetadata"/>
    </xsd:choice>
    <xsd:element ref="SupersededBy" minOccurs="0"/>
    <xsd:element ref="Supersedes" minOccurs="0"/>
    <xsd:element ref="ConfersPower" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="BlanketAmendment" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:group ref="Alter" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element ref="Statistics" minOccurs="0"/>
  </xsd:sequence>
</xsd:group>
Element Group Alter
Namespace http://www.legislation.gov.uk/namespaces/metadata
Annotations
Metadata for alternatives legislation or Explanatory Notes
Diagram
DiagramschemaLegislationMetadata_xsd.tmp#NotesschemaLegislationMetadata_xsd.tmp#PolicyEqualityStatementsschemaLegislationMetadata_xsd.tmp#AlternativesschemaLegislationMetadata_xsd.tmp#CorrectionSlipsschemaLegislationMetadata_xsd.tmp#CodesOfPracticeschemaLegislationMetadata_xsd.tmp#CodesOfConductschemaLegislationMetadata_xsd.tmp#TablesOfOriginsschemaLegislationMetadata_xsd.tmp#TablesOfDestinationsschemaLegislationMetadata_xsd.tmp#OrdersInCouncilschemaLegislationMetadata_xsd.tmp#ImpactAssessmentsschemaLegislationMetadata_xsd.tmp#OtherDocumentsschemaLegislationMetadata_xsd.tmp#ExplanatoryDocumentsschemaLegislationMetadata_xsd.tmp#TranspositionNotesschemaLegislationMetadata_xsd.tmp#UKRPCOpinions
Used by
Element Group LegislationMetadata
Model
Children Alternatives, CodesOfConduct, CodesOfPractice, CorrectionSlips, ExplanatoryDocuments, ImpactAssessments, Notes, OrdersInCouncil, OtherDocuments, PolicyEqualityStatements, TablesOfDestinations, TablesOfOrigins, TranspositionNotes, UKRPCOpinions
Source
<xsd:group name="Alter">
  <xsd:annotation>
    <xsd:documentation>Metadata for alternatives legislation or Explanatory Notes</xsd:documentation>
  </xsd:annotation>
  <xsd:choice>
    <xsd:element ref="Notes"/>
    <xsd:element ref="PolicyEqualityStatements"/>
    <xsd:element ref="Alternatives"/>
    <xsd:element ref="CorrectionSlips"/>
    <xsd:element ref="CodesOfPractice"/>
    <xsd:element ref="CodesOfConduct"/>
    <xsd:element ref="TablesOfOrigins"/>
    <xsd:element ref="TablesOfDestinations"/>
    <xsd:element ref="OrdersInCouncil"/>
    <xsd:element ref="ImpactAssessments"/>
    <xsd:element ref="OtherDocuments"/>
    <xsd:element ref="ExplanatoryDocuments"/>
    <xsd:element ref="TranspositionNotes"/>
    <xsd:element ref="UKRPCOpinions"/>
  </xsd:choice>
</xsd:group>