-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpanosc.xsd
36 lines (33 loc) · 1.99 KB
/
panosc.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
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:panosc="https://raw.githubusercontent.com/panosc-eu/fair-data-api/master/panosc.xsd">
<xs:annotation>
<xs:documentation>
Schema for panosc
</xs:documentation>
</xs:annotation>
<xs:complexType name="measurementtype">
<xs:sequence>
<xs:element name="value" type="xs:float" />
<xs:element name="units" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="panosc" type="panosc:panosctype"></xs:element>
<xs:complexType name="panosctype">
<xs:sequence>
<xs:element name="id" minOccurs="1" maxOccurs="1" type="xs:string" />
<xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="owner" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="contactEmail" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="orcidOfOwner" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="license" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="embargoEndDate" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="startDate" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="path" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="technique" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="sampleName" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="chemicalFormula" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="size" minOccurs="0" maxOccurs="1" type="measurementtype" />
<xs:element name="wavelength" minOccurs="0" maxOccurs="1" type="measurementtype" />
</xs:sequence>
</xs:complexType>
</xs:schema>