-
Notifications
You must be signed in to change notification settings - Fork 0
/
p0001-anything.xsd
135 lines (135 loc) · 9.96 KB
/
p0001-anything.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
<xs:schema
vc:minVersion="1.0" targetNamespace="http://api.knora.org/ontology/0001/anything/xml-import/v1#" elementFormDefault="qualified" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:knoraXmlImport="http://api.knora.org/ontology/knoraXmlImport/v1#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://api.knora.org/ontology/0001/anything/xml-import/v1#">
<xs:import schemaLocation="knoraXmlImport.xsd" namespace="http://api.knora.org/ontology/knoraXmlImport/v1#"/>
<xs:element name="BlueThing">
<xs:complexType>
<xs:complexContent>
<xs:extension base="knoraXmlImport:resourceType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" ref="knoraXmlImport:label"/>
<xs:element type="BlueThing_linkValueType" maxOccurs="unbounded" minOccurs="0" name="hasBlueThing"/>
<xs:element type="knoraXmlImport:booleanValueType" maxOccurs="1" minOccurs="0" name="hasBoolean"/>
<xs:element type="knoraXmlImport:colorValueType" maxOccurs="unbounded" minOccurs="0" name="hasColor"/>
<xs:element type="knoraXmlImport:dateValueType" maxOccurs="unbounded" minOccurs="0" name="hasDate"/>
<xs:element type="knoraXmlImport:decimalValueType" maxOccurs="unbounded" minOccurs="0" name="hasDecimal"/>
<xs:element type="knoraXmlImport:geomValueType" maxOccurs="unbounded" minOccurs="0" name="hasGeometry"/>
<xs:element type="knoraXmlImport:geonameValueType" maxOccurs="unbounded" minOccurs="0" name="hasGeoname"/>
<xs:element type="knoraXmlImport:intValueType" maxOccurs="unbounded" minOccurs="0" name="hasInteger"/>
<xs:element type="knoraXmlImport:intervalValueType" maxOccurs="unbounded" minOccurs="0" name="hasInterval"/>
<xs:element type="knoraXmlImport:hlistValueType" maxOccurs="unbounded" minOccurs="0" name="hasListItem"/>
<xs:element type="knoraXmlImport:hlistValueType" maxOccurs="unbounded" minOccurs="0" name="hasOtherListItem"/>
<xs:element type="knoraXmlImport:richtextValueType" maxOccurs="unbounded" minOccurs="0" name="hasRichtext"/>
<xs:element type="knoraXmlImport:richtextValueType" maxOccurs="unbounded" minOccurs="0" name="hasText"/>
<xs:element type="ThingPicture_linkValueType" maxOccurs="unbounded" minOccurs="0" name="hasThingPicture"/>
<xs:element type="knoraXmlImport:uriValueType" maxOccurs="unbounded" minOccurs="0" name="hasUri"/>
<xs:element type="Thing_linkValueType" maxOccurs="unbounded" minOccurs="0" name="isPartOfOtherThing"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="BlueThing_linkValueType">
<xs:sequence>
<xs:element type="knoraXmlImport:linkValueType" name="BlueThing"/>
</xs:sequence>
</xs:complexType>
<xs:element name="Thing">
<xs:complexType>
<xs:complexContent>
<xs:extension base="knoraXmlImport:resourceType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" ref="knoraXmlImport:label"/>
<xs:element type="knoraXmlImport:booleanValueType" maxOccurs="1" minOccurs="0" name="hasBoolean"/>
<xs:element type="knoraXmlImport:colorValueType" maxOccurs="unbounded" minOccurs="0" name="hasColor"/>
<xs:element type="knoraXmlImport:dateValueType" maxOccurs="unbounded" minOccurs="0" name="hasDate"/>
<xs:element type="knoraXmlImport:decimalValueType" maxOccurs="unbounded" minOccurs="0" name="hasDecimal"/>
<xs:element type="knoraXmlImport:geomValueType" maxOccurs="unbounded" minOccurs="0" name="hasGeometry"/>
<xs:element type="knoraXmlImport:geonameValueType" maxOccurs="unbounded" minOccurs="0" name="hasGeoname"/>
<xs:element type="knoraXmlImport:intValueType" maxOccurs="unbounded" minOccurs="0" name="hasInteger"/>
<xs:element type="knoraXmlImport:intervalValueType" maxOccurs="unbounded" minOccurs="0" name="hasInterval"/>
<xs:element type="knoraXmlImport:hlistValueType" maxOccurs="unbounded" minOccurs="0" name="hasListItem"/>
<xs:element type="knoraXmlImport:hlistValueType" maxOccurs="unbounded" minOccurs="0" name="hasOtherListItem"/>
<xs:element type="Thing_linkValueType" maxOccurs="unbounded" minOccurs="0" name="hasOtherThing"/>
<xs:element type="knoraXmlImport:richtextValueType" maxOccurs="unbounded" minOccurs="0" name="hasRichtext"/>
<xs:element type="knoraXmlImport:richtextValueType" maxOccurs="unbounded" minOccurs="0" name="hasText"/>
<xs:element type="ThingPicture_linkValueType" maxOccurs="unbounded" minOccurs="0" name="hasThingPicture"/>
<xs:element type="knoraXmlImport:uriValueType" maxOccurs="unbounded" minOccurs="0" name="hasUri"/>
<xs:element type="Thing_linkValueType" maxOccurs="unbounded" minOccurs="0" name="isPartOfOtherThing"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="Thing_linkValueType">
<xs:sequence>
<xs:element type="knoraXmlImport:linkValueType" name="Thing"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ThingPicture">
<xs:complexType>
<xs:complexContent>
<xs:extension base="knoraXmlImport:resourceType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" ref="knoraXmlImport:label"/>
<xs:element maxOccurs="1" minOccurs="1" ref="knoraXmlImport:file"/>
<xs:element type="knoraXmlImport:richtextValueType" maxOccurs="unbounded" minOccurs="0" name="hasPictureTitle"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="ThingPicture_linkValueType">
<xs:sequence>
<xs:element type="knoraXmlImport:linkValueType" name="ThingPicture"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ThingWithSeqnum">
<xs:complexType>
<xs:complexContent>
<xs:extension base="knoraXmlImport:resourceType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" ref="knoraXmlImport:label"/>
<xs:element type="knoraXmlImport:booleanValueType" maxOccurs="1" minOccurs="0" name="hasBoolean"/>
<xs:element type="knoraXmlImport:colorValueType" maxOccurs="unbounded" minOccurs="0" name="hasColor"/>
<xs:element type="knoraXmlImport:dateValueType" maxOccurs="unbounded" minOccurs="0" name="hasDate"/>
<xs:element type="knoraXmlImport:decimalValueType" maxOccurs="unbounded" minOccurs="0" name="hasDecimal"/>
<xs:element type="knoraXmlImport:geomValueType" maxOccurs="unbounded" minOccurs="0" name="hasGeometry"/>
<xs:element type="knoraXmlImport:geonameValueType" maxOccurs="unbounded" minOccurs="0" name="hasGeoname"/>
<xs:element type="knoraXmlImport:intValueType" maxOccurs="unbounded" minOccurs="0" name="hasInteger"/>
<xs:element type="knoraXmlImport:intervalValueType" maxOccurs="unbounded" minOccurs="0" name="hasInterval"/>
<xs:element type="knoraXmlImport:hlistValueType" maxOccurs="unbounded" minOccurs="0" name="hasListItem"/>
<xs:element type="knoraXmlImport:hlistValueType" maxOccurs="unbounded" minOccurs="0" name="hasOtherListItem"/>
<xs:element type="Thing_linkValueType" maxOccurs="unbounded" minOccurs="0" name="hasOtherThing"/>
<xs:element type="knoraXmlImport:richtextValueType" maxOccurs="unbounded" minOccurs="0" name="hasRichtext"/>
<xs:element type="knoraXmlImport:richtextValueType" maxOccurs="unbounded" minOccurs="0" name="hasText"/>
<xs:element type="ThingPicture_linkValueType" maxOccurs="unbounded" minOccurs="0" name="hasThingPicture"/>
<xs:element type="knoraXmlImport:uriValueType" maxOccurs="unbounded" minOccurs="0" name="hasUri"/>
<xs:element type="Thing_linkValueType" maxOccurs="unbounded" minOccurs="0" name="isPartOfOtherThing"/>
<xs:element type="knoraXmlImport:intValueType" maxOccurs="unbounded" minOccurs="0" name="knoraXmlImport__seqnum"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="ThingWithSeqnum_linkValueType">
<xs:sequence>
<xs:element type="knoraXmlImport:linkValueType" name="ThingWithSeqnum"/>
</xs:sequence>
</xs:complexType>
<xs:element name="TrivialThing">
<xs:complexType>
<xs:complexContent>
<xs:extension base="knoraXmlImport:resourceType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" ref="knoraXmlImport:label"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="TrivialThing_linkValueType">
<xs:sequence>
<xs:element type="knoraXmlImport:linkValueType" name="TrivialThing"/>
</xs:sequence>
</xs:complexType>
</xs:schema>