lorAP.xsd 29.4 KB
Newer Older
georgekyrg's avatar
georgekyrg committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
George Chloros's avatar
George Chloros committed
3
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
georgekyrg's avatar
georgekyrg committed
4
	elementFormDefault="qualified" 
5
	version="LOM PHOTODENTRO-DS v2.3.1/March 2014">
georgekyrg's avatar
georgekyrg committed
6
7
8
9
	<!-- ===================================================================================== -->	
	<xs:annotation>
		<xs:documentation>
			IEEE LOM Photodentro Digital School (DS) Application Profile
10
11
			version 2.3.1
			March 2014
georgekyrg's avatar
georgekyrg committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
			Computer Technology Institute and Press "Diophantus"
		</xs:documentation>
	</xs:annotation>
	<!-- ===================================================================================== -->
	<xs:complexType name="lomPhotodentroDS">
		<xs:sequence>
			<xs:group ref="general"/>
			<xs:group ref="lifeCycle"/>
			<xs:group ref="metaMetadata"/>
			<xs:group ref="technical"/>
			<xs:group ref="educational" minOccurs="0" maxOccurs="unbounded"/>
			<xs:group ref="rights"/>
			<xs:group ref="relation" minOccurs="0" maxOccurs="unbounded"/>
			<xs:group ref="annotation" minOccurs="0" maxOccurs="unbounded"/>
			<xs:group ref="classification" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="lom" type="lomPhotodentroDS"/>
	<xs:element name="source">
		<xs:simpleType>
			<xs:restriction base="xs:string">
George Chloros's avatar
George Chloros committed
33
				<xs:enumeration value="PhotodentroAPv2.3"/>
georgekyrg's avatar
georgekyrg committed
34
35
36
37
				<xs:enumeration value="LOMv1.0"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
George Chloros's avatar
George Chloros committed
38

georgekyrg's avatar
georgekyrg committed
39
40
41
42
43
44
<!-- ===================================================================================== -->	
<!-- 1. General -->
	
	<!-- 1.7 Structure -->
	<xs:simpleType name="structureValues">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
45
			<!-- Photodentro DS AP extended values -->
georgekyrg's avatar
georgekyrg committed
46
47
48
49
50
51
52
53
54
55
			<xs:enumeration value="ατομική"/>
			<xs:enumeration value="συλλογή"/>
			<xs:enumeration value="δικτυωμένη"/>
			<xs:enumeration value="ιεραρχική"/>
			<xs:enumeration value="γραμμική"/>
		</xs:restriction>
	</xs:simpleType>
	<!-- 1.8 Aggregation level -->
	<xs:simpleType name="aggregationLevelValues">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
56
57
58
			<!-- Photodentro DS AP extended values -->
			<xs:enumeration value="ατομικό μαθησιακό αντικείμενο"/>
			<xs:enumeration value="σύνθετο μαθησιακό αντικείμενο"/>
georgekyrg's avatar
georgekyrg committed
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="structure">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="structureValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="aggregationLevel">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="aggregationLevelValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>	
	<xs:complexType name="general">
		<xs:sequence>
			<xs:element name="identifier" maxOccurs="10">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="catalog" type="CharacterString"/>
						<xs:element name="entry" type="CharacterString"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="title" type="LangString" minOccurs="1" maxOccurs="unbounded"/>
			<xs:element name="language" type="Language" minOccurs="1" maxOccurs="10"/>
			<xs:element name="description" type="LangString" minOccurs="1"  maxOccurs="unbounded"/>
			<xs:element name="keyword" type="LangString" minOccurs="0" maxOccurs="30"/>
			<xs:element name="coverage" type="LangString" minOccurs="0" maxOccurs="10"/>
			<xs:element name="structure" type="structure" minOccurs="0"/>
			<xs:element name="aggregationLevel" type="aggregationLevel" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:group name="general">
		<xs:sequence>
			<xs:element name="general" type="general"/>
		</xs:sequence>
	</xs:group>
	
