Showing:

Annotations
Attributes
Diagrams
Facets
Properties
Source
Used by
Included schema schemaLegislationCommonAttributes.xsd
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Defines generic attributes applicable to multiple elements
Properties
attribute form default unqualified
element form default qualified
version 2.4
Simple Type RefsLinkType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
This refers to one or more IDs, that may not exist in the currently open file but is necessary when editing a fragment of a CLML document, which may refer to elements in a different fragment. The AltVersionRefs attribute can use this type to refer to alternative versions of the content in the current element, but when an editor checks out a fragment containing the element, it may also not contain the alternative versions. It also allow for valid data where a fragment is amended resulting in an equation with an orphaned AltVersionRefs. The IDREFS type is unsuitable for these purposes as it requires the value to refer to IDs that exist within the current document
Diagram
Diagram
Used by
Source
<xsd:simpleType name="RefsLinkType">
  <xsd:annotation>
    <xsd:documentation>This refers to one or more IDs, that may not exist in the currently open file but is necessary when editing a fragment of a CLML document, which may refer to elements in a different fragment. The AltVersionRefs attribute can use this type to refer to alternative versions of the content in the current element, but when an editor checks out a fragment containing the element, it may also not contain the alternative versions. It also allow for valid data where a fragment is amended resulting in an equation with an orphaned AltVersionRefs. The IDREFS type is unsuitable for these purposes as it requires the value to refer to IDs that exist within the current document</xsd:documentation>
  </xsd:annotation>
  <xsd:restriction base="xsd:NMTOKENS"/>
</xsd:simpleType>
Simple Type DateOrProspectiveListType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#DateOrProspectiveType
Used by
Source
<xsd:simpleType name="DateOrProspectiveListType">
  <xsd:list itemType="DateOrProspectiveType"/>
</xsd:simpleType>
Simple Type DateOrProspectiveType
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
Diagram
Source
<xsd:simpleType name="DateOrProspectiveType">
  <xsd:union>
    <xsd:simpleType>
      <xsd:restriction base="xsd:date"/>
    </xsd:simpleType>
    <xsd:simpleType>
      <xsd:restriction base="xsd:string">
        <xsd:pattern value="prospective"/>
        <!-- allow empty strings for now -->
        <xsd:pattern value=""/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:union>
</xsd:simpleType>
Attribute CommonAttributes / @id
Namespace No namespace
Annotations

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.

Properties
content simple
Facets
pattern (\i\c*) & ([\i-[:]][\c-[:]]*) & ([a-z][0-9]{5})
Used by
Attribute Group CommonAttributes
Source
<xsd:attribute name="id">
  <xsd:annotation>
    <xsd:documentation xmlns:h="http://www.w3.org/1999/xhtml">
      <h:p>A unique identifier for the element.</h:p>
      <h:p>The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.</h:p>
      <h:p>Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.</h:p>
    </xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:NCName">
      <xsd:pattern value="[a-z][0-9]{5}"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute VersionRefAttributes / @AltVersionRefs
Namespace No namespace
Annotations
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
Properties
content simple
Used by
Attribute Group VersionRefAttributes
Source
<xsd:attribute name="AltVersionRefs" type="RefsLinkType">
  <xsd:annotation>
    <xsd:documentation>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</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute QuotesAttributes / @Format
Namespace No namespace
Annotations
Defines the type of quotes to be used when formatting block or inline amendments or extracts.
Properties
use required
Facets
enumeration default
enumeration double
enumeration single
enumeration none
Used by
Attribute Group QuotesAttributes
Source
<xsd:attribute name="Format" use="required">
  <xsd:annotation>
    <xsd:documentation>Defines the type of quotes to be used when formatting block or inline amendments or extracts.</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="default"/>
      <xsd:enumeration value="double"/>
      <xsd:enumeration value="single"/>
      <xsd:enumeration value="none"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute FragmentAttributes / @FragmentId
Namespace No namespace
Annotations
The identifier for the fragment used in the old SLD (Statute Law Database) system
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="FragmentId" type="xsd:NMTOKEN">
  <xsd:annotation>
    <xsd:documentation>The identifier for the fragment used in the old SLD (Statute Law Database) system</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @Version
