-
Notifications
You must be signed in to change notification settings - Fork 3
/
eml.xsd
29 lines (29 loc) · 1.44 KB
/
eml.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="https://eml.ecoinformatics.org/eml-2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:eml="https://eml.ecoinformatics.org/eml-2.2.0">
<xs:import schemaLocation="eml-gbif-profile.xsd"/>
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<xs:element name="eml">
<xs:complexType>
<xs:sequence>
<xs:element ref="dataset"/>
<xs:element ref="additionalMetadata" maxOccurs="1" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="packageId" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>Unique global ID for this exact version of the EML document</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="scope" use="required" type="xs:string" fixed="system"/>
<xs:attribute name="system" use="required">
<xs:simpleType>
<xs:list itemType="xs:string"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute ref="xml:lang" use="optional">
<xs:annotation>
<xs:documentation>The language in which the metadata (as opposed to the resource being described by the metadata) is written</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>