<!-- ===================================================================================== -->
<!-- 2. Lifecycle -->	
	
	<!-- 2.2 Status -->
	<xs:simpleType name="statusValues">
		<xs:restriction base="xs:token">
			<!-- IEEE LOM default values -->
			<xs:enumeration value="προσχέδιο"/>
			<xs:enumeration value="τελικό"/>
			<xs:enumeration value="αναθεωρημένο"/>
			<xs:enumeration value="μη διαθέσιμο"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="status">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="statusValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	
	<!-- 2.3.1 Role -->
	<xs:simpleType name="roleValues">
		<xs:restriction base="xs:token">
			<!-- Photodentro DS AP extended values -->
			<xs:enumeration value="δημιουργός"/>
George Chloros's avatar
George Chloros committed
132
133
134
135
136
137
138
139
140
141
			<xs:enumeration value="εμπνευστής"/>
			<xs:enumeration value="επικυρωτής"/>
			<xs:enumeration value="επιμελητής"/>
			<xs:enumeration value="τεχνικός υλοποίησης"/>
			<xs:enumeration value="πάροχος περιεχομένου"/>
			<xs:enumeration value="τεχνικός επικυρωτής"/>
			<xs:enumeration value="παιδαγωγικός επικυρωτής"/>
			<xs:enumeration value="συγγραφέας σεναρίου"/>
			<xs:enumeration value="υπεύθυνος παιδαγωγικού σχεδιασμού"/>
			<xs:enumeration value="ειδήμων γνωστικού αντικειμένου"/>
142
143
			<xs:enumeration value="συντονιστής ομάδας σχεδιασμού και ανάπτυξης"/>
			<xs:enumeration value="επιστημονικός υπεύθυνος"/>
George Chloros's avatar
George Chloros committed
144
145
			<xs:enumeration value="αδειοδότης"/>
			<xs:enumeration value="χορηγός"/>
georgekyrg's avatar
georgekyrg committed
146
			<xs:enumeration value="πιστοποιητής"/>
George Chloros's avatar
George Chloros committed
147
			<xs:enumeration value="άγνωστος"/>
georgekyrg's avatar
georgekyrg committed
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="role">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="roleValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="lifeCycle">
		<xs:sequence>
			<xs:element name="version" type="LangString" minOccurs="0"/>
			<xs:element name="status" type="status" minOccurs="0"/>
			<xs:element name="contribute" minOccurs="0" maxOccurs="30">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="role" type="role"/>
						<xs:element name="entity" type="vCard"/>
						<xs:element name="date" type="Date"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:group name="lifeCycle">
		<xs:sequence>
			<xs:element name="lifeCycle" type="lifeCycle"/>
		</xs:sequence>
	</xs:group>
	
<!-- ===================================================================================== -->	
<!-- 3. metaMetadata -->
	
	<!-- 3.2.1 Role -->
	<xs:simpleType name="metaroleValues">
		<xs:restriction base="xs:token">
			<!-- Photodentro DS AP extended values -->
George Chloros's avatar
George Chloros committed
187
			<xs:enumeration value="μετασχολιαστής"/>
georgekyrg's avatar
georgekyrg committed
188
189
			<xs:enumeration value="εμπλουτιστής"/>
			<xs:enumeration value="πάροχος"/>
George Chloros's avatar
George Chloros committed
190
			<xs:enumeration value="επικυρωτής"/>
georgekyrg's avatar
georgekyrg committed
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="metarole">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="metaroleValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="metaMetadata">
		<xs:sequence>
			<xs:element name="identifier">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="catalog" type="CharacterString"/>
						<xs:element name="entry" type="URI"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="contribute" minOccurs="1" maxOccurs="10">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="role" type="metarole"/>
						<xs:element name="entity" type="vCard" minOccurs="1" maxOccurs="10"/>
						<xs:element name="date" type="Date"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="metadataSchema" type="CharacterString" maxOccurs="10"/>
			<xs:element name="language" type="Language"/>
		</xs:sequence>
	</xs:complexType>
	<xs:group name="metaMetadata">
		<xs:sequence>
			<xs:element name="metaMetadata" type="metaMetadata"/>
		</xs:sequence>
	</xs:group>
	
