Showing:

Annotations
Attributes
Diagrams
Instances
Model
Properties
Source
Used by
Included schema schemaLegislationContents.xsd
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
This schema describes a general table of contents structure
Properties
attribute form default unqualified
element form default qualified
version 2.4
Element Contents
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
The contents for the legislation. These are now normally auto-generated by the legislation website, so these elements continue to appear in data available via the API and held in the legislation.gov.uk database, but their use in editing is deprecated. Also used in explanatory note and memorandum contents
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationCommon_xsd.tmp#ContentsType_MatchExtentEntriesschemaLegislationCommon_xsd.tmp#ContentsType_MatchTextEntriesschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsGroupschemaLegislationContents_xsd.tmp#ContentsPartschemaLegislationContents_xsd.tmp#ContentsChapterschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItemschemaLegislationContentsEU_xsd.tmp#ContentsEUPartschemaLegislationContentsEU_xsd.tmp#ContentsEUTitleschemaLegislationContentsEU_xsd.tmp#ContentsEUChapterschemaLegislationContentsEU_xsd.tmp#ContentsEUSectionschemaLegislationContentsEU_xsd.tmp#ContentsDivisionschemaLegislationContents_xsd.tmp#ContentsAppendixschemaLegislationContentsEU_xsd.tmp#ContentsAttachmentsschemaLegislationContents_xsd.tmp#ContentsSchedulesschemaLegislationContentsEU_xsd.tmp#ContentsAttachmentsschemaLegislationContents_xsd.tmp#ContentsSchedulesschemaLegislationContentsEU_xsd.tmp#ContentsAttachmentsschemaLegislationCommon_xsd.tmp#ContentsType
Properties
content complex
Used by
Model
Children ContentsAppendix, ContentsAttachments, ContentsChapter, ContentsDivision, ContentsEUChapter, ContentsEUPart, ContentsEUSection, ContentsEUTitle, ContentsGroup, ContentsItem, ContentsPart, ContentsPblock, ContentsSchedules, ContentsTitle
Attributes
QName Type Use Annotation
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
MatchExtentEntries xsd:string optional
Used to hold a space separated list of values where a match has occurred when performing a geographic extent search when viewing the ToC from one of the search items. The values are the levels within the document structure where a match has occurred, such as Introduction, Body, Schedules etc
MatchTextEntries xsd:string optional
Used to hold a space separated list of values where a match has occurred when performing a keyword search when viewing the ToC from one of the search items. The values are the levels within the document structure where a match has occurred, such as Introduction, Body, Schedules etc
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<Contents AltVersionRefs="" xml:base="" id="" xml:lang="" MatchExtentEntries="" MatchTextEntries="" xml:space="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,1}</ContentsTitle>
  <ContentsGroup AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsGroup>
  <ContentsPart AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPart>
  <ContentsChapter AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsChapter>
  <ContentsPblock AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPblock>
  <ContentsItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsItem>
  <ContentsEUPart AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUPart>
  <ContentsEUTitle AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUTitle>
  <ContentsEUChapter AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUChapter>
  <ContentsEUSection AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUSection>
  <ContentsDivision AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsDivision>
  <ContentsAppendix AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,unbounded}</ContentsAppendix>
  <ContentsAttachments>{1,1}</ContentsAttachments>
  <ContentsSchedules AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,1}</ContentsSchedules>
  <ContentsAttachments>{0,1}</ContentsAttachments>
  <ContentsSchedules AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsSchedules>
  <ContentsAttachments>{0,1}</ContentsAttachments>