Namespace No namespace
Annotations
The version of the provision in the old SLD (Statute Law Database) system
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="Version" type="xsd:integer">
  <xsd:annotation>
    <xsd:documentation>The version of the provision in the old SLD (Statute Law Database) system</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @RestrictExtent
Namespace No namespace
Annotations
The geographic extent to which the provision applies
Properties
content simple
Facets
enumeration E
enumeration W
enumeration S
enumeration N.I.
enumeration E+W
enumeration E+S
enumeration E+N.I.
enumeration W+S
enumeration W+N.I.
enumeration S+N.I.
enumeration E+W+S
enumeration E+W+N.I.
enumeration W+S+N.I.
enumeration E+W+S+N.I.
enumeration E.U.
enumeration E+E.U.
enumeration W+E.U.
enumeration E+W+E.U.
enumeration S+E.U.
enumeration E+S+E.U.
enumeration W+S+E.U.
enumeration E+W+S+E.U.
enumeration N.I.+E.U.
enumeration E+N.I.+E.U.
enumeration W+N.I.+E.U.
enumeration E+W+N.I.+E.U.
enumeration S+N.I.+E.U.
enumeration E+S+N.I.+E.U.
enumeration W+S+N.I.+E.U.
enumeration E+W+S+N.I.+E.U.
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="RestrictExtent" type="ExtentType">
  <xsd:annotation>
    <xsd:documentation>The geographic extent to which the provision applies</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @RestrictStartDate
Namespace No namespace
Annotations
The date of the current version of the provision and the amendments applied to it
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="RestrictStartDate" type="xsd:date">
  <xsd:annotation>
    <xsd:documentation>The date of the current version of the provision and the amendments applied to it</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @RestrictEndDate
Namespace No namespace
Annotations
The date of the next version of the current fragment
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="RestrictEndDate" type="xsd:date">
  <xsd:annotation>
    <xsd:documentation>The date of the next version of the current fragment</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @Status
Namespace No namespace
Annotations
The status of the provision when not in force, i.e. prospective, repealed
Properties
content simple
Facets
enumeration Prospective
enumeration Dead
enumeration Discarded
enumeration Repealed
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="Status">
  <xsd:annotation>
    <xsd:documentation>The status of the provision when not in force, i.e. prospective, repealed</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:token">
      <xsd:enumeration value="Prospective"/>
      <xsd:enumeration value="Dead"/>
      <xsd:enumeration value="Discarded"/>
      <xsd:enumeration value="Repealed"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute FragmentAttributes / @ConfersPower
Namespace No namespace
Annotations
A Boolean value to indicate whether the provision includes confers power to make secondary legislation
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="ConfersPower" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>A Boolean value to indicate whether the provision includes confers power to make secondary legislation</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @BlanketAmendment
Namespace No namespace
Annotations
A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="BlanketAmendment" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @Concurrent
Namespace No namespace
Annotations
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
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="Concurrent" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>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</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @Match
Namespace No namespace
Annotations
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
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="Match" type="xsd:boolean">
  <xsd:annotation>
    <xsd:documentation>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</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @AltDates
Namespace No namespace
Annotations
A space separated sequence of dates where amendments have been applied to the provision
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="AltDates" type="DateOrProspectiveListType">
  <xsd:annotation>
    <xsd:documentation>A space separated sequence of dates where amendments have been applied to the provision</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute FragmentAttributes / @ValidDates
Namespace No namespace
Annotations
A space separated sequence of valid dates where the provision is in force
Properties
content simple
Used by
Attribute Group FragmentAttributes
Source
<xsd:attribute name="ValidDates" type="DateOrProspectiveListType">
  <xsd:annotation>
    <xsd:documentation>A space separated sequence of valid dates where the provision is in force</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute ProvisionCountAttributes / @NumberOfProvisions
Namespace No namespace
Annotations
Count of the number of child provisions within the section of content (added automatically when published)
Properties
content simple
Used by
Attribute Group ProvisionCountAttributes
Source
<xsd:attribute name="NumberOfProvisions" type="xsd:integer">
  <xsd:annotation>
    <xsd:documentation>Count of the number of child provisions within the section of content (added automatically when published)</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute StructureNumberFormattingAttributes / @NumberFormat
