ims_qtiasiv1p2.xsd 85 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- filename=ims_qtiasiv1p2.xsd -->
  3. <!-- Copyright (2) 2002 IMS Global Learning Consortium, Inc. -->
  4. <xs:schema targetNamespace="http://www.imsglobal.org/xsd/ims_qtiasiv1p2"
  5. xmlns:x="http://www.w3.org/XML/1998/namespace"
  6. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  7. xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2"
  8. elementFormDefault="qualified"
  9. version="IMS QTI ASI 1.2">
  10. <!-- **************************** -->
  11. <!-- ** Inclusions and Imports ** -->
  12. <!-- **************************** -->
  13. <xs:import namespace="http://www.w3.org/XML/1998/namespace"
  14. schemaLocation="xml.xsd"/>
  15. <!-- ****************** -->
  16. <!-- ** Root Element ** -->
  17. <!-- ****************** -->
  18. <xs:element name="questestinterop" type="questestinteropType"/>
  19. <!-- ************************** -->
  20. <!-- ** Element Declarations ** -->
  21. <!-- ************************** -->
  22. <xs:element name="altmaterial" type="altmaterialType"/>
  23. <xs:element name="and" type="andType"/>
  24. <xs:element name="and_objects" type="and_objectsType"/>
  25. <xs:element name="and_selection" type="and_selectionType"/>
  26. <xs:element name="and_test" type="and_testType"/>
  27. <xs:element name="assessfeedback" type="assessfeedbackType"/>
  28. <xs:element name="assessment" type="assessmentType"/>
  29. <xs:element name="assessmentcontrol" type="assessmentcontrolType"/>
  30. <xs:element name="assessproc_extension" type="assessproc_extensionType"/>
  31. <xs:element name="conditionvar" type="conditionvarType"/>
  32. <xs:element name="decvar" type="decvarType"/>
  33. <xs:element name="displayfeedback" type="displayfeedbackType"/>
  34. <xs:element name="duration" type="xs:string"/>
  35. <xs:element name="durequal" type="durequalType"/>
  36. <xs:element name="durgt" type="durgtType"/>
  37. <xs:element name="durgte" type="durgteType"/>
  38. <xs:element name="durlt" type="durltType"/>
  39. <xs:element name="durlte" type="durlteType"/>
  40. <xs:element name="fieldentry" type="xs:string"/>
  41. <xs:element name="fieldlabel" type="xs:string"/>
  42. <xs:element name="flow" type="flowType"/>
  43. <xs:element name="flow_label" type="flow_labelType"/>
  44. <xs:element name="flow_mat" type="flow_matType"/>
  45. <xs:element name="hint" type="hintType"/>
  46. <xs:element name="hintmaterial" type="hintmaterialType"/>
  47. <xs:element name="interpretvar" type="interpretvarType"/>
  48. <xs:element name="item" type="itemType"/>
  49. <xs:element name="itemcontrol" type="itemcontrolType"/>
  50. <xs:element name="itemfeedback" type="itemfeedbackType"/>
  51. <xs:element name="itemmetadata" type="itemmetadataType"/>
  52. <xs:element name="itempostcondition" type="xs:string"/>
  53. <xs:element name="itemprecondition" type="xs:string"/>
  54. <xs:element name="itemproc_extension" type="itemproc_extensionType"/>
  55. <xs:element name="itemref" type="itemrefType"/>
  56. <xs:element name="itemrubric" type="itemrubricType"/>
  57. <xs:element name="map_input" type="map_inputType"/>
  58. <xs:element name="map_output" type="map_outputType"/>
  59. <xs:element name="mat_extension" type="mat_extensionType"/>
  60. <xs:element name="matapplet" type="matappletType"/>
  61. <xs:element name="matapplication" type="matapplicationType"/>
  62. <xs:element name="mataudio" type="mataudioType"/>
  63. <xs:element name="matbreak" type="matbreakType"/>
  64. <xs:element name="matemtext" type="matemtextType"/>
  65. <xs:element name="material" type="materialType"/>
  66. <xs:element name="material_ref" type="material_refType"/>
  67. <xs:element name="matimage" type="matimageType"/>
  68. <xs:element name="matref" type="matrefType"/>
  69. <xs:element name="mattext" type="mattextType"/>
  70. <xs:element name="matvideo" type="matvideoType"/>
  71. <xs:element name="not" type="notType"/>
  72. <xs:element name="not_objects" type="not_objectsType"/>
  73. <xs:element name="not_selection" type="not_selectionType"/>
  74. <xs:element name="not_test" type="not_testType"/>
  75. <xs:element name="objectbank" type="objectbankType"/>
  76. <xs:element name="objectives" type="objectivesType"/>
  77. <xs:element name="objects_condition" type="objects_conditionType"/>
  78. <xs:element name="objects_parameter" type="objects_parameterType"/>
  79. <xs:element name="objectscond_extension" type="xs:string"/>
  80. <xs:element name="or" type="orType"/>
  81. <xs:element name="or_objects" type="or_objectsType"/>
  82. <xs:element name="or_selection" type="or_selectionType"/>
  83. <xs:element name="or_test" type="or_testType"/>
  84. <xs:element name="order" type="orderType"/>
  85. <xs:element name="order_extension" type="order_extensionType"/>
  86. <xs:element name="other" type="xs:string"/>
  87. <xs:element name="outcomes" type="outcomesType"/>
  88. <xs:element name="outcomes_feedback_test" type="outcomes_feedback_testType"/>
  89. <xs:element name="outcomes_metadata" type="outcomes_metadataType"/>
  90. <xs:element name="outcomes_processing" type="outcomes_processingType"/>
  91. <xs:element name="presentation" type="presentationType"/>
  92. <xs:element name="presentation_material" type="presentation_materialType"/>
  93. <xs:element name="processing_parameter" type="processing_parameterType"/>
  94. <xs:element name="qmd_computerscored" type="xs:string"/>
  95. <xs:element name="qmd_feedbackpermitted" type="xs:string"/>
  96. <xs:element name="qmd_hintspermitted" type="xs:string"/>
  97. <xs:element name="qmd_itemtype" type="xs:string"/>
  98. <xs:element name="qmd_levelofdifficulty" type="xs:string"/>
  99. <xs:element name="qmd_material" type="xs:string"/>
  100. <xs:element name="qmd_maximumscore" type="xs:string"/>
  101. <xs:element name="qmd_renderingtype" type="xs:string"/>
  102. <xs:element name="qmd_responsetype" type="xs:string"/>
  103. <xs:element name="qmd_scoringpermitted" type="xs:string"/>
  104. <xs:element name="qmd_solutionspermitted" type="xs:string"/>
  105. <xs:element name="qmd_status" type="xs:string"/>
  106. <xs:element name="qmd_timedependence" type="xs:string"/>
  107. <xs:element name="qmd_timelimit" type="xs:string"/>
  108. <xs:element name="qmd_toolvendor" type="xs:string"/>
  109. <xs:element name="qmd_topic" type="xs:string"/>
  110. <xs:element name="qmd_typeofsolution" type="xs:string"/>
  111. <xs:element name="qmd_weighting" type="xs:string"/>
  112. <xs:element name="qticomment" type="qticommentType"/>
  113. <xs:element name="qtimetadata" type="qtimetadataType"/>
  114. <xs:element name="qtimetadatafield" type="qtimetadatafieldType"/>
  115. <xs:element name="reference" type="referenceType"/>
  116. <xs:element name="render_choice" type="render_choiceType"/>
  117. <xs:element name="render_fib" type="render_fibType"/>
  118. <xs:element name="render_hotspot" type="render_hotspotType"/>
  119. <xs:element name="render_slider" type="render_sliderType"/>
  120. <xs:element name="respcond_extension" type="respcond_extensionType"/>
  121. <xs:element name="respcondition" type="respconditionType"/>
  122. <xs:element name="render_extension" type="render_extensionType"/>
  123. <xs:element name="response_extension" type="response_extensionType"/>
  124. <xs:element name="response_grp" type="response_grpType"/>
  125. <xs:element name="response_labelType" type="response_labelType"/>
  126. <xs:element name="response_lid" type="response_lidType"/>
  127. <xs:element name="response_na" type="response_naType"/>
  128. <xs:element name="response_num" type="response_numType"/>
  129. <xs:element name="response_str" type="response_strType"/>
  130. <xs:element name="response_xy" type="response_xyType"/>
  131. <xs:element name="resprocessing" type="resprocessingType"/>
  132. <xs:element name="rubric" type="rubricType"/>
  133. <xs:element name="section" type="sectionType"/>
  134. <xs:element name="sectioncontrol" type="sectioncontrolType"/>
  135. <xs:element name="sectionfeedback" type="sectionfeedbackType"/>
  136. <xs:element name="sectionproc_extension" type="sectionproc_extensionType"/>
  137. <xs:element name="sectionpostcondition" type="xs:string"/>
  138. <xs:element name="sectionprecondition" type="xs:string"/>
  139. <xs:element name="sectionref" type="sectionrefType"/>
  140. <xs:element name="selection" type="selectionType"/>
  141. <xs:element name="selection_extension" type="selection_extensionType"/>
  142. <xs:element name="selection_metadata" type="selection_metadataType"/>
  143. <xs:element name="selection_number" type="xs:string"/>
  144. <xs:element name="selection_ordering" type="selection_orderingType"/>
  145. <xs:element name="sequence_parameter" type="sequence_parameterType"/>
  146. <xs:element name="setvar" type="setvarType"/>
  147. <xs:element name="solution" type="solutionType"/>
  148. <xs:element name="solutionmaterial" type="solutionmaterialType"/>
  149. <xs:element name="sourcebank_ref" type="xs:string"/>
  150. <xs:element name="test_variable" type="test_variableType"/>
  151. <xs:element name="unanswered" type="unansweredType"/>
  152. <xs:element name="var_extension" type="var_extensionType"/>
  153. <xs:element name="varequal" type="varequalType"/>
  154. <xs:element name="vargt" type="vargtType"/>
  155. <xs:element name="vargte" type="vargteType"/>
  156. <xs:element name="variable_test" type="variable_testType"/>
  157. <xs:element name="varinside" type="varinsideType"/>
  158. <xs:element name="varlt" type="varltType"/>
  159. <xs:element name="varlte" type="varlteType"/>
  160. <xs:element name="varsubset" type="varsubsetType"/>
  161. <xs:element name="varsubstring" type="varsubstringType"/>
  162. <xs:element name="vocabulary" type="vocabularyType"/>
  163. <!-- ******************************* -->
  164. <!-- ** Complex Type Declarations ** -->
  165. <!-- ******************************* -->
  166. <!-- ***************** -->
  167. <!-- ** altmaterial ** -->
  168. <!-- ***************** -->
  169. <xs:complexType name="altmaterialType">
  170. <xs:sequence>
  171. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  172. <xs:choice maxOccurs="unbounded">
  173. <xs:element name="mattext" type="mattextType"/>
  174. <xs:element name="matemtext" type="matemtextType"/>
  175. <xs:element name="matimage" type="matimageType"/>
  176. <xs:element name="mataudio" type="mataudioType"/>
  177. <xs:element name="matvideo" type="matvideoType"/>
  178. <xs:element name="matapplet" type="matappletType"/>
  179. <xs:element name="matapplication" type="matapplicationType"/>
  180. <xs:element name="matref" type="matrefType"/>
  181. <xs:element ref="matbreak"/>
  182. <xs:element ref="mat_extension"/>
  183. </xs:choice>
  184. </xs:sequence>
  185. <xs:attribute ref="x:lang"/>
  186. </xs:complexType>
  187. <!-- ********* -->
  188. <!-- ** and ** -->
  189. <!-- ********* -->
  190. <xs:complexType name="andType">
  191. <xs:choice maxOccurs="unbounded">
  192. <xs:element name="not" type="notType"/>
  193. <xs:element name="and" type="andType"/>
  194. <xs:element name="or" type="orType"/>
  195. <xs:element name="unanswered" type="unansweredType"/>
  196. <xs:element ref="other"/>
  197. <xs:element name="varequal" type="varequalType"/>
  198. <xs:element name="varlt" type="varltType"/>
  199. <xs:element name="varlte" type="varlteType"/>
  200. <xs:element name="vargt" type="vargtType"/>
  201. <xs:element name="vargte" type="vargteType"/>
  202. <xs:element name="varsubset" type="varsubsetType"/>
  203. <xs:element name="varinside" type="varinsideType"/>
  204. <xs:element name="varsubstring" type="varsubstringType"/>
  205. <xs:element name="durequal" type="durequalType"/>
  206. <xs:element name="durlt" type="durltType"/>
  207. <xs:element name="durlte" type="durlteType"/>
  208. <xs:element name="durgt" type="durgtType"/>
  209. <xs:element name="durgte" type="durgteType"/>
  210. </xs:choice>
  211. </xs:complexType>
  212. <!-- ***************** -->
  213. <!-- ** and_objects ** -->
  214. <!-- ***************** -->
  215. <xs:complexType name="and_objectsType">
  216. <xs:choice maxOccurs="unbounded">
  217. <xs:element name="outcomes_metadata" type="outcomes_metadataType"/>
  218. <xs:element name="and_objects" type="and_objectsType"/>
  219. <xs:element name="or_objects" type="or_objectsType"/>
  220. <xs:element name="not_objects" type="not_objectsType"/>
  221. </xs:choice>
  222. </xs:complexType>
  223. <!-- ******************* -->
  224. <!-- ** and_selection ** -->
  225. <!-- ******************* -->
  226. <xs:complexType name="and_selectionType">
  227. <xs:choice maxOccurs="unbounded">
  228. <xs:element name="selection_metadata" type="selection_metadataType"/>
  229. <xs:element name="and_selection" type="and_selectionType"/>
  230. <xs:element name="or_selection" type="or_selectionType"/>
  231. <xs:element name="not_selection" type="not_selectionType"/>
  232. </xs:choice>
  233. </xs:complexType>
  234. <!-- ************** -->
  235. <!-- ** and_test ** -->
  236. <!-- ************** -->
  237. <xs:complexType name="and_testType">
  238. <xs:choice maxOccurs="unbounded">
  239. <xs:element name="variable_test" type="variable_testType"/>
  240. <xs:element name="and_test" type="and_testType"/>
  241. <xs:element name="or_test" type="or_testType"/>
  242. <xs:element name="not_test" type="not_testType"/>
  243. </xs:choice>
  244. </xs:complexType>
  245. <!-- ******************** -->
  246. <!-- ** assessfeedback ** -->
  247. <!-- ******************** -->
  248. <xs:complexType name="assessfeedbackType">
  249. <xs:sequence>
  250. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  251. <xs:choice>
  252. <xs:element name="material" type="materialType" maxOccurs="unbounded"/>
  253. <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded"/>
  254. </xs:choice>
  255. </xs:sequence>
  256. <xs:attribute name="view" default="All">
  257. <xs:simpleType>
  258. <xs:restriction base="xs:NMTOKEN">
  259. <xs:enumeration value="All"/>
  260. <xs:enumeration value="Administrator"/>
  261. <xs:enumeration value="AdminAuthority"/>
  262. <xs:enumeration value="Assessor"/>
  263. <xs:enumeration value="Author"/>
  264. <xs:enumeration value="Candidate"/>
  265. <xs:enumeration value="InvigilatorProctor"/>
  266. <xs:enumeration value="Psychometrician"/>
  267. <xs:enumeration value="Scorer"/>
  268. <xs:enumeration value="Tutor"/>
  269. </xs:restriction>
  270. </xs:simpleType>
  271. </xs:attribute>
  272. <xs:attribute name="ident" type="xs:string" use="required"/>
  273. <xs:attribute name="title" type="xs:string"/>
  274. </xs:complexType>
  275. <!-- **************** -->
  276. <!-- ** assessment ** -->
  277. <!-- **************** -->
  278. <xs:complexType name="assessmentType">
  279. <xs:sequence>
  280. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  281. <xs:element ref="duration" minOccurs="0"/>
  282. <xs:element name="qtimetadata" type="qtimetadataType" minOccurs="0" maxOccurs="unbounded"/>
  283. <xs:element name="objectives" type="objectivesType" minOccurs="0" maxOccurs="unbounded"/>
  284. <xs:element name="assessmentcontrol" type="assessmentcontrolType" minOccurs="0" maxOccurs="unbounded"/>
  285. <xs:element name="rubric" type="rubricType" minOccurs="0" maxOccurs="unbounded"/>
  286. <xs:element name="presentation_material" type="presentation_materialType" minOccurs="0"/>
  287. <xs:element name="outcomes_processing" type="outcomes_processingType" minOccurs="0" maxOccurs="unbounded"/>
  288. <xs:element ref="assessproc_extension" minOccurs="0"/>
  289. <xs:element name="assessfeedback" type="assessfeedbackType" minOccurs="0" maxOccurs="unbounded"/>
  290. <xs:element name="selection_ordering" type="selection_orderingType" minOccurs="0"/>
  291. <xs:element name="reference" type="referenceType" minOccurs="0"/>
  292. <xs:choice maxOccurs="unbounded">
  293. <xs:element name="sectionref" type="sectionrefType"/>
  294. <xs:element name="section" type="sectionType"/>
  295. </xs:choice>
  296. </xs:sequence>
  297. <xs:attribute name="ident" type="xs:string" use="required"/>
  298. <xs:attribute name="title" type="xs:string"/>
  299. <xs:attribute ref="x:lang"/>
  300. </xs:complexType>
  301. <!-- *********************** -->
  302. <!-- ** assessmentcontrol ** -->
  303. <!-- *********************** -->
  304. <xs:complexType name="assessmentcontrolType">
  305. <xs:sequence>
  306. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  307. </xs:sequence>
  308. <xs:attribute name="hintswitch" default="Yes">
  309. <xs:simpleType>
  310. <xs:restriction base="xs:NMTOKEN">
  311. <xs:enumeration value="Yes"/>
  312. <xs:enumeration value="No"/>
  313. </xs:restriction>
  314. </xs:simpleType>
  315. </xs:attribute>
  316. <xs:attribute name="solutionswitch" default="Yes">
  317. <xs:simpleType>
  318. <xs:restriction base="xs:NMTOKEN">
  319. <xs:enumeration value="Yes"/>
  320. <xs:enumeration value="No"/>
  321. </xs:restriction>
  322. </xs:simpleType>
  323. </xs:attribute>
  324. <xs:attribute name="view" default="All">
  325. <xs:simpleType>
  326. <xs:restriction base="xs:NMTOKEN">
  327. <xs:enumeration value="All"/>
  328. <xs:enumeration value="Administrator"/>
  329. <xs:enumeration value="AdminAuthority"/>
  330. <xs:enumeration value="Assessor"/>
  331. <xs:enumeration value="Author"/>
  332. <xs:enumeration value="Candidate"/>
  333. <xs:enumeration value="InvigilatorProctor"/>
  334. <xs:enumeration value="Psychometrician"/>
  335. <xs:enumeration value="Scorer"/>
  336. <xs:enumeration value="Tutor"/>
  337. </xs:restriction>
  338. </xs:simpleType>
  339. </xs:attribute>
  340. <xs:attribute name="feedbackswitch" default="Yes">
  341. <xs:simpleType>
  342. <xs:restriction base="xs:NMTOKEN">
  343. <xs:enumeration value="Yes"/>
  344. <xs:enumeration value="No"/>
  345. </xs:restriction>
  346. </xs:simpleType>
  347. </xs:attribute>
  348. </xs:complexType>
  349. <!-- ************************** -->
  350. <!-- ** assessproc_extension ** -->
  351. <!-- ************************** -->
  352. <xs:complexType name="assessproc_extensionType" mixed="true">
  353. <xs:sequence>
  354. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  355. </xs:sequence>
  356. <xs:anyAttribute processContents="lax"/>
  357. </xs:complexType>
  358. <!-- ****************** -->
  359. <!-- ** conditionvar ** -->
  360. <!-- ****************** -->
  361. <xs:complexType name="conditionvarType">
  362. <xs:choice maxOccurs="unbounded">
  363. <xs:element name="not" type="notType"/>
  364. <xs:element name="and" type="andType"/>
  365. <xs:element name="or" type="orType"/>
  366. <xs:element name="unanswered" type="unansweredType"/>
  367. <xs:element ref="other"/>
  368. <xs:element name="varequal" type="varequalType"/>
  369. <xs:element name="varlt" type="varltType"/>
  370. <xs:element name="varlte" type="varlteType"/>
  371. <xs:element name="vargt" type="vargtType"/>
  372. <xs:element name="vargte" type="vargteType"/>
  373. <xs:element name="varsubset" type="varsubsetType"/>
  374. <xs:element name="varinside" type="varinsideType"/>
  375. <xs:element name="varsubstring" type="varsubstringType"/>
  376. <xs:element name="durequal" type="durequalType"/>
  377. <xs:element name="durlt" type="durltType"/>
  378. <xs:element name="durlte" type="durlteType"/>
  379. <xs:element name="durgt" type="durgtType"/>
  380. <xs:element name="durgte" type="durgteType"/>
  381. <xs:element ref="var_extension"/>
  382. </xs:choice>
  383. </xs:complexType>
  384. <!-- ************ -->
  385. <!-- ** decvar ** -->
  386. <!-- ************ -->
  387. <xs:complexType name="decvarType">
  388. <xs:simpleContent>
  389. <xs:extension base="xs:string">
  390. <xs:attribute name="varname" type="xs:string" default="SCORE"/>
  391. <xs:attribute name="vartype" default="Integer">
  392. <xs:simpleType>
  393. <xs:restriction base="xs:NMTOKEN">
  394. <xs:enumeration value="Integer"/>
  395. <xs:enumeration value="String"/>
  396. <xs:enumeration value="Decimal"/>
  397. <xs:enumeration value="Scientific"/>
  398. <xs:enumeration value="Boolean"/>
  399. <xs:enumeration value="Enumerated"/>
  400. <xs:enumeration value="Set"/>
  401. </xs:restriction>
  402. </xs:simpleType>
  403. </xs:attribute>
  404. <xs:attribute name="defaultval" type="xs:string"/>
  405. <xs:attribute name="minvalue" type="xs:string"/>
  406. <xs:attribute name="maxvalue" type="xs:string"/>
  407. <xs:attribute name="members" type="xs:string"/>
  408. <xs:attribute name="cutvalue" type="xs:string"/>
  409. </xs:extension>
  410. </xs:simpleContent>
  411. </xs:complexType>
  412. <!-- ********************* -->
  413. <!-- ** displayfeedback ** -->
  414. <!-- ********************* -->
  415. <xs:complexType name="displayfeedbackType">
  416. <xs:simpleContent>
  417. <xs:extension base="xs:string">
  418. <xs:attribute name="feedbacktype" default="Response">
  419. <xs:simpleType>
  420. <xs:restriction base="xs:NMTOKEN">
  421. <xs:enumeration value="Response"/>
  422. <xs:enumeration value="Solution"/>
  423. <xs:enumeration value="Hint"/>
  424. </xs:restriction>
  425. </xs:simpleType>
  426. </xs:attribute>
  427. <xs:attribute name="linkrefid" type="xs:string" use="required"/>
  428. </xs:extension>
  429. </xs:simpleContent>
  430. </xs:complexType>
  431. <!-- ************** -->
  432. <!-- ** durequal ** -->
  433. <!-- ************** -->
  434. <xs:complexType name="durequalType">
  435. <xs:simpleContent>
  436. <xs:extension base="xs:string">
  437. <xs:attribute name="index" type="xs:string"/>
  438. <xs:attribute name="respident" type="xs:string" use="required"/>
  439. </xs:extension>
  440. </xs:simpleContent>
  441. </xs:complexType>
  442. <!-- *********** -->
  443. <!-- ** durgt ** -->
  444. <!-- *********** -->
  445. <xs:complexType name="durgtType">
  446. <xs:simpleContent>
  447. <xs:extension base="xs:string">
  448. <xs:attribute name="index" type="xs:string"/>
  449. <xs:attribute name="respident" type="xs:string" use="required"/>
  450. </xs:extension>
  451. </xs:simpleContent>
  452. </xs:complexType>
  453. <!-- ************ -->
  454. <!-- ** durgte ** -->
  455. <!-- ************ -->
  456. <xs:complexType name="durgteType">
  457. <xs:simpleContent>
  458. <xs:extension base="xs:string">
  459. <xs:attribute name="index" type="xs:string"/>
  460. <xs:attribute name="respident" type="xs:string" use="required"/>
  461. </xs:extension>
  462. </xs:simpleContent>
  463. </xs:complexType>
  464. <!-- *********** -->
  465. <!-- ** durlt ** -->
  466. <!-- *********** -->
  467. <xs:complexType name="durltType">
  468. <xs:simpleContent>
  469. <xs:extension base="xs:string">
  470. <xs:attribute name="index" type="xs:string"/>
  471. <xs:attribute name="respident" type="xs:string" use="required"/>
  472. </xs:extension>
  473. </xs:simpleContent>
  474. </xs:complexType>
  475. <!-- ************ -->
  476. <!-- ** durlte ** -->
  477. <!-- ************ -->
  478. <xs:complexType name="durlteType">
  479. <xs:simpleContent>
  480. <xs:extension base="xs:string">
  481. <xs:attribute name="index" type="xs:string"/>
  482. <xs:attribute name="respident" type="xs:string" use="required"/>
  483. </xs:extension>
  484. </xs:simpleContent>
  485. </xs:complexType>
  486. <!-- ********** -->
  487. <!-- ** flow ** -->
  488. <!-- ********** -->
  489. <xs:complexType name="flowType">
  490. <xs:choice maxOccurs="unbounded">
  491. <xs:element name="flow" type="flowType"/>
  492. <xs:element name="material" type="materialType"/>
  493. <xs:element name="material_ref" type="material_refType"/>
  494. <xs:element name="response_lid" type="response_lidType"/>
  495. <xs:element name="response_xy" type="response_xyType"/>
  496. <xs:element name="response_str" type="response_strType"/>
  497. <xs:element name="response_num" type="response_numType"/>
  498. <xs:element name="response_grp" type="response_grpType"/>
  499. <xs:element ref="response_extension"/>
  500. </xs:choice>
  501. <xs:attribute name="class" type="xs:string" default="Block"/>
  502. </xs:complexType>
  503. <!-- **************** -->
  504. <!-- ** flow_label ** -->
  505. <!-- **************** -->
  506. <xs:complexType name="flow_labelType">
  507. <xs:choice maxOccurs="unbounded">
  508. <xs:element name="flow_label" type="flow_labelType"/>
  509. <xs:element name="response_label" type="response_labelType"/>
  510. </xs:choice>
  511. <xs:attribute name="class" type="xs:string" default="Block"/>
  512. </xs:complexType>
  513. <!-- ************** -->
  514. <!-- ** flow_mat ** -->
  515. <!-- ************** -->
  516. <xs:complexType name="flow_matType">
  517. <xs:choice maxOccurs="unbounded">
  518. <xs:element name="flow_mat" type="flow_matType"/>
  519. <xs:element name="material" type="materialType"/>
  520. <xs:element name="material_ref" type="material_refType"/>
  521. </xs:choice>
  522. <xs:attribute name="class" type="xs:string" default="Block"/>
  523. </xs:complexType>
  524. <!-- ********** -->
  525. <!-- ** hint ** -->
  526. <!-- ********** -->
  527. <xs:complexType name="hintType">
  528. <xs:sequence>
  529. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  530. <xs:element name="hintmaterial" type="hintmaterialType" maxOccurs="unbounded"/>
  531. </xs:sequence>
  532. <xs:attribute name="feedbackstyle" default="Complete">
  533. <xs:simpleType>
  534. <xs:restriction base="xs:NMTOKEN">
  535. <xs:enumeration value="Complete"/>
  536. <xs:enumeration value="Incremental"/>
  537. <xs:enumeration value="Multilevel"/>
  538. <xs:enumeration value="Proprietary"/>
  539. </xs:restriction>
  540. </xs:simpleType>
  541. </xs:attribute>
  542. </xs:complexType>
  543. <!-- ****************** -->
  544. <!-- ** hintmaterial ** -->
  545. <!-- ****************** -->
  546. <xs:complexType name="hintmaterialType">
  547. <xs:choice>
  548. <xs:element name="material" type="materialType" maxOccurs="unbounded"/>
  549. <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded"/>
  550. </xs:choice>
  551. </xs:complexType>
  552. <!-- ****************** -->
  553. <!-- ** interpretvar ** -->
  554. <!-- ****************** -->
  555. <xs:complexType name="interpretvarType">
  556. <xs:choice>
  557. <xs:element name="material" type="materialType"/>
  558. <xs:element name="material_ref" type="material_refType"/>
  559. </xs:choice>
  560. <xs:attribute name="view" default="All">
  561. <xs:simpleType>
  562. <xs:restriction base="xs:NMTOKEN">
  563. <xs:enumeration value="All"/>
  564. <xs:enumeration value="Administrator"/>
  565. <xs:enumeration value="AdminAuthority"/>
  566. <xs:enumeration value="Assessor"/>
  567. <xs:enumeration value="Author"/>
  568. <xs:enumeration value="Candidate"/>
  569. <xs:enumeration value="InvigilatorProctor"/>
  570. <xs:enumeration value="Psychometrician"/>
  571. <xs:enumeration value="Scorer"/>
  572. <xs:enumeration value="Tutor"/>
  573. </xs:restriction>
  574. </xs:simpleType>
  575. </xs:attribute>
  576. <xs:attribute name="varname" type="xs:string" default="SCORE"/>
  577. </xs:complexType>
  578. <!-- ********** -->
  579. <!-- ** item ** -->
  580. <!-- ********** -->
  581. <xs:complexType name="itemType">
  582. <xs:sequence>
  583. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  584. <xs:element ref="duration" minOccurs="0"/>
  585. <xs:element name="itemmetadata" type="itemmetadataType" minOccurs="0"/>
  586. <xs:element name="objectives" type="objectivesType" minOccurs="0" maxOccurs="unbounded"/>
  587. <xs:element name="itemcontrol" type="itemcontrolType" minOccurs="0" maxOccurs="unbounded"/>
  588. <xs:element ref="itemprecondition" minOccurs="0" maxOccurs="unbounded"/>
  589. <xs:element ref="itempostcondition" minOccurs="0" maxOccurs="unbounded"/>
  590. <xs:choice minOccurs="0" maxOccurs="unbounded">
  591. <xs:element name="itemrubric" type="itemrubricType"/>
  592. <xs:element name="rubric" type="rubricType"/>
  593. </xs:choice>
  594. <xs:element name="presentation" type="presentationType" minOccurs="0"/>
  595. <xs:element name="resprocessing" type="resprocessingType" minOccurs="0" maxOccurs="unbounded"/>
  596. <xs:element ref="itemproc_extension" minOccurs="0"/>
  597. <xs:element name="itemfeedback" type="itemfeedbackType" minOccurs="0" maxOccurs="unbounded"/>
  598. <xs:element name="reference" type="referenceType" minOccurs="0"/>
  599. </xs:sequence>
  600. <xs:attribute name="maxattempts" type="xs:string"/>
  601. <xs:attribute name="label" type="xs:string"/>
  602. <xs:attribute name="ident" type="xs:string" use="required"/>
  603. <xs:attribute name="title" type="xs:string"/>
  604. <xs:attribute ref="x:lang"/>
  605. </xs:complexType>
  606. <!-- ***************** -->
  607. <!-- ** itemcontrol ** -->
  608. <!-- ***************** -->
  609. <xs:complexType name="itemcontrolType">
  610. <xs:sequence>
  611. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  612. </xs:sequence>
  613. <xs:attribute name="feedbackswitch" default="Yes">
  614. <xs:simpleType>
  615. <xs:restriction base="xs:NMTOKEN">
  616. <xs:enumeration value="Yes"/>
  617. <xs:enumeration value="No"/>
  618. </xs:restriction>
  619. </xs:simpleType>
  620. </xs:attribute>
  621. <xs:attribute name="hintswitch" default="Yes">
  622. <xs:simpleType>
  623. <xs:restriction base="xs:NMTOKEN">
  624. <xs:enumeration value="Yes"/>
  625. <xs:enumeration value="No"/>
  626. </xs:restriction>
  627. </xs:simpleType>
  628. </xs:attribute>
  629. <xs:attribute name="solutionswitch" default="Yes">
  630. <xs:simpleType>
  631. <xs:restriction base="xs:NMTOKEN">
  632. <xs:enumeration value="Yes"/>
  633. <xs:enumeration value="No"/>
  634. </xs:restriction>
  635. </xs:simpleType>
  636. </xs:attribute>
  637. <xs:attribute name="view" default="All">
  638. <xs:simpleType>
  639. <xs:restriction base="xs:NMTOKEN">
  640. <xs:enumeration value="All"/>
  641. <xs:enumeration value="Administrator"/>
  642. <xs:enumeration value="AdminAuthority"/>
  643. <xs:enumeration value="Assessor"/>
  644. <xs:enumeration value="Author"/>
  645. <xs:enumeration value="Candidate"/>
  646. <xs:enumeration value="InvigilatorProctor"/>
  647. <xs:enumeration value="Psychometrician"/>
  648. <xs:enumeration value="Scorer"/>
  649. <xs:enumeration value="Tutor"/>
  650. </xs:restriction>
  651. </xs:simpleType>
  652. </xs:attribute>
  653. </xs:complexType>
  654. <!-- ****************** -->
  655. <!-- ** itemfeedback ** -->
  656. <!-- ****************** -->
  657. <xs:complexType name="itemfeedbackType">
  658. <xs:choice maxOccurs="unbounded">
  659. <xs:choice>
  660. <xs:element name="flow_mat" type="flow_matType"/>
  661. <xs:element name="material" type="materialType"/>
  662. </xs:choice>
  663. <xs:element name="solution" type="solutionType"/>
  664. <xs:element name="hint" type="hintType"/>
  665. </xs:choice>
  666. <xs:attribute name="view" default="All">
  667. <xs:simpleType>
  668. <xs:restriction base="xs:NMTOKEN">
  669. <xs:enumeration value="All"/>
  670. <xs:enumeration value="Administrator"/>
  671. <xs:enumeration value="AdminAuthority"/>
  672. <xs:enumeration value="Assessor"/>
  673. <xs:enumeration value="Author"/>
  674. <xs:enumeration value="Candidate"/>
  675. <xs:enumeration value="InvigilatorProctor"/>
  676. <xs:enumeration value="Psychometrician"/>
  677. <xs:enumeration value="Scorer"/>
  678. <xs:enumeration value="Tutor"/>
  679. </xs:restriction>
  680. </xs:simpleType>
  681. </xs:attribute>
  682. <xs:attribute name="ident" type="xs:string" use="required"/>
  683. <xs:attribute name="title" type="xs:string"/>
  684. </xs:complexType>
  685. <!-- ****************** -->
  686. <!-- ** itemmetadata ** -->
  687. <!-- ****************** -->
  688. <xs:complexType name="itemmetadataType">
  689. <xs:sequence>
  690. <xs:element name="qtimetadata" type="qtimetadataType" minOccurs="0" maxOccurs="unbounded"/>
  691. <xs:element ref="qmd_computerscored" minOccurs="0"/>
  692. <xs:element ref="qmd_feedbackpermitted" minOccurs="0"/>
  693. <xs:element ref="qmd_hintspermitted" minOccurs="0"/>
  694. <xs:element ref="qmd_itemtype" minOccurs="0"/>
  695. <xs:element ref="qmd_levelofdifficulty" minOccurs="0"/>
  696. <xs:element ref="qmd_maximumscore" minOccurs="0"/>
  697. <xs:element ref="qmd_renderingtype" minOccurs="0" maxOccurs="unbounded"/>
  698. <xs:element ref="qmd_responsetype" minOccurs="0" maxOccurs="unbounded"/>
  699. <xs:element ref="qmd_scoringpermitted" minOccurs="0"/>
  700. <xs:element ref="qmd_solutionspermitted" minOccurs="0"/>
  701. <xs:element ref="qmd_status" minOccurs="0"/>
  702. <xs:element ref="qmd_timedependence" minOccurs="0"/>
  703. <xs:element ref="qmd_timelimit" minOccurs="0"/>
  704. <xs:element ref="qmd_toolvendor" minOccurs="0"/>
  705. <xs:element ref="qmd_topic" minOccurs="0"/>
  706. <xs:element ref="qmd_weighting" minOccurs="0"/>
  707. <xs:element ref="qmd_material" minOccurs="0" maxOccurs="unbounded"/>
  708. <xs:element ref="qmd_typeofsolution" minOccurs="0"/>
  709. </xs:sequence>
  710. </xs:complexType>
  711. <!-- ************************ -->
  712. <!-- ** itemproc_extension ** -->
  713. <!-- ************************ -->
  714. <xs:complexType name="itemproc_extensionType" mixed="true">
  715. <xs:sequence>
  716. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  717. </xs:sequence>
  718. <xs:anyAttribute processContents="lax"/>
  719. </xs:complexType>
  720. <!-- ************* -->
  721. <!-- ** itemref ** -->
  722. <!-- ************* -->
  723. <xs:complexType name="itemrefType">
  724. <xs:simpleContent>
  725. <xs:extension base="xs:string">
  726. <xs:attribute name="linkrefid" type="xs:string" use="required"/>
  727. </xs:extension>
  728. </xs:simpleContent>
  729. </xs:complexType>
  730. <!-- **************** -->
  731. <!-- ** itemrubric ** -->
  732. <!-- **************** -->
  733. <xs:complexType name="itemrubricType">
  734. <xs:sequence>
  735. <xs:element name="material" type="materialType"/>
  736. </xs:sequence>
  737. <xs:attribute name="view" default="All">
  738. <xs:simpleType>
  739. <xs:restriction base="xs:NMTOKEN">
  740. <xs:enumeration value="All"/>
  741. <xs:enumeration value="Administrator"/>
  742. <xs:enumeration value="AdminAuthority"/>
  743. <xs:enumeration value="Assessor"/>
  744. <xs:enumeration value="Author"/>
  745. <xs:enumeration value="Candidate"/>
  746. <xs:enumeration value="InvigilatorProctor"/>
  747. <xs:enumeration value="Psychometrician"/>
  748. <xs:enumeration value="Scorer"/>
  749. <xs:enumeration value="Tutor"/>
  750. </xs:restriction>
  751. </xs:simpleType>
  752. </xs:attribute>
  753. </xs:complexType>
  754. <!-- *************** -->
  755. <!-- ** map_input ** -->
  756. <!-- *************** -->
  757. <xs:complexType name="map_inputType">
  758. <xs:simpleContent>
  759. <xs:extension base="xs:string">
  760. <xs:attribute name="varname" type="xs:string" default="SCORE"/>
  761. </xs:extension>
  762. </xs:simpleContent>
  763. </xs:complexType>
  764. <!-- **************** -->
  765. <!-- ** map_output ** -->
  766. <!-- **************** -->
  767. <xs:complexType name="map_outputType">
  768. <xs:simpleContent>
  769. <xs:extension base="xs:string">
  770. <xs:attribute name="varname" type="xs:string" default="SCORE"/>
  771. </xs:extension>
  772. </xs:simpleContent>
  773. </xs:complexType>
  774. <!-- ******************* -->
  775. <!-- ** mat_extension ** -->
  776. <!-- ******************* -->
  777. <xs:complexType name="mat_extensionType" mixed="true">
  778. <xs:sequence>
  779. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  780. </xs:sequence>
  781. <xs:anyAttribute processContents="lax"/>
  782. </xs:complexType>
  783. <!-- *************** -->
  784. <!-- ** matapplet ** -->
  785. <!-- *************** -->
  786. <xs:complexType name="matappletType">
  787. <xs:simpleContent>
  788. <xs:extension base="xs:string">
  789. <xs:attribute name="label" type="xs:string"/>
  790. <xs:attribute name="uri" type="xs:string"/>
  791. <xs:attribute name="y0" type="xs:string"/>
  792. <xs:attribute name="height" type="xs:string"/>
  793. <xs:attribute name="width" type="xs:string"/>
  794. <xs:attribute name="x0" type="xs:string"/>
  795. <xs:attribute name="embedded" type="xs:string" default="base64"/>
  796. <xs:attribute name="entityref" type="xs:ENTITY"/>
  797. </xs:extension>
  798. </xs:simpleContent>
  799. </xs:complexType>
  800. <!-- ******************** -->
  801. <!-- ** matapplication ** -->
  802. <!-- ******************** -->
  803. <xs:complexType name="matapplicationType">
  804. <xs:simpleContent>
  805. <xs:extension base="xs:string">
  806. <xs:attribute name="apptype" type="xs:string"/>
  807. <xs:attribute name="label" type="xs:string"/>
  808. <xs:attribute name="uri" type="xs:string"/>
  809. <xs:attribute name="embedded" type="xs:string" default="base64"/>
  810. <xs:attribute name="entityref" type="xs:ENTITY"/>
  811. </xs:extension>
  812. </xs:simpleContent>
  813. </xs:complexType>
  814. <!-- ************** -->
  815. <!-- ** mataudio ** -->
  816. <!-- ************** -->
  817. <xs:complexType name="mataudioType">
  818. <xs:simpleContent>
  819. <xs:extension base="xs:string">
  820. <xs:attribute name="audiotype" type="xs:string" default="audio/base"/>
  821. <xs:attribute name="label" type="xs:string"/>
  822. <xs:attribute name="uri" type="xs:string"/>
  823. <xs:attribute name="embedded" type="xs:string" default="base64"/>
  824. <xs:attribute name="entityref" type="xs:ENTITY"/>
  825. </xs:extension>
  826. </xs:simpleContent>
  827. </xs:complexType>
  828. <!-- ************** -->
  829. <!-- ** matbreak ** -->
  830. <!-- ************** -->
  831. <xs:complexType name="matbreakType"/>
  832. <!-- *************** -->
  833. <!-- ** matemtext ** -->
  834. <!-- *************** -->
  835. <xs:complexType name="matemtextType">
  836. <xs:simpleContent>
  837. <xs:extension base="xs:string">
  838. <xs:attribute name="texttype" type="xs:string" default="text/plain"/>
  839. <xs:attribute name="label" type="xs:string"/>
  840. <xs:attribute name="charset" type="xs:string" default="ascii-us"/>
  841. <xs:attribute name="uri" type="xs:string"/>
  842. <xs:attribute ref="x:space" default="default"/>
  843. <xs:attribute ref="x:lang"/>
  844. <xs:attribute name="entityref" type="xs:ENTITY"/>
  845. <xs:attribute name="width" type="xs:string"/>
  846. <xs:attribute name="height" type="xs:string"/>
  847. <xs:attribute name="y0" type="xs:string"/>
  848. <xs:attribute name="x0" type="xs:string"/>
  849. </xs:extension>
  850. </xs:simpleContent>
  851. </xs:complexType>
  852. <!-- ************** -->
  853. <!-- ** material ** -->
  854. <!-- ************** -->
  855. <xs:complexType name="materialType">
  856. <xs:sequence>
  857. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  858. <xs:choice maxOccurs="unbounded">
  859. <xs:element name="mattext" type="mattextType"/>
  860. <xs:element name="matemtext" type="matemtextType"/>
  861. <xs:element name="matimage" type="matimageType"/>
  862. <xs:element name="mataudio" type="mataudioType"/>
  863. <xs:element name="matvideo" type="matvideoType"/>
  864. <xs:element name="matapplet" type="matappletType"/>
  865. <xs:element name="matapplication" type="matapplicationType"/>
  866. <xs:element name="matref" type="matrefType"/>
  867. <xs:element ref="matbreak"/>
  868. <xs:element ref="mat_extension"/>
  869. </xs:choice>
  870. <xs:element name="altmaterial" type="altmaterialType" minOccurs="0" maxOccurs="unbounded"/>
  871. </xs:sequence>
  872. <xs:attribute name="label" type="xs:string"/>
  873. <xs:attribute ref="x:lang"/>
  874. </xs:complexType>
  875. <!-- ****************** -->
  876. <!-- ** material_ref ** -->
  877. <!-- ****************** -->
  878. <xs:complexType name="material_refType">
  879. <xs:attribute name="linkrefid" type="xs:string" use="required"/>
  880. </xs:complexType>
  881. <!-- ************** -->
  882. <!-- ** matimage ** -->
  883. <!-- ************** -->
  884. <xs:complexType name="matimageType">
  885. <xs:simpleContent>
  886. <xs:extension base="xs:string">
  887. <xs:attribute name="imagtype" type="xs:string" default="image/jpeg"/>
  888. <xs:attribute name="label" type="xs:string"/>
  889. <xs:attribute name="height" type="xs:string"/>
  890. <xs:attribute name="uri" type="xs:string"/>
  891. <xs:attribute name="embedded" type="xs:string" default="base64"/>
  892. <xs:attribute name="width" type="xs:string"/>
  893. <xs:attribute name="y0" type="xs:string"/>
  894. <xs:attribute name="x0" type="xs:string"/>
  895. <xs:attribute name="entityref" type="xs:ENTITY"/>
  896. </xs:extension>
  897. </xs:simpleContent>
  898. </xs:complexType>
  899. <!-- ************ -->
  900. <!-- ** matref ** -->
  901. <!-- ************ -->
  902. <xs:complexType name="matrefType">
  903. <xs:attribute name="linkrefid" type="xs:string" use="required"/>
  904. </xs:complexType>
  905. <!-- ************* -->
  906. <!-- ** mattext ** -->
  907. <!-- ************* -->
  908. <xs:complexType name="mattextType">
  909. <xs:simpleContent>
  910. <xs:extension base="xs:string">
  911. <xs:attribute name="texttype" type="xs:string" default="text/plain"/>
  912. <xs:attribute name="label" type="xs:string"/>
  913. <xs:attribute name="charset" type="xs:string" default="ascii-us"/>
  914. <xs:attribute name="uri" type="xs:string"/>
  915. <xs:attribute ref="x:space" default="default"/>
  916. <xs:attribute ref="x:lang"/>
  917. <xs:attribute name="entityref" type="xs:ENTITY"/>
  918. <xs:attribute name="width" type="xs:string"/>
  919. <xs:attribute name="height" type="xs:string"/>
  920. <xs:attribute name="y0" type="xs:string"/>
  921. <xs:attribute name="x0" type="xs:string"/>
  922. </xs:extension>
  923. </xs:simpleContent>
  924. </xs:complexType>
  925. <!-- ************** -->
  926. <!-- ** matvideo ** -->
  927. <!-- ************** -->
  928. <xs:complexType name="matvideoType">
  929. <xs:simpleContent>
  930. <xs:extension base="xs:string">
  931. <xs:attribute name="videotype" type="xs:string" default="video/avi"/>
  932. <xs:attribute name="label" type="xs:string"/>
  933. <xs:attribute name="uri" type="xs:string"/>
  934. <xs:attribute name="width" type="xs:string"/>
  935. <xs:attribute name="height" type="xs:string"/>
  936. <xs:attribute name="y0" type="xs:string"/>
  937. <xs:attribute name="x0" type="xs:string"/>
  938. <xs:attribute name="embedded" type="xs:string" default="base64"/>
  939. <xs:attribute name="entityref" type="xs:ENTITY"/>
  940. </xs:extension>
  941. </xs:simpleContent>
  942. </xs:complexType>
  943. <!-- ********* -->
  944. <!-- ** not ** -->
  945. <!-- ********* -->
  946. <xs:complexType name="notType">
  947. <xs:choice>
  948. <xs:element name="and" type="andType"/>
  949. <xs:element name="or" type="orType"/>
  950. <xs:element name="not" type="notType"/>
  951. <xs:element name="unanswered" type="unansweredType"/>
  952. <xs:element ref="other"/>
  953. <xs:element name="varequal" type="varequalType"/>
  954. <xs:element name="varlt" type="varltType"/>
  955. <xs:element name="varlte" type="varlteType"/>
  956. <xs:element name="vargt" type="vargtType"/>
  957. <xs:element name="vargte" type="vargteType"/>
  958. <xs:element name="varsubset" type="varsubsetType"/>
  959. <xs:element name="varinside" type="varinsideType"/>
  960. <xs:element name="varsubstring" type="varsubstringType"/>
  961. <xs:element name="durequal" type="durequalType"/>
  962. <xs:element name="durlt" type="durltType"/>
  963. <xs:element name="durlte" type="durlteType"/>
  964. <xs:element name="durgt" type="durgtType"/>
  965. <xs:element name="durgte" type="durgteType"/>
  966. </xs:choice>
  967. </xs:complexType>
  968. <!-- ***************** -->
  969. <!-- ** not_objects ** -->
  970. <!-- ***************** -->
  971. <xs:complexType name="not_objectsType">
  972. <xs:choice>
  973. <xs:element name="outcomes_metadata" type="outcomes_metadataType"/>
  974. <xs:element name="and_objects" type="and_objectsType"/>
  975. <xs:element name="or_objects" type="or_objectsType"/>
  976. <xs:element name="not_objects" type="not_objectsType"/>
  977. </xs:choice>
  978. </xs:complexType>
  979. <!-- ******************* -->
  980. <!-- ** not_selection ** -->
  981. <!-- ******************* -->
  982. <xs:complexType name="not_selectionType">
  983. <xs:choice>
  984. <xs:element name="selection_metadata" type="selection_metadataType"/>
  985. <xs:element name="and_selection" type="and_selectionType"/>
  986. <xs:element name="or_selection" type="or_selectionType"/>
  987. <xs:element name="not_selection" type="not_selectionType"/>
  988. </xs:choice>
  989. </xs:complexType>
  990. <!-- ************** -->
  991. <!-- ** not_test ** -->
  992. <!-- ************** -->
  993. <xs:complexType name="not_testType">
  994. <xs:choice>
  995. <xs:element name="variable_test" type="variable_testType"/>
  996. <xs:element name="and_test" type="and_testType"/>
  997. <xs:element name="or_test" type="or_testType"/>
  998. <xs:element name="not_test" type="not_testType"/>
  999. </xs:choice>
  1000. </xs:complexType>
  1001. <!-- **************** -->
  1002. <!-- ** objectbank ** -->
  1003. <!-- **************** -->
  1004. <xs:complexType name="objectbankType">
  1005. <xs:sequence>
  1006. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1007. <xs:element name="qtimetadata" type="qtimetadataType" minOccurs="0" maxOccurs="unbounded"/>
  1008. <xs:choice maxOccurs="unbounded">
  1009. <xs:element name="section" type="sectionType"/>
  1010. <xs:element name="item" type="itemType"/>
  1011. </xs:choice>
  1012. </xs:sequence>
  1013. <xs:attribute name="ident" type="xs:string" use="required"/>
  1014. </xs:complexType>
  1015. <!-- **************** -->
  1016. <!-- ** objectives ** -->
  1017. <!-- **************** -->
  1018. <xs:complexType name="objectivesType">
  1019. <xs:sequence>
  1020. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1021. <xs:choice>
  1022. <xs:element name="material" type="materialType" maxOccurs="unbounded"/>
  1023. <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded"/>
  1024. </xs:choice>
  1025. </xs:sequence>
  1026. <xs:attribute name="view" default="All">
  1027. <xs:simpleType>
  1028. <xs:restriction base="xs:NMTOKEN">
  1029. <xs:enumeration value="All"/>
  1030. <xs:enumeration value="Administrator"/>
  1031. <xs:enumeration value="AdminAuthority"/>
  1032. <xs:enumeration value="Assessor"/>
  1033. <xs:enumeration value="Author"/>
  1034. <xs:enumeration value="Candidate"/>
  1035. <xs:enumeration value="InvigilatorProctor"/>
  1036. <xs:enumeration value="Psychometrician"/>
  1037. <xs:enumeration value="Scorer"/>
  1038. <xs:enumeration value="Tutor"/>
  1039. </xs:restriction>
  1040. </xs:simpleType>
  1041. </xs:attribute>
  1042. </xs:complexType>
  1043. <!-- *********************** -->
  1044. <!-- ** objects_condition ** -->
  1045. <!-- *********************** -->
  1046. <xs:complexType name="objects_conditionType">
  1047. <xs:sequence>
  1048. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1049. <xs:choice minOccurs="0">
  1050. <xs:element name="outcomes_metadata" type="outcomes_metadataType"/>
  1051. <xs:element name="and_objects" type="and_objectsType"/>
  1052. <xs:element name="or_objects" type="or_objectsType"/>
  1053. <xs:element name="not_objects" type="not_objectsType"/>
  1054. </xs:choice>
  1055. <xs:element name="objects_parameter" type="objects_parameterType" minOccurs="0" maxOccurs="unbounded"/>
  1056. <xs:element name="map_input" type="map_inputType" minOccurs="0" maxOccurs="unbounded"/>
  1057. <xs:element ref="objectscond_extension" minOccurs="0"/>
  1058. </xs:sequence>
  1059. </xs:complexType>
  1060. <!-- *********************** -->
  1061. <!-- ** objects_parameter ** -->
  1062. <!-- *********************** -->
  1063. <xs:complexType name="objects_parameterType">
  1064. <xs:simpleContent>
  1065. <xs:extension base="xs:string">
  1066. <xs:attribute name="pname" type="xs:string" use="required"/>
  1067. </xs:extension>
  1068. </xs:simpleContent>
  1069. </xs:complexType>
  1070. <!-- ******** -->
  1071. <!-- ** or ** -->
  1072. <!-- ******** -->
  1073. <xs:complexType name="orType">
  1074. <xs:choice maxOccurs="unbounded">
  1075. <xs:element name="not" type="notType"/>
  1076. <xs:element name="and" type="andType"/>
  1077. <xs:element name="or" type="orType"/>
  1078. <xs:element name="unanswered" type="unansweredType"/>
  1079. <xs:element ref="other"/>
  1080. <xs:element name="varequal" type="varequalType"/>
  1081. <xs:element name="varlt" type="varltType"/>
  1082. <xs:element name="varlte" type="varlteType"/>
  1083. <xs:element name="vargt" type="vargtType"/>
  1084. <xs:element name="vargte" type="vargteType"/>
  1085. <xs:element name="varsubset" type="varsubsetType"/>
  1086. <xs:element name="varinside" type="varinsideType"/>
  1087. <xs:element name="varsubstring" type="varsubstringType"/>
  1088. <xs:element name="durequal" type="durequalType"/>
  1089. <xs:element name="durlt" type="durltType"/>
  1090. <xs:element name="durlte" type="durlteType"/>
  1091. <xs:element name="durgt" type="durgtType"/>
  1092. <xs:element name="durgte" type="durgteType"/>
  1093. </xs:choice>
  1094. </xs:complexType>
  1095. <!-- **************** -->
  1096. <!-- ** or_objects ** -->
  1097. <!-- **************** -->
  1098. <xs:complexType name="or_objectsType">
  1099. <xs:choice maxOccurs="unbounded">
  1100. <xs:element name="outcomes_metadata" type="outcomes_metadataType"/>
  1101. <xs:element name="and_objects" type="and_objectsType"/>
  1102. <xs:element name="or_objects" type="or_objectsType"/>
  1103. <xs:element name="not_objects" type="not_objectsType"/>
  1104. </xs:choice>
  1105. </xs:complexType>
  1106. <!-- ****************** -->
  1107. <!-- ** or_selection ** -->
  1108. <!-- ****************** -->
  1109. <xs:complexType name="or_selectionType">
  1110. <xs:choice maxOccurs="unbounded">
  1111. <xs:element name="selection_metadata" type="selection_metadataType"/>
  1112. <xs:element name="and_selection" type="and_selectionType"/>
  1113. <xs:element name="or_selection" type="or_selectionType"/>
  1114. <xs:element name="not_selection" type="not_selectionType"/>
  1115. </xs:choice>
  1116. </xs:complexType>
  1117. <!-- ************* -->
  1118. <!-- ** or_test ** -->
  1119. <!-- ************* -->
  1120. <xs:complexType name="or_testType">
  1121. <xs:choice maxOccurs="unbounded">
  1122. <xs:element name="variable_test" type="variable_testType"/>
  1123. <xs:element name="and_test" type="and_testType"/>
  1124. <xs:element name="or_test" type="or_testType"/>
  1125. <xs:element name="not_test" type="not_testType"/>
  1126. </xs:choice>
  1127. </xs:complexType>
  1128. <!-- *********** -->
  1129. <!-- ** order ** -->
  1130. <!-- *********** -->
  1131. <xs:complexType name="orderType">
  1132. <xs:sequence>
  1133. <xs:element ref="order_extension" minOccurs="0"/>
  1134. </xs:sequence>
  1135. <xs:attribute name="order_type" type="xs:string" use="required"/>
  1136. </xs:complexType>
  1137. <!-- ********************* -->
  1138. <!-- ** order_extension ** -->
  1139. <!-- ********************* -->
  1140. <xs:complexType name="order_extensionType" mixed="true">
  1141. <xs:sequence>
  1142. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  1143. </xs:sequence>
  1144. <xs:anyAttribute processContents="lax"/>
  1145. </xs:complexType>
  1146. <!-- ************** -->
  1147. <!-- ** outcomes ** -->
  1148. <!-- ************** -->
  1149. <xs:complexType name="outcomesType">
  1150. <xs:sequence>
  1151. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1152. <xs:sequence maxOccurs="unbounded">
  1153. <xs:element name="decvar" type="decvarType"/>
  1154. <xs:element name="interpretvar" type="interpretvarType" minOccurs="0" maxOccurs="unbounded"/>
  1155. </xs:sequence>
  1156. </xs:sequence>
  1157. </xs:complexType>
  1158. <!-- **************************** -->
  1159. <!-- ** outcomes_feedback_test ** -->
  1160. <!-- **************************** -->
  1161. <xs:complexType name="outcomes_feedback_testType">
  1162. <xs:sequence>
  1163. <xs:element name="test_variable" type="test_variableType"/>
  1164. <xs:element name="displayfeedback" type="displayfeedbackType" maxOccurs="unbounded"/>
  1165. </xs:sequence>
  1166. <xs:attribute name="title" type="xs:string"/>
  1167. </xs:complexType>
  1168. <!-- *********************** -->
  1169. <!-- ** outcomes_metadata ** -->
  1170. <!-- *********************** -->
  1171. <xs:complexType name="outcomes_metadataType">
  1172. <xs:simpleContent>
  1173. <xs:extension base="xs:string">
  1174. <xs:attribute name="mdname" type="xs:string" use="required"/>
  1175. <xs:attribute name="mdoperator" use="required">
  1176. <xs:simpleType>
  1177. <xs:restriction base="xs:NMTOKEN">
  1178. <xs:enumeration value="EQ"/>
  1179. <xs:enumeration value="NEQ"/>
  1180. <xs:enumeration value="LT"/>
  1181. <xs:enumeration value="LTE"/>
  1182. <xs:enumeration value="GT"/>
  1183. <xs:enumeration value="GTE"/>
  1184. </xs:restriction>
  1185. </xs:simpleType>
  1186. </xs:attribute>
  1187. </xs:extension>
  1188. </xs:simpleContent>
  1189. </xs:complexType>
  1190. <!-- ************************* -->
  1191. <!-- ** outcomes_processing ** -->
  1192. <!-- ************************* -->
  1193. <xs:complexType name="outcomes_processingType">
  1194. <xs:sequence>
  1195. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1196. <xs:element name="outcomes" type="outcomesType"/>
  1197. <xs:element name="objects_condition" type="objects_conditionType" minOccurs="0" maxOccurs="unbounded"/>
  1198. <xs:element name="processing_parameter" type="processing_parameterType" minOccurs="0" maxOccurs="unbounded"/>
  1199. <xs:element name="map_output" type="map_outputType" minOccurs="0" maxOccurs="unbounded"/>
  1200. <xs:element name="outcomes_feedback_test" type="outcomes_feedback_testType" minOccurs="0" maxOccurs="unbounded"/>
  1201. </xs:sequence>
  1202. <xs:attribute name="scoremodel" type="xs:string"/>
  1203. </xs:complexType>
  1204. <!-- ****************** -->
  1205. <!-- ** presentation ** -->
  1206. <!-- ****************** -->
  1207. <xs:complexType name="presentationType">
  1208. <xs:sequence>
  1209. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1210. <xs:choice>
  1211. <xs:element name="flow" type="flowType"/>
  1212. <xs:choice maxOccurs="unbounded">
  1213. <xs:element name="material" type="materialType"/>
  1214. <xs:element name="response_lid" type="response_lidType"/>
  1215. <xs:element name="response_xy" type="response_xyType"/>
  1216. <xs:element name="response_str" type="response_strType"/>
  1217. <xs:element name="response_num" type="response_numType"/>
  1218. <xs:element name="response_grp" type="response_grpType"/>
  1219. <xs:element ref="response_extension"/>
  1220. </xs:choice>
  1221. </xs:choice>
  1222. </xs:sequence>
  1223. <xs:attribute name="label" type="xs:string"/>
  1224. <xs:attribute ref="x:lang"/>
  1225. <xs:attribute name="y0" type="xs:string"/>
  1226. <xs:attribute name="x0" type="xs:string"/>
  1227. <xs:attribute name="width" type="xs:string"/>
  1228. <xs:attribute name="height" type="xs:string"/>
  1229. </xs:complexType>
  1230. <!-- *************************** -->
  1231. <!-- ** presentation_material ** -->
  1232. <!-- *************************** -->
  1233. <xs:complexType name="presentation_materialType">
  1234. <xs:sequence>
  1235. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1236. <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded"/>
  1237. </xs:sequence>
  1238. </xs:complexType>
  1239. <!-- ************************** -->
  1240. <!-- ** processing_parameter ** -->
  1241. <!-- ************************** -->
  1242. <xs:complexType name="processing_parameterType">
  1243. <xs:simpleContent>
  1244. <xs:extension base="xs:string">
  1245. <xs:attribute name="pname" type="xs:string" use="required"/>
  1246. </xs:extension>
  1247. </xs:simpleContent>
  1248. </xs:complexType>
  1249. <!-- **************** -->
  1250. <!-- ** qticomment ** -->
  1251. <!-- **************** -->
  1252. <xs:complexType name="qticommentType">
  1253. <xs:simpleContent>
  1254. <xs:extension base="xs:string">
  1255. <xs:attribute ref="x:lang"/>
  1256. </xs:extension>
  1257. </xs:simpleContent>
  1258. </xs:complexType>
  1259. <!-- ***************** -->
  1260. <!-- ** qtimetadata ** -->
  1261. <!-- ***************** -->
  1262. <xs:complexType name="qtimetadataType">
  1263. <xs:sequence>
  1264. <xs:element name="vocabulary" type="vocabularyType" minOccurs="0"/>
  1265. <xs:element name="qtimetadatafield" type="qtimetadatafieldType" maxOccurs="unbounded"/>
  1266. </xs:sequence>
  1267. </xs:complexType>
  1268. <!-- ********************** -->
  1269. <!-- ** qtimetadatafield ** -->
  1270. <!-- ********************** -->
  1271. <xs:complexType name="qtimetadatafieldType">
  1272. <xs:sequence>
  1273. <xs:element ref="fieldlabel"/>
  1274. <xs:element ref="fieldentry"/>
  1275. </xs:sequence>
  1276. <xs:attribute ref="x:lang"/>
  1277. </xs:complexType>
  1278. <!-- ********************* -->
  1279. <!-- ** questestinterop ** -->
  1280. <!-- ********************* -->
  1281. <xs:complexType name="questestinteropType">
  1282. <xs:sequence>
  1283. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1284. <xs:choice>
  1285. <xs:element name="objectbank" type="objectbankType"/>
  1286. <xs:element name="assessment" type="assessmentType"/>
  1287. <xs:choice maxOccurs="unbounded">
  1288. <xs:element name="section" type="sectionType"/>
  1289. <xs:element name="item" type="itemType"/>
  1290. </xs:choice>
  1291. </xs:choice>
  1292. </xs:sequence>
  1293. </xs:complexType>
  1294. <!-- *************** -->
  1295. <!-- ** reference ** -->
  1296. <!-- *************** -->
  1297. <xs:complexType name="referenceType">
  1298. <xs:choice maxOccurs="unbounded">
  1299. <xs:element name="qticomment" type="qticommentType"/>
  1300. <xs:element name="material" type="materialType"/>
  1301. <xs:element name="mattext" type="mattextType"/>
  1302. <xs:element name="matemtext" type="matemtextType"/>
  1303. <xs:element name="matimage" type="matimageType"/>
  1304. <xs:element name="mataudio" type="mataudioType"/>
  1305. <xs:element name="matvideo" type="matvideoType"/>
  1306. <xs:element name="matapplet" type="matappletType"/>
  1307. <xs:element name="matapplication" type="matapplicationType"/>
  1308. <xs:element ref="matbreak"/>
  1309. <xs:element ref="mat_extension"/>
  1310. </xs:choice>
  1311. </xs:complexType>
  1312. <!-- ******************* -->
  1313. <!-- ** render_choice ** -->
  1314. <!-- ******************* -->
  1315. <xs:complexType name="render_choiceType">
  1316. <xs:sequence>
  1317. <xs:choice minOccurs="0" maxOccurs="unbounded">
  1318. <xs:element name="material" type="materialType"/>
  1319. <xs:element name="material_ref" type="material_refType"/>
  1320. <xs:element name="response_label" type="response_labelType"/>
  1321. <xs:element name="flow_label" type="flow_labelType"/>
  1322. </xs:choice>
  1323. <xs:element ref="response_na" minOccurs="0"/>
  1324. </xs:sequence>
  1325. <xs:attribute name="shuffle" default="No">
  1326. <xs:simpleType>
  1327. <xs:restriction base="xs:NMTOKEN">
  1328. <xs:enumeration value="Yes"/>
  1329. <xs:enumeration value="No"/>
  1330. </xs:restriction>
  1331. </xs:simpleType>
  1332. </xs:attribute>
  1333. <xs:attribute name="minnumber" type="xs:string"/>
  1334. <xs:attribute name="maxnumber" type="xs:string"/>
  1335. </xs:complexType>
  1336. <!-- ********************** -->
  1337. <!-- ** render_extension ** -->
  1338. <!-- ********************** -->
  1339. <xs:complexType name="render_extensionType" mixed="true">
  1340. <xs:sequence>
  1341. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  1342. </xs:sequence>
  1343. <xs:anyAttribute processContents="lax"/>
  1344. </xs:complexType>
  1345. <!-- **************** -->
  1346. <!-- ** render_fib ** -->
  1347. <!-- **************** -->
  1348. <xs:complexType name="render_fibType">
  1349. <xs:sequence>
  1350. <xs:choice minOccurs="0" maxOccurs="unbounded">
  1351. <xs:element name="material" type="materialType"/>
  1352. <xs:element name="material_ref" type="material_refType"/>
  1353. <xs:element name="response_label" type="response_labelType"/>
  1354. <xs:element name="flow_label" type="flow_labelType"/>
  1355. </xs:choice>
  1356. <xs:element ref="response_na" minOccurs="0"/>
  1357. </xs:sequence>
  1358. <xs:attribute name="encoding" type="xs:string" default="UTF_8"/>
  1359. <xs:attribute name="fibtype" default="String">
  1360. <xs:simpleType>
  1361. <xs:restriction base="xs:NMTOKEN">
  1362. <xs:enumeration value="String"/>
  1363. <xs:enumeration value="Integer"/>
  1364. <xs:enumeration value="Decimal"/>
  1365. <xs:enumeration value="Scientific"/>
  1366. </xs:restriction>
  1367. </xs:simpleType>
  1368. </xs:attribute>
  1369. <xs:attribute name="rows" type="xs:string"/>
  1370. <xs:attribute name="maxchars" type="xs:string"/>
  1371. <xs:attribute name="prompt">
  1372. <xs:simpleType>
  1373. <xs:restriction base="xs:NMTOKEN">
  1374. <xs:enumeration value="Box"/>
  1375. <xs:enumeration value="Dashline"/>
  1376. <xs:enumeration value="Asterisk"/>
  1377. <xs:enumeration value="Underline"/>
  1378. </xs:restriction>
  1379. </xs:simpleType>
  1380. </xs:attribute>
  1381. <xs:attribute name="columns" type="xs:string"/>
  1382. <xs:attribute name="charset" type="xs:string" default="ascii-us"/>
  1383. <xs:attribute name="maxnumber" type="xs:string"/>
  1384. <xs:attribute name="minnumber" type="xs:string"/>
  1385. </xs:complexType>
  1386. <!-- ******************** -->
  1387. <!-- ** render_hotspot ** -->
  1388. <!-- ******************** -->
  1389. <xs:complexType name="render_hotspotType">
  1390. <xs:sequence>
  1391. <xs:choice minOccurs="0" maxOccurs="unbounded">
  1392. <xs:element name="material" type="materialType"/>
  1393. <xs:element name="material_ref" type="material_refType"/>
  1394. <xs:element name="response_label" type="response_labelType"/>
  1395. <xs:element name="flow_label" type="flow_labelType"/>
  1396. </xs:choice>
  1397. <xs:element ref="response_na" minOccurs="0"/>
  1398. </xs:sequence>
  1399. <xs:attribute name="maxnumber" type="xs:string"/>
  1400. <xs:attribute name="minnumber" type="xs:string"/>
  1401. <xs:attribute name="showdraw" default="No">
  1402. <xs:simpleType>
  1403. <xs:restriction base="xs:NMTOKEN">
  1404. <xs:enumeration value="Yes"/>
  1405. <xs:enumeration value="No"/>
  1406. </xs:restriction>
  1407. </xs:simpleType>
  1408. </xs:attribute>
  1409. </xs:complexType>
  1410. <!-- ******************* -->
  1411. <!-- ** render_slider ** -->
  1412. <!-- ******************* -->
  1413. <xs:complexType name="render_sliderType">
  1414. <xs:sequence>
  1415. <xs:choice minOccurs="0" maxOccurs="unbounded">
  1416. <xs:element name="material" type="materialType"/>
  1417. <xs:element name="material_ref" type="material_refType"/>
  1418. <xs:element name="response_label" type="response_labelType"/>
  1419. <xs:element name="flow_label" type="flow_labelType"/>
  1420. </xs:choice>
  1421. <xs:element ref="response_na" minOccurs="0"/>
  1422. </xs:sequence>
  1423. <xs:attribute name="orientation" default="Horizontal">
  1424. <xs:simpleType>
  1425. <xs:restriction base="xs:NMTOKEN">
  1426. <xs:enumeration value="Horizontal"/>
  1427. <xs:enumeration value="Vertical"/>
  1428. </xs:restriction>
  1429. </xs:simpleType>
  1430. </xs:attribute>
  1431. <xs:attribute name="lowerbound" type="xs:string" use="required"/>
  1432. <xs:attribute name="upperbound" type="xs:string" use="required"/>
  1433. <xs:attribute name="step" type="xs:string"/>
  1434. <xs:attribute name="startval" type="xs:string"/>
  1435. <xs:attribute name="steplabel" default="No">
  1436. <xs:simpleType>
  1437. <xs:restriction base="xs:NMTOKEN">
  1438. <xs:enumeration value="Yes"/>
  1439. <xs:enumeration value="No"/>
  1440. </xs:restriction>
  1441. </xs:simpleType>
  1442. </xs:attribute>
  1443. <xs:attribute name="maxnumber" type="xs:string"/>
  1444. <xs:attribute name="minnumber" type="xs:string"/>
  1445. </xs:complexType>
  1446. <!-- ************************ -->
  1447. <!-- ** respcond_extension ** -->
  1448. <!-- ************************ -->
  1449. <xs:complexType name="respcond_extensionType" mixed="true">
  1450. <xs:sequence>
  1451. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  1452. </xs:sequence>
  1453. <xs:anyAttribute processContents="lax"/>
  1454. </xs:complexType>
  1455. <!-- ******************* -->
  1456. <!-- ** respcondition ** -->
  1457. <!-- ******************* -->
  1458. <xs:complexType name="respconditionType">
  1459. <xs:sequence>
  1460. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1461. <xs:element name="conditionvar" type="conditionvarType"/>
  1462. <xs:element name="setvar" type="setvarType" minOccurs="0" maxOccurs="unbounded"/>
  1463. <xs:element name="displayfeedback" type="displayfeedbackType" minOccurs="0" maxOccurs="unbounded"/>
  1464. <xs:element ref="respcond_extension" minOccurs="0"/>
  1465. </xs:sequence>
  1466. <xs:attribute name="continue" default="No">
  1467. <xs:simpleType>
  1468. <xs:restriction base="xs:NMTOKEN">
  1469. <xs:enumeration value="Yes"/>
  1470. <xs:enumeration value="No"/>
  1471. </xs:restriction>
  1472. </xs:simpleType>
  1473. </xs:attribute>
  1474. <xs:attribute name="title" type="xs:string"/>
  1475. </xs:complexType>
  1476. <!-- ************************ -->
  1477. <!-- ** response_extension ** -->
  1478. <!-- ************************ -->
  1479. <xs:complexType name="response_extensionType" mixed="true">
  1480. <xs:sequence>
  1481. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  1482. </xs:sequence>
  1483. <xs:anyAttribute processContents="lax"/>
  1484. </xs:complexType>
  1485. <!-- ****************** -->
  1486. <!-- ** response_grp ** -->
  1487. <!-- ****************** -->
  1488. <xs:complexType name="response_grpType">
  1489. <xs:sequence>
  1490. <xs:choice minOccurs="0">
  1491. <xs:element name="material" type="materialType"/>
  1492. <xs:element name="material_ref" type="material_refType"/>
  1493. </xs:choice>
  1494. <xs:choice>
  1495. <xs:element name="render_choice" type="render_choiceType"/>
  1496. <xs:element name="render_hotspot" type="render_hotspotType"/>
  1497. <xs:element name="render_slider" type="render_sliderType"/>
  1498. <xs:element name="render_fib" type="render_fibType"/>
  1499. <xs:element ref="render_extension"/>
  1500. </xs:choice>
  1501. <xs:choice minOccurs="0">
  1502. <xs:element name="material" type="materialType"/>
  1503. <xs:element name="material_ref" type="material_refType"/>
  1504. </xs:choice>
  1505. </xs:sequence>
  1506. <xs:attribute name="rcardinality" default="Single">
  1507. <xs:simpleType>
  1508. <xs:restriction base="xs:NMTOKEN">
  1509. <xs:enumeration value="Single"/>
  1510. <xs:enumeration value="Multiple"/>
  1511. <xs:enumeration value="Ordered"/>
  1512. </xs:restriction>
  1513. </xs:simpleType>
  1514. </xs:attribute>
  1515. <xs:attribute name="ident" type="xs:string" use="required"/>
  1516. <xs:attribute name="rtiming" default="No">
  1517. <xs:simpleType>
  1518. <xs:restriction base="xs:NMTOKEN">
  1519. <xs:enumeration value="Yes"/>
  1520. <xs:enumeration value="No"/>
  1521. </xs:restriction>
  1522. </xs:simpleType>
  1523. </xs:attribute>
  1524. </xs:complexType>
  1525. <!-- ************************ -->
  1526. <!-- ** response_lableType ** -->
  1527. <!-- ************************ -->
  1528. <xs:complexType name="response_labelType" mixed="true">
  1529. <xs:choice minOccurs="0" maxOccurs="unbounded">
  1530. <xs:element name="qticomment" type="qticommentType"/>
  1531. <xs:element name="material" type="materialType"/>
  1532. <xs:element name="material_ref" type="material_refType"/>
  1533. <xs:element name="flow_mat" type="flow_matType"/>
  1534. </xs:choice>
  1535. <xs:attribute name="rshuffle" default="Yes">
  1536. <xs:simpleType>
  1537. <xs:restriction base="xs:NMTOKEN">
  1538. <xs:enumeration value="Yes"/>
  1539. <xs:enumeration value="No"/>
  1540. </xs:restriction>
  1541. </xs:simpleType>
  1542. </xs:attribute>
  1543. <xs:attribute name="rarea" default="Ellipse">
  1544. <xs:simpleType>
  1545. <xs:restriction base="xs:NMTOKEN">
  1546. <xs:enumeration value="Ellipse"/>
  1547. <xs:enumeration value="Rectangle"/>
  1548. <xs:enumeration value="Bounded"/>
  1549. </xs:restriction>
  1550. </xs:simpleType>
  1551. </xs:attribute>
  1552. <xs:attribute name="rrange" default="Exact">
  1553. <xs:simpleType>
  1554. <xs:restriction base="xs:NMTOKEN">
  1555. <xs:enumeration value="Exact"/>
  1556. <xs:enumeration value="Range"/>
  1557. </xs:restriction>
  1558. </xs:simpleType>
  1559. </xs:attribute>
  1560. <xs:attribute name="labelrefid" type="xs:string"/>
  1561. <xs:attribute name="ident" type="xs:string" use="required"/>
  1562. <xs:attribute name="match_group" type="xs:string"/>
  1563. <xs:attribute name="match_max" type="xs:string"/>
  1564. </xs:complexType>
  1565. <!-- ****************** -->
  1566. <!-- ** response_lid ** -->
  1567. <!-- ****************** -->
  1568. <xs:complexType name="response_lidType">
  1569. <xs:sequence>
  1570. <xs:choice minOccurs="0">
  1571. <xs:element name="material" type="materialType"/>
  1572. <xs:element name="material_ref" type="material_refType"/>
  1573. </xs:choice>
  1574. <xs:choice>
  1575. <xs:element name="render_choice" type="render_choiceType"/>
  1576. <xs:element name="render_hotspot" type="render_hotspotType"/>
  1577. <xs:element name="render_slider" type="render_sliderType"/>
  1578. <xs:element name="render_fib" type="render_fibType"/>
  1579. <xs:element ref="render_extension"/>
  1580. </xs:choice>
  1581. <xs:choice minOccurs="0">
  1582. <xs:element name="material" type="materialType"/>
  1583. <xs:element name="material_ref" type="material_refType"/>
  1584. </xs:choice>
  1585. </xs:sequence>
  1586. <xs:attribute name="rcardinality" default="Single">
  1587. <xs:simpleType>
  1588. <xs:restriction base="xs:NMTOKEN">
  1589. <xs:enumeration value="Single"/>
  1590. <xs:enumeration value="Multiple"/>
  1591. <xs:enumeration value="Ordered"/>
  1592. </xs:restriction>
  1593. </xs:simpleType>
  1594. </xs:attribute>
  1595. <xs:attribute name="rtiming" default="No">
  1596. <xs:simpleType>
  1597. <xs:restriction base="xs:NMTOKEN">
  1598. <xs:enumeration value="Yes"/>
  1599. <xs:enumeration value="No"/>
  1600. </xs:restriction>
  1601. </xs:simpleType>
  1602. </xs:attribute>
  1603. <xs:attribute name="ident" type="xs:string" use="required"/>
  1604. </xs:complexType>
  1605. <!-- ***************** -->
  1606. <!-- ** response_na ** -->
  1607. <!-- ***************** -->
  1608. <xs:complexType name="response_naType"/>
  1609. <!-- ****************** -->
  1610. <!-- ** response_num ** -->
  1611. <!-- ****************** -->
  1612. <xs:complexType name="response_numType">
  1613. <xs:sequence>
  1614. <xs:choice minOccurs="0">
  1615. <xs:element name="material" type="materialType"/>
  1616. <xs:element name="material_ref" type="material_refType"/>
  1617. </xs:choice>
  1618. <xs:choice>
  1619. <xs:element name="render_choice" type="render_choiceType"/>
  1620. <xs:element name="render_hotspot" type="render_hotspotType"/>
  1621. <xs:element name="render_slider" type="render_sliderType"/>
  1622. <xs:element name="render_fib" type="render_fibType"/>
  1623. <xs:element ref="render_extension"/>
  1624. </xs:choice>
  1625. <xs:choice minOccurs="0">
  1626. <xs:element name="material" type="materialType"/>
  1627. <xs:element name="material_ref" type="material_refType"/>
  1628. </xs:choice>
  1629. </xs:sequence>
  1630. <xs:attribute name="numtype" default="Integer">
  1631. <xs:simpleType>
  1632. <xs:restriction base="xs:NMTOKEN">
  1633. <xs:enumeration value="Integer"/>
  1634. <xs:enumeration value="Decimal"/>
  1635. <xs:enumeration value="Scientific"/>
  1636. </xs:restriction>
  1637. </xs:simpleType>
  1638. </xs:attribute>
  1639. <xs:attribute name="rcardinality" default="Single">
  1640. <xs:simpleType>
  1641. <xs:restriction base="xs:NMTOKEN">
  1642. <xs:enumeration value="Single"/>
  1643. <xs:enumeration value="Multiple"/>
  1644. <xs:enumeration value="Ordered"/>
  1645. </xs:restriction>
  1646. </xs:simpleType>
  1647. </xs:attribute>
  1648. <xs:attribute name="ident" type="xs:string" use="required"/>
  1649. <xs:attribute name="rtiming" default="No">
  1650. <xs:simpleType>
  1651. <xs:restriction base="xs:NMTOKEN">
  1652. <xs:enumeration value="Yes"/>
  1653. <xs:enumeration value="No"/>
  1654. </xs:restriction>
  1655. </xs:simpleType>
  1656. </xs:attribute>
  1657. </xs:complexType>
  1658. <!-- ****************** -->
  1659. <!-- ** response_str ** -->
  1660. <!-- ****************** -->
  1661. <xs:complexType name="response_strType">
  1662. <xs:sequence>
  1663. <xs:choice minOccurs="0">
  1664. <xs:element name="material" type="materialType"/>
  1665. <xs:element name="material_ref" type="material_refType"/>
  1666. </xs:choice>
  1667. <xs:choice>
  1668. <xs:element name="render_choice" type="render_choiceType"/>
  1669. <xs:element name="render_hotspot" type="render_hotspotType"/>
  1670. <xs:element name="render_slider" type="render_sliderType"/>
  1671. <xs:element name="render_fib" type="render_fibType"/>
  1672. <xs:element ref="render_extension"/>
  1673. </xs:choice>
  1674. <xs:choice minOccurs="0">
  1675. <xs:element name="material" type="materialType"/>
  1676. <xs:element name="material_ref" type="material_refType"/>
  1677. </xs:choice>
  1678. </xs:sequence>
  1679. <xs:attribute name="rcardinality" default="Single">
  1680. <xs:simpleType>
  1681. <xs:restriction base="xs:NMTOKEN">
  1682. <xs:enumeration value="Single"/>
  1683. <xs:enumeration value="Multiple"/>
  1684. <xs:enumeration value="Ordered"/>
  1685. </xs:restriction>
  1686. </xs:simpleType>
  1687. </xs:attribute>
  1688. <xs:attribute name="ident" type="xs:string" use="required"/>
  1689. <xs:attribute name="rtiming" default="No">
  1690. <xs:simpleType>
  1691. <xs:restriction base="xs:NMTOKEN">
  1692. <xs:enumeration value="Yes"/>
  1693. <xs:enumeration value="No"/>
  1694. </xs:restriction>
  1695. </xs:simpleType>
  1696. </xs:attribute>
  1697. </xs:complexType>
  1698. <!-- ***************** -->
  1699. <!-- ** response_xy ** -->
  1700. <!-- ***************** -->
  1701. <xs:complexType name="response_xyType">
  1702. <xs:sequence>
  1703. <xs:choice minOccurs="0">
  1704. <xs:element name="material" type="materialType"/>
  1705. <xs:element name="material_ref" type="material_refType"/>
  1706. </xs:choice>
  1707. <xs:choice>
  1708. <xs:element name="render_choice" type="render_choiceType"/>
  1709. <xs:element name="render_hotspot" type="render_hotspotType"/>
  1710. <xs:element name="render_slider" type="render_sliderType"/>
  1711. <xs:element name="render_fib" type="render_fibType"/>
  1712. <xs:element ref="render_extension"/>
  1713. </xs:choice>
  1714. <xs:choice minOccurs="0">
  1715. <xs:element name="material" type="materialType"/>
  1716. <xs:element name="material_ref" type="material_refType"/>
  1717. </xs:choice>
  1718. </xs:sequence>
  1719. <xs:attribute name="rcardinality" default="Single">
  1720. <xs:simpleType>
  1721. <xs:restriction base="xs:NMTOKEN">
  1722. <xs:enumeration value="Single"/>
  1723. <xs:enumeration value="Multiple"/>
  1724. <xs:enumeration value="Ordered"/>
  1725. </xs:restriction>
  1726. </xs:simpleType>
  1727. </xs:attribute>
  1728. <xs:attribute name="rtiming" default="No">
  1729. <xs:simpleType>
  1730. <xs:restriction base="xs:NMTOKEN">
  1731. <xs:enumeration value="Yes"/>
  1732. <xs:enumeration value="No"/>
  1733. </xs:restriction>
  1734. </xs:simpleType>
  1735. </xs:attribute>
  1736. <xs:attribute name="ident" type="xs:string" use="required"/>
  1737. </xs:complexType>
  1738. <!-- ******************* -->
  1739. <!-- ** resprocessing ** -->
  1740. <!-- ******************* -->
  1741. <xs:complexType name="resprocessingType">
  1742. <xs:sequence>
  1743. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1744. <xs:element name="outcomes" type="outcomesType"/>
  1745. <xs:choice maxOccurs="unbounded">
  1746. <xs:element name="respcondition" type="respconditionType"/>
  1747. <xs:element ref="itemproc_extension"/>
  1748. </xs:choice>
  1749. </xs:sequence>
  1750. <xs:attribute name="scoremodel" type="xs:string"/>
  1751. </xs:complexType>
  1752. <!-- ************ -->
  1753. <!-- ** rubric ** -->
  1754. <!-- ************ -->
  1755. <xs:complexType name="rubricType">
  1756. <xs:sequence>
  1757. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1758. <xs:choice>
  1759. <xs:element name="material" type="materialType" maxOccurs="unbounded"/>
  1760. <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded"/>
  1761. </xs:choice>
  1762. </xs:sequence>
  1763. <xs:attribute name="view" default="All">
  1764. <xs:simpleType>
  1765. <xs:restriction base="xs:NMTOKEN">
  1766. <xs:enumeration value="All"/>
  1767. <xs:enumeration value="Administrator"/>
  1768. <xs:enumeration value="AdminAuthority"/>
  1769. <xs:enumeration value="Assessor"/>
  1770. <xs:enumeration value="Author"/>
  1771. <xs:enumeration value="Candidate"/>
  1772. <xs:enumeration value="InvigilatorProctor"/>
  1773. <xs:enumeration value="Psychometrician"/>
  1774. <xs:enumeration value="Scorer"/>
  1775. <xs:enumeration value="Tutor"/>
  1776. </xs:restriction>
  1777. </xs:simpleType>
  1778. </xs:attribute>
  1779. </xs:complexType>
  1780. <!-- ************* -->
  1781. <!-- ** section ** -->
  1782. <!-- ************* -->
  1783. <xs:complexType name="sectionType">
  1784. <xs:sequence>
  1785. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1786. <xs:element ref="duration" minOccurs="0"/>
  1787. <xs:element name="qtimetadata" type="qtimetadataType" minOccurs="0" maxOccurs="unbounded"/>
  1788. <xs:element name="objectives" type="objectivesType" minOccurs="0" maxOccurs="unbounded"/>
  1789. <xs:element name="sectioncontrol" type="sectioncontrolType" minOccurs="0" maxOccurs="unbounded"/>
  1790. <xs:element ref="sectionprecondition" minOccurs="0" maxOccurs="unbounded"/>
  1791. <xs:element ref="sectionpostcondition" minOccurs="0" maxOccurs="unbounded"/>
  1792. <xs:element name="rubric" type="rubricType" minOccurs="0" maxOccurs="unbounded"/>
  1793. <xs:element name="presentation_material" type="presentation_materialType" minOccurs="0"/>
  1794. <xs:element name="outcomes_processing" type="outcomes_processingType" minOccurs="0" maxOccurs="unbounded"/>
  1795. <xs:element ref="sectionproc_extension" minOccurs="0"/>
  1796. <xs:element name="sectionfeedback" type="sectionfeedbackType" minOccurs="0" maxOccurs="unbounded"/>
  1797. <xs:element name="selection_ordering" type="selection_orderingType" minOccurs="0"/>
  1798. <xs:element name="reference" type="referenceType" minOccurs="0"/>
  1799. <xs:choice minOccurs="0" maxOccurs="unbounded">
  1800. <xs:element name="itemref" type="itemrefType"/>
  1801. <xs:element name="item" type="itemType"/>
  1802. <xs:element name="sectionref" type="sectionrefType"/>
  1803. <xs:element name="section" type="sectionType"/>
  1804. </xs:choice>
  1805. </xs:sequence>
  1806. <xs:attribute name="ident" type="xs:string" use="required"/>
  1807. <xs:attribute name="title" type="xs:string"/>
  1808. <xs:attribute ref="x:lang"/>
  1809. </xs:complexType>
  1810. <!-- ******************** -->
  1811. <!-- ** sectioncontrol ** -->
  1812. <!-- ******************** -->
  1813. <xs:complexType name="sectioncontrolType">
  1814. <xs:sequence>
  1815. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1816. </xs:sequence>
  1817. <xs:attribute name="feedbackswitch" default="Yes">
  1818. <xs:simpleType>
  1819. <xs:restriction base="xs:NMTOKEN">
  1820. <xs:enumeration value="Yes"/>
  1821. <xs:enumeration value="No"/>
  1822. </xs:restriction>
  1823. </xs:simpleType>
  1824. </xs:attribute>
  1825. <xs:attribute name="hintswitch" default="Yes">
  1826. <xs:simpleType>
  1827. <xs:restriction base="xs:NMTOKEN">
  1828. <xs:enumeration value="Yes"/>
  1829. <xs:enumeration value="No"/>
  1830. </xs:restriction>
  1831. </xs:simpleType>
  1832. </xs:attribute>
  1833. <xs:attribute name="solutionswitch" default="Yes">
  1834. <xs:simpleType>
  1835. <xs:restriction base="xs:NMTOKEN">
  1836. <xs:enumeration value="Yes"/>
  1837. <xs:enumeration value="No"/>
  1838. </xs:restriction>
  1839. </xs:simpleType>
  1840. </xs:attribute>
  1841. <xs:attribute name="view" default="All">
  1842. <xs:simpleType>
  1843. <xs:restriction base="xs:NMTOKEN">
  1844. <xs:enumeration value="All"/>
  1845. <xs:enumeration value="Administrator"/>
  1846. <xs:enumeration value="AdminAuthority"/>
  1847. <xs:enumeration value="Assessor"/>
  1848. <xs:enumeration value="Author"/>
  1849. <xs:enumeration value="Candidate"/>
  1850. <xs:enumeration value="InvigilatorProctor"/>
  1851. <xs:enumeration value="Psychometrician"/>
  1852. <xs:enumeration value="Scorer"/>
  1853. <xs:enumeration value="Tutor"/>
  1854. </xs:restriction>
  1855. </xs:simpleType>
  1856. </xs:attribute>
  1857. </xs:complexType>
  1858. <!-- ********************* -->
  1859. <!-- ** sectionfeedback ** -->
  1860. <!-- ********************* -->
  1861. <xs:complexType name="sectionfeedbackType">
  1862. <xs:sequence>
  1863. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1864. <xs:choice>
  1865. <xs:element name="material" type="materialType" maxOccurs="unbounded"/>
  1866. <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded"/>
  1867. </xs:choice>
  1868. </xs:sequence>
  1869. <xs:attribute name="view" default="All">
  1870. <xs:simpleType>
  1871. <xs:restriction base="xs:NMTOKEN">
  1872. <xs:enumeration value="All"/>
  1873. <xs:enumeration value="Administrator"/>
  1874. <xs:enumeration value="AdminAuthority"/>
  1875. <xs:enumeration value="Assessor"/>
  1876. <xs:enumeration value="Author"/>
  1877. <xs:enumeration value="Candidate"/>
  1878. <xs:enumeration value="InvigilatorProctor"/>
  1879. <xs:enumeration value="Psychometrician"/>
  1880. <xs:enumeration value="Scorer"/>
  1881. <xs:enumeration value="Tutor"/>
  1882. </xs:restriction>
  1883. </xs:simpleType>
  1884. </xs:attribute>
  1885. <xs:attribute name="ident" type="xs:string" use="required"/>
  1886. <xs:attribute name="title" type="xs:string"/>
  1887. </xs:complexType>
  1888. <!-- *************************** -->
  1889. <!-- ** sectionproc_extension ** -->
  1890. <!-- *************************** -->
  1891. <xs:complexType name="sectionproc_extensionType" mixed="true">
  1892. <xs:sequence>
  1893. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  1894. </xs:sequence>
  1895. <xs:anyAttribute processContents="lax"/>
  1896. </xs:complexType>
  1897. <!-- **************** -->
  1898. <!-- ** sectionref ** -->
  1899. <!-- **************** -->
  1900. <xs:complexType name="sectionrefType">
  1901. <xs:simpleContent>
  1902. <xs:extension base="xs:string">
  1903. <xs:attribute name="linkrefid" type="xs:string" use="required"/>
  1904. </xs:extension>
  1905. </xs:simpleContent>
  1906. </xs:complexType>
  1907. <!-- *************** -->
  1908. <!-- ** selection ** -->
  1909. <!-- *************** -->
  1910. <xs:complexType name="selectionType">
  1911. <xs:sequence>
  1912. <xs:element ref="sourcebank_ref" minOccurs="0"/>
  1913. <xs:element ref="selection_number" minOccurs="0"/>
  1914. <xs:element name="selection_metadata" type="selection_metadataType" minOccurs="0"/>
  1915. <xs:choice minOccurs="0">
  1916. <xs:element name="and_selection" type="and_selectionType"/>
  1917. <xs:element name="or_selection" type="or_selectionType"/>
  1918. <xs:element name="not_selection" type="not_selectionType"/>
  1919. <xs:element ref="selection_extension"/>
  1920. </xs:choice>
  1921. </xs:sequence>
  1922. </xs:complexType>
  1923. <!-- ************************* -->
  1924. <!-- ** selection_extension ** -->
  1925. <!-- ************************* -->
  1926. <xs:complexType name="selection_extensionType" mixed="true">
  1927. <xs:sequence>
  1928. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  1929. </xs:sequence>
  1930. <xs:anyAttribute processContents="lax"/>
  1931. </xs:complexType>
  1932. <!-- ************************ -->
  1933. <!-- ** selection_metadata ** -->
  1934. <!-- ************************ -->
  1935. <xs:complexType name="selection_metadataType">
  1936. <xs:simpleContent>
  1937. <xs:extension base="xs:string">
  1938. <xs:attribute name="mdname" type="xs:string" use="required"/>
  1939. <xs:attribute name="mdoperator" use="required">
  1940. <xs:simpleType>
  1941. <xs:restriction base="xs:NMTOKEN">
  1942. <xs:enumeration value="EQ"/>
  1943. <xs:enumeration value="NEQ"/>
  1944. <xs:enumeration value="LT"/>
  1945. <xs:enumeration value="LTE"/>
  1946. <xs:enumeration value="GT"/>
  1947. <xs:enumeration value="GTE"/>
  1948. </xs:restriction>
  1949. </xs:simpleType>
  1950. </xs:attribute>
  1951. </xs:extension>
  1952. </xs:simpleContent>
  1953. </xs:complexType>
  1954. <!-- ************************ -->
  1955. <!-- ** selection_ordering ** -->
  1956. <!-- ************************ -->
  1957. <xs:complexType name="selection_orderingType">
  1958. <xs:sequence>
  1959. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  1960. <xs:element name="sequence_parameter" type="sequence_parameterType" minOccurs="0"/>
  1961. <xs:element name="selection" type="selectionType" minOccurs="0" maxOccurs="unbounded"/>
  1962. <xs:element name="order" type="orderType" minOccurs="0"/>
  1963. </xs:sequence>
  1964. <xs:attribute name="sequence_type" type="xs:string"/>
  1965. </xs:complexType>
  1966. <!-- ************************ -->
  1967. <!-- ** sequence_parameter ** -->
  1968. <!-- ************************ -->
  1969. <xs:complexType name="sequence_parameterType">
  1970. <xs:simpleContent>
  1971. <xs:extension base="xs:string">
  1972. <xs:attribute name="pname" type="xs:string" use="required"/>
  1973. </xs:extension>
  1974. </xs:simpleContent>
  1975. </xs:complexType>
  1976. <!-- ************ -->
  1977. <!-- ** setvar ** -->
  1978. <!-- ************ -->
  1979. <xs:complexType name="setvarType">
  1980. <xs:simpleContent>
  1981. <xs:extension base="xs:string">
  1982. <xs:attribute name="varname" type="xs:string" default="SCORE"/>
  1983. <xs:attribute name="action" default="Set">
  1984. <xs:simpleType>
  1985. <xs:restriction base="xs:NMTOKEN">
  1986. <xs:enumeration value="Set"/>
  1987. <xs:enumeration value="Add"/>
  1988. <xs:enumeration value="Subtract"/>
  1989. <xs:enumeration value="Multiply"/>
  1990. <xs:enumeration value="Divide"/>
  1991. </xs:restriction>
  1992. </xs:simpleType>
  1993. </xs:attribute>
  1994. </xs:extension>
  1995. </xs:simpleContent>
  1996. </xs:complexType>
  1997. <!-- ************** -->
  1998. <!-- ** solution ** -->
  1999. <!-- ************** -->
  2000. <xs:complexType name="solutionType">
  2001. <xs:sequence>
  2002. <xs:element name="qticomment" type="qticommentType" minOccurs="0"/>
  2003. <xs:element name="solutionmaterial" type="solutionmaterialType" maxOccurs="unbounded"/>
  2004. </xs:sequence>
  2005. <xs:attribute name="feedbackstyle" default="Complete">
  2006. <xs:simpleType>
  2007. <xs:restriction base="xs:NMTOKEN">
  2008. <xs:enumeration value="Complete"/>
  2009. <xs:enumeration value="Incremental"/>
  2010. <xs:enumeration value="Multilevel"/>
  2011. <xs:enumeration value="Proprietary"/>
  2012. </xs:restriction>
  2013. </xs:simpleType>
  2014. </xs:attribute>
  2015. </xs:complexType>
  2016. <!-- ********************** -->
  2017. <!-- ** solutionmaterial ** -->
  2018. <!-- ********************** -->
  2019. <xs:complexType name="solutionmaterialType">
  2020. <xs:choice>
  2021. <xs:element name="material" type="materialType" maxOccurs="unbounded"/>
  2022. <xs:element name="flow_mat" type="flow_matType" maxOccurs="unbounded"/>
  2023. </xs:choice>
  2024. </xs:complexType>
  2025. <!-- ******************* -->
  2026. <!-- ** test_variable ** -->
  2027. <!-- ******************* -->
  2028. <xs:complexType name="test_variableType">
  2029. <xs:choice>
  2030. <xs:element name="variable_test" type="variable_testType"/>
  2031. <xs:element name="and_test" type="and_testType"/>
  2032. <xs:element name="or_test" type="or_testType"/>
  2033. <xs:element name="not_test" type="not_testType"/>
  2034. </xs:choice>
  2035. </xs:complexType>
  2036. <!-- **************** -->
  2037. <!-- ** unanswered ** -->
  2038. <!-- **************** -->
  2039. <xs:complexType name="unansweredType">
  2040. <xs:simpleContent>
  2041. <xs:extension base="xs:string">
  2042. <xs:attribute name="respident" type="xs:string" use="required"/>
  2043. </xs:extension>
  2044. </xs:simpleContent>
  2045. </xs:complexType>
  2046. <!-- ******************* -->
  2047. <!-- ** var_extension ** -->
  2048. <!-- ******************* -->
  2049. <xs:complexType name="var_extensionType" mixed="true">
  2050. <xs:sequence>
  2051. <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  2052. </xs:sequence>
  2053. <xs:anyAttribute processContents="lax"/>
  2054. </xs:complexType>
  2055. <!-- ************** -->
  2056. <!-- ** varequal ** -->
  2057. <!-- ************** -->
  2058. <xs:complexType name="varequalType">
  2059. <xs:simpleContent>
  2060. <xs:extension base="xs:string">
  2061. <xs:attribute name="case" default="No">
  2062. <xs:simpleType>
  2063. <xs:restriction base="xs:NMTOKEN">
  2064. <xs:enumeration value="Yes"/>
  2065. <xs:enumeration value="No"/>
  2066. </xs:restriction>
  2067. </xs:simpleType>
  2068. </xs:attribute>
  2069. <xs:attribute name="respident" type="xs:string" use="required"/>
  2070. <xs:attribute name="index" type="xs:string"/>
  2071. </xs:extension>
  2072. </xs:simpleContent>
  2073. </xs:complexType>
  2074. <!-- *********** -->
  2075. <!-- ** vargt ** -->
  2076. <!-- *********** -->
  2077. <xs:complexType name="vargtType">
  2078. <xs:simpleContent>
  2079. <xs:extension base="xs:string">
  2080. <xs:attribute name="respident" type="xs:string" use="required"/>
  2081. <xs:attribute name="index" type="xs:string"/>
  2082. </xs:extension>
  2083. </xs:simpleContent>
  2084. </xs:complexType>
  2085. <!-- ************ -->
  2086. <!-- ** vargte ** -->
  2087. <!-- ************ -->
  2088. <xs:complexType name="vargteType">
  2089. <xs:simpleContent>
  2090. <xs:extension base="xs:string">
  2091. <xs:attribute name="respident" type="xs:string" use="required"/>
  2092. <xs:attribute name="index" type="xs:string"/>
  2093. </xs:extension>
  2094. </xs:simpleContent>
  2095. </xs:complexType>
  2096. <!-- ******************* -->
  2097. <!-- ** variable_test ** -->
  2098. <!-- ******************* -->
  2099. <xs:complexType name="variable_testType">
  2100. <xs:simpleContent>
  2101. <xs:extension base="xs:string">
  2102. <xs:attribute name="varname" type="xs:string" default="SCORE"/>
  2103. <xs:attribute name="testoperator" use="required">
  2104. <xs:simpleType>
  2105. <xs:restriction base="xs:NMTOKEN">
  2106. <xs:enumeration value="EQ"/>
  2107. <xs:enumeration value="NEQ"/>
  2108. <xs:enumeration value="LT"/>
  2109. <xs:enumeration value="LTE"/>
  2110. <xs:enumeration value="GT"/>
  2111. <xs:enumeration value="GTE"/>
  2112. </xs:restriction>
  2113. </xs:simpleType>
  2114. </xs:attribute>
  2115. </xs:extension>
  2116. </xs:simpleContent>
  2117. </xs:complexType>
  2118. <!-- *************** -->
  2119. <!-- ** varinside ** -->
  2120. <!-- *************** -->
  2121. <xs:complexType name="varinsideType">
  2122. <xs:simpleContent>
  2123. <xs:extension base="xs:string">
  2124. <xs:attribute name="areatype" use="required">
  2125. <xs:simpleType>
  2126. <xs:restriction base="xs:NMTOKEN">
  2127. <xs:enumeration value="Ellipse"/>
  2128. <xs:enumeration value="Rectangle"/>
  2129. <xs:enumeration value="Bounded"/>
  2130. </xs:restriction>
  2131. </xs:simpleType>
  2132. </xs:attribute>
  2133. <xs:attribute name="respident" type="xs:string" use="required"/>
  2134. <xs:attribute name="index" type="xs:string"/>
  2135. </xs:extension>
  2136. </xs:simpleContent>
  2137. </xs:complexType>
  2138. <!-- *********** -->
  2139. <!-- ** varlt ** -->
  2140. <!-- *********** -->
  2141. <xs:complexType name="varltType">
  2142. <xs:simpleContent>
  2143. <xs:extension base="xs:string">
  2144. <xs:attribute name="respident" type="xs:string" use="required"/>
  2145. <xs:attribute name="index" type="xs:string"/>
  2146. </xs:extension>
  2147. </xs:simpleContent>
  2148. </xs:complexType>
  2149. <!-- ************ -->
  2150. <!-- ** varlte ** -->
  2151. <!-- ************ -->
  2152. <xs:complexType name="varlteType">
  2153. <xs:simpleContent>
  2154. <xs:extension base="xs:string">
  2155. <xs:attribute name="respident" type="xs:string" use="required"/>
  2156. <xs:attribute name="index" type="xs:string"/>
  2157. </xs:extension>
  2158. </xs:simpleContent>
  2159. </xs:complexType>
  2160. <!-- *************** -->
  2161. <!-- ** varsubset ** -->
  2162. <!-- *************** -->
  2163. <xs:complexType name="varsubsetType">
  2164. <xs:simpleContent>
  2165. <xs:extension base="xs:string">
  2166. <xs:attribute name="respident" type="xs:string" use="required"/>
  2167. <xs:attribute name="setmatch" default="Exact">
  2168. <xs:simpleType>
  2169. <xs:restriction base="xs:NMTOKEN">
  2170. <xs:enumeration value="Exact"/>
  2171. <xs:enumeration value="Partial"/>
  2172. </xs:restriction>
  2173. </xs:simpleType>
  2174. </xs:attribute>
  2175. <xs:attribute name="index" type="xs:string"/>
  2176. </xs:extension>
  2177. </xs:simpleContent>
  2178. </xs:complexType>
  2179. <!-- ****************** -->
  2180. <!-- ** varsubstring ** -->
  2181. <!-- ****************** -->
  2182. <xs:complexType name="varsubstringType">
  2183. <xs:simpleContent>
  2184. <xs:extension base="xs:string">
  2185. <xs:attribute name="index" type="xs:string"/>
  2186. <xs:attribute name="respident" type="xs:string" use="required"/>
  2187. <xs:attribute name="case" default="No">
  2188. <xs:simpleType>
  2189. <xs:restriction base="xs:NMTOKEN">
  2190. <xs:enumeration value="Yes"/>
  2191. <xs:enumeration value="No"/>
  2192. </xs:restriction>
  2193. </xs:simpleType>
  2194. </xs:attribute>
  2195. </xs:extension>
  2196. </xs:simpleContent>
  2197. </xs:complexType>
  2198. <!-- **************** -->
  2199. <!-- ** vocabulary ** -->
  2200. <!-- **************** -->
  2201. <xs:complexType name="vocabularyType">
  2202. <xs:simpleContent>
  2203. <xs:extension base="xs:string">
  2204. <xs:attribute name="uri" type="xs:string"/>
  2205. <xs:attribute name="entityref" type="xs:ENTITY"/>
  2206. <xs:attribute name="vocab_type" type="xs:string"/>
  2207. </xs:extension>
  2208. </xs:simpleContent>
  2209. </xs:complexType>
  2210. </xs:schema>