</Contents>
Source
<xsd:element name="Contents" type="ContentsType">
  <xsd:annotation>
    <xsd:documentation>The contents for the legislation. These are now normally auto-generated by the legislation website, so these elements continue to appear in data available via the API and held in the legislation.gov.uk database, but their use in editing is deprecated. Also used in explanatory note and memorandum contents</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element ContentsTitle
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
The title of an entry in the contents
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaFormatting_xsd.tmp#CommonFormattingAttributesschemaEmphasis_xsd.tmp#StrongschemaEmphasis_xsd.tmp#EmphasisschemaEmphasis_xsd.tmp#InferiorschemaEmphasis_xsd.tmp#SuperiorschemaEmphasis_xsd.tmp#SmallCapsschemaEmphasis_xsd.tmp#UppercaseschemaEmphasis_xsd.tmp#UnderlineschemaEmphasis_xsd.tmp#ExpandedschemaStrike_xsd.tmp#StrikeschemaLegislationCommon_xsd.tmp#EmphasisBasicExtrasschemaLegislationTypes_xsd.tmp#EmphasisBasicerrors_xsd.tmp#Errorerrors_xsd.tmp#Warningerrors_xsd.tmp#ErrorsschemaCommonElements_xsd.tmp#CharacterschemaBasicInline_xsd.tmp#SpanschemaLegislationAmendments_xsd.tmp#InlineAmendmentschemaExtract_xsd.tmp#InlineExtractschemaCommentary_xsd.tmp#CommentaryRefschemaFootnote_xsd.tmp#FootnoteRefschemaMarginnote_xsd.tmp#MarginNoteRefschemaLinks_xsd.tmp#InternalLinkschemaLinks_xsd.tmp#ExternalLinkschemaCitations_xsd.tmp#http___www.legislation.gov.uk_namespaces_legislation_CitationschemaCitations_xsd.tmp#CitationSubRefschemaCitations_xsd.tmp#CitationListRefmath_xsd.tmp#mathschemaFigure_xsd.tmp#http___www.legislation.gov.uk_namespaces_legislation_ImageschemaAcronymsAbbreviations_xsd.tmp#AcronymschemaAcronymsAbbreviations_xsd.tmp#AbbreviationschemaAcronymsAbbreviations_xsd.tmp#TermschemaChanges_xsd.tmp#AdditionschemaChanges_xsd.tmp#RepealschemaChanges_xsd.tmp#SubstitutionschemaLegislationSemantics_xsd.tmp#DefinitionschemaLegislationSemantics_xsd.tmp#ProvisoschemaLegislationTypes_xsd.tmp#InlineBasicschemaLegislationTypes_xsd.tmp#InlineFullschemaLegislationTypes_xsd.tmp#InlineFullStructureschemaLegislationContents_xsd.tmp#ContentsTitle_GeneratedschemaLegislationContents_xsd.tmp#ContentsAttributes
Properties
content complex
Used by
Model
Children Abbreviation, Acronym, Addition, Character, Citation, CitationListRef, CitationSubRef, CommentaryRef, Definition, Emphasis, Error, Expanded, ExternalLink, FootnoteRef, Image, Inferior, InlineAmendment, InlineExtract, InternalLink, MarginNoteRef, Proviso, Repeal, SmallCaps, Span, Strike, Strong, Substitution, Superior, Term, Underline, Uppercase, Warning, math
Attributes
QName Type Use Annotation
Align restriction of xsd:string optional

