Skip to content

Commit

Permalink
Add support for line_type element
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Oct 23, 2024
1 parent 4ae0299 commit 14f6023
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions METdbLoad/ush/load_specification_schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="linetype">
<xs:restriction base="xs:string">
<xs:minLength value="2"/>
<xs:maxLength value="25"/>
<xs:pattern value="[_a-zA-Z0-9]+"/>
</xs:restriction>
</xs:simpleType>


<!-- COMPLEX TYPES -->
<xs:element name="load_spec">
Expand Down Expand Up @@ -136,7 +144,6 @@
<xs:element name="field" minOccurs="0" maxOccurs="20">
<xs:complexType>
<xs:sequence>

<xs:element name="date_list" minOccurs="0" maxOccurs="5">
<xs:complexType>
<xs:simpleContent>
Expand All @@ -147,11 +154,17 @@
</xs:complexType>
</xs:element>
<xs:element type="xs:string" name="val" minOccurs="0" maxOccurs="100"/>

</xs:sequence>
<xs:attribute type="xs:string" name="name"/>
</xs:complexType>
</xs:element>
<xs:element name="line_type" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="val" maxOccurs="800" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
Expand Down

0 comments on commit 14f6023

Please sign in to comment.