<!-- ===================================================================================== -->	
<!-- 4. Technical -->
	
	<!-- 4.4.1.1 Type -->
	<xs:simpleType name="typeValues">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
237
			<!-- Photodentro DS AP extended values -->
georgekyrg's avatar
georgekyrg committed
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
			<xs:enumeration value="λειτουργικό σύστημα"/>
			<xs:enumeration value="φυλλομετρητής"/>
			<xs:enumeration value="πρόσθετα"/>
			<xs:enumeration value="λογισμικό"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="type">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="typeValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<!-- 4.4.1.2 Name -->
	<xs:simpleType name="nameValues">
		<xs:restriction base="xs:token">
			<!-- IEEE LOM default values -->
			<xs:enumeration value="any"/>
			<xs:enumeration value="netscape communicator"/>
			<xs:enumeration value="ms-internet explorer"/>
			<xs:enumeration value="opera"/>
			<xs:enumeration value="amaya"/>
			<xs:enumeration value="pc-dos"/>
			<xs:enumeration value="ms-windows"/>
			<xs:enumeration value="macos"/>
			<xs:enumeration value="unix"/>
			<xs:enumeration value="multi-os"/>
			<xs:enumeration value="none"/>
			<!-- Photodentro DS AP extended values -->
			<xs:enumeration value="linux"/>				<!-- os -->
			<xs:enumeration value="mozilla firefox"/>		<!-- browsers -->
			<xs:enumeration value="safari"/>
			<xs:enumeration value="google chrome"/>
			<xs:enumeration value="adobe flash player"/>	<!-- plugin -->
			<xs:enumeration value="quickTime"/>
			<xs:enumeration value="real player"/>
			<xs:enumeration value="media player"/>
			<xs:enumeration value="microsoft silverlight"/>
			<xs:enumeration value="geogebra"/>
			<xs:enumeration value="geogebra 3.2 libraries (by Photodentro)"/>
			<xs:enumeration value="geogebra 4.0 libraries (by Photodentro)"/>
			<xs:enumeration value="google earth plugin"/>
			<xs:enumeration value="adobe shockwave player"/>
			<xs:enumeration value="google spreadsheets"/>
			<xs:enumeration value="imagine logo"/>
			<xs:enumeration value="java"/>
			<xs:enumeration value="e-slate click and play"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="name">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="nameValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="technical">
		<xs:sequence>
			<xs:element name="format" type="MimeType" maxOccurs="40"/>
			<xs:element name="size" type="CharacterString" minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="location" type="CharacterString" maxOccurs="10"/>
			<xs:element name="requirement" minOccurs="0" maxOccurs="40">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="orComposite" minOccurs="0" maxOccurs="40">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="type" type="type" minOccurs="0" />
									<xs:element name="name" type="name" minOccurs="0"/>
									<xs:element name="minimumVersion" type="CharacterString" minOccurs="0"/>
									<xs:element name="maximumVersion" type="CharacterString" minOccurs="0"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="installationRemarks" type="LangString" minOccurs="0"/>
			<xs:element name="otherPlatformRequirements" type="LangString" minOccurs="0"/>
			<xs:element name="duration" type="Duration" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:group name="technical">
		<xs:sequence>
			<xs:element name="technical" type="technical"/>
		</xs:sequence>
	</xs:group>
	
<!-- ===================================================================================== -->	
<!-- 5. Educational -->
	
	<!-- 5.1 Interactivity Type -->
	<xs:simpleType name="interactivityTypeValues">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
336
337
338
339
			<!-- Photodentro DS AP extended values -->
			<xs:enumeration value="ενεργό/διαδραστικό"/>
			<xs:enumeration value="αφηγηματικό"/>
			<xs:enumeration value="μικτό"/>			
