Promotion rules
These are the detailed rules that govern how the promote function works in Bills, Acts and SI/SSIs. See https://lawmaker.atlassian.net/wiki/spaces/USERMANUAL/pages/9339171 for general help.
Bills and Acts
Provision | Conditions | Rule |
Paragraph Sub-paragraph Sub-sub-paragraph Definition or Step | where there is only one of its kind; and the parent isn’t a section or a schedule paragraph or step | Provision will be ‘promoted’ into a sibling of its parent provision, copying over any text If the provision had child elements, they will remain child elements with the following additional change:
|
Paragraph Sub-paragraph Sub-sub-paragraph Definition or Step | where the provision is not the last child of its kind | Provision will be ‘promoted’ into a sibling of the parent provision, copying over any text. Any sibling provisions to the ‘promoted’ provision will now become child provisions to the newly ‘promoted’ provision |
Paragraph Sub-paragraph Sub-sub-paragraph Definition or Step | where it is the last child of its parent; and there is more than one of its kind | Provision will be ‘promoted’ into the closing words of the parent provision, copying over any text. If the provision had child elements, it will be promoted into a sibling of its parent provision, copying over any text and keeping the child elements with the following additional change:
|
Closing words | The provision’s parent isn’t section or schedule paragraph | Closing words will be ‘promoted’ into a sibling of the parent provision, copying over any text |
Schedule subparagraph | where there is only one of its kind | Schedule subparagraph will become the schedule paragraph’s content, copying over any text If the schedule sub-paragraph had child elements, they will remain child elements with no change in element type. |
Subsection | where there is only one of its kind | The subsection will become the section’s content, copying over any text If the subsection had child elements, they will remain child elements with no change in element type. |
Subsection | where the provision is not the first or last child of its kind | A section will be created with a subsection. The subsection will contain the promoted subsection’s content and the heading of the section will be left blank If the subsection had child elements, they will remain child elements with no change in element type. |
Schedule sub-paragraph | where the provision is not the first or last child of its kind | Schedule subparagraph will be ‘promoted’ into a sibling of the parent schedule paragraph, copying over any text Any sibling schedule sub-paragraphs to the ‘promoted’ provision will now become child schedule sub-paragraphs to the newly ‘promoted’ provision |
SI/SSIs
Provision | Conditions | Rule |
Paragraphs with numbering format (a), (i) or (aa) Definition or Step | where there is only one of its kind; and the parent isn’t a regulation (or article etc.) or a schedule paragraph | Provision will be ‘promoted’ into a sibling of its parent provision, copying over any text If the provision had child elements, they will remain child elements with the following additional change:
|
Paragraphs with numbering format (a), (i) or (aa) Definition or Step | where the provision is not the last child of its kind | Provision will be ‘promoted’ into a sibling of its parent provision, copying over any text. Any sibling provisions to the ‘promoted’ provision will now become child provisions to the newly ‘promoted’ provision |
Paragraphs with numbering format (a), (i) or (aa) Definition or Step | where it is the last child of its parent; and there is more than one of its kind | Provision will be ‘promoted’ into the closing words of its parent provision, copying over any text. If the provision had child elements, it will be promoted into a sibling of its parent provision, copying over any text and keeping the child elements with the following additional change:
|
Closing words | The provision’s parent isn’t section or schedule paragraph | Closing words will be ‘promoted’ into a sibling of its parent provision, copying over any text |
Schedule subparagraph | where there is only one of its kind | Schedule subparagraph will become the schedule paragraph’s content, copying over any text If the schedule sub-paragraph had child elements, they will remain child elements with no change in element type. |
Paragraph with the numbering format (1) | where there is only one of its kind | A regulation (or article etc.) will be created with a paragraph. The promoted paragraph’s content will become the new paragraph’s content and the heading of the regulation (or article etc.) will be left blank If the paragraph had child elements, they will remain child elements with no change in element type. |
Schedule subparagraph | where the provision is not the first or last child of its kind | Schedule subparagraph will be ‘promoted’ into a sibling of the parent schedule paragraph, copying over any text Any sibling schedule sub-paragraphs to the ‘promoted’ provision will now become child schedule sub-paragraphs to the newly ‘promoted’ provision |
Paragraph with the numbering format (1) | where the provision is not the first or last child of its kind | A regulation (or article etc.) will be created with a paragraph. The promoted paragraph’s content will become the new paragraph’s content and the heading of the regulation (or article etc.) will be left blank If the paragraph had child elements, these will be copied to the newly created paragraph without any change to their element types. |
Schedule subparagraph | where it is the last child of its parent; and there is more than one of its kind | Schedule subparagraph will be ‘promoted’ into a sibling of the parent schedule paragraph, copying over the text into a newly inserted schedule sub-paragraph of the newly created schedule paragraph If the schedule sub-paragraph had child elements, these will be copied to the newly created schedule sub-paragraph without any change to their element types. Siblings to the schedule sub-paragraph being promoted will also remain as siblings to the newly created schedule sub-paragraph |
Paragraph with the numbering format (1) | where it is the last child of its parent; and there is more than one of its kind | A regulation (or article etc.) will be created with a paragraph. The promoted paragraph’s content will become the new paragraph’s content and the heading of the regulation (or article etc.) will be left blank If the paragraph had child elements, these will be copied to the newly created paragraph without any change to their element types. Any sibling paragraphs to the ‘promoted’ paragraph will be copied over to become siblings to the newly inserted paragraph in the newly inserted regulation (or article etc.). |
Bullet lists | The bullet list item and all its child bullet list items will be promoted to become a bullet list at the level above If the selected item is at the highest level and doesn’t have any child elements, the bullet list item will be promoted into a paragraph of text (without a bullet) If the selected item is at the highest level and contains child bullet list items, it’s not possible to ‘promote’ this bullet list further | |
Paragraph lists in Explanatory notes and Preamble | The paragraph list item and all its child paragraph list items will be promoted to become a paragraph list at the level above – converting the numbering e.g. from (aa) to (i) and (i) to (a) If the selected paragraph is at the highest level (i.e. number format (a)) and doesn’t have any child elements, the paragraph list item will be promoted into a paragraph of text (without a number) If the selected paragraph item is at the highest level and contains child paragraph list items, it’s not possible to ‘promote’ this paragraph further |