Skip to content

Commit

Permalink
Approved Schema and Samples
Browse files Browse the repository at this point in the history
  • Loading branch information
llaplant committed Oct 22, 2024
1 parent 3d3f603 commit 232063b
Show file tree
Hide file tree
Showing 112 changed files with 89,081 additions and 73 deletions.
23 changes: 13 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## Proposed Changes ##

N/A

## Approved Changes ##

2.1.0 - Proposed version of uslm-2.1.0.xsd along with uslm-components-2.1.0.xsd, uslm-table-module-2.1.0.xsd, and uslm.css for the Remaining Bill Versions project.
2.1.0 - Approved version of uslm-2.1.0.xsd along with uslm-components-2.1.0.xsd, uslm-table-module-2.1.0.xsd, and uslm.css for the Remaining Bill Versions project.

The 2.1 schema series changes from the 2.0 schema series support the following three primary goals:
1. Add support for amendment document types.
Expand All @@ -12,7 +16,8 @@ Schema:
- Add amendPreface, amendMeta, amendMain, and officialTitleAmendment elements.
- The amendMeta element extends the meta element to add the amendDegree and amendStage elements.
- The amendPreface element extends the preface element to add the draftingOffice element.
- The amendMain element model adds new elements amendmentInstruction and amendmentContent and defines the new attribute amendmentInstructionLineNumbering. - Add the engrossedAmendment document type employing the content model of the amendment document type.
- The amendMain element model adds new elements amendmentInstruction and amendmentContent and defines the new attribute amendmentInstructionLineNumbering.
- Add the engrossedAmendment document type employing the content model of the amendment document type.
- The preface element content model has been expanded to match existing documents.
- Disallow the content element in the preface element content model in favor of a specific definition matching existing documents.
- Add PositionedNoteType as the type for the positioned notes, disallowing the content element in favor of elements that match existing documents.
Expand All @@ -26,7 +31,7 @@ Schema:
- References to other components internal to the component schemas are made by namespace only.
- Namespace references avoid potential circular reference issues during schema processing.

CSS:
CSS:
Version: 2.33 2024-08-23
Previous version: Version 2.29 2024-03-18

Expand All @@ -41,14 +46,14 @@ Previous version: Version 2.29 2024-03-18
- Add classes for reported bill styling.
- Use current syntax for `::before` pseudo-element.
- Add default styling for addedText and deletedText elements.


2.0.17 - Proposed version of uslm-2.0.17.xsd along with corresponding update to table module for the Digitized Statutes at Large in USLM XML project.

2.0.17 - Approved version of uslm-2.0.17.xsd along with corresponding update to table module for the Digitized Statutes at Large in USLM XML project.

Schema:
- Allow `<referenceMarker>` element to appear even when there is no hierarchical level designator (`<num>`element).

2.0.16 - Proposed version of uslm-2.0.16.xsd along with corresponding update to table module for the Digitized Statutes at Large in USLM XML project.
2.0.16 - Approved version of uslm-2.0.16.xsd along with corresponding update to table module for the Digitized Statutes at Large in USLM XML project.

Schema:
- Add `<firstPageHeading>` and `<firstPageSubheading>` to preface elements.
Expand All @@ -57,18 +62,16 @@ Schema:
- Add a `<referenceMarker>` element for the case that a level requires both a hierarchical level alphanumeric designation and a separate additional designation.


2.0.15 - Proposed version of uslm-2.0.15.xsd along with corresponding update to table module for the Digitized Statutes at Large in USLM XML project.
2.0.15 - Approved version of uslm-2.0.15.xsd along with corresponding update to table module for the Digitized Statutes at Large in USLM XML project.

Schema:
- Allow table in recital elements.

2.0.14 - Proposed version of uslm-2.0.14.xsd along with corresponding update to table module for the Digitized Statutes at Large in USLM XML project.
2.0.14 - Approved version of uslm-2.0.14.xsd along with corresponding update to table module for the Digitized Statutes at Large in USLM XML project.

Schema:
- Add MathML 3 schema.
- Number the table module for more precision.

## Approved Changes ##