georgekyrg's avatar
georgekyrg committed
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="interactivityType">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="interactivityTypeValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<!-- 5.2 Learning Resource Type -->
	<xs:simpleType name="learningResourceTypeValues">
		<xs:restriction base="xs:token">
			<!-- IEEE LOM default values -->
			<xs:enumeration value="άσκηση"/>
			<xs:enumeration value="προσομοίωση"/>
			<xs:enumeration value="ερωτηματολόγιο"/>
			<xs:enumeration value="διάγραμμα"/>
			<xs:enumeration value="σχήμα"/>
			<xs:enumeration value="γράφημα"/>
			<xs:enumeration value="ευρετήριο"/>
			<xs:enumeration value="διαφάνεια"/>
			<xs:enumeration value="πίνακας"/>
			<xs:enumeration value="αφηγηματικό κείμενο"/>
			<xs:enumeration value="διαγώνισμα"/>
			<xs:enumeration value="πείραμα"/>
			<xs:enumeration value="διατύπωση προβλήματος"/>
			<xs:enumeration value="αυτοαξιολόγηση"/>
			<xs:enumeration value="διάλεξη"/>			
			<!-- Photodentro DS AP extended values -->
			<xs:enumeration value="εικόνα"/>
			<xs:enumeration value="κείμενο"/>
			<xs:enumeration value="ήχος"/>
			<xs:enumeration value="βίντεο"/>
			<xs:enumeration value="μοντέλο"/>
			<xs:enumeration value="αναπαραστάσεις δεδομένων"/>
			<xs:enumeration value="διερεύνηση"/>
			<xs:enumeration value="ανοιχτή δραστηριότητα"/>
			<xs:enumeration value="ερευνητική δραστηριότητα"/>
			<xs:enumeration value="έργο"/>
			<xs:enumeration value="εκπαιδευτικό παιχνίδι"/>
			<xs:enumeration value="ασκήσεις πρακτικής και εξάσκησης"/>
			<xs:enumeration value="αξιολόγηση"/>
			<xs:enumeration value="μελέτη περίπτωσης"/>
			<xs:enumeration value="επίδειξη"/>
			<xs:enumeration value="παρουσίαση"/>
			<xs:enumeration value="εκπαιδευτικό σενάριο - σχέδιο μαθήματος"/>
			<xs:enumeration value="μάθημα"/>
			<xs:enumeration value="παιχνίδι ρόλων"/>
			<xs:enumeration value="εφαρμογή"/>
			<xs:enumeration value="εργαλείο"/>
			<xs:enumeration value="γλωσσάρι"/>
			<xs:enumeration value="οδηγός"/>
			<xs:enumeration value="διδακτικό εγχειρίδιο"/>
			<xs:enumeration value="πηγή - αναφορά"/>
			<xs:enumeration value="αναμετάδοση"/>
			<xs:enumeration value="ιστοσελίδα"/>
			<xs:enumeration value="ιστολόγιο"/>
			<xs:enumeration value="wiki"/>
			<xs:enumeration value="μέσο κοινωνικής δικτύωσης"/>
			<xs:enumeration value="χάρτης"/>
			<xs:enumeration value="παρτιτούρα"/>
			<xs:enumeration value="εννοιολογικός χάρτης"/>
			<xs:enumeration value="άλλο"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="learningResourceType">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="learningResourceTypeValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	
	<!-- 5.4 Semantic Density -->
	<xs:simpleType name="semanticDensityValues">
		<xs:restriction base="xs:token">
			<!-- IEEE LOM default values -->
			<xs:enumeration value="πολύ χαμηλό"/>
			<xs:enumeration value="χαμηλό"/>
			<xs:enumeration value="μεσαίο"/>
			<xs:enumeration value="υψηλό"/>
			<xs:enumeration value="πολύ υψηλό"/>
			<!-- Photodentro DS AP extended values -->
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="semanticDensity">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="semanticDensityValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	
	<!-- 5.5 Intended End Ure Role -->
	<xs:simpleType name="intendedEndUserRoleValues">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
