Showing:

Annotations
Attributes
Diagrams
Facets
Properties
Source
Used by
Included schema schemaLegislationAttributes.xsd
Namespace http://www.legislation.gov.uk/namespaces/legislation
Annotations
Defines attributes for block amendments and extracts of legislation
Properties
attribute form default unqualified
element form default qualified
version 2.4
Attribute LegislationExtractAttributes / @SourceClass
Namespace No namespace
Annotations
Indicates the class of the type of legislation from which the extract derives (primary, secondary or EU retained)
Properties
use required
Used by
Source
<xsd:attribute name="SourceClass" type="CategoryUnknownType" use="required">
  <xsd:annotation>
    <xsd:documentation>Indicates the class of the type of legislation from which the extract derives (primary, secondary or EU retained)</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute LegislationExtractAttributes / @SourceSubClass
Namespace No namespace
Annotations
This extends the source for SIs so that context can be added for Regulation, Order, etc
Properties
use optional
Used by
Source
<xsd:attribute name="SourceSubClass" type="MinorType" use="optional">
  <xsd:annotation>
    <xsd:documentation>This extends the source for SIs so that context can be added for Regulation, Order, etc</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute CommonBlockAmendmentExtractAttributeGroup / @Context
Namespace No namespace
Annotations
Context refers to the content area within the document that the referring element is closely associated with, e.g. contents, main, schedule and unknown. This is evaluated based on certain conditions and criteria
Properties
use required
Facets
enumeration contents
enumeration main
enumeration schedule
enumeration unknown
Used by
Source
<xsd:attribute name="Context" use="required">
  <xsd:annotation>
    <xsd:documentation>Context refers to the content area within the document that the referring element is closely associated with, e.g. contents, main, schedule and unknown. This is evaluated based on certain conditions and criteria</xsd:documentation>
  </xsd:annotation>
  <xsd:simpleType>
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="contents"/>
      <xsd:enumeration value="main"/>
      <xsd:enumeration value="schedule"/>
      <xsd:enumeration value="unknown"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
Attribute LegislationAmendmentAttributes / @TargetClass
Namespace No namespace
Properties
use required
Used by
Source
<xsd:attribute name="TargetClass" type="CategoryUnknownType" use="required"/>
Attribute LegislationAmendmentAttributes / @TargetSubClass
Namespace No namespace
Annotations
This extended the source for SIs so that context can be added for Regulation, Order, etc
Properties
use required
Used by
Source
<xsd:attribute name="TargetSubClass" type="MinorType" use="required">
  <xsd:annotation>
    <xsd:documentation>This extended the source for SIs so that context can be added for Regulation, Order, etc</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
Attribute Group LegislationExtractAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationAttributes_xsd.tmp#LegislationExtractAttributes_SourceClassschemaLegislationAttributes_xsd.tmp#LegislationExtractAttributes_SourceSubClass
Used by
Element BlockExtract
Complex Type InlineExtractStructure
Attributes
QName Type Use Annotation
SourceClass CategoryUnknownType required
Indicates the class of the type of legislation from which the extract derives (primary, secondary or EU retained)
SourceSubClass MinorType optional
This extends the source for SIs so that context can be added for Regulation, Order, etc
Source
<xsd:attributeGroup name="LegislationExtractAttributes">
  <xsd:attribute name="SourceClass" type="CategoryUnknownType" use="required">
    <xsd:annotation>
      <xsd:documentation>Indicates the class of the type of legislation from which the extract derives (primary, secondary or EU retained)</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
  <xsd:attribute name="SourceSubClass" type="MinorType" use="optional">
    <xsd:annotation>
      <xsd:documentation>This extends the source for SIs so that context can be added for Regulation, Order, etc</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:attributeGroup>
Attribute Group CommonBlockAmendmentExtractAttributeGroup
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationCommonAttributes_xsd.tmp#QuotesAttributes_FormatschemaLegislationCommonAttributes_xsd.tmp#QuotesAttributesschemaLegislationCommonAttributes_xsd.tmp#CommonAttributes_idschemaLegislationCommonAttributes_xsd.tmp#CommonSubAttributesschemaLegislationCommonAttributes_xsd.tmp#CommonAttributesschemaLegislationCommonAttributes_xsd.tmp#StructureNumberFormattingAttributes_NumberFormatschemaLegislationCommonAttributes_xsd.tmp#StructureNumberFormattingAttributesschemaLegislationAttributes_xsd.tmp#CommonBlockAmendmentExtractAttributeGroup_Context
Used by
Attributes
QName Type Default 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
Context restriction of xsd:string required
Context refers to the content area within the document that the referring element is closely associated with, e.g. contents, main, schedule and unknown. This is evaluated based on certain conditions and criteria
Format restriction of xsd:string required
Defines the type of quotes to be used when formatting block or inline amendments or extracts.
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
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="CommonBlockAmendmentExtractAttributeGroup">
  <xsd:attributeGroup ref="QuotesAttributes"/>
  <xsd:attributeGroup ref="CommonAttributes"/>
  <xsd:attributeGroup ref="StructureNumberFormattingAttributes"/>
  <!-- #172192631 harmonised definition of Context attribute -->
  <xsd:attribute name="Context" use="required">
    <xsd:annotation>
      <xsd:documentation>Context refers to the content area within the document that the referring element is closely associated with, e.g. contents, main, schedule and unknown. This is evaluated based on certain conditions and criteria</xsd:documentation>
    </xsd:annotation>
    <xsd:simpleType>
      <xsd:restriction base="xsd:string">
        <xsd:enumeration value="contents"/>
        <xsd:enumeration value="main"/>
        <xsd:enumeration value="schedule"/>
        <xsd:enumeration value="unknown"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:attribute>
</xsd:attributeGroup>
Attribute Group LegislationAmendmentAttributes
Namespace http://www.legislation.gov.uk/namespaces/legislation
Diagram
DiagramschemaLegislationAttributes_xsd.tmp#LegislationAmendmentAttributes_TargetClassschemaLegislationAttributes_xsd.tmp#LegislationAmendmentAttributes_TargetSubClass
Used by
Element BlockAmendment
Attributes
QName Type Use Annotation
TargetClass CategoryUnknownType required
TargetSubClass MinorType required
This extended the source for SIs so that context can be added for Regulation, Order, etc
Source
<xsd:attributeGroup name="LegislationAmendmentAttributes">
  <xsd:attribute name="TargetClass" type="CategoryUnknownType" use="required"/>
  <xsd:attribute name="TargetSubClass" type="MinorType" use="required">
    <xsd:annotation>
      <xsd:documentation>This extended the source for SIs so that context can be added for Regulation, Order, etc</xsd:documentation>
    </xsd:annotation>
  </xsd:attribute>
</xsd:attributeGroup>