Describes horizontal alignment with permissible values of:

  • inherit (the alignment is inherited from the parent element)
  • left
  • centre
  • right
  • justify (the entire paragraph is justified. Note that the last line is not force-justified. The decision on whether the last line should be is left to the implementation).
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
Generated xsd:boolean optional
This is added if and when there is no title for the provision that is being included in the ToC. In such cases, a function is called to take an abridged collection of words from the first textual content of the provision and the attribute is added with the value of true to provide explicit indication that the ToC item was generated from textual content, and not a title
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation" xmlns:error="http://www.tso.co.uk/assets/namespace/error" xmlns:mathml="http://www.w3.org/1998/Math/MathML">
  <Strong AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Strong>
  <Emphasis AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Emphasis>
  <Inferior AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Inferior>
  <Superior AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Superior>
  <SmallCaps AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</SmallCaps>
  <Uppercase AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Uppercase>
  <Underline AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Underline>
  <Expanded AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Expanded>
  <Strike AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Strike>
  <error:Error FragmentId="" XPath="">{1,1}</error:Error>
  <error:Warning FragmentId="" XPath="">{1,1}</error:Warning>
  <Character Name="">{1,1}</Character>
  <Span AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Span>
  <InlineAmendment AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</InlineAmendment>
  <InlineExtract AltVersionRefs="" xml:base="" Format="" id="" xml:lang="" SourceClass="" SourceSubClass="" xml:space="">{1,1}</InlineExtract>
  <CommentaryRef AltVersionRefs="" xml:base="" id="" xml:lang="" Ref="" xml:space="">{1,1}</CommentaryRef>
  <FootnoteRef AltVersionRefs="" xml:base="" id="" xml:lang="" Ref="" xml:space="">{1,1}</FootnoteRef>
  <MarginNoteRef AltVersionRefs="" xml:base="" id="" xml:lang="" Ref="" xml:space="">{1,1}</MarginNoteRef>
  <InternalLink AltVersionRefs="" xml:base="" EndRef="" id="" xml:lang="" Ref="" xml:space="">{1,1}</InternalLink>
  <ExternalLink AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="" Title="" URI="">{1,1}</ExternalLink>
  <Citation AlternativeNumber="" AltVersionRefs="" xml:base="" Class="" CommencementNumber="" CommentaryRef="" Date="" DOI="" EndDate="" EndSectionRef="" id="" xml:lang="" LegalNumber="" Locator="" NorthernIrishNumber="" Number="" Prospective="false" ScottishNumber="" SectionRef="" xml:space="" StartDate="" StartSectionRef="" Title="" URI="" WelshNumber="" Year="">{1,1}</Citation>
  <CitationSubRef AltVersionRefs="" xml:base="" CitationRef="" EndSectionRef="" id="" xml:lang="" Operative="false" SectionRef="" xml:space="" StartSectionRef="" Type="" UpTo="" URI="">{1,1}</CitationSubRef>
  <CitationListRef AltVersionRefs="" xml:base="" xml:lang="" Ref="" xml:space="">{1,1}</CitationListRef>
  <mathml:math altimg="" alttext="" baseline="" class="" display="inline" height="" xlink:href="" id="" macros="" name="" overflow="scroll" style="" type="" width="" xref="">{1,1}</mathml:math>
  <Image AltVersionRefs="" xml:base="" Description="" Height="auto" id="" xml:lang="" ResourceRef="" xml:space="" Width="auto">{1,1}</Image>
  <Acronym AltVersionRefs="" xml:base="" Expansion="" id="" xml:lang="" xml:space="">{1,1}</Acronym>
  <Abbreviation AltVersionRefs="" xml:base="" Expansion="" id="" xml:lang="" xml:space="">{1,1}</Abbreviation>
  <Term AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Term>
  <Addition AltVersionRefs="" xml:base="" ChangeId="" CommentaryRef="" Correction="false" Extent="" id="" xml:lang="" Mark="" Prospective="false" xml:space="" Status="">{1,1}</Addition>
  <Repeal AltVersionRefs="" xml:base="" ChangeId="" CommentaryRef="" Correction="false" Extent="" id="" xml:lang="" Mark="" Prospective="false" RetainText="" xml:space="" Status="" SubstitutionRef="">{1,1}</Repeal>
  <Substitution AltVersionRefs="" xml:base="" ChangeId="" CommentaryRef="" Correction="false" Extent="" id="" xml:lang="" Mark="" Prospective="false" xml:space="" Status="">{1,1}</Substitution>
  <Definition Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" Mark="" xml:space="" TermRef="">{1,1}</Definition>
  <Proviso Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" Mark="" xml:space="">{1,1}</Proviso>
</ContentsTitle>
Source
<xsd:element name="ContentsTitle">
  <xsd:annotation>
    <xsd:documentation>The title of an entry in the contents</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:complexContent mixed="true">
      <xsd:extension base="InlineFullStructure">
        <xsd:attribute name="Generated" type="xsd:boolean">
          <xsd:annotation>
            <xsd:documentation>This is added if and when there is no title for the provision that is being included in the ToC. In such cases, a function is called to take an abridged collection of words from the first textual content of the provision and the attribute is added with the value of true to provide explicit indication that the ToC item was generated from textual content, and not a title</xsd:documentation>
          </xsd:annotation>
        </xsd:attribute>
        <!-- 2013-02-14T12:31:43Z DP. Added to resolve @Contentref on this element. -->
        <xsd:attributeGroup ref="ContentsAttributes"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:element>
Element ContentsGroup
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a group (generally of parts). This should correspond to a group in the body of the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsPartschemaLegislationContents_xsd.tmp#ContentsChapterschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsChapter, ContentsItem, ContentsNumber, ContentsPart, ContentsPblock, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsGroup AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</ContentsNumber>
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,unbounded}</ContentsTitle>
  <ContentsPart AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPart>
  <ContentsChapter AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsChapter>
  <ContentsPblock AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPblock>
  <ContentsItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsItem>
