comparison test-schema.xsd @ 1097:ebf52bf47fb7

Temporary fix of #1580. Updated schema in preparation of #1661, #1469 & #1649
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Thu, 10 Mar 2016 16:42:16 +0000
parents 9820063ea96a
children fbdfdcc07f3a
comparison
equal deleted inserted replaced
1096:9820063ea96a 1097:ebf52bf47fb7
21 </xs:element> 21 </xs:element>
22 22
23 <xs:element name="setup"> 23 <xs:element name="setup">
24 <xs:complexType> 24 <xs:complexType>
25 <xs:sequence> 25 <xs:sequence>
26 <xs:element name="exitText" type="xs:string" minOccurs="0" maxOccurs="1"/>
26 <xs:element ref="survey" minOccurs="0" maxOccurs="2"/> 27 <xs:element ref="survey" minOccurs="0" maxOccurs="2"/>
27 <xs:element ref="metric" maxOccurs="1"/> 28 <xs:element ref="metric" maxOccurs="1"/>
28 <xs:element ref="interface" maxOccurs="1"/> 29 <xs:element ref="interface" maxOccurs="1"/>
29 </xs:sequence> 30 </xs:sequence>
30 <xs:attribute name="interface" type="xs:string" use="required"/> 31 <xs:attribute name="interface" type="xs:string" use="required"/>
31 <xs:attribute name="projectReturn" type="xs:string" use="required"/> 32 <xs:attribute name="projectReturn" type="xs:string" use="required"/>
32 <xs:attribute name="randomiseOrder" type="xs:boolean" default="false"/> 33 <xs:attribute name="randomiseOrder" type="xs:boolean" default="false"/>
33 <xs:attribute name="testPages" type="xs:nonNegativeInteger" default="0"/> 34 <xs:attribute name="testPages" type="xs:nonNegativeInteger" default="0"/>
34 <xs:attribute name="loudness" type="xs:nonPositiveInteger" use="optional"/> 35 <xs:attribute name="loudness" type="xs:nonPositiveInteger" use="optional"/>
35 <xs:attribute name="sampleRate" type="xs:positiveInteger" use="optional"/> 36 <xs:attribute name="sampleRate" type="xs:positiveInteger" use="optional"/>
37 <xs:attribute name="calibration" type="xs:boolean" default="false"/>
36 </xs:complexType> 38 </xs:complexType>
37 </xs:element> 39 </xs:element>
38 40
39 <xs:element name="page"> 41 <xs:element name="page">
40 <xs:complexType> 42 <xs:complexType>
49 <xs:attribute ref="id" use="required"/> 51 <xs:attribute ref="id" use="required"/>
50 <xs:attribute name="hostURL" type="xs:anyURI" default=""/> 52 <xs:attribute name="hostURL" type="xs:anyURI" default=""/>
51 <xs:attribute name="randomiseOrder" type="xs:boolean" default="false"/> 53 <xs:attribute name="randomiseOrder" type="xs:boolean" default="false"/>
52 <xs:attribute name="repeatCount" type="xs:nonNegativeInteger" default="0"/> 54 <xs:attribute name="repeatCount" type="xs:nonNegativeInteger" default="0"/>
53 <xs:attribute name="loop" type="xs:boolean" default="false"/> 55 <xs:attribute name="loop" type="xs:boolean" default="false"/>
56 <xs:attribute name="synchronous" type="xs:boolean" default="false"/>
54 <xs:attribute name="showElementComments" type="xs:boolean" default="false"/> 57 <xs:attribute name="showElementComments" type="xs:boolean" default="false"/>
55 <xs:attribute name="loudness" type="xs:nonPositiveInteger" use="optional"/> 58 <xs:attribute name="loudness" type="xs:nonPositiveInteger" use="optional"/>
56 <xs:attribute name="label" use="optional" default="default"> 59 <xs:attribute name="label" use="optional" default="default">
57 <xs:simpleType> 60 <xs:simpleType>
58 <xs:restriction base="xs:string"> 61 <xs:restriction base="xs:string">