442
			<!-- Photodentro DS AP extended values -->
georgekyrg's avatar
georgekyrg committed
443
			<xs:enumeration value="μαθητής"/>
George Chloros's avatar
George Chloros committed
444
445
			<xs:enumeration value="εκπαιδευτικός"/>
			<xs:enumeration value="δημιουργός"/>
georgekyrg's avatar
georgekyrg committed
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
			<xs:enumeration value="διοικητικό στέλεχος"/>
			<xs:enumeration value="γονέας"/>
			<xs:enumeration value="σύμβουλος"/>
			<xs:enumeration value="άλλος"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="intendedEndUserRole">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="intendedEndUserRoleValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	
	<!-- 5.6 Context -->
	<xs:simpleType name="contextValues">
		<xs:restriction base="xs:token">
			<!-- Photodentro DS AP extended values -->
George Chloros's avatar
George Chloros committed
466
			<xs:enumeration value="προσχολική"/>
georgekyrg's avatar
georgekyrg committed
467
468
469
470
471
472
			<xs:enumeration value="δημοτικό"/>
			<xs:enumeration value="γυμνάσιο"/>
			<xs:enumeration value="γενικό λύκειο"/>
			<xs:enumeration value="τεχνολογικό λύκειο"/>
			<xs:enumeration value="επαγγελματική σχολή"/>
			<xs:enumeration value="ειδική αγωγή"/>
George Chloros's avatar
George Chloros committed
473
			<xs:enumeration value="άλλο"/>
georgekyrg's avatar
georgekyrg committed
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="context">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="contextValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	
	<!-- 5.8 Difficulty -->
	<xs:simpleType name="difficultyValues">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
489
			<!-- Photodentro DS AP extended values -->
georgekyrg's avatar
georgekyrg committed
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
			<xs:enumeration value="πολύ εύκολο"/>
			<xs:enumeration value="εύκολο"/>
			<xs:enumeration value="μεσαίο"/>
			<xs:enumeration value="δύσκολο"/>
			<xs:enumeration value="πολύ δύσκολο"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="difficulty">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="difficultyValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="educational">
		<xs:sequence>
			<xs:element name="interactivityType" type="interactivityType" minOccurs="0"/>
			<xs:element name="learningResourceType" type="learningResourceType" minOccurs="0" maxOccurs="10"/>
			<xs:element name="semanticDensity" type="semanticDensity" minOccurs="0"/>
			<xs:element name="intendedEndUserRole" type="intendedEndUserRole" minOccurs="0" maxOccurs="10"/>
			<xs:element name="context" type="context" minOccurs="0" maxOccurs="10"/>
			<xs:element name="typicalAgeRange" type="LangString" minOccurs="0"/>
			<xs:element name="difficulty" type="difficulty" minOccurs="0"/>
			<xs:element name="typicalLearningTime" type="Duration" minOccurs="0"/>
			<xs:element name="description" type="LangString" minOccurs="0" maxOccurs="10"/>
			<xs:element name="language" type="Language" minOccurs="0" maxOccurs="10"/>
		</xs:sequence>
	</xs:complexType>
	<xs:group name="educational">
		<xs:sequence>
			<xs:element name="educational" type="educational"/>
		</xs:sequence>
	</xs:group>
	
<!-- ===================================================================================== -->	
<!-- 6. Rights -->
	
	<!-- 6.1 Cost -->
	<xs:simpleType name="costValues">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
532
			<!-- Photodentro DS AP extended values -->
georgekyrg's avatar
georgekyrg committed
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
			<xs:enumeration value="ναι"/>
			<xs:enumeration value="όχι"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="cost">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="costValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<!-- 6.2 copyright And Other Restrictions -->
	<xs:simpleType name="copyrightAndOtherRestrictionsValues">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
549
			<!-- Photodentro DS AP extended values -->
