@digabi/exam-engine-mastering 16.1.1 → 16.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/testExamMastering.js +53 -31
- package/dist/__tests__/testExamMastering.js.map +1 -1
- package/dist/__tests__/testMexCreation.js +3 -3
- package/dist/__tests__/testMexCreation.js.map +1 -1
- package/dist/__tests__/testMigrations.js +14 -14
- package/dist/__tests__/testMigrations.js.map +1 -1
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/createMex.js +8 -8
- package/dist/createMex.js.map +1 -1
- package/dist/getMediaMetadataFromLocalFile.js +1 -1
- package/dist/getMediaMetadataFromLocalFile.js.map +1 -1
- package/dist/i18n/exam_titles_sv-FI.json +1 -1
- package/dist/mastering/createGradingStructure.js +11 -11
- package/dist/mastering/createGradingStructure.js.map +1 -1
- package/dist/mastering/index.d.ts.map +1 -1
- package/dist/mastering/index.js +68 -49
- package/dist/mastering/index.js.map +1 -1
- package/package.json +4 -4
- package/schema/exam.xsd +57 -2
package/schema/exam.xsd
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
</xs:sequence>
|
|
19
19
|
<xs:attribute name="exam-schema-version" type="e:exam-schema-version" />
|
|
20
20
|
<xs:attribute name="date" type="xs:date" />
|
|
21
|
-
<xs:attribute name="exam-code" type="
|
|
22
|
-
<xs:attribute name="day-code" type="
|
|
21
|
+
<xs:attribute name="exam-code" type="e:exam-code" />
|
|
22
|
+
<xs:attribute name="day-code" type="e:day-code" />
|
|
23
23
|
<xs:attribute name="exam-stylesheet" type="xs:string" />
|
|
24
24
|
<xs:attribute name="max-answers" type="xs:positiveInteger" />
|
|
25
25
|
<xs:attribute name="lang" type="xs:language" />
|
|
@@ -77,6 +77,61 @@
|
|
|
77
77
|
</xs:restriction>
|
|
78
78
|
</xs:simpleType>
|
|
79
79
|
|
|
80
|
+
<xs:simpleType name="exam-code">
|
|
81
|
+
<xs:restriction base="xs:string">
|
|
82
|
+
<xs:enumeration value="A5" />
|
|
83
|
+
<xs:enumeration value="A" />
|
|
84
|
+
<xs:enumeration value="BA" />
|
|
85
|
+
<xs:enumeration value="BB" />
|
|
86
|
+
<xs:enumeration value="BI" />
|
|
87
|
+
<xs:enumeration value="DC" />
|
|
88
|
+
<xs:enumeration value="EA" />
|
|
89
|
+
<xs:enumeration value="EC" />
|
|
90
|
+
<xs:enumeration value="ET" />
|
|
91
|
+
<xs:enumeration value="FA" />
|
|
92
|
+
<xs:enumeration value="FC" />
|
|
93
|
+
<xs:enumeration value="FF" />
|
|
94
|
+
<xs:enumeration value="FY" />
|
|
95
|
+
<xs:enumeration value="GC" />
|
|
96
|
+
<xs:enumeration value="GE" />
|
|
97
|
+
<xs:enumeration value="HI" />
|
|
98
|
+
<xs:enumeration value="I" />
|
|
99
|
+
<xs:enumeration value="IC" />
|
|
100
|
+
<xs:enumeration value="KE" />
|
|
101
|
+
<xs:enumeration value="L1" />
|
|
102
|
+
<xs:enumeration value="L7" />
|
|
103
|
+
<xs:enumeration value="M" />
|
|
104
|
+
<xs:enumeration value="N" />
|
|
105
|
+
<xs:enumeration value="PA" />
|
|
106
|
+
<xs:enumeration value="PC" />
|
|
107
|
+
<xs:enumeration value="PS" />
|
|
108
|
+
<xs:enumeration value="QC" />
|
|
109
|
+
<xs:enumeration value="SA" />
|
|
110
|
+
<xs:enumeration value="SC" />
|
|
111
|
+
<xs:enumeration value="TC" />
|
|
112
|
+
<xs:enumeration value="TE" />
|
|
113
|
+
<xs:enumeration value="UE" />
|
|
114
|
+
<xs:enumeration value="UO" />
|
|
115
|
+
<xs:enumeration value="VA" />
|
|
116
|
+
<xs:enumeration value="VC" />
|
|
117
|
+
<xs:enumeration value="W" />
|
|
118
|
+
<xs:enumeration value="YH" />
|
|
119
|
+
<xs:enumeration value="Z" />
|
|
120
|
+
<!-- only Swedish codes -->
|
|
121
|
+
<xs:enumeration value="CA" />
|
|
122
|
+
<xs:enumeration value="CB" />
|
|
123
|
+
<xs:enumeration value="O5" />
|
|
124
|
+
<xs:enumeration value="O" />
|
|
125
|
+
</xs:restriction>
|
|
126
|
+
</xs:simpleType>
|
|
127
|
+
|
|
128
|
+
<xs:simpleType name="day-code">
|
|
129
|
+
<xs:restriction base="xs:string">
|
|
130
|
+
<xs:enumeration value="E" />
|
|
131
|
+
<xs:enumeration value="X" />
|
|
132
|
+
</xs:restriction>
|
|
133
|
+
</xs:simpleType>
|
|
134
|
+
|
|
80
135
|
<xs:complexType name="Flow" mixed="true">
|
|
81
136
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
82
137
|
<xs:group ref="xhtml:xhtml.Flow.mix" />
|