-
Notifications
You must be signed in to change notification settings - Fork 44
/
uslm-2.0.3.xsd
5527 lines (5351 loc) · 258 KB
/
uslm-2.0.3.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://schemas.gpo.gov/xml/uslm"
xmlns:uslm="http://schemas.gpo.gov/xml/uslm" xmlns="http://schemas.gpo.gov/xml/uslm"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xhtml="http://www.w3.org/1999/xhtml"
elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0.3"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
<!-- This is a draft version of the USLM schema with proposed changes from
the GPO USLM project. The base version number is updated to "2" because
breaking changes are proposed. This schema uses XMLSchema version 1.0.-->
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
<xsd:import namespace="http://purl.org/dc/terms/" schemaLocation="dcterms.xsd"/>
<xsd:import schemaLocation="uslm-table-module.xsd" namespace="http://www.w3.org/1999/xhtml">
<xsd:annotation>
<xsd:documentation> Schema that includes the redefinitions for USLM/XHTML tables.
</xsd:documentation>
</xsd:annotation>
</xsd:import>
<xsd:annotation>
<xsd:documentation>
<![CDATA[
======================================================================
* United States Legislative Model (USLM)*
======================================================================
** Objective **
This schema provides a general schema for modeling United States
legislative and regulatory documents, including:
* United States Code titles and appendices.
* Enrolled Bills
* Public Law
* Statutes at Large
* Federal Register
* Code of Federal Regulations
It is designed to be extendable to future legislative and regulatory
documents. The intent is to support XML data delivery, publishing,
editing, and automated processing of the documents.
The schema in intended to be extensible to model bills, resolutions,
statutes, amendments, and other legislative documents.
This schema is not intended to model executive branch or judicial
branch documents, except as this content is included in the documments
that are within scope.
** Understanding this Schema **
This schema is designed in several layers. The best way to learn the
schema is to first understand the fundamental building blocks and then
to build your understanding one layer at a time. The order of
declaration and definitions is generally the best order to learn it as
well.
This schema is designed following a "Venetian Blind" design pattern.
This means that each element type is defined separately and a separate
element declaration is created. This pattern maximizes the reusability
of the schema.
** Overriding Principles **
* The general derivation hierarchy is from most abstract to most
concrete.
* Terminology chosen for abstract elements is purposefully designed
to minimize conflict with existing terminology by avoiding well-
established terms.
* Terminology chosen for concrete elements is purposefully designed
to map very closely to existing terminology.
* The overall tag set is kept as small as possible without
compromising semantic richness.
* The schema is more permissive than is absolutely necessary. As this
schema must support legacy documents, a looser rather than tighter
contract is required to be enforced by the schema. In general, the
abstract layer is intended to support the variation extremes while
the concrete layer is intended to support modern practices.
* Consistency with XHTML naming conventions and practices is
maximized.
* Care has been taken to avoid reinventing mark-up for areas, such as
tables or formulas, where other good mark-up has already been
designed.
* The overall structure has been designed to create a readable
document without any unnecessary redirection.
* All text shown in the printed or published document is regular
text, not contained within attributes or to be generated from
attribute data. Rather, the resulting text is shown in the content.
* Attributes are used to contain metadata or normalized forms of
text content. (i.e. normalized numeric values) The general flow of
data is from the content to the attributes rather than the other
way around.
* The schema is designed for editing documents as well as for complete
documents. This means that the "empty document" situation is handled
and validates as a complete and correct document.
** General Definitions **
Jurisdictions:
* United States Federal Government - us
Languages:
* English Language - eng
** Primitives **
The purpose of the primitives is to provide the fundamental building
blocks out of which everything can be built. The primitives are a
minimal set of basic type definitions along with a corresponding set
of element declarations.
At the very top of the derivation tree is the "BaseType" and two
closely related derivatives "BaseBlockType" and "BaseContentType". These
types are primarily to provide base types for all the attributes. They
are defined as abstract types and therefore cannot be instantiated.
All other types derive from these types, by way of either restriction
and/or extension. The terminology chosen for the primitive layer has
been selected to describe, in the most general of terms, the fundamental
building blocks. Care has been taken to avoid using terms which already
have an established meaning within U.S. legislation and to avoid implying
too much meaning or structure beyond the primitive nature of the
elements.
** Common Core **
The common core defines the basic structure of a legislative document.
It is a very abstract and general model intended to be flexible enough
to handle the widest variations likely to be encountered.
It is possible, using the common core, along with the primitives defined
above and the generics defined below, to model any U.S legislation,
albeit abstractly. The terminology chosen has been selected to be
familiar without conflicting with any well-established meanings in use
for U.S. legislation.
** Structural Building Blocks **
The structural building blocks are assemblies of elements which are
used to define the common core. Rather than defining individual elements,
they define groups of elements which are placed together to define
the content of elements in the common core. The building blocks are
largely responsible for taking care of the flexible notes model and
the underlying versioning model.
** Generics **
The generics provide fundamental elements necessary to model any
type of document. These elements fit within the common core, but are
not themselves a part of it. In general, these elements model common
structures like paragraphs, images, columns, and line breaks.
The generics exist to complete the common core without clouding the
core with basic functions that don't contribute the legislative nature
of the schema. The terminology chosen has been selected to be familiar
everyday terms for common concepts. Care has been taken to not
override any well-established meaning in use for U.S. legislation.
** Synonyms **
The synonyms are used to give familiar and comfortable terms to the
most commonly used elements in modern legislation. These synonyms are
more meaningful tags used as equivalent substitutes for the more
abstract tags defined in the common core. As they are defined as
synonyms rather than within a rigid content model, care must be taken
to avoid using them in ways beyond their original intent and harming
the semantic value of XML.
** Naming Elements **
There are three attributes for defining names for elements. Each of
these attributes may or may not be used in all situations:
* The @id attribute is an immutable identity, one that is not changed
once it is assigned. Therefore, it should not reflect any aspect of
the element that is subject to change, such as an assigned number.
The preferred algorithm for generating the @id attribute value is to
use a GUID (Globally Unique IDentifier) generator that guarantees
uniqueness in all space and time. The @id should be given a simple "id"
prefix.
* The @identifier attribute specifies the URL context and identity of
the element. Typically, the @identifier will be established on the
root element or on any element, such as a <quotedContent> or
<quotedText> element, that changes the context.
* The @temporalId attribute is assigned a changeable, human-meaningful,
identifier. Like the @name attribute, the @temporalId will vary with
time. For this reason, the @temporalId is computed each time a document
is extracted from the repository, based on the point-in-time requested,
rather than being statically stored with the text in the repository. The
@temporalId is specified to be nominally unique within the document to which
the element belongs. The @temporalId is composed by concatenating the
@temporalId of the element's parent, if existing (or the parent element's
name if the @temporalId does not exist), "_", and the element's <num>
@value. For example, paragraph 2 of subsection (a) of section 1 should
have the @temporalId of "s1_a_2".
** Referencing Model **
All references are modeled as relative URLs. References are made to
a logical rather than a physical hierarchy that starts always from the
jurisdiction and reaches down to individual provisions within a bill,
resolution, or other Legislation. References do not predict or expect
any particular document partitioning. It is the intent of the URL handler
to map the logical hierarchy to any specific physical hierarchy.
The highest level of the hierarchy is always the jurisdiction code,
specified using the ISO 3166-1 country code and optionally followed by
a dash and a lower level jurisdiction code. For the U.S. Federal
Government, the jurisdiction code is "us".
Lower levels of the hierarchy should use an abbreviated prefix or a numeric/
alphabetic entry to identify the target. Each level in the reference is
separated with the "/" in a hierarchy. For instance, Title 5 is expressed
as "/us/usc/t5" while Pub. L. 111-314 is expressed as "/us/pl/111/314".
When a URL is extended to within a document, the document hierarchy is
expressed in an abbreviated form as in "/us/usc/t5/s101" or
"/us/pl/111/314/s1". To build this URL, append the reference to the
document with "/" + the level designators. So a reference to "title 2 of
division 3 of public law 113-314" would be "/us/pl/111/314/d3/t2".
A language-neutral reference does not include a language code. To
create a reference to a specific language version of the document,
include a language identifier at the nominal document level following
a "!" symbol. For instance, to specify a reference to
section 101 the English version of title 51, the
reference would be "/us/usc/t51!eng/s101".
To make a reference to a version that is operational at a specific
point in time, include a date specification at the nominal document
level following a "@" symbol ("at" the time of). For instance, to
specify a reference to section 101 of Title 51 on 1 February,
2013, the reference would be "/us/t51@2013-02-01/s101".
When including both a language and a time specification, place
the language specification ahead of the time specification. For
instance to combine both examples above, the result would be
"/us/t51!eng@2013-02-01/s101".
]]></xsd:documentation>
</xsd:annotation>
<!-- ==================================================================== -->
<!-- Simple Types -->
<!-- ==================================================================== -->
<xsd:simpleType name="DateSimpleType">
<xsd:annotation>
<xsd:documentation><![CDATA[
The date simple type unifies both date and time formats and allows
a date to be specified as either a day or a time in a day. This is
to allow situations where the law becomes effective based on another
time zone.
]]></xsd:documentation>
</xsd:annotation>
<xsd:union memberTypes="xsd:date xsd:dateTime"/>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="OccurrenceSimpleType">
<xsd:annotation>
<xsd:documentation><![CDATA[
The occurrence simple type specifies which occurrence is affected
by an action when amending. An occurence can be either a positive integer
or a value from the choice enumeration such as "all" for
all occurrences or "last" for the last occurrence.
]]></xsd:documentation>
</xsd:annotation>
<xsd:union memberTypes="xsd:positiveInteger ChoiceEnum"/>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="CharacterSimpleType">
<xsd:annotation>
<xsd:documentation><![CDATA[
A simple string with 1 character.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="ShortStringSimpleType">
<xsd:annotation>
<xsd:documentation><![CDATA[
A simple string with not more than 32 characters.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="32"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="MediumStringSimpleType">
<xsd:annotation>
<xsd:documentation><![CDATA[
A simple string with not more than 128 characters.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="128"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="LongStringSimpleType">
<xsd:annotation>
<xsd:documentation><![CDATA[
A simple string with not more than 1024 characters.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="1024"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<!-- Enumerations -->
<!-- ==================================================================== -->
<xsd:simpleType name="ChoiceEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
The choice enumeration is used to enumerate some textual values for
use with the occurrence simple type defined above.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="all"/>
<xsd:enumeration value="none"/>
<xsd:enumeration value="first"/>
<xsd:enumeration value="last"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="YesOrNoEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
The yes or no enum has two options: "yes" or "no".
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="yes"/>
<xsd:enumeration value="no"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="PropertyTypeEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
The property type enumeration allows a property to be given a
type specification. If the @type attribute is not specified, then
the default type is "string".
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="string"/>
<xsd:enumeration value="number"/>
<xsd:enumeration value="token"/>
<xsd:enumeration value="boolean"/>
<xsd:enumeration value="text"/>
<xsd:enumeration value="date"/>
<xsd:enumeration value="url"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="SetTypeEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
The set type enumeration is used allows a set of properties, grouped
using the <set> element, to be given a type specification. If the
@type attribute is not specified, then the default type is "bag".
The type values are inspired by the Resource Descriptor Framework
(RDF).
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="bag">
<xsd:annotation>
<xsd:documentation><![CDATA[
A "bag" is an unordered but homogeneous collection of
properties or sets.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="seq">
<xsd:annotation>
<xsd:documentation><![CDATA[
A "seq" (sequence) is an ordered and homogeneous sequence of
properties or sets.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="grp">
<xsd:annotation>
<xsd:documentation><![CDATA[
A "grp" (group) is a heterogeneous collection of properties
or sets.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="alt">
<xsd:annotation>
<xsd:documentation><![CDATA[
An "alt" (alternatives) is a homogeneous collection of
properties or sets of which one is selected at any one time.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="res">
<xsd:annotation>
<xsd:documentation><![CDATA[
A "res" is a resource, such as a person, place, or thing and
the properties enclosed within the set describe it.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="StatusEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
The status enumeration is used to specify the state of a provision
during the period of time defined by the @startPeriod and the
@endPeriod attributes attached to the same element or hierarchically
defined above.
Typically, the status enumeration is applied to the <section> level
or lower, but the model is general enough that it can be applied
anywhere in the level hierarchy. A <section> will progress through a
series of statuses, starting out as "proposed" in a bill, becoming
"pending" when the bill is enacted, "operational" on
the commencement date, and then later possibly "repealed".
It is possible that stages in this sequence might be skipped.
For instance, a section might be repealed before
it ever becomes operational or it might never be repealed.
If the status is not specified, then a section is assumed to be
"operational".
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="proposed"/>
<xsd:enumeration value="withdrawn"/>
<xsd:enumeration value="cancelled"/>
<xsd:enumeration value="pending"/>
<xsd:enumeration value="operational"/>
<xsd:enumeration value="suspended"/>
<xsd:enumeration value="renumbered"/>
<xsd:enumeration value="repealed"/>
<xsd:enumeration value="expired"/>
<xsd:enumeration value="terminated"/>
<xsd:enumeration value="hadItsEffect"/>
<xsd:enumeration value="omitted"/>
<xsd:enumeration value="notAdopted"/>
<xsd:enumeration value="transferred"/>
<xsd:enumeration value="redesignated"/>
<xsd:enumeration value="reserved"/>
<xsd:enumeration value="vacant"/>
<xsd:enumeration value="crossReference"/>
<xsd:enumeration value="unknown">
<xsd:annotation>
<xsd:documentation><![CDATA[
A "unknown" status indicates that the status is not known.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="StyleTypeEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
The style type enumeration sets the allowed values in the
@styleType attribute.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="appropriations"/>
<xsd:enumeration value="defense"/>
<xsd:enumeration value="OLC"/>
<xsd:enumeration value="nuclear"/>
<xsd:enumeration value="tax"/>
<xsd:enumeration value="traditional"/>
<xsd:enumeration value="USC"/>
<xsd:enumeration value="multiple-resolved-clause"/>
<xsd:enumeration value="order-of-business"/>
<xsd:enumeration value="concur-with-amendment"/>
<xsd:enumeration value="constitutional-amendment"/>
<xsd:enumeration value="impeachment"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="AmendingActionTypeEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
The amending action enumeration is used to specify the type of action being
undertaken by an amendment.
There are two basic sets of amending actions: those for law and those for
proposed law. Pre-enactment stage amendments will use the "insert" and
the "delete" actions when amending rather than the other actions
intended for modifying enacted law.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="enact">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "enact" action enacts a law.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="add">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "add" action adds a provision to existing law.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="amend">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "amend" action modifies an existing provision in the law.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="substitute">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "substitute" action replaces an existing provision in the law.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="redesignate">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "redesignate" action changes the number of an existing
provision in the law.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="repeal">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "repeal" action repeals an existing provision in the law.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="insert">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "insert" action adds text to a proposed provision to the law.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="delete">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "delete" action removes text from a proposed provision to
the law.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="conform">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "conform" action means to make the text the same as the
defined replacement text.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="noChange">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "noChange" action means that no change is directed. This occurs,
for instance, in the federal register, when it says "The authority...
continues to read...".
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="unknown">
<xsd:annotation>
<xsd:documentation><![CDATA[
The "unknown" action is for actions that have not yet been defined.
]]></xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="PositionEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
The position enumeration is used with references found within
amendments when it is necessary to specify a position relative to
an item rather than when referencing the item itself.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="start"/>
<xsd:enumeration value="before"/>
<xsd:enumeration value="inside"/>
<xsd:enumeration value="after"/>
<xsd:enumeration value="end"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="OrientationEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
The orientation enumeration is used to specify how an item should be
oriented in the printed form. The orientation can be specified
for any content item or for any appendix item, including a
schedule.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="portrait"/>
<xsd:enumeration value="landscape"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<xsd:simpleType name="NoteTypeEnum">
<xsd:annotation>
<xsd:documentation><![CDATA[
Notes can be placed inline, as footnotes at the end of the page,
as side notes next to the text, as end notes of the logical unit,
or can be U.S. Code notes.
]]></xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="inline"/>
<xsd:enumeration value="footnote"/>
<xsd:enumeration value="sidenote"/>
<xsd:enumeration value="endnote"/>
<xsd:enumeration value="uscNote"/>
</xsd:restriction>
</xsd:simpleType>
<!-- ==================================================================== -->
<!-- Attribute Groups -->
<!-- ==================================================================== -->
<xsd:attributeGroup name="XmlSpecialAttrs">
<xsd:annotation>
<xsd:documentation><![CDATA[
This attribute groups is similar to the same attribute group defined
in the XML.xsd schema file, except it omits the "id" attribute.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute ref="xml:base"/>
<xsd:attribute ref="xml:lang"/>
<xsd:attribute ref="xml:space"/>
<!-- <xs:attribute ref="xml:id"/> -->
</xsd:attributeGroup>
<!-- ==================================================================== -->
<xsd:attributeGroup name="IdentificationGroup">
<xsd:annotation>
<xsd:documentation><![CDATA[
The identification group of attributes is used to add an identity to
an element. All elements use the identification group, and all
attributes are optional. In general:
- An @id is an immutable GUID assigned to an item at its birth.
- An @temporalId is a time variant name, scoped to the document.
- An @identifier is an item variant URL, scoped globally.
- As @scope is a URL of the scope in which the @identifier is valid.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute name="id" type="xsd:ID" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @id attribute should always be assigned an immutable
(non-changing) value. If the item is subject to renaming or
renumbering, then the @id attribute should not reflect any part
of the changeable part. This is to allow the @id to be long
lasting without causing confusion should the item be renamed or
renumbered.
The @id should be prefixed with "id" and followed by a GUID that
is guaranteed to be globally unique across both time and space.
As an "xsd:ID", the identity must be ensured to be unique in the
document - and it is a good idea that it be guaranteed globally
unique. As the @id is immutable, it is a good identity with which
to associate external information to the item.
If an item is deleted and later a similarly named item is
created, then the new item should be assigned a newly generated
identity as it is not the same item as the earlier item.
The @id attribute is optional, but recommended for all elements
which will contain any other identity attributes.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="temporalId" type="MediumStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @temporalId attribute is a name, scoped to the document,
that is intended to reflect the current identify of the element
in a human-readable way. This means that the @temporalId may need
to be recomputed based on the temporal state of a document or
according to the temporal specification in a requesting URL.
A @temporalId is intended to be scoped to the document as a whole
while the @name is scoped to its immediate parent. The
@temporalId is built as an "_" separated hierarchy of @name
or, in the absence of an @name, element names. However, in a
couple cases, the levels of the hierarchy are suppressed. First
of all, the <main> level is suppressed when calculating any
@temporalId contained within. Secondly, when dealing with
sections which are numbered as a sequence without regard to
the upper levels, then the upper levels are suppressed from the
computation of the @temporalId.
Some examples:
* "s2" - section 2 in the main part of the document
* "schedule_s2" - section 2 in the schedule
* "p2_d1" - division 1 of part 2 in the main part of the
document
The @temporalId attribute is optional.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="identifier" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
Use the @identifier attribute to specify the URL context of the
element. Typically, the @identifier will be established on the
root element or on any element, such as a <quotedContent> or
<quotedText> element, that changes the context.
The @identifier attribute is optional.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scope" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
Use the @scope attribute to specify the scope within which the
@identifier attribute is valid. Typically, @scope is formatted
as a URL, referring to a specific context. @scope is used for
terms within in definitions to specify the scope of the definition.
The @scope attribute is optional.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<!-- ==================================================================== -->
<xsd:attributeGroup name="ClassificationGroup">
<xsd:annotation>
<xsd:documentation><![CDATA[
The classification group is used to further refine the element
type and to specify any exception cases for styling the element
when presented in the printed form. The @role attribute is inspired
by the @role attribute defined in support of WAI-ARIA for use
in XHTML. Both the @class and the @style attributes are inspired by
the identically named HTML attributes and their behavior is the
same. All elements use the classification group.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute name="role" type="ShortStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
Use the @role attribute to provide further refinement to an
element's type. This is particularly useful when defining a
refinement of an element from the abstract set. Another possible
use is to use the customary local name for an element whenever
the element name is not a complete match. For example, if the
customary name for an "explanation" is "summary", then the
element can be expressed as <explanation role="summary">.
There is a rough equivalence between an element of a base class
with a @role attribute and a derived class in the schema, although
this equivalence is not explicit. For example
<level role="division"> is roughly equal to <division>.
When transforming XML to HTML, the @role attribute should be
appended to the element name using an "_" underscore and used
as the first value in the HTML @class attribute. If desired,
the proposed XHTML @role attribute can be computed as either the
XML @role attribute or, in the absence of the XML @role
attribute, the XML element name. For example:
<level role="division">
=> <div role="division" class="level_division">
<division>
=> <div role="division" class="division">
This approach is easily reversible.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="class" type="MediumStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @class attribute corresponds to the @class attribute in
HTML. It can be used to specify presentation characteristics
of an element that are not specified by the element name and
the @role attribute. For example, the @class attribute can be
used to specify the presence or absence of the ending separator.
Like the HTML @class attribute, multiple class values can be
specified in a space separated list.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="style" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @style attribute is used to specify CSS attributes that
override the default styles defined for an element or an element
class. The current loose-leaf publication standards should be
specified using an external style sheet and the use of the @style
attribute should be reserved for exception cases where the
default presentation must be overridden.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="styleType" type="StyleTypeEnum" use="optional" default="OLC">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @styleType attribute is used to set the overall semantic type of
the block. This has rendering implications. Only a small set of values
is allowed.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<!-- ==================================================================== -->
<xsd:attributeGroup name="AnnotationGroup">
<xsd:annotation>
<xsd:documentation><![CDATA[
The annotations group is used to specify annotations with elements
that are outside of the published content. As attributes, only
limited text values should be associated using this mechanism. This
mechanism should never be used for notes to be published. All
elements use the annotation group.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute name="note" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @note attribute should be the primary mechanism for recording
simple text notes to be associated with elements.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="alt" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @alt attribute should be used to provide an alternative
description of the element. For use with WCAG 2.0 and other
accessibility initiatives.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="meta" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @meta attribute should be used to associate metadata
information with the element for search and other uses. How this
attribute is used is not prescribed by the schema.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="misc" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @misc attribute is provided for future use.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="draftingTip" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @draftingTip is for internal use.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="codificationTip" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @codificationTip is for internal use by the OLRC.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<!-- ==================================================================== -->
<xsd:attributeGroup name="DescriptionGroup">
<xsd:annotation>
<xsd:documentation><![CDATA[
The description group is used to record information that will be
used to describe an element, primarily for use in a table of
contents or an index. The description group can be used for
statements, the preamble, levels, and appendices including
schedules. In addition, the description group is an integral
part of a TOC item. All attributes are optional.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute name="title" type="MediumStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @title attribute is used to specify the text describing the
element in a table of contents or index. It must be a simple text
string and should consist of fewer than 40 or so characters -
although this is not enforced.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="brief" type="LongStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @brief attribute is an alternate method for providing a
a longer description of an element, limited to 1024 characters.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="sortOrder" type="xsd:integer" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @sortOrder attribute is used to specify a sorting order for
a list of items, when that sort order is not the document
sequence. The @sortOrder value must be specified as a positive
integer. This attribute should rarely be used.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<!-- ==================================================================== -->
<xsd:attributeGroup name="ReferenceGroup">
<xsd:annotation>
<xsd:documentation><![CDATA[
The reference group is used to create references to other items.
These items can be items within the document, items in other documents,
or entire other document. See the reference specification for how
reference URL references are constructed. <property> and
<reference> elements can use the reference group.
All attributes are optional.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute name="href" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @href attribute is used to specify references to external
documents or items in documents. The value must always be
specified as a relative URL conforming to the reference
specification.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="idref" type="xsd:IDREF" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @idref attribute is used to specify references to internal
elements within the same document. The @idref is specified as
the value of the @id attribute of the element being referenced.
As in HTML, there is an equivalence between an @href specified
as href="#{id}" and idref="{id}". However, the @idref attribute
is preferred for internal references.
If the @idref points to a <ref> element, then the referencing
element builds on top of that reference, acquiring its attributes
as default values (which may be overridden by local values). This
is a recursive structure; an element may, through the @idref
attribute, point to an <ref> element which itself builds on
another <ref> element, and so on. This is to support the complex
referencing sometimes found in legislation.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="portion" type="MediumStringSimpleType" use="optional">
<xsd:annotation>
<xsd:documentation><![CDATA[
The @portion attribute is used, in conjunction with the @idref
attribute, when only a portion of the referenced item is being
affected. The value of @portion is an additional part to append
to the URL, with a "/" separator to identify the item affected.
Do not include a leading "/" in the @portion value.
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<!-- ==================================================================== -->
<xsd:attributeGroup name="AmendingGroup">
<xsd:annotation>
<xsd:documentation><![CDATA[
The amending group is used to point to items being amended. See the
reference specification for how reference URL references are
constructed. The amending group should only be used on references
or amending actions within amending instructions.
All attributes are optional.
]]></xsd:documentation>
</xsd:annotation>
<xsd:attribute name="pos" type="PositionEnum" use="optional">