georgekyrg's avatar
georgekyrg committed
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
			<xs:enumeration value="ναι"/>
			<xs:enumeration value="όχι"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="copyrightAndOtherRestrictions">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="copyrightAndOtherRestrictionsValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="rights">
		<xs:sequence>
			<xs:element name="cost" type="cost"/>
			<xs:element name="copyrightAndOtherRestrictions" type="copyrightAndOtherRestrictions"/>
			<xs:element name="description" type="LangString" minOccurs="1" maxOccurs="1"/>
		</xs:sequence>
	</xs:complexType>
	<xs:group name="rights">
		<xs:sequence>
			<xs:element name="rights" type="rights"/>
		</xs:sequence>
	</xs:group>
	
<!-- ===================================================================================== -->	
<!-- 7. Relation -->
	
	<!-- 7.1 Kind -->
	<xs:simpleType name="kindValues">
		<xs:restriction base="xs:token">
			<!-- IEEE LOM default values -->
			<xs:enumeration value="είναιμέροςτου"/>
			<xs:enumeration value="έχειμέρος"/>
			<xs:enumeration value="είναιέκδοσητου"/>
			<xs:enumeration value="έχειέκδοση"/>
			<xs:enumeration value="είναιμορφήτου"/>
			<xs:enumeration value="έχειμορφή"/>
			<xs:enumeration value="αναφέρεταισε"/>
			<xs:enumeration value="αναφέρεταιαπό"/>
			<xs:enumeration value="βασίζεταισε"/>
			<xs:enumeration value="είναιβάσηγια"/>
			<xs:enumeration value="απαιτεί"/>
			<xs:enumeration value="απαιτείταιαπό"/>
			<!-- Photodentro DS AP extended values -->
			<xs:enumeration value="έχειπροεπισκόπηση"/>
			<xs:enumeration value="είναιπροεπισκόπησητου"/>
			<xs:enumeration value="είναιμετάφρασητου"/>
			<xs:enumeration value="έχειμετάφραση"/>			
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="kind">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="kindValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="relation">
		<xs:sequence>
			<xs:element name="kind" type="kind" minOccurs="0"/>
			<xs:element name="resource" minOccurs="0">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="identifier" minOccurs="0" maxOccurs="10">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="catalog" type="CharacterString" minOccurs="0"/>
									<xs:element name="entry" type="CharacterString" minOccurs="0"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="description" type="LangString" minOccurs="0" maxOccurs="10"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:group name="relation">
		<xs:sequence>
			<xs:element name="relation" type="relation"/>
		</xs:sequence>
	</xs:group>
	
<!-- ===================================================================================== -->	
<!-- 8. Annotation -->
	
	<xs:complexType name="annotation">
		<xs:sequence>
			<xs:element name="entity" type="vCard" minOccurs="0"/>
			<xs:element name="date" type="Date" minOccurs="0"/>
			<xs:element name="description" type="LangString" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:group name="annotation">
		<xs:sequence>
			<xs:element name="annotation" type="annotation"/>
		</xs:sequence>
	</xs:group>
	
<!-- ===================================================================================== -->	
<!-- 9. Classification -->
	
	<!-- 9.1 Purpose -->
	<xs:simpleType name="purposeValues">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
659
			<!-- Photodentro DS AP extended values -->
georgekyrg's avatar
georgekyrg committed
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
			<xs:enumeration value="θεματική περιοχή"/>
			<xs:enumeration value="εκπαιδευτικός στόχος"/>
			<xs:enumeration value="επίπεδο γλωσσομάθειας"/>
			<xs:enumeration value="διδακτική/μαθησιακή προσέγγιση"/>
			<xs:enumeration value="ειδικές ανάγκες"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="purpose">
		<xs:complexContent>
			<xs:extension base="Vocabulary">
				<xs:sequence>
					<xs:element name="value" type="purposeValues"/>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="classification">
		<xs:sequence>
			<xs:element name="purpose" type="purpose"/>
			<xs:element name="taxonPath" maxOccurs="15">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="source" type="LangString"/>
						<xs:element name="taxon" maxOccurs="15">
							<xs:complexType>
								<xs:sequence>
									<xs:element name="id" type="CharacterString"/>
									<xs:element name="entry" type="LangString"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="description" type="LangString" minOccurs="0"/>
			<xs:element name="keyword" type="LangString" minOccurs="0" maxOccurs="40"/>
		</xs:sequence>
	</xs:complexType>
	<xs:group name="classification">
		<xs:sequence>
			<xs:element name="classification" type="classification"/>
		</xs:sequence>
	</xs:group>

