This repository was 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 pathdcat.xsd
148 lines (144 loc) · 8.61 KB
/
dcat.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:adms="http://www.w3.org/ns/adms#" xmlns:dct="http://purl.org/dc/terms/" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:spdx="http://spdx.org/rdf/terms#" xmlns:vcard="http://www.w3.org/2006/vcard/ns#" targetNamespace="http://www.w3.org/ns/dcat#" elementFormDefault="qualified" attributeFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
DCAT-AP 1.1 XML Schema
XML Schema for http://www.w3.org/ns/dcat# namespace
Description: This is an XML Schema for the DCAT-AP specification. The schema is used by GeoNetwork for storing GeoNetwork data internally. The schema adheres to a 'normalized' RDF/XML syntax that can be processed with good old XML Technology (XPath, XSLT, XQuery). The schema is not intended to be used outside GeoNetwork.
Created 2016-05-31
Modified 2018-06-22
Author GIM
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://www.w3.org/ns/adms#" schemaLocation="adms.xsd"/>
<xs:import namespace="http://purl.org/dc/terms/" schemaLocation="dcterms.xsd"/>
<xs:import namespace="http://xmlns.com/foaf/0.1/" schemaLocation="foaf.xsd"/>
<xs:import namespace="http://www.w3.org/2002/07/owl#" schemaLocation="owl.xsd"/>
<xs:import namespace="http://www.w3.org/2004/02/skos/core#" schemaLocation="skos.xsd"/>
<xs:import namespace="http://spdx.org/rdf/terms#" schemaLocation="spdx.xsd"/>
<xs:import namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" schemaLocation="rdf.xsd"/>
<xs:import namespace="http://www.w3.org/2006/vcard/ns#" schemaLocation="vcard.xsd"/>
<!-- dcat:Catalog-->
<xs:element name="Catalog" type="dcat:Catalog"/>
<xs:complexType name="Catalog">
<xs:sequence>
<xs:element ref="dct:title" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:description" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:publisher" minOccurs="0" maxOccurs="1"/>
<xs:element ref="foaf:homepage" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:license" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:language" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:issued" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:modified" minOccurs="0" maxOccurs="1"/>
<xs:element name="themeTaxonomy" type="skos:ConceptScheme" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:hasPart" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:isPartOf" minOccurs="0" maxOccurs="1"/>
<xs:element name="record" type="dcat:CatalogRecord" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:rights" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:spatial" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="dataset" type="dcat:Dataset" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
</xs:complexType>
<!-- dcat:CatalogRecord-->
<xs:complexType name="CatalogRecord">
<xs:sequence>
<xs:element name="CatalogRecord" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<!-- mandatory properties for dcat:CatalogRecord-->
<xs:element ref="foaf:primaryTopic" minOccurs="1" maxOccurs="1"/>
<xs:element ref="dct:modified" minOccurs="1" maxOccurs="1"/>
<!-- recommended properties for dcat:CatalogRecord-->
<xs:element ref="dct:conformsTo" minOccurs="0" maxOccurs="1"/>
<xs:element ref="adms:status" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:issued" minOccurs="0" maxOccurs="1"/>
<!-- optional properties for dcat:CatalogRecord-->
<xs:element ref="dct:description" minOccurs="0"/>
<xs:element ref="dct:language" maxOccurs="unbounded"/>
<xs:element ref="dct:source" maxOccurs="1"/>
<xs:element ref="dct:title" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
<xs:attribute ref="rdf:nodeID"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- dcat:Dataset-->
<xs:complexType name="Dataset">
<xs:sequence>
<xs:element name="Dataset" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element ref="dct:identifier" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:title" minOccurs="1" maxOccurs="unbounded"/>
<xs:element ref="dct:description" minOccurs="1" maxOccurs="unbounded"/>
<!-- dct:contactPoint mandatory for DCAT-AP-VL otherwise minOccurs="0" -->
<xs:element name="contactPoint" type="vcard:Organization" minOccurs="1" maxOccurs="unbounded"/>
<xs:element ref="dct:issued" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:modified" minOccurs="0" maxOccurs="1"/>
<!-- dct:publisher mandatory for DCAT-AP-VL otherwise minOccurs="0" -->
<xs:element ref="dct:publisher" minOccurs="1" maxOccurs="1"/>
<xs:element name="keyword" type="rdf:PlainLiteral" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="theme" type="skos:Concept" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:accessRights" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:conformsTo" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="foaf:page" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:accrualPeriodicity" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:hasVersion" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:isVersionOf" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="landingPage" type="rdf:Resource" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:language" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="adms:identifier" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:provenance" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:relation" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:source" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:spatial" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:temporal" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:type" minOccurs="0" maxOccurs="1"/>
<xs:element ref="owl:versionInfo" minOccurs="0" maxOccurs="1"/>
<xs:element ref="adms:versionNotes" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="extension" type="rdf:Statement" minOccurs="0" maxOccurs="unbounded"/>
<!-- dct:distribution mandatory for DCAT-AP-VL otherwise minOccurs="0" -->
<xs:element name="distribution" type="dcat:Distribution" minOccurs="1" maxOccurs="unbounded"/>
<xs:element ref="adms:sample" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- dcat:Distribution-->
<xs:complexType name="Distribution">
<xs:sequence>
<xs:element name="Distribution" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<!-- dct:title mandatory for DCAT-AP-VL otherwise minOccurs="0" -->
<xs:element ref="dct:title" minOccurs="1" maxOccurs="unbounded"/>
<xs:element ref="dct:description" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="accessURL" type="rdf:Resource" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="downloadURL" type="rdf:Resource" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:issued" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:modified" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:format" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dcat:mediaType" minOccurs="0" maxOccurs="1"/>
<xs:element ref="dct:language" minOccurs="0" maxOccurs="unbounded"/>
<!-- dct:license mandatory for DCAT-AP-VL otherwise minOccurs="0" -->
<xs:element ref="dct:license" minOccurs="1" maxOccurs="1"/>
<xs:element ref="dct:rights" minOccurs="0" maxOccurs="1"/>
<xs:element name="byteSize" type="rdf:TypedLiteral" minOccurs="0" maxOccurs="1"/>
<xs:element ref="spdx:checksum" minOccurs="0" maxOccurs="1"/>
<xs:element ref="foaf:page" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:conformsTo" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="adms:status" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
<xs:attribute ref="rdf:nodeID"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="mediaType" type="skos:Concept"/>
</xs:schema>