Namespace No namespace
Annotations
Defines whether section numbering (top level) should be formatted in a way other then the default. This is basically for legacy data. The use of a default attribute has been considered and kept due to the fact that the attribute is only to be used for legacy data and it would be a hinderance to have to consider its use going forward. It is expected that this attribute could be changed to a fixed value of default if required
Properties
default default
Facets
enumeration default
enumeration emphasis
enumeration strong
Used by
Source
<xsd:attribute name="NumberFormat" default="default">
  <xsd:annotation>
    <xsd:documentation>Defines whether section numbering (top level) should be formatted in a way other then the default. This is basically for legacy data. The use of a default attribute has been considered and kept due to the fact that the attribute is only to be used for legacy data and it would be a hinderance to have to consider its use going forward. It is expected that this attribute could be changed to a fixed value of default if required</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="default"/>
      <xsd:enumeration value="emphasis"/>
      <xsd:enumeration value="strong"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute Group CommonAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#CommonAttributes_idschemaLegislationCommonAttributes_xsd.tmp#VersionRefAttributesschemaLegislationCommonAttributes_xsd.tmp#XMLattributesschemaLegislationCommonAttributes_xsd.tmp#CommonSubAttributes
Used by
Elements Abbreviation, Acronym, Address, AppendText, BinaryContent, BlockText, ComingIntoForce, ComingIntoForce/ComingIntoForceClauses, Comment, Commentaries, CommentaryRef, ContentsAppendix, ContentsAttachment, ContentsAttachmentGroup, ContentsChapter, ContentsDivision, ContentsEUChapter, ContentsEUPart, ContentsEUSection, ContentsEUSubsection, ContentsEUTitle, ContentsGroup, ContentsItem, ContentsPart, ContentsPblock, ContentsPsubBlock, ContentsSchedule, ContentsSchedules, ContentsSubItem, DateOfEnactment, DateSigned, DecoratedGroup, EURetained, EarlierOrders, Emphasis, EmphasisRestricted/Emphasis, EnactingText, EnactingTextOmitted, Expanded, ExplanatoryNotes, ExternalLink, FootnoteRef, Footnotes, Form, FragmentNumber, FragmentTitle, GroupItemRef, IncludedDocument, InferiorRestricted/Inferior, InternalLink, IntroductoryText, KeyList, KeyListItem, LSseal, LaidDate, LaidDraft, Legislation, MadeDate, MarginNoteRef, MarginNotes, Note, NoteRestricted/Note, Notes, OrderedList, P1para, P2para, P3para, P4para, P5para, P6para, P7para, Pnumber, Primary, PrimaryPreamble, Resolution, Resources, RoyalPresence, Secondary, SecondaryPreamble, SiftedDate, Signatory, SignedSection, Signee, SmallCaps, SmallCapsRestricted/SmallCaps, Strike, StrikeRestricted/Strike, Strong, StrongRestricted/Strong, SubjectInformation, SubjectInformation/Subject, SuperiorRestricted/Superior, Text, TitleBlock, UnderlineRestricted/Underline, UnorderedList, Uppercase, Versions, Where, XMLcontent
Complex Types BlockBasicStructure, BlockSectionStructure, ChangeType, ContentsType, InlineExtractStructure, InlineFullStructure, InlineModelStructure, InlineRestrictedStructure, InlineStructure, ParaBasicStructure
Attribute Group CommonBlockAmendmentExtractAttributeGroup
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.
Source
<xsd:attributeGroup name="CommonAttributes">
  <xsd:attribute name="id">
    <xsd:annotation>
      <xsd:documentation xmlns:h="http://www.w3.org/1999/xhtml">
        <h:p>A unique identifier for the element.</h:p>
        <h:p>The format of this identifier is yxxxxx where y is a letter and xxxxx is a number, padded to five digits.</h:p>
        <h:p>Note that most elements that normally have identifiers have a separate, element-specific definition of the id attribute in the schema.</h:p>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:simpleType>
      <xsd:restriction base="xsd:NCName">
        <xsd:pattern value="[a-z][0-9]{5}"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:attribute>
  <xsd:attributeGroup ref="CommonSubAttributes"/>
