assets/puzzles.xsd in pdd-0.14 vs assets/puzzles.xsd in pdd-0.14.1
- old
+ new
@@ -22,9 +22,16 @@
* SOFTWARE.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="puzzle">
<xs:all>
+ <xs:element name="id" minOccurs="1">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[a-zA-Z0-9\-]+"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
<xs:element name="ticket">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
\ No newline at end of file