Mercurial > hg > webaudioevaluationtool
diff xml/test-schema.xsd @ 2822:394b5e20d78f
#209. Added minNumberPlays and maxNumberPlays to specifications
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Tue, 09 May 2017 13:21:34 +0100 |
parents | a41a299223ab |
children | 25027b8665a2 |
line wrap: on
line diff
--- a/xml/test-schema.xsd Fri May 05 09:35:06 2017 +0100 +++ b/xml/test-schema.xsd Tue May 09 13:21:34 2017 +0100 @@ -27,6 +27,9 @@ </xs:simpleType> </xs:attribute> + <xs:attribute name="minNumberPlays" type="xs:nonNegativeInteger" default="0" /> + <xs:attribute name="maxNumberPlays" type="xs:nonNegativeInteger" use="optional" /> + <xs:attribute name="playOne" type="xs:boolean" default="false" /> <xs:attribute name="minWait" type="xs:nonNegativeInteger" default="0" /> @@ -67,6 +70,8 @@ <xs:attribute ref="preSilence" /> <xs:attribute ref="postSilence" /> <xs:attribute ref="playOne" /> + <xs:attribute ref="minNumberPlays" /> + <xs:attribute ref="maxNumberPlays" /> </xs:complexType> </xs:element> @@ -107,6 +112,8 @@ <xs:attribute ref="postSilence" /> <xs:attribute ref="playOne" /> <xs:attribute name="restrictMovement" type="xs:boolean" default="false" use="optional" /> + <xs:attribute ref="minNumberPlays" /> + <xs:attribute ref="maxNumberPlays" /> </xs:complexType> </xs:element> @@ -238,6 +245,8 @@ </xs:simpleType> </xs:attribute> <xs:attribute name="image" type="xs:anyURI" use="optional" /> + <xs:attribute ref="minNumberPlays" /> + <xs:attribute ref="maxNumberPlays" /> </xs:complexType> </xs:element>