-
Notifications
You must be signed in to change notification settings - Fork 3
/
typesAttributes.xsd
958 lines (912 loc) · 33.5 KB
/
typesAttributes.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
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
187
188
189
190
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
237
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
336
337
338
339
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
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
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
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
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
659
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
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified"
xmlns="http://xsams.svn.sourceforge.net/viewvc/xsams/branches/vamdc-working"
xmlns:xsams="http://xsams.svn.sourceforge.net/viewvc/xsams/branches/vamdc-working"
targetNamespace="http://xsams.svn.sourceforge.net/viewvc/xsams/branches/vamdc-working">
<xs:annotation>
<xs:documentation>Contains general data types and attributes used in several subschemas</xs:documentation>
</xs:annotation>
<!--=== general attributes and types ===-->
<xs:complexType name="PrimaryType">
<xs:sequence>
<xs:element name="Comments" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Arbitrary comments</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceRef" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>One or more source references - these entries should match the sourceID attributes of the Sources</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:IDREF">
<xs:pattern value="B.+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attribute name="methodRef" type="MethodRefType"/>
</xs:complexType>
<xs:complexType name="ChemicalElementType">
<xs:annotation>
<xs:documentation>Description of a chemical element</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="NuclearCharge" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>Nuclear charge in units of electron charge</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ElementSymbol" type="ElementSymbolType" minOccurs="0">
<xs:annotation>
<xs:documentation>Standard symbol of a chemical element (e.g., H or Ta)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
<!--=== types related to numerical data ===-->
<xs:complexType name="DataType">
<xs:annotation>
<xs:documentation>Description of physical data - a Value/Accuracy pair</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="Value" type="ValueType">
<xs:annotation>
<xs:documentation>Value of a particular quantity</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Accuracy" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the accuracy</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="NamedDataType">
<xs:annotation>
<xs:documentation>Named description of physical data. Used, for example, in function's parameters.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="DataType">
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the function parameter, example:a</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DataFuncType">
<xs:annotation>
<xs:documentation>Description of physical data - either a Value/Accuracy pair or a FitParametersType</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:choice>
<xs:sequence>
<xs:element name="Value" type="ValueType">
<xs:annotation>
<xs:documentation>Value of a particular quantity</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Accuracy" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the accuracy</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:element name="FitParameters" type="FitParametersType" minOccurs="1" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="FitParametersType">
<xs:annotation>
<xs:documentation>A list of fit parameters and arguments. The function referred to takes arguments
(independent variables at which the function is calculated; a range of acceptable
values can be specified) and parameters (the 'constants' for a particular function
which define the fit to that particular model)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FitArgument" type="ArgumentType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FitParameter" type="NamedDataType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="functionRef" type="FunctionRefType" use="optional"/>
</xs:complexType>
<xs:complexType name="ArgumentType">
<xs:sequence>
<xs:element name="Description" minOccurs="0">
<xs:annotation>
<xs:documentation>Verbose description of argument</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LowerLimit" type="xs:double" minOccurs="0">
<xs:annotation>
<xs:documentation>Lower limit of argument value. Units are derived from ArgumentType</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UpperLimit" type="xs:double" minOccurs="0">
<xs:annotation>
<xs:documentation>Upper limit of argument value. Units are derived from ArgumentType</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the argument, matching that defined in the function definition. Example: a</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="units" type="UnitsType" use="required"/>
</xs:complexType>
<xs:complexType name="DataSetType">
<xs:annotation>
<xs:documentation>Gives the actual data either (or both) with numerical tabulated data or (and) fitted data </xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="FitData" type="FitDataType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Fits of data</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TabulatedData" type="TabulatedDataType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Tables of data</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="dataDescription" type="DataDescriptionType" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DataSetsType">
<xs:sequence>
<xs:element name="DataSet" type="DataSetType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>List of datasets of different nature (cross sections, rate coefficients, etc.)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="DataDescriptionType">
<xs:annotation>
<xs:documentation>Descriptor for the type of collisonal parameter</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="crossSection"/>
<xs:enumeration value="collisionStrength"/>
<xs:enumeration value="rateCoefficient"/>
<xs:enumeration value="probability"/>
<xs:enumeration value="effectiveCollisionStrength"/>
<xs:enumeration value="sputteringYield"/>
<xs:enumeration value="sputteredEnergyCoefficient"/>
<xs:enumeration value="particleReflectionCoefficient"/>
<xs:enumeration value="energyReflectionCoefficient"/>
<xs:enumeration value="meanPenetrationDepth"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="DataTableType">
<xs:annotation>
<xs:documentation>Similar to DataType but for tabular type of data</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="DataList" type="DataListType">
<xs:annotation>
<xs:documentation>List of data values. Example: 3 15 33.3 1e3</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Error" type="DataListType" minOccurs="0">
<xs:annotation>
<xs:documentation>Error for each data point of the list</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NegativeError" type="DataListType" minOccurs="0">
<xs:annotation>
<xs:documentation>Negative error for each data point of</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PositiveError" type="DataListType" minOccurs="0">
<xs:annotation>
<xs:documentation>Positive error for each data point of the list</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DataDescription" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional description of the data list</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attribute name="units" type="UnitsType" use="required"/>
<xs:attribute name="parameter" type="xs:string"/>
</xs:complexType>
<xs:complexType name="DataXYType">
<xs:annotation>
<xs:documentation>Gives the structure of X Y data tables (several X are allowed)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="X" type="DataTableType" maxOccurs="unbounded"/>
<xs:element name="Y" type="DataTableType">
<xs:annotation>
<xs:documentation>Data value</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TabulatedDataType">
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="DataXY" type="DataXYType"/>
<xs:element name="ReferenceFrame" type="ReferenceFrameType" minOccurs="0">
<xs:annotation>
<xs:documentation>Reference frame in which is given the energy, velocity...</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PhysicalUncertainty" type="xs:string" minOccurs="0"/>
<xs:element name="ProductionDate" type="xs:date" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="FitDataType">
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="FunctionRef" type="FunctionRefType">
<xs:annotation>
<xs:documentation>Reference to the fitting function</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FitValidityLimits" type="FitValidityLimitsType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Limits of the fit validity</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FitParameters" type="FitParametersType">
<xs:annotation>
<xs:documentation>Fitting parameters</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FitAccuracy" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of fit accuracy</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PhysicalUncertainty" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of physical uncertainty</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductionDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Fit production date</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- Needed for FitDataType, but not implemented anywhere yet(?) -->
<xs:complexType name="FitValidityLimitsType">
<xs:sequence>
<xs:element name="LowerLimit" type="ValueType" minOccurs="0">
<xs:annotation>
<xs:documentation>Lower limit of fit validity</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UpperLimit" type="ValueType" minOccurs="0">
<xs:annotation>
<xs:documentation>Upper limit of fit validity</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ExpressionType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="computerLanguage" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Programming language for the function expression. Example: Fortran2003.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="ReferenceFrameType">
<xs:restriction base="xs:string">
<xs:enumeration value="CenterOfMass"/>
<xs:enumeration value="LaboratoryFrame"/>
<xs:enumeration value="TargetFrame"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="ValueType">
<xs:simpleContent>
<xs:extension base="xs:double">
<xs:attribute name="units" type="UnitsType" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="UnitsType">
<xs:annotation>
<xs:documentation>Description of physical units. Use "unitless" for dimensionless quantities.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:enumeration value="undef"/>
<xs:enumeration value="eV/amu"/>
<xs:enumeration value="keV/amu"/>
<xs:enumeration value="MeV/amu"/>
<xs:enumeration value="eV"/>
<xs:enumeration value="keV"/>
<xs:enumeration value="MeV"/>
<xs:enumeration value="au"/>
<xs:enumeration value="1/cm"/>
<xs:enumeration value="J"/>
<xs:enumeration value="Ry"/>
<xs:enumeration value="unitless"/>
<xs:enumeration value="kJ/mol"/>
<xs:enumeration value="kcal/mol"/>
<xs:enumeration value="K"/>
<xs:enumeration value="Hz"/>
<xs:enumeration value="kHz"/>
<xs:enumeration value="MHz"/>
<xs:enumeration value="m"/>
<xs:enumeration value="cm"/>
<xs:enumeration value="A"/>
<xs:enumeration value="nm"/>
<xs:enumeration value="deg"/>
<xs:enumeration value="rad"/>
<xs:enumeration value="srad"/>
<xs:enumeration value="s"/>
<xs:enumeration value="m3/s"/>
<xs:enumeration value="cm3/s"/>
<xs:enumeration value="cm6/s"/>
<xs:enumeration value="m2"/>
<xs:enumeration value="cm2"/>
<xs:enumeration value="b"/>
<xs:enumeration value="Mb"/>
<xs:enumeration value="1/s"/>
<xs:enumeration value="C.m"/>
<xs:enumeration value="J/T"/>
<xs:enumeration value="C.m2"/>
<xs:enumeration value="m/s"/>
<xs:enumeration value="cm/s"/>
<xs:enumeration value="C"/>
<xs:enumeration value="electron"/>
<xs:enumeration value="g"/>
<xs:enumeration value="amu"/>
<xs:enumeration value="kg"/>
<xs:enumeration value="1/m2/s"/>
<xs:enumeration value="1/cm2/s"/>
<xs:enumeration value="J/m2/s"/>
<xs:enumeration value="J/cm2/s"/>
<xs:enumeration value="1/m2"/>
<xs:enumeration value="1/cm2"/>
<xs:enumeration value="1/m3"/>
<xs:enumeration value="1/cm3"/>
<xs:enumeration value="J/m2"/>
<xs:enumeration value="J/cm2"/>
<xs:enumeration value="W/m2"/>
<xs:enumeration value="W/cm2"/>
<xs:enumeration value="W"/>
<xs:enumeration value="atm"/>
<xs:enumeration value="km/mol"/>
<xs:enumeration value="1/cm2/atm"/>
<xs:enumeration value="1/cm/atm"/>
</xs:restriction>
</xs:simpleType>
<!--=== types and attributes common to states ===-->
<xs:complexType name="jjCouplingType">
<xs:sequence>
<xs:element name="j" type="AngularMomentumType" minOccurs="2" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Value of the total angular momentum</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="jKCouplingType">
<xs:all>
<xs:element name="j" type="AngularMomentumType" minOccurs="0">
<xs:annotation>
<xs:documentation>Value of the total angular momentum of the core</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="S2" type="AngularMomentumType" minOccurs="0">
<xs:annotation>
<xs:documentation>Spin of the external electron(s)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="K" type="AngularMomentumType">
<xs:annotation>
<xs:documentation>Value of the K-number (j + orbital angular momentum of the external electron(s))</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
<xs:complexType name="LKCouplingType">
<xs:all>
<xs:element name="L" type="OrbitalAngularMomentumType">
<xs:annotation>
<xs:documentation>Value of the sum of orbital angular momenta of the core and external electron </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="K" type="AngularMomentumType">
<xs:annotation>
<xs:documentation>Value of the K-number (L + spin of the core)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="S2" type="AngularMomentumType" minOccurs="0">
<xs:annotation>
<xs:documentation>Spin of the external electron(s)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
<xs:complexType name="LSCouplingType">
<xs:all>
<xs:element name="L" type="OrbitalAngularMomentumType">
<xs:annotation>
<xs:documentation>Orbital angular momentum of the term in LS-coupling</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="S" type="AngularMomentumType">
<xs:annotation>
<xs:documentation>Spin angular momentum of the term in LS-coupling</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Multiplicity" type="xs:positiveInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>2S+1</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Seniority" minOccurs="0">
<xs:annotation>
<xs:documentation>Seniority number</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:nonNegativeInteger">
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
<xs:complexType name="MixingCoefficientType">
<xs:simpleContent>
<xs:extension base="xs:double">
<xs:attribute name="mixingClass" type="MixingClassType" use="required">
<xs:annotation>
<xs:documentation>Indicator of whether amplitude or amplitude squared is given</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="OrbitalAngularMomentumType">
<xs:annotation>
<xs:documentation>non-negative integer (and a symbol)</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="Value" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>Value of the orbital angular momentum</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Symbol" type="OrbitalAngularMomentumSymbolType" minOccurs="0">
<xs:annotation>
<xs:documentation>Symbol of the orbital angular momentum</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
<xs:complexType name="TermType">
<xs:annotation>
<xs:documentation>Complex term for atomic term in different couplings (e.g., LS or jj).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="LS" type="LSCouplingType" minOccurs="0">
<xs:annotation>
<xs:documentation>Term in LS-coupling</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="jj" type="jjCouplingType" minOccurs="0">
<xs:annotation>
<xs:documentation>Term in jj-coupling</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="J1J2" type="jjCouplingType" minOccurs="0">
<xs:annotation>
<xs:documentation>Term in J1J2-coupling</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="jK" type="jKCouplingType" minOccurs="0">
<xs:annotation>
<xs:documentation>Term in jK-coupling</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LK" type="LKCouplingType" minOccurs="0">
<xs:annotation>
<xs:documentation>Term in LK-coupling</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TermLabel" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Arbitrary term label</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="LifeTimeType">
<xs:annotation>
<xs:documentation>Lifetime, with state decay mechanism: total, radiative, non-radiative</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="DataType">
<xs:attribute name="decay" use="required">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="total"/>
<xs:enumeration value="totalRadiative"/>
<xs:enumeration value="totalNonRadiative"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="AngularMomentumProjectionType">
<xs:restriction base="xs:decimal">
<xs:pattern value="(\+|-)?\d+(\.(0|5)?)?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="AngularMomentumType">
<xs:annotation>
<xs:documentation>non-negative integer or half-integer number (e.g., 2.5).</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:decimal">
<xs:pattern value="\d+(\.(0|5)?)?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ElementSymbolType">
<xs:annotation>
<xs:documentation>Symbol for a chemical element</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:token">
<xs:pattern value="\p{Lu}\p{Ll}?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PrincipalQuantumNumberType">
<xs:annotation>
<xs:documentation>Principal quantum number (positive integer)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:positiveInteger"/>
</xs:simpleType>
<xs:simpleType name="ParityType">
<xs:restriction base="xs:token">
<xs:enumeration value="even"/>
<xs:enumeration value="odd"/>
<xs:enumeration value="undefined"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="MixingClassType">
<xs:restriction base="xs:token">
<xs:enumeration value="squared"/>
<xs:enumeration value="signed"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="OrbitalAngularMomentumSymbolType">
<xs:restriction base="xs:string">
<xs:length value="1"/>
<xs:pattern value="\w"/>
</xs:restriction>
</xs:simpleType>
<!--=== types common to collisions, radiative and autoionisation ===-->
<xs:complexType name="SpeciesStateRefType">
<xs:annotation>
<xs:documentation>Choice of either species or specific state or both</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:sequence>
<xs:element name="SpeciesRef" type="SpeciesRefType"/>
<xs:element name="StateRef" type="StateRefType" minOccurs="0"/>
</xs:sequence>
<xs:element name="StateRef" type="StateRefType"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="ReactantsType">
<xs:sequence minOccurs="2" maxOccurs="unbounded">
<xs:element name="StateRef" type="StateRefType">
<xs:annotation>
<xs:documentation>Reference to a specific state</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SpeciesRef" type="SpeciesRefType" minOccurs="0">
<xs:annotation>
<xs:documentation>Reference to a specific species</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProductsType">
<xs:sequence maxOccurs="unbounded">
<xs:element name="StateRef" type="StateRefType">
<xs:annotation>
<xs:documentation>Reference to a specific state</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SpeciesRef" type="SpeciesRefType" minOccurs="0">
<xs:annotation>
<xs:documentation>Reference to a specific specie</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- VectorsType container for one or more Vector elements-->
<xs:complexType name="VectorsType">
<xs:annotation>
<xs:documentation>A container for a collection of Vectors</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="Vector" type="VectorType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="units" type="UnitsType" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="VectorType">
<xs:complexContent>
<xs:annotation>
<xs:documentation>A vector in 3-D space defined by its x,y,z components, and a reference string giving context</xs:documentation>
</xs:annotation>
<xs:extension base="PrimaryType">
<xs:attribute name="ref" type="xs:string"/>
<xs:attribute name="x3" type="xs:double"/>
<xs:attribute name="y3" type="xs:double"/>
<xs:attribute name="z3" type="xs:double"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- A matrix -->
<xs:complexType name="MatrixType">
<xs:annotation>
<xs:documentation>A nrows x ncols matrix. RowRefs is a whitespace separated list of row names, ColRefs is the same for
columns. The attribute 'form' identifies the type of matrix ('symmetric', 'diagonal', etc.), and the
attribute 'values' is 'real', 'imaginary', or 'complex'. The matrix itself is a whitespace separated
list of values. For an arbitrary matrix, it has nrows*ncols entries. For a diagonal matrix there are
nrows=ncols entries. For a symmetric matrix there are nrows(nrows+1)/2 entries etc.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="RowRefs" type="StringListType"/>
<xs:element name="ColRefs" type="StringListType"/>
<xs:element name="Matrix" type="xs:string" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="units" type="UnitsType" use="required"/>
<xs:attribute name="nrows" type="xs:integer" use="required"/>
<xs:attribute name="ncols" type="xs:integer" use="required"/>
<xs:attribute name="form" type="xs:string" use="required"/>
<xs:attribute name="values" type="StringListType" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="DoubleListType">
<xs:annotation>
<xs:documentation>List of double, base for other types</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:double"/>
</xs:simpleType>
<xs:simpleType name="StringListType">
<xs:annotation>
<xs:documentation>List of strings, base for other types</xs:documentation>
</xs:annotation>
<xs:list itemType="xs:string"/>
</xs:simpleType>
<!-- It doesn't need sources and comments, because it always appears inside
another element which provides these -->
<xs:complexType name="DataListType">
<xs:annotation>
<xs:documentation>Whitespace-delimited list of numbers, with optional units and items count</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="DoubleListType">
<xs:attribute name="n" type="xs:positiveInteger">
<xs:annotation>
<xs:documentation>List elements count</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="units" type="UnitsType"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="LinearSequenceType">
<xs:annotation>
<xs:documentation>describes arithmetic progressions of the form
a0 a0+a1 a0+2a1 a0+3a1 ... a0+(n-1)a1</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:attribute name="n" type="xs:positiveInteger"/>
<xs:attribute name="units" type="UnitsType"/>
<xs:attribute name="a0" type="xs:double" use="required">
<xs:annotation>
<xs:documentation>initial value</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="a1" type="xs:double" use="required">
<xs:annotation>
<xs:documentation>increment</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- A data series type -->
<xs:complexType name="DataSeriesType">
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:choice>
<xs:element name="DataList" type="DataListType" minOccurs="0" maxOccurs="1"/>
<xs:element name="LinearSequence" type="LinearSequenceType"/>
<xs:element name="DataFile" type="xs:string"/>
</xs:choice>
<xs:choice>
<xs:element name="ErrorList" type="DataListType" minOccurs="0" maxOccurs="1"/>
<xs:element name="Error" type="xs:double" minOccurs="0" maxOccurs="1"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="parameter" type="xs:string"/>
<xs:attribute name="units" type="UnitsType"/>
<xs:attribute name="id" type="xs:ID"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- A data table: one or more X-columns (abcissa(e); independent variable(s)) and one or more
Y-columns (dependent variable(s)) -->
<xs:complexType name="SimpleDataTableType">
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="Description" type="xs:string"/>
<xs:element name="X" type="DataSeriesType"/>
<xs:element name="Y" type="DataSeriesType"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- The partition function as a function of temperature: Q(T), expressed as a pair of
DataSeries columns -->
<xs:complexType name="PartitionFunctionType">
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="T" type="DataSeriesType" minOccurs="1" maxOccurs="1"/>
<xs:element name="Q" type="DataSeriesType" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="nuclearSpinIsomer" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- ID types definitions-->
<xs:simpleType name="EnvironmentIDType">
<xs:annotation>
<xs:documentation>ID for environments.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:ID">
<xs:pattern value="E.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FunctionIDType">
<xs:annotation>
<xs:documentation>ID for a specific function</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:ID">
<xs:pattern value="F.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="MethodIDType">
<xs:annotation>
<xs:documentation>ID for a specific method</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:ID">
<xs:pattern value="M.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SourceIDType">
<xs:annotation>
<xs:documentation>Reference to specific bibliographic items.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:ID">
<xs:pattern value="B.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SpeciesIDType">
<xs:annotation>
<xs:documentation>ID for a species.
Is used to speed-up location of species information from processes.
May be used instead of stateID if exact state is not known or irrelevant.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:ID">
<xs:pattern value="X.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="StateIDType">
<xs:annotation>
<xs:documentation>ID for a specific atomic/molecular state, particle or solid.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:ID">
<xs:pattern value="S.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NormalModeIDType">
<xs:annotation>
<xs:documentation>ID for a normal vibrational mode of complex molecule.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:ID">
<xs:pattern value="V.+"/>
</xs:restriction>
</xs:simpleType>
<!-- References types definition. All IDREF's should be here.-->
<xs:simpleType name="MethodRefType">
<xs:annotation>
<xs:documentation>Reference to a specific method.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:IDREF">
<xs:pattern value="M.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FunctionRefType">
<xs:annotation>
<xs:documentation>Reference to a specific function</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:IDREF">
<xs:pattern value="F.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SpeciesRefType">
<xs:annotation>
<xs:documentation>Reference to a species.
References atomic ion or molecule.
Particles and solids are always referred by stateID
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:IDREF">
<xs:pattern value="X.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EnvironmentRefType">
<xs:annotation>
<xs:documentation>Reference to environment.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:IDREF">
<xs:pattern value="E.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="StateRefType">
<xs:annotation>
<xs:documentation>Reference to state: atomic, molecular, particle or solid one.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:IDREF">
<xs:pattern value="S.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NormalModeRefType">
<xs:annotation>
<xs:documentation>Reference to a normal vibrational mode of complex molecule.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:IDREF">
<xs:pattern value="V.+"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>