</ContentsGroup>
Source
<xsd:element name="ContentsGroup">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a group (generally of parts). This should correspond to a group in the body of the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber" minOccurs="0"/>
      <xsd:element ref="ContentsTitle" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ContentsPart"/>
        <xsd:element ref="ContentsChapter"/>
        <xsd:element ref="ContentsPblock"/>
        <xsd:element ref="ContentsItem"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsNumber
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
The number of a heading or an item in the contents
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaEmphasis_xsd.tmp#StrongschemaEmphasis_xsd.tmp#EmphasisschemaEmphasis_xsd.tmp#InferiorschemaEmphasis_xsd.tmp#SuperiorschemaEmphasis_xsd.tmp#SmallCapsschemaEmphasis_xsd.tmp#UppercaseschemaEmphasis_xsd.tmp#UnderlineschemaEmphasis_xsd.tmp#ExpandedschemaStrike_xsd.tmp#StrikeschemaLegislationCommon_xsd.tmp#EmphasisBasicExtrasschemaLegislationTypes_xsd.tmp#EmphasisBasicschemaLegislationTypes_xsd.tmp#EmphasisBasicRestrictederrors_xsd.tmp#Errorerrors_xsd.tmp#Warningerrors_xsd.tmp#ErrorsschemaCommonElements_xsd.tmp#CharacterschemaBasicInline_xsd.tmp#SpanschemaLegislationAmendments_xsd.tmp#InlineAmendmentschemaCommentary_xsd.tmp#CommentaryRefschemaFootnote_xsd.tmp#FootnoteRefschemaMarginnote_xsd.tmp#MarginNoteRefschemaCitations_xsd.tmp#http___www.legislation.gov.uk_namespaces_legislation_CitationschemaCitations_xsd.tmp#CitationSubRefschemaCitations_xsd.tmp#CitationListRefschemaAcronymsAbbreviations_xsd.tmp#AcronymschemaAcronymsAbbreviations_xsd.tmp#AbbreviationschemaAcronymsAbbreviations_xsd.tmp#TermschemaChanges_xsd.tmp#AdditionschemaChanges_xsd.tmp#RepealschemaChanges_xsd.tmp#SubstitutionschemaLegislationSemantics_xsd.tmp#DefinitionschemaLegislationSemantics_xsd.tmp#ProvisoschemaLegislationTypes_xsd.tmp#InlineBasicRestrictedschemaLegislationTypes_xsd.tmp#InlineRestrictedStructure
Properties
content complex
mixed true
Used by
Model
Children Abbreviation, Acronym, Addition, Character, Citation, CitationListRef, CitationSubRef, CommentaryRef, Definition, Emphasis, Error, Expanded, FootnoteRef, Inferior, InlineAmendment, MarginNoteRef, Proviso, Repeal, SmallCaps, Span, Strike, Strong, Substitution, Superior, Term, Underline, Uppercase, Warning
Attributes
QName Type Use Annotation
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="" xmlns="http://www.legislation.gov.uk/namespaces/legislation" xmlns:error="http://www.tso.co.uk/assets/namespace/error">
  <Strong AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Strong>
  <Emphasis AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Emphasis>
  <Inferior AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Inferior>
  <Superior AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Superior>
  <SmallCaps AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</SmallCaps>
  <Uppercase AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Uppercase>
  <Underline AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Underline>
  <Expanded AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Expanded>
  <Strike AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Strike>
  <error:Error FragmentId="" XPath="">{1,1}</error:Error>
  <error:Warning FragmentId="" XPath="">{1,1}</error:Warning>
  <Character Name="">{1,1}</Character>
  <Span AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Span>
  <InlineAmendment AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</InlineAmendment>
  <CommentaryRef AltVersionRefs="" xml:base="" id="" xml:lang="" Ref="" xml:space="">{1,1}</CommentaryRef>
  <FootnoteRef AltVersionRefs="" xml:base="" id="" xml:lang="" Ref="" xml:space="">{1,1}</FootnoteRef>
  <MarginNoteRef AltVersionRefs="" xml:base="" id="" xml:lang="" Ref="" xml:space="">{1,1}</MarginNoteRef>
  <Citation AlternativeNumber="" AltVersionRefs="" xml:base="" Class="" CommencementNumber="" CommentaryRef="" Date="" DOI="" EndDate="" EndSectionRef="" id="" xml:lang="" LegalNumber="" Locator="" NorthernIrishNumber="" Number="" Prospective="false" ScottishNumber="" SectionRef="" xml:space="" StartDate="" StartSectionRef="" Title="" URI="" WelshNumber="" Year="">{1,1}</Citation>
  <CitationSubRef AltVersionRefs="" xml:base="" CitationRef="" EndSectionRef="" id="" xml:lang="" Operative="false" SectionRef="" xml:space="" StartSectionRef="" Type="" UpTo="" URI="">{1,1}</CitationSubRef>
  <CitationListRef AltVersionRefs="" xml:base="" xml:lang="" Ref="" xml:space="">{1,1}</CitationListRef>
  <Acronym AltVersionRefs="" xml:base="" Expansion="" id="" xml:lang="" xml:space="">{1,1}</Acronym>
  <Abbreviation AltVersionRefs="" xml:base="" Expansion="" id="" xml:lang="" xml:space="">{1,1}</Abbreviation>
  <Term AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</Term>
  <Addition AltVersionRefs="" xml:base="" ChangeId="" CommentaryRef="" Correction="false" Extent="" id="" xml:lang="" Mark="" Prospective="false" xml:space="" Status="">{1,1}</Addition>
  <Repeal AltVersionRefs="" xml:base="" ChangeId="" CommentaryRef="" Correction="false" Extent="" id="" xml:lang="" Mark="" Prospective="false" RetainText="" xml:space="" Status="" SubstitutionRef="">{1,1}</Repeal>
  <Substitution AltVersionRefs="" xml:base="" ChangeId="" CommentaryRef="" Correction="false" Extent="" id="" xml:lang="" Mark="" Prospective="false" xml:space="" Status="">{1,1}</Substitution>
  <Definition Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" Mark="" xml:space="" TermRef="">{1,1}</Definition>
  <Proviso Align="" AltVersionRefs="" xml:base="" id="" xml:lang="" Mark="" xml:space="">{1,1}</Proviso>