<!-- ===================================================================================== -->	
<!-- Data Types Declaration -->
	
	<!-- CharacterString -->
	<xs:simpleType name="CharacterString">
		<xs:restriction base="xs:string"/>
	</xs:simpleType>
	
	<!-- LangString -->
	<xs:complexType name="LangString">
		<xs:sequence maxOccurs="unbounded">
			<xs:element name="string">
				<xs:complexType>
					<xs:simpleContent>
						<xs:extension base="CharacterString">
							<xs:attribute name="language" type="Language" use="required"/>
						</xs:extension>
					</xs:simpleContent>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	
	<!-- VCard -->
	<xs:simpleType name="vCard">
		<xs:restriction base="CharacterString"/>
	</xs:simpleType>
	
	<!-- URI -->
	<xs:simpleType name="URI">
		<xs:restriction base="xs:anyURI"/>
	</xs:simpleType>
	
	<!-- MimeType -->
	<xs:simpleType name="MimeType">
		<xs:restriction base="CharacterString"/>
	</xs:simpleType>
	
	<!-- Size -->
	<xs:simpleType name="Size">
		<xs:restriction base="xs:nonNegativeInteger"/>
	</xs:simpleType>
	
	<!-- Language -->
	<xs:simpleType name="Language">
		<xs:restriction base="CharacterString"/>
	</xs:simpleType>
	
	<!-- DateTime -->
	<!-- Regular expresion from Christian Klaue (IEEE LOM XML Schema file dataTypes.xsd)-->
	<xs:simpleType name="DateTimeString">
		<xs:restriction base="CharacterString">
			<xs:pattern value="([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]|[0-9][1-9][0-9]{2}|[1-9][0-9]{3})(\-(0[1-9]|1[0-2])(\-(0[1-9]|[1-2][0-9]|3[0-1])(T([0-1][0-9]|2[0-3])(:[0-5][0-9](:[0-5][0-9](\.[0-9]{1,}(Z|((\+|\-)([0-1][0-9]|2[0-3]):[0-5][0-9]))?)?)?)?)?)?)?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="Date">
		<xs:sequence>
			<xs:element name="dateTime" type="DateTimeString" minOccurs="0"/>
			<xs:element name="description" type="LangString" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	
	<!-- Duration -->
	<!-- Regular expresion from Christian Klaue (IEEE LOM XML Schema file dataTypes.xsd)-->
	<xs:simpleType name="DurationString">
		<xs:restriction base="CharacterString">
			<xs:pattern value="P([0-9]{1,}Y){0,1}([0-9]{1,}M){0,1}([0-9]{1,}D){0,1}(T([0-9]{1,}H){0,1}([0-9]{1,}M){0,1}([0-9]{1,}(\.[0-9]{1,}){0,1}S){0,1}){0,1}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="Duration">
		<xs:sequence>
			<xs:element name="duration" type="DurationString" minOccurs="0"/>
			<xs:element name="description" type="LangString" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	
	<!-- Vocabulary -->
	<xs:simpleType name="PhotodentroVocab">
		<xs:restriction base="xs:token">
George Chloros's avatar
George Chloros committed
783
			<xs:enumeration value="PhotodentroAPv2.3"/>
georgekyrg's avatar
georgekyrg committed
784
785
786
787
788
789
790
791
			<xs:enumeration value="LOMv1.0"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="Vocabulary" abstract="true">
		<xs:sequence>
			<xs:element name="source" type="PhotodentroVocab"/>
		</xs:sequence>
	</xs:complexType>
792
</xs:schema>