@learnpack/learnpack 5.0.308 → 5.0.310

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.
Files changed (88) hide show
  1. package/README.md +409 -409
  2. package/lib/commands/audit.js +15 -15
  3. package/lib/commands/breakToken.js +19 -19
  4. package/lib/commands/clean.js +3 -3
  5. package/lib/commands/logout.js +3 -3
  6. package/lib/commands/serve.js +16 -16
  7. package/lib/creatorDist/assets/{index-B37w_ZhT.js → index-BI7U47zy.js} +13186 -13013
  8. package/lib/creatorDist/index.html +1 -1
  9. package/lib/managers/config/index.js +77 -77
  10. package/lib/utils/creatorUtilities.js +14 -14
  11. package/lib/utils/templates/isolated/exercises/01-hello-world/README.es.md +26 -26
  12. package/lib/utils/templates/isolated/exercises/01-hello-world/README.md +26 -26
  13. package/lib/utils/templates/scorm/adlcp_rootv1p2.xsd +110 -110
  14. package/lib/utils/templates/scorm/config/index.html +209 -209
  15. package/lib/utils/templates/scorm/ims_xml.xsd +1 -1
  16. package/lib/utils/templates/scorm/imscp_rootv1p1p2.xsd +345 -345
  17. package/lib/utils/templates/scorm/imsmanifest.xml +38 -38
  18. package/lib/utils/templates/scorm/imsmd_rootv1p2p1.xsd +573 -573
  19. package/package.json +1 -1
  20. package/src/commands/audit.ts +487 -487
  21. package/src/commands/breakToken.ts +67 -67
  22. package/src/commands/clean.ts +30 -30
  23. package/src/commands/logout.ts +38 -38
  24. package/src/commands/publish.ts +517 -517
  25. package/src/commands/serve.ts +3179 -3179
  26. package/src/commands/start.ts +333 -333
  27. package/src/commands/translate.ts +123 -123
  28. package/src/creator/README.md +54 -54
  29. package/src/creator/package-lock.json +6621 -6621
  30. package/src/creator/package.json +55 -55
  31. package/src/creator/src/App.tsx +611 -608
  32. package/src/creator/src/components/FileUploader.tsx +340 -302
  33. package/src/creator/src/components/Icon.tsx +18 -18
  34. package/src/creator/src/components/LessonItem.tsx +152 -152
  35. package/src/creator/src/components/Login.tsx +259 -259
  36. package/src/creator/src/components/ParamsChecker.tsx +25 -25
  37. package/src/creator/src/components/Uploader.tsx +3 -6
  38. package/src/creator/src/components/syllabus/ContentIndex.tsx +323 -323
  39. package/src/creator/src/components/syllabus/SyllabusEditor.tsx +341 -337
  40. package/src/creator/src/i18n.ts +28 -28
  41. package/src/creator/src/locales/en.json +139 -138
  42. package/src/creator/src/locales/es.json +139 -138
  43. package/src/creator/src/utils/configTypes.ts +122 -122
  44. package/src/creator/src/utils/constants.ts +13 -13
  45. package/src/creator/src/utils/creatorUtils.ts +46 -46
  46. package/src/creator/src/utils/eventBus.ts +2 -2
  47. package/src/creator/src/utils/lib.ts +172 -172
  48. package/src/creator/src/utils/rigo.ts +1 -1
  49. package/src/creator/src/utils/socket.ts +61 -61
  50. package/src/creator/src/utils/store.ts +222 -222
  51. package/src/creator/src/vite-env.d.ts +1 -1
  52. package/src/creator/vite.config.ts +13 -13
  53. package/src/creatorDist/assets/{index-B37w_ZhT.js → index-BI7U47zy.js} +13186 -13013
  54. package/src/creatorDist/index.html +1 -1
  55. package/src/managers/config/defaults.ts +49 -49
  56. package/src/managers/config/exercise.ts +364 -364
  57. package/src/managers/config/index.ts +775 -775
  58. package/src/managers/file.ts +236 -236
  59. package/src/managers/server/routes.ts +554 -554
  60. package/src/managers/telemetry.ts +188 -188
  61. package/src/models/action.ts +13 -13
  62. package/src/models/config-manager.ts +28 -28
  63. package/src/models/config.ts +106 -106
  64. package/src/models/exercise-obj.ts +30 -30
  65. package/src/models/session.ts +39 -39
  66. package/src/models/socket.ts +61 -61
  67. package/src/models/status.ts +16 -16
  68. package/src/ui/_app/app.css +1 -1
  69. package/src/ui/_app/app.js +477 -407
  70. package/src/ui/app.tar.gz +0 -0
  71. package/src/utils/BaseCommand.ts +56 -56
  72. package/src/utils/api.ts +665 -665
  73. package/src/utils/audit.ts +392 -392
  74. package/src/utils/checkNotInstalled.ts +267 -267
  75. package/src/utils/convertCreds.js +34 -34
  76. package/src/utils/creatorUtilities.ts +504 -504
  77. package/src/utils/export/README.md +178 -178
  78. package/src/utils/incrementVersion.js +74 -74
  79. package/src/utils/misc.ts +58 -58
  80. package/src/utils/sidebarGenerator.ts +195 -195
  81. package/src/utils/templates/isolated/exercises/01-hello-world/README.es.md +26 -26
  82. package/src/utils/templates/isolated/exercises/01-hello-world/README.md +26 -26
  83. package/src/utils/templates/scorm/adlcp_rootv1p2.xsd +110 -110
  84. package/src/utils/templates/scorm/config/index.html +209 -209
  85. package/src/utils/templates/scorm/ims_xml.xsd +1 -1
  86. package/src/utils/templates/scorm/imscp_rootv1p1p2.xsd +345 -345
  87. package/src/utils/templates/scorm/imsmanifest.xml +38 -38
  88. package/src/utils/templates/scorm/imsmd_rootv1p2p1.xsd +573 -573