</ContentsNumber>
Source
<xsd:element name="ContentsNumber" type="InlineRestrictedStructure">
  <xsd:annotation>
    <xsd:documentation>The number of a heading or an item in the contents</xsd:documentation>
  </xsd:annotation>
</xsd:element>
Element ContentsPart
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a part. This should correspond to a part in the body of the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsChapterschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsChapter, ContentsItem, ContentsNumber, ContentsPblock, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsPart AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</ContentsNumber>
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,unbounded}</ContentsTitle>
  <ContentsChapter AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsChapter>
  <ContentsPblock AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPblock>
  <ContentsItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsItem>
</ContentsPart>
Source
<xsd:element name="ContentsPart">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a part. This should correspond to a part in the body of the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber" minOccurs="0"/>
      <xsd:element ref="ContentsTitle" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ContentsChapter"/>
        <xsd:element ref="ContentsPblock"/>
        <xsd:element ref="ContentsItem"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsChapter
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a chapter. This should correspond to a chapter in the body of the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsItem, ContentsNumber, ContentsPblock, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsChapter AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</ContentsNumber>
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,unbounded}</ContentsTitle>
  <ContentsPblock AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPblock>
  <ContentsItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsItem>
</ContentsChapter>
Source
<xsd:element name="ContentsChapter">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a chapter. This should correspond to a chapter in the body of the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber" minOccurs="0"/>
      <xsd:element ref="ContentsTitle" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ContentsPblock"/>
        <xsd:element ref="ContentsItem"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsPblock
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a pBlock. This should correspond to a pBlock in the body of the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsPsubBlockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsItem, ContentsNumber, ContentsPsubBlock, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsPblock AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</ContentsNumber>
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,unbounded}</ContentsTitle>
  <ContentsPsubBlock AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPsubBlock>
  <ContentsItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsItem>
</ContentsPblock>
Source
<xsd:element name="ContentsPblock">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a pBlock. This should correspond to a pBlock in the body of the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber" minOccurs="0"/>
      <xsd:element ref="ContentsTitle" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ContentsPsubBlock"/>
        <xsd:element ref="ContentsItem"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsPsubBlock
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a pSubBlock. This should correspond to a pSubBlock in the body of the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsItem, ContentsNumber, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsPsubBlock AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</ContentsNumber>
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsTitle>
  <ContentsItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsItem>
</ContentsPsubBlock>
Source
<xsd:element name="ContentsPsubBlock">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a pSubBlock. This should correspond to a pSubBlock in the body of the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber" minOccurs="0"/>
      <xsd:element ref="ContentsTitle"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ContentsItem"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsItem
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
An entry in the contents. This should correspond to a p1group in the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsSubItem
Properties
content complex
Used by
Model
Children ContentsNumber, ContentsSubItem, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{1,1}</ContentsNumber>
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsTitle>
  <ContentsSubItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsSubItem>
