Skip to content

Commit 37bf5cf

Browse files
committed
add enum for gap_type
1 parent bdecf00 commit 37bf5cf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

schema/pvcollada_schema_0.1.xsd

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ xmlns:collada="http://www.collada.org/2008/03/COLLADASchema">
8181
<xs:enumeration value="vertical" />
8282
<xs:enumeration value="perpendicular" />
8383
</xs:restriction>
84+
</xs:simpleType>
85+
<xs:simpleType name="gap_type_enum" final="restriction">
86+
<xs:restriction base="xs:string">
87+
<xs:enumeration value="motor" />
88+
<xs:enumeration value="joint" />
89+
</xs:restriction>
8490
</xs:simpleType>
8591
<!-- objects for product-level data -->
8692
<xs:complexType name="module_type_object">
@@ -939,14 +945,14 @@ xmlns:collada="http://www.collada.org/2008/03/COLLADASchema">
939945
<xs:element name="gap">
940946
<xs:annotation>
941947
<xs:documentation>This tag should only appear in the extra/technique section of a Collada node tag to define a model for a
942-
gap. A gap is a space between two racks on a tracker. The node may have 1 or more instance_geometry
948+
gap. A gap is a space between two racks on a tracker. The node may have one or more instance_geometry
943949
descendant tags that contain an instance_gap tag.</xs:documentation>
944950
</xs:annotation>
945951
<xs:complexType>
946952
<xs:sequence>
947953
<xs:element name="type" type="gap_type_enum">
948954
<xs:annotation>
949-
<xs:documentation>The type of gap (motor, joint)</xs:documentation>
955+
<xs:documentation>The type of gap (motor, joint).</xs:documentation>
950956
</xs:annotation>
951957
</xs:element>
952958
<xs:element name="rigid" type="xs:boolean">

0 commit comments

Comments
 (0)