</xsd:attributeGroup>
Attribute Group CommonSubAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#VersionRefAttributes_AltVersionRefsschemaLegislationCommonAttributes_xsd.tmp#VersionRefAttributesnamespace_xsd.tmp#langnamespace_xsd.tmp#spacenamespace_xsd.tmp#baseschemaLegislationCommonAttributes_xsd.tmp#XMLattributes
Used by
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
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.
Source
<xsd:attributeGroup name="CommonSubAttributes">
  <xsd:attributeGroup ref="VersionRefAttributes"/>
  <xsd:attributeGroup ref="XMLattributes"/>
</xsd:attributeGroup>
Attribute Group VersionRefAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#VersionRefAttributes_AltVersionRefs
Used by
Attribute Group CommonSubAttributes
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
Source
<xsd:attributeGroup name="VersionRefAttributes">
  <xsd:attribute name="AltVersionRefs" type="RefsLinkType">
    <xsd:annotation>
      <xsd:documentation>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</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:attributeGroup>
Attribute Group XMLattributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
The standard XML attributes xml:lang, xml:space and xml:base are included on each element. Their use as defined by the W3 specification should be respected.
Diagram
Diagramnamespace_xsd.tmp#langnamespace_xsd.tmp#spacenamespace_xsd.tmp#base
Used by
Attribute Group CommonSubAttributes
Attributes
QName Type Use Annotation
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.
Source
<xsd:attributeGroup name="XMLattributes">
  <xsd:annotation>
    <xsd:documentation>The standard XML attributes xml:lang, xml:space and xml:base are included on each element. Their use as defined by the W3 specification should be respected.</xsd:documentation>
  </xsd:annotation>
  <xsd:attribute ref="xml:lang"/>
  <xsd:attribute ref="xml:space"/>
  <xsd:attribute ref="xml:base"/>
</xsd:attributeGroup>
Attribute Group QuotesAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#QuotesAttributes_Format
Used by
Attributes
QName Type Use Annotation
Format restriction of xsd:string required
Defines the type of quotes to be used when formatting block or inline amendments or extracts.
Source
<xsd:attributeGroup name="QuotesAttributes">
  <xsd:attribute name="Format" use="required">
    <xsd:annotation>
      <xsd:documentation>Defines the type of quotes to be used when formatting block or inline amendments or extracts.</xsd:documentation>
    </xsd:annotation>
    <xsd:simpleType>
      <xsd:restriction base="xsd:string">
        <xsd:enumeration value="default"/>
        <xsd:enumeration value="double"/>
        <xsd:enumeration value="single"/>
        <xsd:enumeration value="none"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:attribute>
