forked from misdoro/VAMDC-XSAMS
-
Notifications
You must be signed in to change notification settings - Fork 2
/
statesSolids.xsd
82 lines (78 loc) · 2.8 KB
/
statesSolids.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified"
xmlns="http://vamdc.org/xml/xsams/1.0"
xmlns:xsams="http://vamdc.org/xml/xsams/1.0"
targetNamespace="http://vamdc.org/xml/xsams/1.0">
<xs:include schemaLocation="typesAttributes.xsd"/>
<xs:element name="Solids" type="SolidsType"/>
<xs:complexType name="SolidsType">
<xs:annotation>
<xs:documentation>Solids, surfaces, etc.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Solid" type="SolidType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SolidType">
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="Layer" type="MaterialType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="speciesID" type="SpeciesIDType" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MaterialComponentType">
<xs:sequence>
<xs:element name="ChemicalElement" type="ChemicalElementType"/>
<xs:choice>
<xs:element name="StoichiometricValue" type="xs:decimal"/>
<xs:element name="Percentage" type="xs:decimal"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MaterialType">
<xs:annotation>
<xs:documentation>Description of an elementary material</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="MaterialName" type="xs:string">
<xs:annotation>
<xs:documentation>Name of a material. Example: bronze</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MaterialComposition" type="MaterialCompositionType">
<xs:annotation>
<xs:documentation>Composition of a material</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MaterialThickness" type="DataType" minOccurs="0">
<xs:annotation>
<xs:documentation>Thickness of a material</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MaterialTopology" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the material topology</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MaterialTemperature" type="DataType" minOccurs="0">
<xs:annotation>
<xs:documentation>Temperature of the material</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Comments" type="xs:string" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:complexType name="MaterialCompositionType">
<xs:complexContent>
<xs:extension base="PrimaryType">
<xs:sequence>
<xs:element name="Component" type="MaterialComponentType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>