Showing:

Annotations
Attributes
Diagrams
Instances
Model
Properties
Source
Used by
Included schema schemaLegislationContentsEU.xsd
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
This schema describes a general table of contents structure for EU documents
Properties
attribute form default unqualified
element form default qualified
version 2.0
Element ContentsEUPart
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 EU document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContentsEU_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 ContentsDivision, ContentsEUChapter, ContentsEUSection, ContentsEUTitle, 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
<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="" 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>
  <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>
</ContentsEUPart>
Source
<xsd:element name="ContentsEUPart">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a part. This should correspond to a part in the body of the EU 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="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 ContentsEUTitle
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
The title of an entry in the contents for EU information
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContentsEU_xsd.tmp#ContentsEUChapterschemaLegislationContentsEU_xsd.tmp#ContentsEUSectionschemaLegislationContentsEU_xsd.tmp#ContentsDivisionschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsDivision, ContentsEUChapter, ContentsEUSection, 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
<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="" 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>
  <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>
</ContentsEUTitle>
Source
<xsd:element name="ContentsEUTitle">
  <xsd:annotation>
    <xsd:documentation>The title of an entry in the contents for EU information</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="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 ContentsEUChapter
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 EU document
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContentsEU_xsd.tmp#ContentsEUSectionschemaLegislationContentsEU_xsd.tmp#ContentsDivisionschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsDivision, ContentsEUSection, 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
<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="" 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>
  <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>
</ContentsEUChapter>
Source
<xsd:element name="ContentsEUChapter">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a chapter. This should correspond to a chapter in the body of the EU 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="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 ContentsEUSection
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a EU Section
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContentsEU_xsd.tmp#ContentsEUSubsectionschemaLegislationContentsEU_xsd.tmp#ContentsDivisionschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsDivision, ContentsEUSubsection, 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
<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="" 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>
  <ContentsEUSubsection 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}</ContentsEUSubsection>
  <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>
</ContentsEUSection>
Source
<xsd:element name="ContentsEUSection">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a EU Section</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="ContentsEUSubsection"/>
        <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 ContentsEUSubsection
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a EU SubSection
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContentsEU_xsd.tmp#ContentsDivisionschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsDivision, 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
<ContentsEUSubsection 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>
  <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>
</ContentsEUSubsection>
Source
<xsd:element name="ContentsEUSubsection">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a EU SubSection</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="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 ContentsDivision
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a EU Division
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContentsEU_xsd.tmp#ContentsDivisionschemaLegislationContentsEU_xsd.tmp#ContentsEUPartschemaLegislationContentsEU_xsd.tmp#ContentsEUTitleschemaLegislationContentsEU_xsd.tmp#ContentsEUChapterschemaLegislationContentsEU_xsd.tmp#ContentsEUSectionschemaLegislationContents_xsd.tmp#ContentsPblockschemaLegislationContents_xsd.tmp#ContentsItem
Properties
content complex
Used by
Model
Children ContentsDivision, ContentsEUChapter, ContentsEUPart, ContentsEUSection, ContentsEUTitle, 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
<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="" 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>
  <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>
  <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>
  <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>
</ContentsDivision>
Source
<xsd:element name="ContentsDivision">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a EU Division</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="ContentsDivision"/>
        <xsd:element ref="ContentsEUPart"/>
        <xsd:element ref="ContentsEUTitle"/>
        <xsd:element ref="ContentsEUChapter"/>
        <xsd:element ref="ContentsEUSection"/>
        <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 ContentsAttachments
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for EU attachments
Diagram
DiagramschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContentsEU_xsd.tmp#ContentsAttachmentGroupschemaLegislationContentsEU_xsd.tmp#ContentsAttachment
Properties
content complex
Used by
Complex Type ContentsType
Model
Children ContentsAttachment, ContentsAttachmentGroup, ContentsTitle
Instance
<ContentsAttachments 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>
  <ContentsAttachmentGroup 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}</ContentsAttachmentGroup>
  <ContentsAttachment 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}</ContentsAttachment>
</ContentsAttachments>
Source
<xsd:element name="ContentsAttachments">
  <xsd:annotation>
    <xsd:documentation>A contents entry for EU attachments</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsTitle" minOccurs="0"/>
      <xsd:choice maxOccurs="unbounded">
        <xsd:element ref="ContentsAttachmentGroup" minOccurs="0"/>
        <xsd:element ref="ContentsAttachment" minOccurs="0"/>
      </xsd:choice>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>
Element ContentsAttachmentGroup
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a group of EU attachments
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsNumberschemaLegislationContents_xsd.tmp#ContentsTitleschemaLegislationContentsEU_xsd.tmp#ContentsAttachment
Properties
content complex
Used by
Model
Children ContentsAttachment, 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
<ContentsAttachmentGroup 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>
  <ContentsAttachment 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}</ContentsAttachment>
</ContentsAttachmentGroup>
Source
<xsd:element name="ContentsAttachmentGroup">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a group of EU attachments</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsNumber" minOccurs="0"/>
      <xsd:element ref="ContentsTitle"/>
      <xsd:element ref="ContentsAttachment" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>
Element ContentsAttachment
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
A contents entry for a single EU attachment
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationContents_xsd.tmp#ContentsAttributesschemaLegislationContents_xsd.tmp#ContentsTitle
Properties
content complex
Used by
Model
Children 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
<ContentsAttachment 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="">{1,1}</ContentsTitle>
</ContentsAttachment>
Source
<xsd:element name="ContentsAttachment">
  <xsd:annotation>
    <xsd:documentation>A contents entry for a single EU attachment</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element ref="ContentsTitle"/>
    </xsd:sequence>
    <xsd:attributeGroup ref="CommonAttributes"/>
    <xsd:attributeGroup ref="ContentsAttributes"/>
  </xsd:complexType>
</xsd:element>