This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathadms.xsd
32 lines (32 loc) · 1.57 KB
/
adms.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dct="http://purl.org/dc/terms/" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:adms="http://www.w3.org/ns/adms#" targetNamespace="http://www.w3.org/ns/adms#" elementFormDefault="qualified" attributeFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
ADMS XML Schema (relevant parts for DCAT-AP)
http://www.w3.org/ns/adms#
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://www.w3.org/ns/dcat#" schemaLocation="dcat.xsd"/>
<xs:import namespace="http://purl.org/dc/terms/" schemaLocation="dcterms.xsd"/>
<xs:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" schemaLocation="rdf.xsd"/>
<xs:import namespace="http://www.w3.org/2004/02/skos/core#" schemaLocation="skos.xsd"/>
<!-- adms:Identifier-->
<xs:complexType name="Identifier">
<xs:sequence>
<xs:element name="Identifier">
<xs:complexType>
<xs:sequence>
<!-- mandatory properties for adms:Identifier-->
<xs:element ref="skos:notation" maxOccurs="1"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- individual elements-->
<xs:element name="status" type="skos:Concept"/>
<xs:element name="identifier" type="adms:Identifier"/>
<xs:element name="sample" type="dcat:Distribution"/>
<xs:element name="versionNotes" type="rdf:PlainLiteral"/>
</xs:schema>