</ContentsItem>
Source
<xsd:element name="ContentsItem">
  <xsd:annotation>
    <xsd:documentation>An entry in the contents. This should correspond to a p1group in the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber"/>
      <xsd:element ref="ContentsTitle"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ContentsSubItem"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsSubItem
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a subsection of the docunment. This should correspond to a p2 or lower in the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsSubItem
Properties
content complex
Used by
Model
Children ContentsNumber, ContentsSubItem, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsSubItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</ContentsNumber>
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsTitle>
  <ContentsSubItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsSubItem>
</ContentsSubItem>
Source
<xsd:element name="ContentsSubItem">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a subsection of the docunment. This should correspond to a p2 or lower in the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber" minOccurs="0"/>
      <xsd:element ref="ContentsTitle"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ContentsSubItem"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsAppendix
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for an appendix. This should correspond to an appendix in the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsGroupschemaLegislationContents_xsd.tmp#ContentsPartschemaLegislationContents_xsd.tmp#ContentsChapterschemaLegislationContentsEU_xsd.tmp#ContentsEUPartschemaLegislationContentsEU_xsd.tmp#ContentsEUTitleschemaLegislationContentsEU_xsd.tmp#ContentsEUChapterschemaLegislationContentsEU_xsd.tmp#ContentsEUSectionschemaLegislationContentsEU_xsd.tmp#ContentsDivisionschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsChapter, ContentsDivision, ContentsEUChapter, ContentsEUPart, ContentsEUSection, ContentsEUTitle, ContentsGroup, ContentsItem, ContentsNumber, ContentsPart, ContentsPblock, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsAppendix AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</ContentsNumber>
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,1}</ContentsTitle>
  <ContentsGroup AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsGroup>
  <ContentsPart AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPart>
  <ContentsChapter AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsChapter>
  <ContentsEUPart AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUPart>
  <ContentsEUTitle AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUTitle>
  <ContentsEUChapter AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUChapter>
  <ContentsEUSection AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUSection>
  <ContentsDivision AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsDivision>
  <ContentsPblock AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPblock>
  <ContentsItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsItem>
</ContentsAppendix>
Source
<xsd:element name="ContentsAppendix">
  <xsd:annotation>
    <xsd:documentation>A contents entry for an appendix. This should correspond to an appendix in the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber" minOccurs="0"/>
      <xsd:element ref="ContentsTitle" minOccurs="0"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ContentsGroup"/>
        <xsd:element ref="ContentsPart"/>
        <xsd:element ref="ContentsChapter"/>
        <xsd:element ref="ContentsEUPart"/>
        <xsd:element ref="ContentsEUTitle"/>
        <xsd:element ref="ContentsEUChapter"/>
        <xsd:element ref="ContentsEUSection"/>
        <xsd:element ref="ContentsDivision"/>
        <xsd:element ref="ContentsPblock"/>
        <xsd:element ref="ContentsItem"/>
      </xsd:choice>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsSchedules
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for the schedules. This should correspond to the schedules of the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsScheduleschemaLegislationContents_xsd.tmp#ContentsAppendix
Properties
content complex
Used by
Element Group CommonBlockAmendmentExtractGroup
Complex Type ContentsType
Model
Children ContentsAppendix, ContentsSchedule, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsSchedules AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,1}</ContentsTitle>
  <ContentsSchedule AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,unbounded}</ContentsSchedule>
  <ContentsAppendix AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,unbounded}</ContentsAppendix>
</ContentsSchedules>
Source
<xsd:element name="ContentsSchedules">
  <xsd:annotation>
    <xsd:documentation>A contents entry for the schedules. This should correspond to the schedules of the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsTitle" minOccurs="0"/>
      <xsd:sequence>
        <xsd:element ref="ContentsSchedule" maxOccurs="unbounded"/>
        <xsd:element ref="ContentsAppendix" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsSchedule
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a schedule. This should correspond to a schedule in the schedules of the document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContents_xsd.tmp#ContentsGroupschemaLegislationContents_xsd.tmp#ContentsPartschemaLegislationContents_xsd.tmp#ContentsChapterschemaLegislationContentsEU_xsd.tmp#ContentsEUPartschemaLegislationContentsEU_xsd.tmp#ContentsEUTitleschemaLegislationContentsEU_xsd.tmp#ContentsEUChapterschemaLegislationContentsEU_xsd.tmp#ContentsEUSectionschemaLegislationContentsEU_xsd.tmp#ContentsDivisionschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItemschemaLegislationContents_xsd.tmp#ContentsAppendix
Properties
content complex
Used by
Model
Children ContentsAppendix, ContentsChapter, ContentsDivision, ContentsEUChapter, ContentsEUPart, ContentsEUSection, ContentsEUTitle, ContentsGroup, ContentsItem, ContentsNumber, ContentsPart, ContentsPblock, ContentsTitle
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
AltVersionRefs RefsLinkType optional
Links to alternate versions of the content by referencing the version's id attribute, e.g. perhaps a Welsh version or an image (Figure) of a Formula
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
id restriction of xsd:NCName optional