</xsd:attributeGroup>
Attribute Group FragmentAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationCommonAttributes_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#ProvisionCountAttributes_NumberOfProvisionsschemaLegislationCommonAttributes_xsd.tmp#ProvisionCountAttributes
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
FragmentId xsd:NMTOKEN optional
The identifier for the fragment used in the old SLD (Statute Law Database) system
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
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="FragmentAttributes">
  <xsd:attribute name="FragmentId" type="xsd:NMTOKEN">
    <xsd:annotation>
      <xsd:documentation>The identifier for the fragment used in the old SLD (Statute Law Database) system</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Version" type="xsd:integer">
    <xsd:annotation>
      <xsd:documentation>The version of the provision in the old SLD (Statute Law Database) system</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <!--#154553309 <xsd:attribute name="RestrictExtent" type="xsd:token"/>-->
  <xsd:attribute name="RestrictExtent" type="ExtentType">
    <xsd:annotation>
      <xsd:documentation>The geographic extent to which the provision applies</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="RestrictStartDate" type="xsd:date">
    <xsd:annotation>
      <xsd:documentation>The date of the current version of the provision and the amendments applied to it</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="RestrictEndDate" type="xsd:date">
    <xsd:annotation>
      <xsd:documentation>The date of the next version of the current fragment</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Status">
    <xsd:annotation>
      <xsd:documentation>The status of the provision when not in force, i.e. prospective, repealed</xsd:documentation>
    </xsd:annotation>
    <xsd:simpleType>
      <xsd:restriction base="xsd:token">
        <xsd:enumeration value="Prospective"/>
        <xsd:enumeration value="Dead"/>
        <xsd:enumeration value="Discarded"/>
        <xsd:enumeration value="Repealed"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:attribute>
  <!-- removed default values for issue #171599021
		<xsd:attribute default="false" name="ConfersPower" type="xsd:boolean"/>
		<xsd:attribute default="false" name="BlanketAmendment" type="xsd:boolean"/>
		<xsd:attribute default="false" name="Concurrent" type="xsd:boolean"/>
		<xsd:attribute default="true" name="Match" type="xsd:boolean"/> -->
  <xsd:attribute name="ConfersPower" type="xsd:boolean">
    <xsd:annotation>
      <xsd:documentation>A Boolean value to indicate whether the provision includes confers power to make secondary legislation</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="BlanketAmendment" type="xsd:boolean">
    <xsd:annotation>
      <xsd:documentation>A Boolean value to indicate whether the provision includes blanket amendments, ie general amendments to legislation as a whole rather than a specific enactment</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Concurrent" type="xsd:boolean">
    <xsd:annotation>
      <xsd:documentation>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</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="Match" type="xsd:boolean">
    <xsd:annotation>
      <xsd:documentation>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</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <!-- #172192332 Tighten the validation of AltDates and ValidDates to only allow a list of dates and the word "prospective" 
		e.g.
		2006-01-01
		2006-01-01 2010-01-01
		prospective
		2006-01-01 2010-01-01 prospective
		MAYBE empty string
		-->
  <xsd:attribute name="AltDates" type="DateOrProspectiveListType">
    <xsd:annotation>
      <xsd:documentation>A space separated sequence of dates where amendments have been applied to the provision</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="ValidDates" type="DateOrProspectiveListType">
    <xsd:annotation>
      <xsd:documentation>A space separated sequence of valid dates where the provision is in force</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attributeGroup ref="ProvisionCountAttributes"/>
</xsd:attributeGroup>
Attribute Group ProvisionCountAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#ProvisionCountAttributes_NumberOfProvisions
Used by
Attribute Group FragmentAttributes
Attributes
QName Type Use Annotation
NumberOfProvisions xsd:integer optional
Count of the number of child provisions within the section of content (added automatically when published)
Source
<xsd:attributeGroup name="ProvisionCountAttributes">
  <xsd:attribute name="NumberOfProvisions" type="xsd:integer">
    <xsd:annotation>
      <xsd:documentation>Count of the number of child provisions within the section of content (added automatically when published)</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:attributeGroup>
Attribute Group StructureNumberFormattingAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#StructureNumberFormattingAttributes_NumberFormat
Used by
Attributes
QName Type Default Use Annotation
NumberFormat restriction of xsd:string default optional
Defines whether section numbering (top level) should be formatted in a way other then the default. This is basically for legacy data. The use of a default attribute has been considered and kept due to the fact that the attribute is only to be used for legacy data and it would be a hinderance to have to consider its use going forward. It is expected that this attribute could be changed to a fixed value of default if required
Source
<xsd:attributeGroup name="StructureNumberFormattingAttributes">
  <xsd:attribute name="NumberFormat" default="default">
    <xsd:annotation>
      <xsd:documentation>Defines whether section numbering (top level) should be formatted in a way other then the default. This is basically for legacy data. The use of a default attribute has been considered and kept due to the fact that the attribute is only to be used for legacy data and it would be a hinderance to have to consider its use going forward. It is expected that this attribute could be changed to a fixed value of default if required</xsd:documentation>
    </xsd:annotation>
    <xsd:simpleType>
      <xsd:restriction base="xsd:string">
        <xsd:enumeration value="default"/>
        <xsd:enumeration value="emphasis"/>
        <xsd:enumeration value="strong"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:attribute>
</xsd:attributeGroup>