2.0.13 - Approved version of uslm-2.0.13.xsd and uslm.css.

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
>Versions 2.0.14, 2.0.15, 2.0.16, 2.0.17, and 2.1.0 of the schema are available in the [proposed branch](https://github.com/usgpo/uslm/tree/proposed).
>Versions 2.0.14, 2.0.15, 2.0.16, 2.0.17, and 2.1.0 of the schema are available in the [main branch](https://github.com/usgpo/uslm/tree/main).
>
>Version 2.33 of the CSS is available in the [proposed branch](https://github.com/usgpo/uslm/tree/proposed).
>Version 2.33 of the CSS is available in the [main branch](https://github.com/usgpo/uslm/tree/main).
>
>New sample Bill files are available in the [proposed branch](https://github.com/usgpo/uslm/tree/proposed).
>Sample Bill files are available in the [main branch](https://github.com/usgpo/uslm/tree/main).

# USLM Schema #
Expand All @@ -18,7 +18,7 @@ As needed, a proposed branch will be created from the main branch. In addition t


## User Guide and Review Guide ##
Please refer to the USLM User Guide in [PDF](USLM-User-Guide.pdf) or [Markdown](USLM-User-Guide.md) and the USLM 2.x Review Guide in [PDF](USLM-2_0-Review-Guide-v2_0_12.pdf) or [Markdown](USLM-2_0-Review-Guide-v2_0_12.md) for additional information about the schema.
Please refer to the USLM User Guide in [PDF](USLM-User-Guide.pdf) or [Markdown](USLM-User-Guide.md), the USLM 2.x Review Guide in [PDF](USLM-2_0-Review-Guide-v2_0_12.pdf) or [Markdown](USLM-2_0-Review-Guide-v2_0_12.md), the USLM 2.0.17 Review Guide in [PDF](USLM-2_0-Review-Guide-2_0_17.pdf) or [Markdown](USLM-2_0-Review-Guide-2_0_17.md), and the USLM 2.1 Review Guide in [PDF](USLM-2_1-ReviewGuide.pdf) or [Markdown](USLM-2_1-ReviewGuide.md) for additional information about the schema.


## XML Working Group Schema Management Guidelines ##
Expand Down
186 changes: 186 additions & 0 deletions USLM-2_0-Review-Guide-2_0_17.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
Prepared by: Government Publishing Office

Revised: September 26, 2024

# Contents

[1 Introduction [1](#introduction)](#introduction)

[2 Conventions Used in the User Guide
[2](#conventions-used-in-the-user-guide)](#conventions-used-in-the-user-guide)

[3 Brief USLM Background [3](#brief-uslm-background)](#brief-uslm-background)

[4 Existing Documentation
[4](#existing-documentation)](#existing-documentation)

[5 What Has Not Changed [5](#what-has-not-changed)](#what-has-not-changed)

[6 Schema Changes [6](#schema-changes)](#schema-changes)

[6.1 New Document Type [6.1](#new-document-type)](#new-document-type)

[6.2 New Elements [6.2](#new-elements)](#new-elements)

[6.3 New Attributes [6.3](#new-attributes)](#new-attributes)

[6.4 Mathematical Formulae
[6.4](#mathematical-formulae)](#mathematical-formulae)

[7 Feedback [7](#feedback)](#feedback)



# 1. Introduction

This Review Guide is intended to help readers to understand changes in the
2.0.17 version of the United States Legislative Markup (USLM) schema so that
they can provide meaningful feedback on the changes. This guide assumes that
the reader is familiar with the 2.0.12 version of the USLM schema and is
generally knowledgeable about XML schemas in XSD format. For more information
about the 2.0.12 and 1.0 versions of this schema, see section 4 of this
document for links to existing documentation.

This guide reflects USLM schema version 2.0.17.

# 2. Conventions Used in the User Guide

The following conventions are used in the User Guide:

- XML element names are denoted with angled brackets. For example, `<title>` is
an XML element.

- XML attribute names are denoted with an “@” prefix. For example, `@href` is an
XML attribute.

- Enumerated values are denoted in a fixed width font. For example, `landscape` is an enumeration.

- String values are denoted with double quotes. For example, `“title1-s1”` is a
string value.

- A new ***term*** being defined is shown in bold italic.

- A new **element** or **attribute** being defined is shown in bold.

# 3. Brief USLM Background

The USLM schema was first developed in 2013 by the Office of the Law Revision
Counsel of the U.S. House of Representatives (OLRC) in order to produce the
United States Code in XML. Since 2013, the OLRC regularly produces a USLM
version of the United States Code for download at
<http://uscode.house.gov/download/download.shtml>. The USLM version of the U.S.
Code is updated continuously as new laws are enacted.

The original goals of the USLM schema included:

1. *Allow existing titles of the United States Code to be converted into XML.*

2. *Support ongoing maintenance of the United States Code.*

3. *Support the drafting of new positive law codification bills and related
materials.*

4. *Provide a flexible foundation to meet future needs of Congress.*

5. *Compatibility with existing legislative documents in other XML formats.*

The 2.0.12 version of the USLM schema extended its use to the following
document sets:

- Enrolled Bills and Resolutions

- Public Laws

- Statutes at Large

- Statute Compilations

- Federal Register (FR)

- Code of Federal Regulations (CFR)

The 2.0.17 version of the USLM schema further extends its use to

- Bill and Resolution document stages prior to enrollment

- Older Statutes at Large volumes

# 4. Existing Documentation

User documentation for the 1.0 version of the schema can be found at
<https://github.com/usgpo/uslm/blob/main/USLM-User-Guide.pdf> and
<https://github.com/usgpo/uslm/blob/main/USLM-User-Guide.md>.

User documentation for the 2.0.12 version of the schema can be found at
<https://github.com/usgpo/uslm/blob/main/USLM-2_0-Review-Guide-v2_0_12.pdf> and
<https://github.com/usgpo/uslm/blob/main/USLM-2_0-Review-Guide-v2_0_12.md>.

The XSD schema and CSS stylesheets for online viewing can be downloaded at:
<http://uscode.house.gov/download/resources/schemaandcss.zip> and
<https://github.com/usgpo/uslm>. Note that the CSS stylesheet is informational
only. It produces a draft view of the documents.

Note: These resources and more are available on GPO’s Developers Hub at
<https://www.govinfo.gov/developers>.

# 5. What Has Not Changed

Version 2.0.17 of USLM is an incremental change to the 2.0.12 schema. While
some new elements have been added and a few content models have been extended,
the fundamental design of the schema has not changed. Documents that were valid
in version 2.0.12 are also valid in version 2.0.17 of the USLM schema.

We have added one new document type, and a number of elements and attributes.
Some content models have been loosened to allow constructs that we have seen in
bill and resolution document stages prior to enrollment, and in older
Statutes at Large volumes.

# 6. Schema Changes

## 6.1 New Document Type

The **`<constitutionalAmendment>`** element is a document containing an
Amendment to the Constitution of the United States. It has the same structure
as other types of law documents.

## 6.2 New Elements

The `<leftRunningHead>` and `<rightRunningHead>` elements have been joined by a
**`<centerRunningHead>`** element.

The **`<endorsement>`** element is a new element used in bills and resolutions
prior to enrollment. It is found at the end of the document and contains a
selection of document metadata. It is usually printed sideways.

The **`<addedText>`** and **`<deletedText>`** elements are used to indicate
added or deleted content that amends a bill or resolution in amendment
documents and reported bills. The styling is determined by the attributes set
on the committee whose ID is used in the `@origin` attribute of the content.
The existing elements `<quotedText>` and `<quotedContent>` are used to indicate
amendments to law.

The `<preface>` element now allows two new elements: **`<firstPageHeading>`**
and **`<firstPageSubheading>`**.

A **`<referenceMarker>`** element is allowed with or instead of a `<num>`
element for cases when a level requires a non-hierarchical designation with or
instead of the usual hierarchical designation.

## 6.3 New Attributes

The **`@addedDisplayStyle`** and **`@deletedDisplayStyle`** attributes declare
the styles used in bills, resolutions, and amendment documents prior to
enrollment to indicate added or deleted content that amends bills and
resolutions. These attributes are set on the `committee` element defining the
committee that produced the reported bill or amendments document.

## 6.4 Mathematical Formulae

USLM 2.0.17 incorporates the MathML 3 schema. This provides support for
representing most mathematical formulae.

# 7. Feedback

To submit feedback, questions, or comments about the USLM 2.0.17 schema and
this Review Guide, please open a GitHub issue at
<https://github.com/usgpo/uslm/issues>.
Binary file added USLM-2_0-Review-Guide-2_0_17.pdf
Binary file not shown.
Loading

0 comments on commit 232063b

Please sign in to comment.