A unique identifier for the element.

The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.

Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.

xml:base xs:anyURI optional
Is used to change the base from which relative URLs are calculated. See http://www.w3.org/TR/xmlbase/ for information about this attribute.
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.
xml:space restriction of xs:NCName optional
Is used to indicate whether white space is significant in the contained content and can contain the value ‘default’ or ‘preserve’. For a value of ‘default’, it is left to an application as to how to treat white space.
Instance
<ContentsSchedule AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="" xmlns="http://www.legislation.gov.uk/namespaces/legislation">
  <ContentsNumber AltVersionRefs="" xml:base="" id="" xml:lang="" xml:space="">{0,1}</ContentsNumber>
  <ContentsTitle Align="" AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" Generated="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,1}</ContentsTitle>
  <ContentsGroup AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsGroup>
  <ContentsPart AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPart>
  <ContentsChapter AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsChapter>
  <ContentsEUPart AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUPart>
  <ContentsEUTitle AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUTitle>
  <ContentsEUChapter AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUChapter>
  <ContentsEUSection AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsEUSection>
  <ContentsDivision AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsDivision>
  <ContentsPblock AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsPblock>
  <ContentsItem AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{1,1}</ContentsItem>
  <ContentsAppendix AltDates="" AltVersionRefs="" xml:base="" BlanketAmendment="" Concurrent="" ConfersPower="" ContentRef="" DocumentURI="" FragmentId="" id="" IdURI="" xml:lang="" Match="" MatchExtent="" MatchText="" NumberOfProvisions="" RestrictEndDate="" RestrictExtent="" RestrictStartDate="" xml:space="" Status="" ValidDates="" Version="">{0,unbounded}</ContentsAppendix>
</ContentsSchedule>
Source
<xsd:element name="ContentsSchedule">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a schedule. This should correspond to a schedule in the schedules of the document</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber" minOccurs="0"/>
      <xsd:element ref="ContentsTitle" minOccurs="0"/>
      <xsd:choice minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="ContentsGroup"/>
        <xsd:element ref="ContentsPart"/>
        <xsd:element ref="ContentsChapter"/>
        <xsd:element ref="ContentsEUPart"/>
        <xsd:element ref="ContentsEUTitle"/>
        <xsd:element ref="ContentsEUChapter"/>
        <xsd:element ref="ContentsEUSection"/>
        <xsd:element ref="ContentsDivision"/>
        <xsd:element ref="ContentsPblock"/>
        <xsd:element ref="ContentsItem"/>
      </xsd:choice>
      <xsd:element ref="ContentsAppendix" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Attribute InlineFull / @Generated
Namespace No namespace
Annotations
This is added if and when there is no title for the provision that is being included in the ToC. In such cases, a function is called to take an abridged collection of words from the first textual content of the provision and the attribute is added with the value of true to provide explicit indication that the ToC item was generated from textual content, and not a title
Properties
content simple
Used by
Element ContentsTitle
Source
<xsd:attribute name="Generated" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>This is added if and when there is no title for the provision that is being included in the ToC. In such cases, a function is called to take an abridged collection of words from the first textual content of the provision and the attribute is added with the value of true to provide explicit indication that the ToC item was generated from textual content, and not a title</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute ContentsAttributes / @ContentRef
Namespace No namespace
Annotations
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
Properties
content simple
Used by
Attribute Group ContentsAttributes
Source
<xsd:attribute name="ContentRef" type="xsd:NCName">
  <xsd:annotation>
    <xsd:documentation>Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute ContentsAttributes / @MatchText
