Last active
December 17, 2015 23:49
-
-
Save vdavez/5691697 to your computer and use it in GitHub Desktop.
Base for XSD for DCStat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified"> | |
<xs:element name="measure"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="page"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:byte" name="number"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="citation"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:string" name="type"/> | |
<xs:attribute type="xs:string" name="number"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="codified"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:string" name="status"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="text"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element type="xs:string" name="long_title"/> | |
<xs:element type="xs:string" name="short_title"/> | |
<xs:element name="sections"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="section" maxOccurs="unbounded" minOccurs="0"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="margin_note" minOccurs="0"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:string" name="text"/> | |
<xs:attribute type="xs:string" name="code"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
<xs:element type="xs:string" name="section_header"/> | |
<xs:element name="section_text"> | |
<xs:complexType mixed="true"> | |
<xs:sequence> | |
<xs:element name="act"> | |
<xs:complexType mixed="true"> | |
<xs:sequence> | |
<xs:element name="act_section"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:string" name="number" use="optional"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
<xs:element type="xs:string" name="act_title"/> | |
<xs:element name="DC_Law" minOccurs="0"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:string" name="cite"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
<xs:element type="xs:string" name="USStat" minOccurs="0"/> | |
<xs:element name="DCCode"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:string" name="cite" use="optional"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="subsection" maxOccurs="unbounded" minOccurs="0"> | |
<xs:complexType mixed="true"> | |
<xs:sequence> | |
<xs:element name="amendment"> | |
<xs:complexType mixed="true"> | |
<xs:sequence> | |
<xs:element name="amendment" maxOccurs="unbounded" minOccurs="0"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:string" name="level" use="optional"/> | |
<xs:attribute type="xs:byte" name="prefix" use="optional"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
<xs:attribute type="xs:string" name="level" use="optional"/> | |
<xs:attribute type="xs:string" name="prefix" use="optional"/> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
<xs:attribute type="xs:string" name="prefix" use="optional"/> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
<xs:attribute type="xs:byte" name="number" use="optional"/> | |
<xs:attribute type="xs:string" name="type" use="optional"/> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="margin_notes"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="margin_note"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="related_measures"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element name="related_bill"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:byte" name="CouncilPeriod"/> | |
<xs:attribute type="xs:short" name="number"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
<xs:element name="related_act"> | |
<xs:complexType> | |
<xs:simpleContent> | |
<xs:extension base="xs:string"> | |
<xs:attribute type="xs:byte" name="CouncilPeriod"/> | |
<xs:attribute type="xs:short" name="number"/> | |
<xs:attribute type="xs:date" name="effective_date"/> | |
</xs:extension> | |
</xs:simpleContent> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment