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 pathdcterms.xsd
160 lines (160 loc) · 7.1 KB
/
dcterms.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
149
150
151
152
153
154
155
156
157
158
159
160
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:locn="http://www.w3.org/ns/locn#" xmlns:schema="http://schema.org/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" targetNamespace="http://purl.org/dc/terms/" elementFormDefault="qualified" attributeFormDefault="qualified">
<xs:annotation>
<xs:documentation xml:lang="en">
DCterms XML Schema (relevant parts for DCAT-AP)
XML Schema for http://purl.org/dc/terms/ namespace
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://xmlns.com/foaf/0.1/" schemaLocation="foaf.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"/>
<xs:import namespace="http://schema.org/" schemaLocation="schema.org.xsd"/>
<xs:import namespace="http://www.w3.org/ns/locn#" schemaLocation="locn.xsd"/>
<!-- individual elements -->
<xs:element name="alternative" type="rdf:PlainLiteral"/>
<xs:element name="title" type="rdf:PlainLiteral"/>
<xs:element name="tableOfContents" type="rdf:PlainLiteral"/>
<xs:element name="abstract" type="rdf:PlainLiteral"/>
<xs:element name="description" type="rdf:PlainLiteral"/>
<xs:element name="created" type="rdf:DateOrDateTimeLiteral"/>
<xs:element name="valid" type="rdf:DateOrDateTimeLiteral"/>
<xs:element name="available" type="rdf:DateOrDateTimeLiteral"/>
<xs:element name="issued" type="rdf:DateOrDateTimeLiteral"/>
<xs:element name="modified" type="rdf:DateOrDateTimeLiteral"/>
<xs:element name="dateAccepted" type="rdf:DateOrDateTimeLiteral"/>
<xs:element name="dateCopyrighted" type="rdf:DateOrDateTimeLiteral"/>
<xs:element name="dateSubmitted" type="rdf:DateOrDateTimeLiteral"/>
<xs:element name="format" type="skos:Concept"/>
<xs:element name="extent" type="rdf:Resource"/>
<xs:element name="medium" type="xs:anyURI"/>
<xs:element name="isVersionOf" type="rdf:Resource"/>
<xs:element name="hasVersion" type="rdf:Resource"/>
<xs:element name="isReplacedBy" type="rdf:Resource"/>
<xs:element name="replaces" type="rdf:Resource"/>
<xs:element name="isRequiredBy" type="xs:anyURI"/>
<xs:element name="requires" type="xs:anyURI"/>
<xs:element name="isPartOf" type="rdf:Resource"/>
<xs:element name="hasPart" type="rdf:Resource"/>
<xs:element name="isReferencedBy" type="rdf:Resource"/>
<xs:element name="relation" type="rdf:Resource"/>
<xs:element name="references" type="rdf:Resource"/>
<xs:element name="isFormatOf" type="xs:anyURI"/>
<xs:element name="hasFormat" type="xs:anyURI"/>
<xs:element name="conformsTo" type="dct:Standard"/>
<xs:element name="spatial" type="dct:Location"/>
<xs:element name="temporal" type="dct:PeriodOfTime"/>
<xs:element name="audience" type="xs:anyURI"/>
<xs:element name="accrualMethod" type="xs:anyURI"/>
<xs:element name="accrualPeriodicity" type="skos:Concept"/>
<xs:element name="accrualPolicy" type="xs:anyURI"/>
<xs:element name="instructionalMethod" type="xs:anyURI"/>
<xs:element name="provenance" type="dct:ProvenanceStatement"/>
<xs:element name="rights" type="dct:RightsStatement"/>
<xs:element name="rightsHolder" type="foaf:Agent"/>
<xs:element name="source" type="rdf:Resource"/>
<xs:element name="mediator" substitutionGroup="dct:audience"/>
<xs:element name="educationLevel" substitutionGroup="dct:audience"/>
<xs:element name="accessRights" type="skos:Concept"/>
<xs:element name="license" type="dct:LicenseDocument"/>
<xs:element name="bibliographicCitation" type="rdf:PlainLiteral"/>
<xs:element name="publisher" type="foaf:Agent"/>
<xs:element name="type" type="skos:Concept"/>
<xs:element name="identifier" type="rdf:PlainLiteral"/>
<xs:element name="language" type="skos:Concept"/>
<!-- dct:LicenseDocument -->
<xs:complexType name="LicenseDocument">
<xs:sequence>
<xs:element name="LicenseDocument" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<!-- recommended properties for dct:LicenseDocument-->
<xs:element ref="dct:type" minOccurs="0" maxOccurs="unbounded"/>
<!-- non-DCAT-AP properties for dct:LicenseDocument-->
<xs:element ref="dct:title" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:description" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:identifier" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
<xs:attribute ref="rdf:nodeID"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- dct:RightsStatement -->
<xs:complexType name="RightsStatement">
<xs:sequence>
<xs:element name="RightsStatement" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element ref="dct:title" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:description" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
<xs:attribute ref="rdf:nodeID"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- dct:Standard -->
<xs:complexType name="Standard">
<xs:sequence>
<xs:element name="Standard" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element ref="dct:title" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="dct:description" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
<xs:attribute ref="rdf:nodeID"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- dct:PeriodOfTime-->
<xs:complexType name="PeriodOfTime">
<xs:sequence>
<xs:element name="PeriodOfTime" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<!-- optional properties for dct:PeriodOfTime-->
<xs:element ref="schema:startDate" minOccurs="0" maxOccurs="1"/>
<xs:element ref="schema:endDate" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
<xs:attribute ref="rdf:nodeID"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- dct:Location-->
<xs:complexType name="Location">
<xs:sequence>
<xs:element name="Location" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<!-- optional properties for dct:Location-->
<xs:element ref="locn:geometry" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="skos:prefLabel" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
<xs:attribute ref="rdf:nodeID"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- dct:ProvenanceStatement -->
<xs:complexType name="ProvenanceStatement">
<xs:sequence>
<xs:element name="ProvenanceStatement" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element ref="dct:description" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="rdf:about"/>
<xs:attribute ref="rdf:nodeID"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>