Namespace No namespace
Annotations
Indicates whether the related section contains text that matches the query.
Properties
content simple
Used by
Attribute Group ContentsAttributes
Source
<xsd:attribute name="MatchText" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>Indicates whether the related section contains text that matches the query.</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute ContentsAttributes / @MatchExtent
Namespace No namespace
Annotations
Indicates whether the related section has the extent specified by the query.
Properties
content simple
Used by
Attribute Group ContentsAttributes
Source
<xsd:attribute name="MatchExtent" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>Indicates whether the related section has the extent specified by the query.</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute ContentsTitle / @Generated
Namespace No namespace
Annotations
This is added if and when there is no title for the provision that is being included in the ToC. In such cases, a function is called to take an abridged collection of words from the first textual content of the provision and the attribute is added with the value of true to provide explicit indication that the ToC item was generated from textual content, and not a title
Properties
content simple
Source
<xsd:attribute name="Generated" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>This is added if and when there is no title for the provision that is being included in the ToC. In such cases, a function is called to take an abridged collection of words from the first textual content of the provision and the attribute is added with the value of true to provide explicit indication that the ToC item was generated from textual content, and not a title</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Group ContentsAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationContents_xsd.tmp#ContentsAttributes_ContentRefschemaCommon_xsd.tmp#OptionalURIs_DocumentURIschemaCommon_xsd.tmp#OptionalURIs_IdURIschemaCommon_xsd.tmp#OptionalURIsschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_FragmentIdschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_VersionschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_RestrictExtentschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_RestrictStartDateschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_RestrictEndDateschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_StatusschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_ConfersPowerschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_BlanketAmendmentschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_ConcurrentschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_MatchschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_AltDatesschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributes_ValidDatesschemaLegislationCommonAttributes_xsd.tmp#ProvisionCountAttributesschemaLegislationCommonAttributes_xsd.tmp#FragmentAttributesschemaLegislationContents_xsd.tmp#ContentsAttributes_MatchTextschemaLegislationContents_xsd.tmp#ContentsAttributes_MatchExtent
Used by
Attributes
QName Type Use Annotation
AltDates DateOrProspectiveListType optional
A space separated sequence of dates where amendments have been applied to the provision
BlanketAmendment xsd:boolean optional
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Concurrent xsd:boolean optional
A Boolean value to indicate if there are concurrent versions of the same provision. This is presently used for concurrent geographic extent versions but may be used in future to indicate other versions of the same provision
ConfersPower xsd:boolean optional
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
ContentRef xsd:NCName optional
Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link
DocumentURI xsd:anyURI optional
The URI to this part of the document (to the enacted version).
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
IdURI xsd:anyURI optional
The URI to the id of this part of the document (to the current revised version).
Match xsd:boolean optional
A boolean value indicator as to whether the provision should be displayed or is in force, i.e. if the status is prospective, then it will not display as in force. Similarly with the status set to repealed, then this will prevent the provision from displaying when viewed from high level
MatchExtent xsd:boolean optional
Indicates whether the related section has the extent specified by the query.
MatchText xsd:boolean optional
Indicates whether the related section contains text that matches the query.
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
RestrictEndDate xsd:date optional
The date of the next version of the current fragment
RestrictExtent ExtentType optional
The geographic extent to which the provision applies
RestrictStartDate xsd:date optional
The date of the current version of the provision and the amendments applied to it
Status restriction of xsd:token optional
The status of the provision when not in force, i.e. prospective, repealed
ValidDates DateOrProspectiveListType optional
A space separated sequence of valid dates where the provision is in force
Version xsd:integer optional
The version of the provision in the old SLD (Statute Law Database) system
Source
<xsd:attributeGroup name="ContentsAttributes">
  <xsd:attribute name="ContentRef" type="xsd:NCName">
    <xsd:annotation>
      <xsd:documentation>Hyperlinks from contents should be autogenerated for contents. However, for legacy data there are some entries that can not be automatically linked. This attribute provides a cross-reference function that would override any autogenerated link</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attributeGroup ref="OptionalURIs"/>
  <xsd:attributeGroup ref="FragmentAttributes"/>
  <!-- removed default values for issue #171599021
			<xsd:attribute default="false" name="MatchText" type="xsd:boolean">-->
  <xsd:attribute name="MatchText" type="xsd:boolean">
    <xsd:annotation>
      <xsd:documentation>Indicates whether the related section contains text that matches the query.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <!-- removed default values issue #171599021
			<xsd:attribute default="false" name="MatchExtent" type="xsd:boolean">-->
  <xsd:attribute name="MatchExtent" type="xsd:boolean">
    <xsd:annotation>
      <xsd:documentation>Indicates whether the related section has the extent specified by the query.</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:attributeGroup>