@@ -1,573 +1,573 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- edited by Thomas Wason -->
3
- <xsd:schema targetNamespace="http://www.imsglobal.org/xsd/imsmd_rootv1p2p1"
4
- xmlns:xml="http://www.w3.org/XML/1998/namespace"
5
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7
- xmlns="http://www.imsglobal.org/xsd/imsmd_rootv1p2p1"
8
- elementFormDefault="qualified"
9
- version="1.2:1.1 IMS:MD1.2">
10
-
11
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="ims_xml.xsd"/>
12
-
13
- <!-- ******************** -->
14
- <!-- ** Change History ** -->
15
- <!-- ******************** -->
16
- <xsd:annotation>
17
- <xsd:documentation>2001-04-26 T.D.Wason. IMS meta-data 1.2 XML-Schema. </xsd:documentation>
18
- <xsd:documentation>2001-06-07 S.E.Thropp. Changed the multiplicity on all elements to match the </xsd:documentation>
19
- <xsd:documentation>Final 1.2 Binding Specification. </xsd:documentation>
20
- <xsd:documentation>Changed all elements that use the langstringType to a multiplicy of 1 or more </xsd:documentation>
21
- <xsd:documentation>Changed centity in the contribute element to have a multiplicity of 0 or more. </xsd:documentation>
22
- <xsd:documentation>Changed the requirement element to have a multiplicity of 0 or more. </xsd:documentation>
23
- <xsd:documentation> 2001-07-25 Schawn Thropp. Updates to bring the XSD up to speed with the W3C </xsd:documentation>
24
- <xsd:documentation> XML Schema Recommendation. The following changes were made: Change the </xsd:documentation>
25
- <xsd:documentation> namespace to reference the 5/2/2001 W3C XML Schema Recommendation,the base </xsd:documentation>
26
- <xsd:documentation> type for the durtimeType, simpleType, was changed from timeDuration to duration. </xsd:documentation>
27
- <xsd:documentation> Any attribute declarations that have use="default" had to change to use="optional" </xsd:documentation>
28
- <xsd:documentation> - attr.type. Any attribute declarations that have value ="somevalue" had to change </xsd:documentation>
29
- <xsd:documentation> to default = "somevalue" - attr.type (URI) </xsd:documentation>
30
- <xsd:documentation> 2001-09-04 Schawn Thropp </xsd:documentation>
31
- <xsd:documentation> Changed the targetNamespace and namespace of schema to reflect version change </xsd:documentation>
32
- </xsd:annotation>
33
-
34
- <!-- *************************** -->
35
- <!-- ** Attribute Declaration ** -->
36
- <!-- *************************** -->
37
-
38
- <xsd:attributeGroup name="attr.type">
39
- <xsd:attribute name="type" use="optional" default="URI">
40
- <xsd:simpleType>
41
- <xsd:restriction base="xsd:string">
42
- <xsd:enumeration value="URI"/>
43
- <xsd:enumeration value="TEXT"/>
44
- </xsd:restriction>
45
- </xsd:simpleType>
46
- </xsd:attribute>
47
- </xsd:attributeGroup>
48
-
49
- <xsd:group name="grp.any">
50
- <xsd:annotation>
51
- <xsd:documentation>Any namespaced element from any namespace may be used for an &quot;any&quot; element. The namespace for the imported element must be defined in the instance, and the schema must be imported. </xsd:documentation>
52
- </xsd:annotation>
53
- <xsd:sequence>
54
- <xsd:any namespace="##any" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
55
- </xsd:sequence>
56
- </xsd:group>
57
-
58
- <!-- ************************* -->
59
- <!-- ** Element Declaration ** -->
60
- <!-- ************************* -->
61
-
62
- <xsd:element name="aggregationlevel" type="aggregationlevelType"/>
63
- <xsd:element name="annotation" type="annotationType"/>
64
- <xsd:element name="catalogentry" type="catalogentryType"/>
65
- <xsd:element name="catalog" type="catalogType"/>
66
- <xsd:element name="centity" type="centityType"/>
67
- <xsd:element name="classification" type="classificationType"/>
68
- <xsd:element name="context" type="contextType"/>
69
- <xsd:element name="contribute" type="contributeType"/>
70
- <xsd:element name="copyrightandotherrestrictions" type="copyrightandotherrestrictionsType"/>
71
- <xsd:element name="cost" type="costType"/>
72
- <xsd:element name="coverage" type="coverageType"/>
73
- <xsd:element name="date" type="dateType"/>
74
- <xsd:element name="datetime" type="datetimeType"/>
75
- <xsd:element name="description" type="descriptionType"/>
76
- <xsd:element name="difficulty" type="difficultyType"/>
77
- <xsd:element name="educational" type="educationalType"/>
78
- <xsd:element name="entry" type="entryType"/>
79
- <xsd:element name="format" type="formatType"/>
80
- <xsd:element name="general" type="generalType"/>
81
- <xsd:element name="identifier" type="xsd:string"/>
82
- <xsd:element name="intendedenduserrole" type="intendedenduserroleType"/>
83
- <xsd:element name="interactivitylevel" type="interactivitylevelType"/>
84
- <xsd:element name="interactivitytype" type="interactivitytypeType"/>
85
- <xsd:element name="keyword" type="keywordType"/>
86
- <xsd:element name="kind" type="kindType"/>
87
- <xsd:element name="langstring" type="langstringType"/>
88
- <xsd:element name="language" type="xsd:string"/>
89
- <xsd:element name="learningresourcetype" type="learningresourcetypeType"/>
90
- <xsd:element name="lifecycle" type="lifecycleType"/>
91
- <xsd:element name="location" type="locationType"/>
92
- <xsd:element name="lom" type="lomType"/>
93
- <xsd:element name="maximumversion" type="minimumversionType"/>
94
- <xsd:element name="metadatascheme" type="metadataschemeType"/>
95
- <xsd:element name="metametadata" type="metametadataType"/>
96
- <xsd:element name="minimumversion" type="maximumversionType"/>
97
- <xsd:element name="name" type="nameType"/>
98
- <xsd:element name="purpose" type="purposeType"/>
99
- <xsd:element name="relation" type="relationType"/>
100
- <xsd:element name="requirement" type="requirementType"/>
101
- <xsd:element name="resource" type="resourceType"/>
102
- <xsd:element name="rights" type="rightsType"/>
103
- <xsd:element name="role" type="roleType"/>
104
- <xsd:element name="semanticdensity" type="semanticdensityType"/>
105
- <xsd:element name="size" type="sizeType"/>
106
- <xsd:element name="source" type="sourceType"/>
107
- <xsd:element name="status" type="statusType"/>
108
- <xsd:element name="structure" type="structureType"/>
109
- <xsd:element name="taxon" type="taxonType"/>
110
- <xsd:element name="taxonpath" type="taxonpathType"/>
111
- <xsd:element name="technical" type="technicalType"/>
112
- <xsd:element name="title" type="titleType"/>
113
- <xsd:element name="type" type="typeType"/>
114
- <xsd:element name="typicalagerange" type="typicalagerangeType"/>
115
- <xsd:element name="typicallearningtime" type="typicallearningtimeType"/>
116
- <xsd:element name="value" type="valueType"/>
117
- <xsd:element name="person" type="personType"/>
118
- <xsd:element name="vcard" type="xsd:string"/>
119
- <xsd:element name="version" type="versionType"/>
120
- <xsd:element name="installationremarks" type="installationremarksType"/>
121
- <xsd:element name="otherplatformrequirements" type="otherplatformrequirementsType"/>
122
- <xsd:element name="duration" type="durationType"/>
123
- <xsd:element name="id" type="idType"/>
124
-
125
- <!-- ******************* -->
126
- <!-- ** Complex Types ** -->
127
- <!-- ******************* -->
128
-
129
- <xsd:complexType name="aggregationlevelType">
130
- <xsd:sequence>
131
- <xsd:element ref="source"/>
132
- <xsd:element ref="value"/>
133
- </xsd:sequence>
134
- </xsd:complexType>
135
-
136
- <xsd:complexType name="annotationType" mixed="true">
137
- <xsd:sequence>
138
- <xsd:element ref="person" minOccurs="0"/>
139
- <xsd:element ref="date" minOccurs="0"/>
140
- <xsd:element ref="description" minOccurs="0"/>
141
- <xsd:group ref="grp.any"/>
142
- </xsd:sequence>
143
- </xsd:complexType>
144
-
145
- <xsd:complexType name="catalogentryType" mixed="true">
146
- <xsd:sequence>
147
- <xsd:element ref="catalog"/>
148
- <xsd:element ref="entry"/>
149
- <xsd:group ref="grp.any"/>
150
- </xsd:sequence>
151
- </xsd:complexType>
152
-
153
- <xsd:complexType name="centityType">
154
- <xsd:sequence>
155
- <xsd:element ref="vcard"/>
156
- </xsd:sequence>
157
- </xsd:complexType>
158
-
159
- <xsd:complexType name="classificationType" mixed="true">
160
- <xsd:sequence>
161
- <xsd:element ref="purpose" minOccurs="0"/>
162
- <xsd:element ref="taxonpath" minOccurs="0" maxOccurs="unbounded"/>
163
- <xsd:element ref="description" minOccurs="0"/>
164
- <xsd:element ref="keyword" minOccurs="0" maxOccurs="unbounded"/>
165
- <xsd:group ref="grp.any"/>
166
- </xsd:sequence>
167
- </xsd:complexType>
168
-
169
- <xsd:complexType name="contextType">
170
- <xsd:sequence>
171
- <xsd:element ref="source"/>
172
- <xsd:element ref="value"/>
173
- </xsd:sequence>
174
- </xsd:complexType>
175
-
176
- <xsd:complexType name="contributeType" mixed="true">
177
- <xsd:sequence>
178
- <xsd:element ref="role"/>
179
- <xsd:element ref="centity" minOccurs="0" maxOccurs="unbounded"/>
180
- <xsd:element ref="date" minOccurs="0"/>
181
- <xsd:group ref="grp.any"/>
182
- </xsd:sequence>
183
- </xsd:complexType>
184
-
185
- <xsd:complexType name="copyrightandotherrestrictionsType">
186
- <xsd:sequence>
187
- <xsd:element ref="source"/>
188
- <xsd:element ref="value"/>
189
- </xsd:sequence>
190
- </xsd:complexType>
191
-
192
- <xsd:complexType name="costType">
193
- <xsd:sequence>
194
- <xsd:element ref="source"/>
195
- <xsd:element ref="value"/>
196
- </xsd:sequence>
197
- </xsd:complexType>
198
-
199
- <xsd:complexType name="coverageType">
200
- <xsd:sequence>
201
- <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
202
- </xsd:sequence>
203
- </xsd:complexType>
204
-
205
- <xsd:complexType name="dateType">
206
- <xsd:sequence>
207
- <xsd:element ref="datetime" minOccurs="0"/>
208
- <xsd:element ref="description" minOccurs="0"/>
209
- </xsd:sequence>
210
- </xsd:complexType>
211
-
212
- <xsd:complexType name="descriptionType">
213
- <xsd:sequence>
214
- <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
215
- </xsd:sequence>
216
- </xsd:complexType>
217
-
218
- <xsd:complexType name="difficultyType">
219
- <xsd:sequence>
220
- <xsd:element ref="source"/>
221
- <xsd:element ref="value"/>
222
- </xsd:sequence>
223
- </xsd:complexType>
224
-
225
- <xsd:complexType name="durationType">
226
- <xsd:sequence>
227
- <xsd:element ref="datetime" minOccurs="0"/>
228
- <xsd:element ref="description" minOccurs="0"/>
229
- </xsd:sequence>
230
- </xsd:complexType>
231
-
232
- <xsd:complexType name="educationalType" mixed="true">
233
- <xsd:sequence>
234
- <xsd:element ref="interactivitytype" minOccurs="0"/>
235
- <xsd:element ref="learningresourcetype" minOccurs="0" maxOccurs="unbounded"/>
236
- <xsd:element ref="interactivitylevel" minOccurs="0"/>
237
- <xsd:element ref="semanticdensity" minOccurs="0"/>
238
- <xsd:element ref="intendedenduserrole" minOccurs="0" maxOccurs="unbounded"/>
239
- <xsd:element ref="context" minOccurs="0" maxOccurs="unbounded"/>
240
- <xsd:element ref="typicalagerange" minOccurs="0" maxOccurs="unbounded"/>
241
- <xsd:element ref="difficulty" minOccurs="0"/>
242
- <xsd:element ref="typicallearningtime" minOccurs="0"/>
243
- <xsd:element ref="description" minOccurs="0"/>
244
- <xsd:element ref="language" minOccurs="0" maxOccurs="unbounded"/>
245
- <xsd:group ref="grp.any"/>
246
- </xsd:sequence>
247
- </xsd:complexType>
248
-
249
- <xsd:complexType name="entryType">
250
- <xsd:sequence>
251
- <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
252
- </xsd:sequence>
253
- </xsd:complexType>
254
-
255
- <xsd:complexType name="generalType" mixed="true">
256
- <xsd:sequence>
257
- <xsd:element ref="identifier" minOccurs="0"/>
258
- <xsd:element ref="title" minOccurs="0"/>
259
- <xsd:element ref="catalogentry" minOccurs="0" maxOccurs="unbounded"/>
260
- <xsd:element ref="language" minOccurs="0" maxOccurs="unbounded"/>
261
- <xsd:element ref="description" minOccurs="0" maxOccurs="unbounded"/>
262
- <xsd:element ref="keyword" minOccurs="0" maxOccurs="unbounded"/>
263
- <xsd:element ref="coverage" minOccurs="0" maxOccurs="unbounded"/>
264
- <xsd:element ref="structure" minOccurs="0"/>
265
- <xsd:element ref="aggregationlevel" minOccurs="0"/>
266
- <xsd:group ref="grp.any"/>
267
- </xsd:sequence>
268
- </xsd:complexType>
269
-
270
- <xsd:complexType name="installationremarksType">
271
- <xsd:sequence>
272
- <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
273
- </xsd:sequence>
274
- </xsd:complexType>
275
-
276
- <xsd:complexType name="intendedenduserroleType">
277
- <xsd:sequence>
278
- <xsd:element ref="source"/>
279
- <xsd:element ref="value"/>
280
- </xsd:sequence>
281
- </xsd:complexType>
282
-
283
- <xsd:complexType name="interactivitylevelType">
284
- <xsd:sequence>
285
- <xsd:element ref="source"/>
286
- <xsd:element ref="value"/>
287
- </xsd:sequence>
288
- </xsd:complexType>
289
-
290
- <xsd:complexType name="interactivitytypeType">
291
- <xsd:sequence>
292
- <xsd:element ref="source"/>
293
- <xsd:element ref="value"/>
294
- </xsd:sequence>
295
- </xsd:complexType>
296
-
297
- <xsd:complexType name="keywordType">
298
- <xsd:sequence>
299
- <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
300
- </xsd:sequence>
301
- </xsd:complexType>
302
-
303
- <xsd:complexType name="kindType">
304
- <xsd:sequence>
305
- <xsd:element ref="source"/>
306
- <xsd:element ref="value"/>
307
- </xsd:sequence>
308
- </xsd:complexType>
309
-
310
- <xsd:complexType name="langstringType">
311
- <xsd:simpleContent>
312
- <xsd:extension base="xsd:string">
313
- <xsd:attribute ref="xml:lang"/>
314
- </xsd:extension>
315
- </xsd:simpleContent>
316
- </xsd:complexType>
317
-
318
- <xsd:complexType name="learningresourcetypeType">
319
- <xsd:sequence>
320
- <xsd:element ref="source"/>
321
- <xsd:element ref="value"/>
322
- </xsd:sequence>
323
- </xsd:complexType>
324
-
325
- <xsd:complexType name="lifecycleType" mixed="true">
326
- <xsd:sequence>
327
- <xsd:element ref="version" minOccurs="0"/>
328
- <xsd:element ref="status" minOccurs="0"/>
329
- <xsd:element ref="contribute" minOccurs="0" maxOccurs="unbounded"/>
330
- <xsd:group ref="grp.any"/>
331
- </xsd:sequence>
332
- </xsd:complexType>
333
-
334
- <xsd:complexType name="locationType">
335
- <xsd:simpleContent>
336
- <xsd:extension base="xsd:string">
337
- <xsd:attributeGroup ref="attr.type"/>
338
- </xsd:extension>
339
- </xsd:simpleContent>
340
- </xsd:complexType>
341
-
342
- <xsd:complexType name="lomType">
343
- <xsd:sequence>
344
- <xsd:element ref="general" minOccurs="0"/>
345
- <xsd:element ref="lifecycle" minOccurs="0"/>
346
- <xsd:element ref="metametadata" minOccurs="0"/>
347
- <xsd:element ref="technical" minOccurs="0"/>
348
- <xsd:element ref="educational" minOccurs="0"/>
349
- <xsd:element ref="rights" minOccurs="0"/>
350
- <xsd:element ref="relation" minOccurs="0" maxOccurs="unbounded"/>
351
- <xsd:element ref="annotation" minOccurs="0" maxOccurs="unbounded"/>
352
- <xsd:element ref="classification" minOccurs="0" maxOccurs="unbounded"/>
353
- </xsd:sequence>
354
- </xsd:complexType>
355
-
356
- <xsd:complexType name="metametadataType" mixed="true">
357
- <xsd:sequence>
358
- <xsd:element ref="identifier" minOccurs="0"/>
359
- <xsd:element ref="catalogentry" minOccurs="0" maxOccurs="unbounded"/>
360
- <xsd:element ref="contribute" minOccurs="0" maxOccurs="unbounded"/>
361
- <xsd:element ref="metadatascheme" minOccurs="0" maxOccurs="unbounded"/>
362
- <xsd:element ref="language" minOccurs="0"/>
363
- <xsd:group ref="grp.any"/>
364
- </xsd:sequence>
365
- </xsd:complexType>
366
-
367
- <xsd:complexType name="nameType">
368
- <xsd:sequence>
369
- <xsd:element ref="source"/>
370
- <xsd:element ref="value"/>
371
- </xsd:sequence>
372
- </xsd:complexType>
373
-
374
- <xsd:complexType name="otherplatformrequirementsType">
375
- <xsd:sequence>
376
- <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
377
- </xsd:sequence>
378
- </xsd:complexType>
379
-
380
- <xsd:complexType name="personType">
381
- <xsd:sequence>
382
- <xsd:element ref="vcard"/>
383
- </xsd:sequence>
384
- </xsd:complexType>
385
-
386
- <xsd:complexType name="purposeType">
387
- <xsd:sequence>
388
- <xsd:element ref="source"/>
389
- <xsd:element ref="value"/>
390
- </xsd:sequence>
391
- </xsd:complexType>
392
-
393
- <xsd:complexType name="relationType" mixed="true">
394
- <xsd:sequence>
395
- <xsd:element ref="kind" minOccurs="0"/>
396
- <xsd:element ref="resource" minOccurs="0"/>
397
- <xsd:group ref="grp.any"/>
398
- </xsd:sequence>
399
- </xsd:complexType>
400
-
401
- <xsd:complexType name="requirementType" mixed="true">
402
- <xsd:sequence>
403
- <xsd:element ref="type" minOccurs="0"/>
404
- <xsd:element ref="name" minOccurs="0"/>
405
- <xsd:element ref="minimumversion" minOccurs="0"/>
406
- <xsd:element ref="maximumversion" minOccurs="0"/>
407
- <xsd:group ref="grp.any"/>
408
- </xsd:sequence>
409
- </xsd:complexType>
410
-
411
- <xsd:complexType name="resourceType" mixed="true">
412
- <xsd:sequence>
413
- <xsd:element ref="identifier" minOccurs="0"/>
414
- <xsd:element ref="description" minOccurs="0"/>
415
- <xsd:element ref="catalogentry" minOccurs="0" maxOccurs="unbounded"/>
416
- <xsd:group ref="grp.any"/>
417
- </xsd:sequence>
418
- </xsd:complexType>
419
-
420
- <xsd:complexType name="rightsType" mixed="true">
421
- <xsd:sequence>
422
- <xsd:element ref="cost" minOccurs="0"/>
423
- <xsd:element ref="copyrightandotherrestrictions" minOccurs="0"/>
424
- <xsd:element ref="description" minOccurs="0"/>
425
- <xsd:group ref="grp.any"/>
426
- </xsd:sequence>
427
- </xsd:complexType>
428
-
429
- <xsd:complexType name="roleType">
430
- <xsd:sequence>
431
- <xsd:element ref="source"/>
432
- <xsd:element ref="value"/>
433
- </xsd:sequence>
434
- </xsd:complexType>
435
-
436
- <xsd:complexType name="semanticdensityType">
437
- <xsd:sequence>
438
- <xsd:element ref="source"/>
439
- <xsd:element ref="value"/>
440
- </xsd:sequence>
441
- </xsd:complexType>
442
-
443
- <xsd:complexType name="sourceType">
444
- <xsd:sequence>
445
- <xsd:element ref="langstring"/>
446
- </xsd:sequence>
447
- </xsd:complexType>
448
-
449
- <xsd:complexType name="statusType">
450
- <xsd:sequence>
451
- <xsd:element ref="source"/>
452
- <xsd:element ref="value"/>
453
- </xsd:sequence>
454
- </xsd:complexType>
455
-
456
- <xsd:complexType name="stringType">
457
- <xsd:simpleContent>
458
- <xsd:extension base="xsd:string">
459
- <xsd:attribute ref="xml:lang"/>
460
- </xsd:extension>
461
- </xsd:simpleContent>
462
- </xsd:complexType>
463
-
464
- <xsd:complexType name="structureType">
465
- <xsd:sequence>
466
- <xsd:element ref="source"/>
467
- <xsd:element ref="value"/>
468
- </xsd:sequence>
469
- </xsd:complexType>
470
-
471
- <xsd:complexType name="taxonpathType">
472
- <xsd:sequence>
473
- <xsd:element ref="source" minOccurs="0"/>
474
- <xsd:element ref="taxon" minOccurs="0" maxOccurs="1"/>
475
- </xsd:sequence>
476
- </xsd:complexType>
477
-
478
- <xsd:complexType name="taxonType">
479
- <xsd:sequence>
480
- <xsd:element ref="id" minOccurs="0"/>
481
- <xsd:element ref="entry" minOccurs="0"/>
482
- <xsd:element ref="taxon" minOccurs="0" maxOccurs="1"/>
483
- </xsd:sequence>
484
- </xsd:complexType>
485
-
486
- <xsd:complexType name="technicalType" mixed="true">
487
- <xsd:sequence>
488
- <xsd:element ref="format" minOccurs="0" maxOccurs="unbounded"/>
489
- <xsd:element ref="size" minOccurs="0"/>
490
- <xsd:element ref="location" minOccurs="0" maxOccurs="unbounded"/>
491
- <xsd:element ref="requirement" minOccurs="0" maxOccurs="unbounded"/>
492
- <xsd:element ref="installationremarks" minOccurs="0"/>
493
- <xsd:element ref="otherplatformrequirements" minOccurs="0"/>
494
- <xsd:element ref="duration" minOccurs="0"/>
495
- <xsd:group ref="grp.any"/>
496
- </xsd:sequence>
497
- </xsd:complexType>
498
-
499
- <xsd:complexType name="titleType">
500
- <xsd:sequence>
501
- <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
502
- </xsd:sequence>
503
- </xsd:complexType>
504
-
505
- <xsd:complexType name="typeType">
506
- <xsd:sequence>
507
- <xsd:element ref="source"/>
508
- <xsd:element ref="value"/>
509
- </xsd:sequence>
510
- </xsd:complexType>
511
-
512
- <xsd:complexType name="typicalagerangeType">
513
- <xsd:sequence>
514
- <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
515
- </xsd:sequence>
516
- </xsd:complexType>
517
-
518
- <xsd:complexType name="typicallearningtimeType">
519
- <xsd:sequence>
520
- <xsd:element ref="datetime" minOccurs="0"/>
521
- <xsd:element ref="description" minOccurs="0"/>
522
- </xsd:sequence>
523
- </xsd:complexType>
524
-
525
- <xsd:complexType name="valueType">
526
- <xsd:sequence>
527
- <xsd:element ref="langstring"/>
528
- </xsd:sequence>
529
- </xsd:complexType>
530
-
531
- <xsd:complexType name="versionType">
532
- <xsd:sequence>
533
- <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
534
- </xsd:sequence>
535
- </xsd:complexType>
536
-
537
- <!-- ****************** -->
538
- <!-- ** Simple Types ** -->
539
- <!-- ****************** -->
540
-
541
- <xsd:simpleType name="formatType">
542
- <xsd:restriction base="xsd:string"/>
543
- </xsd:simpleType>
544
-
545
- <xsd:simpleType name="sizeType">
546
- <xsd:restriction base="xsd:int"/>
547
- </xsd:simpleType>
548
-
549
- <xsd:simpleType name="datetimeType">
550
- <xsd:restriction base="xsd:string"/>
551
- </xsd:simpleType>
552
-
553
- <xsd:simpleType name="idType">
554
- <xsd:restriction base="xsd:string"/>
555
- </xsd:simpleType>
556
-
557
- <xsd:simpleType name="metadataschemeType">
558
- <xsd:restriction base="xsd:string"/>
559
- </xsd:simpleType>
560
-
561
- <xsd:simpleType name="catalogType">
562
- <xsd:restriction base="xsd:string"/>
563
- </xsd:simpleType>
564
-
565
- <xsd:simpleType name="minimumversionType">
566
- <xsd:restriction base="xsd:string"/>
567
- </xsd:simpleType>
568
-
569
- <xsd:simpleType name="maximumversionType">
570
- <xsd:restriction base="xsd:string"/>
571
- </xsd:simpleType>
572
-
573
- </xsd:schema>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited by Thomas Wason -->
3
+ <xsd:schema targetNamespace="http://www.imsglobal.org/xsd/imsmd_rootv1p2p1"
4
+ xmlns:xml="http://www.w3.org/XML/1998/namespace"
5
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7
+ xmlns="http://www.imsglobal.org/xsd/imsmd_rootv1p2p1"
8
+ elementFormDefault="qualified"
9
+ version="1.2:1.1 IMS:MD1.2">
10
+
11
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="ims_xml.xsd"/>
12
+
13
+ <!-- ******************** -->
14
+ <!-- ** Change History ** -->
15
+ <!-- ******************** -->
16
+ <xsd:annotation>
17
+ <xsd:documentation>2001-04-26 T.D.Wason. IMS meta-data 1.2 XML-Schema. </xsd:documentation>
18
+ <xsd:documentation>2001-06-07 S.E.Thropp. Changed the multiplicity on all elements to match the </xsd:documentation>
19
+ <xsd:documentation>Final 1.2 Binding Specification. </xsd:documentation>
20
+ <xsd:documentation>Changed all elements that use the langstringType to a multiplicy of 1 or more </xsd:documentation>
21
+ <xsd:documentation>Changed centity in the contribute element to have a multiplicity of 0 or more. </xsd:documentation>
22
+ <xsd:documentation>Changed the requirement element to have a multiplicity of 0 or more. </xsd:documentation>
23
+ <xsd:documentation> 2001-07-25 Schawn Thropp. Updates to bring the XSD up to speed with the W3C </xsd:documentation>
24
+ <xsd:documentation> XML Schema Recommendation. The following changes were made: Change the </xsd:documentation>
25
+ <xsd:documentation> namespace to reference the 5/2/2001 W3C XML Schema Recommendation,the base </xsd:documentation>
26
+ <xsd:documentation> type for the durtimeType, simpleType, was changed from timeDuration to duration. </xsd:documentation>
27
+ <xsd:documentation> Any attribute declarations that have use="default" had to change to use="optional" </xsd:documentation>
28
+ <xsd:documentation> - attr.type. Any attribute declarations that have value ="somevalue" had to change </xsd:documentation>
29
+ <xsd:documentation> to default = "somevalue" - attr.type (URI) </xsd:documentation>
30
+ <xsd:documentation> 2001-09-04 Schawn Thropp </xsd:documentation>
31
+ <xsd:documentation> Changed the targetNamespace and namespace of schema to reflect version change </xsd:documentation>
32
+ </xsd:annotation>
33
+
34
+ <!-- *************************** -->
35
+ <!-- ** Attribute Declaration ** -->
36
+ <!-- *************************** -->
37
+
38
+ <xsd:attributeGroup name="attr.type">
39
+ <xsd:attribute name="type" use="optional" default="URI">
40
+ <xsd:simpleType>
41
+ <xsd:restriction base="xsd:string">
42
+ <xsd:enumeration value="URI"/>
43
+ <xsd:enumeration value="TEXT"/>
44
+ </xsd:restriction>
45
+ </xsd:simpleType>
46
+ </xsd:attribute>
47
+ </xsd:attributeGroup>
48
+
49
+ <xsd:group name="grp.any">
50
+ <xsd:annotation>
51
+ <xsd:documentation>Any namespaced element from any namespace may be used for an &quot;any&quot; element. The namespace for the imported element must be defined in the instance, and the schema must be imported. </xsd:documentation>
52
+ </xsd:annotation>
53
+ <xsd:sequence>
54
+ <xsd:any namespace="##any" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
55
+ </xsd:sequence>
56
+ </xsd:group>
57
+
58
+ <!-- ************************* -->
59
+ <!-- ** Element Declaration ** -->
60
+ <!-- ************************* -->
61
+
62
+ <xsd:element name="aggregationlevel" type="aggregationlevelType"/>
63
+ <xsd:element name="annotation" type="annotationType"/>
64
+ <xsd:element name="catalogentry" type="catalogentryType"/>
65
+ <xsd:element name="catalog" type="catalogType"/>
66
+ <xsd:element name="centity" type="centityType"/>
67
+ <xsd:element name="classification" type="classificationType"/>
68
+ <xsd:element name="context" type="contextType"/>
69
+ <xsd:element name="contribute" type="contributeType"/>
70
+ <xsd:element name="copyrightandotherrestrictions" type="copyrightandotherrestrictionsType"/>
71
+ <xsd:element name="cost" type="costType"/>
72
+ <xsd:element name="coverage" type="coverageType"/>
73
+ <xsd:element name="date" type="dateType"/>
74
+ <xsd:element name="datetime" type="datetimeType"/>
75
+ <xsd:element name="description" type="descriptionType"/>
76
+ <xsd:element name="difficulty" type="difficultyType"/>
77
+ <xsd:element name="educational" type="educationalType"/>
78
+ <xsd:element name="entry" type="entryType"/>
79
+ <xsd:element name="format" type="formatType"/>
80
+ <xsd:element name="general" type="generalType"/>
81
+ <xsd:element name="identifier" type="xsd:string"/>
82
+ <xsd:element name="intendedenduserrole" type="intendedenduserroleType"/>
83
+ <xsd:element name="interactivitylevel" type="interactivitylevelType"/>
84
+ <xsd:element name="interactivitytype" type="interactivitytypeType"/>
85
+ <xsd:element name="keyword" type="keywordType"/>
86
+ <xsd:element name="kind" type="kindType"/>
87
+ <xsd:element name="langstring" type="langstringType"/>
88
+ <xsd:element name="language" type="xsd:string"/>
89
+ <xsd:element name="learningresourcetype" type="learningresourcetypeType"/>
90
+ <xsd:element name="lifecycle" type="lifecycleType"/>
91
+ <xsd:element name="location" type="locationType"/>
92
+ <xsd:element name="lom" type="lomType"/>
93
+ <xsd:element name="maximumversion" type="minimumversionType"/>
94
+ <xsd:element name="metadatascheme" type="metadataschemeType"/>
95
+ <xsd:element name="metametadata" type="metametadataType"/>
96
+ <xsd:element name="minimumversion" type="maximumversionType"/>
97
+ <xsd:element name="name" type="nameType"/>
98
+ <xsd:element name="purpose" type="purposeType"/>
99
+ <xsd:element name="relation" type="relationType"/>
100
+ <xsd:element name="requirement" type="requirementType"/>
101
+ <xsd:element name="resource" type="resourceType"/>
102
+ <xsd:element name="rights" type="rightsType"/>
103
+ <xsd:element name="role" type="roleType"/>
104
+ <xsd:element name="semanticdensity" type="semanticdensityType"/>
105
+ <xsd:element name="size" type="sizeType"/>
106
+ <xsd:element name="source" type="sourceType"/>
107
+ <xsd:element name="status" type="statusType"/>
108
+ <xsd:element name="structure" type="structureType"/>
109
+ <xsd:element name="taxon" type="taxonType"/>
110
+ <xsd:element name="taxonpath" type="taxonpathType"/>
111
+ <xsd:element name="technical" type="technicalType"/>
112
+ <xsd:element name="title" type="titleType"/>
113
+ <xsd:element name="type" type="typeType"/>
114
+ <xsd:element name="typicalagerange" type="typicalagerangeType"/>
115
+ <xsd:element name="typicallearningtime" type="typicallearningtimeType"/>
116
+ <xsd:element name="value" type="valueType"/>
117
+ <xsd:element name="person" type="personType"/>
118
+ <xsd:element name="vcard" type="xsd:string"/>
119
+ <xsd:element name="version" type="versionType"/>
120
+ <xsd:element name="installationremarks" type="installationremarksType"/>
121
+ <xsd:element name="otherplatformrequirements" type="otherplatformrequirementsType"/>
122
+ <xsd:element name="duration" type="durationType"/>
123
+ <xsd:element name="id" type="idType"/>
124
+
125
+ <!-- ******************* -->
126
+ <!-- ** Complex Types ** -->
127
+ <!-- ******************* -->
128
+
129
+ <xsd:complexType name="aggregationlevelType">
130
+ <xsd:sequence>
131
+ <xsd:element ref="source"/>
132
+ <xsd:element ref="value"/>
133
+ </xsd:sequence>
134
+ </xsd:complexType>
135
+
136
+ <xsd:complexType name="annotationType" mixed="true">
137
+ <xsd:sequence>
138
+ <xsd:element ref="person" minOccurs="0"/>
139
+ <xsd:element ref="date" minOccurs="0"/>
140
+ <xsd:element ref="description" minOccurs="0"/>
141
+ <xsd:group ref="grp.any"/>
142
+ </xsd:sequence>
143
+ </xsd:complexType>
144
+
145
+ <xsd:complexType name="catalogentryType" mixed="true">
146
+ <xsd:sequence>
147
+ <xsd:element ref="catalog"/>
148
+ <xsd:element ref="entry"/>
149
+ <xsd:group ref="grp.any"/>
150
+ </xsd:sequence>
151
+ </xsd:complexType>
152
+
153
+ <xsd:complexType name="centityType">
154
+ <xsd:sequence>
155
+ <xsd:element ref="vcard"/>
156
+ </xsd:sequence>
157
+ </xsd:complexType>
158
+
159
+ <xsd:complexType name="classificationType" mixed="true">
160
+ <xsd:sequence>
161
+ <xsd:element ref="purpose" minOccurs="0"/>
162
+ <xsd:element ref="taxonpath" minOccurs="0" maxOccurs="unbounded"/>
163
+ <xsd:element ref="description" minOccurs="0"/>
164
+ <xsd:element ref="keyword" minOccurs="0" maxOccurs="unbounded"/>
165
+ <xsd:group ref="grp.any"/>
166
+ </xsd:sequence>
167
+ </xsd:complexType>
168
+
169
+ <xsd:complexType name="contextType">
170
+ <xsd:sequence>
171
+ <xsd:element ref="source"/>
172
+ <xsd:element ref="value"/>
173
+ </xsd:sequence>
174
+ </xsd:complexType>
175
+
176
+ <xsd:complexType name="contributeType" mixed="true">
177
+ <xsd:sequence>
178
+ <xsd:element ref="role"/>
179
+ <xsd:element ref="centity" minOccurs="0" maxOccurs="unbounded"/>
180
+ <xsd:element ref="date" minOccurs="0"/>
181
+ <xsd:group ref="grp.any"/>
182
+ </xsd:sequence>
183
+ </xsd:complexType>
184
+
185
+ <xsd:complexType name="copyrightandotherrestrictionsType">
186
+ <xsd:sequence>
187
+ <xsd:element ref="source"/>
188
+ <xsd:element ref="value"/>
189
+ </xsd:sequence>
190
+ </xsd:complexType>
191
+
192
+ <xsd:complexType name="costType">
193
+ <xsd:sequence>
194
+ <xsd:element ref="source"/>
195
+ <xsd:element ref="value"/>
196
+ </xsd:sequence>
197
+ </xsd:complexType>
198
+
199
+ <xsd:complexType name="coverageType">
200
+ <xsd:sequence>
201
+ <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
202
+ </xsd:sequence>
203
+ </xsd:complexType>
204
+
205
+ <xsd:complexType name="dateType">
206
+ <xsd:sequence>
207
+ <xsd:element ref="datetime" minOccurs="0"/>
208
+ <xsd:element ref="description" minOccurs="0"/>
209
+ </xsd:sequence>
210
+ </xsd:complexType>
211
+
212
+ <xsd:complexType name="descriptionType">
213
+ <xsd:sequence>
214
+ <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
215
+ </xsd:sequence>
216
+ </xsd:complexType>
217
+
218
+ <xsd:complexType name="difficultyType">
219
+ <xsd:sequence>
220
+ <xsd:element ref="source"/>
221
+ <xsd:element ref="value"/>
222
+ </xsd:sequence>
223
+ </xsd:complexType>
224
+
225
+ <xsd:complexType name="durationType">
226
+ <xsd:sequence>
227
+ <xsd:element ref="datetime" minOccurs="0"/>
228
+ <xsd:element ref="description" minOccurs="0"/>
229
+ </xsd:sequence>
230
+ </xsd:complexType>
231
+
232
+ <xsd:complexType name="educationalType" mixed="true">
233
+ <xsd:sequence>
234
+ <xsd:element ref="interactivitytype" minOccurs="0"/>
235
+ <xsd:element ref="learningresourcetype" minOccurs="0" maxOccurs="unbounded"/>
236
+ <xsd:element ref="interactivitylevel" minOccurs="0"/>
237
+ <xsd:element ref="semanticdensity" minOccurs="0"/>
238
+ <xsd:element ref="intendedenduserrole" minOccurs="0" maxOccurs="unbounded"/>
239
+ <xsd:element ref="context" minOccurs="0" maxOccurs="unbounded"/>
240
+ <xsd:element ref="typicalagerange" minOccurs="0" maxOccurs="unbounded"/>
241
+ <xsd:element ref="difficulty" minOccurs="0"/>
242
+ <xsd:element ref="typicallearningtime" minOccurs="0"/>
243
+ <xsd:element ref="description" minOccurs="0"/>
244
+ <xsd:element ref="language" minOccurs="0" maxOccurs="unbounded"/>
245
+ <xsd:group ref="grp.any"/>
246
+ </xsd:sequence>
247
+ </xsd:complexType>
248
+
249
+ <xsd:complexType name="entryType">
250
+ <xsd:sequence>
251
+ <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
252
+ </xsd:sequence>
253
+ </xsd:complexType>
254
+
255
+ <xsd:complexType name="generalType" mixed="true">
256
+ <xsd:sequence>
257
+ <xsd:element ref="identifier" minOccurs="0"/>
258
+ <xsd:element ref="title" minOccurs="0"/>
259
+ <xsd:element ref="catalogentry" minOccurs="0" maxOccurs="unbounded"/>
260
+ <xsd:element ref="language" minOccurs="0" maxOccurs="unbounded"/>
261
+ <xsd:element ref="description" minOccurs="0" maxOccurs="unbounded"/>
262
+ <xsd:element ref="keyword" minOccurs="0" maxOccurs="unbounded"/>
263
+ <xsd:element ref="coverage" minOccurs="0" maxOccurs="unbounded"/>
264
+ <xsd:element ref="structure" minOccurs="0"/>
265
+ <xsd:element ref="aggregationlevel" minOccurs="0"/>
266
+ <xsd:group ref="grp.any"/>
267
+ </xsd:sequence>
268
+ </xsd:complexType>
269
+
270
+ <xsd:complexType name="installationremarksType">
271
+ <xsd:sequence>
272
+ <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
273
+ </xsd:sequence>
274
+ </xsd:complexType>
275
+
276
+ <xsd:complexType name="intendedenduserroleType">
277
+ <xsd:sequence>
278
+ <xsd:element ref="source"/>
279
+ <xsd:element ref="value"/>
280
+ </xsd:sequence>
281
+ </xsd:complexType>
282
+
283
+ <xsd:complexType name="interactivitylevelType">
284
+ <xsd:sequence>
285
+ <xsd:element ref="source"/>
286
+ <xsd:element ref="value"/>
287
+ </xsd:sequence>
288
+ </xsd:complexType>
289
+
290
+ <xsd:complexType name="interactivitytypeType">
291
+ <xsd:sequence>
292
+ <xsd:element ref="source"/>
293
+ <xsd:element ref="value"/>
294
+ </xsd:sequence>
295
+ </xsd:complexType>
296
+
297
+ <xsd:complexType name="keywordType">
298
+ <xsd:sequence>
299
+ <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
300
+ </xsd:sequence>
301
+ </xsd:complexType>
302
+
303
+ <xsd:complexType name="kindType">
304
+ <xsd:sequence>
305
+ <xsd:element ref="source"/>
306
+ <xsd:element ref="value"/>
307
+ </xsd:sequence>
308
+ </xsd:complexType>
309
+
310
+ <xsd:complexType name="langstringType">
311
+ <xsd:simpleContent>
312
+ <xsd:extension base="xsd:string">
313
+ <xsd:attribute ref="xml:lang"/>
314
+ </xsd:extension>
315
+ </xsd:simpleContent>
316
+ </xsd:complexType>
317
+
318
+ <xsd:complexType name="learningresourcetypeType">
319
+ <xsd:sequence>
320
+ <xsd:element ref="source"/>
321
+ <xsd:element ref="value"/>
322
+ </xsd:sequence>
323
+ </xsd:complexType>
324
+
325
+ <xsd:complexType name="lifecycleType" mixed="true">
326
+ <xsd:sequence>
327
+ <xsd:element ref="version" minOccurs="0"/>
328
+ <xsd:element ref="status" minOccurs="0"/>
329
+ <xsd:element ref="contribute" minOccurs="0" maxOccurs="unbounded"/>
330
+ <xsd:group ref="grp.any"/>
331
+ </xsd:sequence>
332
+ </xsd:complexType>
333
+
334
+ <xsd:complexType name="locationType">
335
+ <xsd:simpleContent>
336
+ <xsd:extension base="xsd:string">
337
+ <xsd:attributeGroup ref="attr.type"/>
338
+ </xsd:extension>
339
+ </xsd:simpleContent>
340
+ </xsd:complexType>
341
+
342
+ <xsd:complexType name="lomType">
343
+ <xsd:sequence>
344
+ <xsd:element ref="general" minOccurs="0"/>
345
+ <xsd:element ref="lifecycle" minOccurs="0"/>
346
+ <xsd:element ref="metametadata" minOccurs="0"/>
347
+ <xsd:element ref="technical" minOccurs="0"/>
348
+ <xsd:element ref="educational" minOccurs="0"/>
349
+ <xsd:element ref="rights" minOccurs="0"/>
350
+ <xsd:element ref="relation" minOccurs="0" maxOccurs="unbounded"/>
351
+ <xsd:element ref="annotation" minOccurs="0" maxOccurs="unbounded"/>
352
+ <xsd:element ref="classification" minOccurs="0" maxOccurs="unbounded"/>
353
+ </xsd:sequence>
354
+ </xsd:complexType>
355
+
356
+ <xsd:complexType name="metametadataType" mixed="true">
357
+ <xsd:sequence>
358
+ <xsd:element ref="identifier" minOccurs="0"/>
359
+ <xsd:element ref="catalogentry" minOccurs="0" maxOccurs="unbounded"/>
360
+ <xsd:element ref="contribute" minOccurs="0" maxOccurs="unbounded"/>
361
+ <xsd:element ref="metadatascheme" minOccurs="0" maxOccurs="unbounded"/>
362
+ <xsd:element ref="language" minOccurs="0"/>
363
+ <xsd:group ref="grp.any"/>
364
+ </xsd:sequence>
365
+ </xsd:complexType>
366
+
367
+ <xsd:complexType name="nameType">
368
+ <xsd:sequence>
369
+ <xsd:element ref="source"/>
370
+ <xsd:element ref="value"/>
371
+ </xsd:sequence>
372
+ </xsd:complexType>
373
+
374
+ <xsd:complexType name="otherplatformrequirementsType">
375
+ <xsd:sequence>
376
+ <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
377
+ </xsd:sequence>
378
+ </xsd:complexType>
379
+
380
+ <xsd:complexType name="personType">
381
+ <xsd:sequence>
382
+ <xsd:element ref="vcard"/>
383
+ </xsd:sequence>
384
+ </xsd:complexType>
385
+
386
+ <xsd:complexType name="purposeType">
387
+ <xsd:sequence>
388
+ <xsd:element ref="source"/>
389
+ <xsd:element ref="value"/>
390
+ </xsd:sequence>
391
+ </xsd:complexType>
392
+
393
+ <xsd:complexType name="relationType" mixed="true">
394
+ <xsd:sequence>
395
+ <xsd:element ref="kind" minOccurs="0"/>
396
+ <xsd:element ref="resource" minOccurs="0"/>
397
+ <xsd:group ref="grp.any"/>
398
+ </xsd:sequence>
399
+ </xsd:complexType>
400
+
401
+ <xsd:complexType name="requirementType" mixed="true">
402
+ <xsd:sequence>
403
+ <xsd:element ref="type" minOccurs="0"/>
404
+ <xsd:element ref="name" minOccurs="0"/>
405
+ <xsd:element ref="minimumversion" minOccurs="0"/>
406
+ <xsd:element ref="maximumversion" minOccurs="0"/>
407
+ <xsd:group ref="grp.any"/>
408
+ </xsd:sequence>
409
+ </xsd:complexType>
410
+
411
+ <xsd:complexType name="resourceType" mixed="true">
412
+ <xsd:sequence>
413
+ <xsd:element ref="identifier" minOccurs="0"/>
414
+ <xsd:element ref="description" minOccurs="0"/>
415
+ <xsd:element ref="catalogentry" minOccurs="0" maxOccurs="unbounded"/>
416
+ <xsd:group ref="grp.any"/>
417
+ </xsd:sequence>
418
+ </xsd:complexType>
419
+
420
+ <xsd:complexType name="rightsType" mixed="true">
421
+ <xsd:sequence>
422
+ <xsd:element ref="cost" minOccurs="0"/>
423
+ <xsd:element ref="copyrightandotherrestrictions" minOccurs="0"/>
424
+ <xsd:element ref="description" minOccurs="0"/>
425
+ <xsd:group ref="grp.any"/>
426
+ </xsd:sequence>
427
+ </xsd:complexType>
428
+
429
+ <xsd:complexType name="roleType">
430
+ <xsd:sequence>
431
+ <xsd:element ref="source"/>
432
+ <xsd:element ref="value"/>
433
+ </xsd:sequence>
434
+ </xsd:complexType>
435
+
436
+ <xsd:complexType name="semanticdensityType">
437
+ <xsd:sequence>
438
+ <xsd:element ref="source"/>
439
+ <xsd:element ref="value"/>
440
+ </xsd:sequence>
441
+ </xsd:complexType>
442
+
443
+ <xsd:complexType name="sourceType">
444
+ <xsd:sequence>
445
+ <xsd:element ref="langstring"/>
446
+ </xsd:sequence>
447
+ </xsd:complexType>
448
+
449
+ <xsd:complexType name="statusType">
450
+ <xsd:sequence>
451
+ <xsd:element ref="source"/>
452
+ <xsd:element ref="value"/>
453
+ </xsd:sequence>
454
+ </xsd:complexType>
455
+
456
+ <xsd:complexType name="stringType">
457
+ <xsd:simpleContent>
458
+ <xsd:extension base="xsd:string">
459
+ <xsd:attribute ref="xml:lang"/>
460
+ </xsd:extension>
461
+ </xsd:simpleContent>
462
+ </xsd:complexType>
463
+
464
+ <xsd:complexType name="structureType">
465
+ <xsd:sequence>
466
+ <xsd:element ref="source"/>
467
+ <xsd:element ref="value"/>
468
+ </xsd:sequence>
469
+ </xsd:complexType>
470
+
471
+ <xsd:complexType name="taxonpathType">
472
+ <xsd:sequence>
473
+ <xsd:element ref="source" minOccurs="0"/>
474
+ <xsd:element ref="taxon" minOccurs="0" maxOccurs="1"/>
475
+ </xsd:sequence>
476
+ </xsd:complexType>
477
+
478
+ <xsd:complexType name="taxonType">
479
+ <xsd:sequence>
480
+ <xsd:element ref="id" minOccurs="0"/>
481
+ <xsd:element ref="entry" minOccurs="0"/>
482
+ <xsd:element ref="taxon" minOccurs="0" maxOccurs="1"/>
483
+ </xsd:sequence>
484
+ </xsd:complexType>
485
+
486
+ <xsd:complexType name="technicalType" mixed="true">
487
+ <xsd:sequence>
488
+ <xsd:element ref="format" minOccurs="0" maxOccurs="unbounded"/>
489
+ <xsd:element ref="size" minOccurs="0"/>
490
+ <xsd:element ref="location" minOccurs="0" maxOccurs="unbounded"/>
491
+ <xsd:element ref="requirement" minOccurs="0" maxOccurs="unbounded"/>
492
+ <xsd:element ref="installationremarks" minOccurs="0"/>
493
+ <xsd:element ref="otherplatformrequirements" minOccurs="0"/>
494
+ <xsd:element ref="duration" minOccurs="0"/>
495
+ <xsd:group ref="grp.any"/>
496
+ </xsd:sequence>
497
+ </xsd:complexType>
498
+
499
+ <xsd:complexType name="titleType">
500
+ <xsd:sequence>
501
+ <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
502
+ </xsd:sequence>
503
+ </xsd:complexType>
504
+
505
+ <xsd:complexType name="typeType">
506
+ <xsd:sequence>
507
+ <xsd:element ref="source"/>
508
+ <xsd:element ref="value"/>
509
+ </xsd:sequence>
510
+ </xsd:complexType>
511
+
512
+ <xsd:complexType name="typicalagerangeType">
513
+ <xsd:sequence>
514
+ <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
515
+ </xsd:sequence>
516
+ </xsd:complexType>
517
+
518
+ <xsd:complexType name="typicallearningtimeType">
519
+ <xsd:sequence>
520
+ <xsd:element ref="datetime" minOccurs="0"/>
521
+ <xsd:element ref="description" minOccurs="0"/>
522
+ </xsd:sequence>
523
+ </xsd:complexType>
524
+
525
+ <xsd:complexType name="valueType">
526
+ <xsd:sequence>
527
+ <xsd:element ref="langstring"/>
528
+ </xsd:sequence>
529
+ </xsd:complexType>
530
+
531
+ <xsd:complexType name="versionType">
532
+ <xsd:sequence>
533
+ <xsd:element ref="langstring" minOccurs="1" maxOccurs="unbounded"/>
534
+ </xsd:sequence>
535
+ </xsd:complexType>
536
+
537
+ <!-- ****************** -->
538
+ <!-- ** Simple Types ** -->
539
+ <!-- ****************** -->
540
+
541
+ <xsd:simpleType name="formatType">
542
+ <xsd:restriction base="xsd:string"/>
543
+ </xsd:simpleType>
544
+
545
+ <xsd:simpleType name="sizeType">
546
+ <xsd:restriction base="xsd:int"/>
547
+ </xsd:simpleType>
548
+
549
+ <xsd:simpleType name="datetimeType">
550
+ <xsd:restriction base="xsd:string"/>
551
+ </xsd:simpleType>
552
+
553
+ <xsd:simpleType name="idType">
554
+ <xsd:restriction base="xsd:string"/>
555
+ </xsd:simpleType>
556
+
557
+ <xsd:simpleType name="metadataschemeType">
558
+ <xsd:restriction base="xsd:string"/>
559
+ </xsd:simpleType>
560
+
561
+ <xsd:simpleType name="catalogType">
562
+ <xsd:restriction base="xsd:string"/>
563
+ </xsd:simpleType>
564
+
565
+ <xsd:simpleType name="minimumversionType">
566
+ <xsd:restriction base="xsd:string"/>
567
+ </xsd:simpleType>
568
+
569
+ <xsd:simpleType name="maximumversionType">
570
+ <xsd:restriction base="xsd:string"/>
571
+ </xsd:simpleType>
572
+
573
+ </xsd:schema>