| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
<!-- |
| 4 |
In PROV-DM, all ids are qualified names, specified as prov:QualifiedName in PROV-N. |
| 5 |
In this schema, all ids are instead defined as xsd:QNames. |
| 6 |
--> |
| 7 |
|
| 8 |
|
| 9 |
<xs:schema targetNamespace="http://www.w3.org/ns/prov#" |
| 10 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 11 |
xmlns:prov="http://www.w3.org/ns/prov#" |
| 12 |
xmlns:cu="http://www.w3.org/1999/xhtml/datatypes/" |
| 13 |
xmlns:xml="http://www.w3.org/XML/1998/namespace" |
| 14 |
elementFormDefault="qualified" |
| 15 |
attributeFormDefault="unqualified"> |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
<xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" /> |
| 20 |
<xs:import namespace="http://www.w3.org/XML/1998/namespace" |
| 21 |
schemaLocation="xml.xsd"/> |
| 22 |
|
| 23 |
<!-- Component 1 --> |
| 24 |
|
| 25 |
<xs:complexType name="Entity"> |
| 26 |
<xs:sequence> |
| 27 |
<!-- prov attributes --> |
| 28 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 29 |
<xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/> |
| 30 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 31 |
<xs:element ref="prov:value" minOccurs="0"/> |
| 32 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 33 |
</xs:sequence> |
| 34 |
<xs:attribute ref="prov:id"/> |
| 35 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 36 |
</xs:complexType> |
| 37 |
|
| 38 |
<xs:complexType name="Activity"> |
| 39 |
<xs:sequence> |
| 40 |
<xs:element name="startTime" type="xs:dateTime" minOccurs="0"/> |
| 41 |
<xs:element name="endTime" type="xs:dateTime" minOccurs="0"/> |
| 42 |
<!-- prov attributes --> |
| 43 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 44 |
<xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/> |
| 45 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 46 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 47 |
</xs:sequence> |
| 48 |
<xs:attribute ref="prov:id"/> |
| 49 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 50 |
</xs:complexType> |
| 51 |
|
| 52 |
<xs:complexType name="Generation"> |
| 53 |
<xs:sequence> |
| 54 |
<xs:element name="entity" type="prov:IDRef"/> |
| 55 |
<xs:element name="activity" type="prov:IDRef" minOccurs="0"/> |
| 56 |
<xs:element name="time" type="xs:dateTime" minOccurs="0"/> |
| 57 |
<!-- prov attributes --> |
| 58 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 59 |
<xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/> |
| 60 |
<xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/> |
| 61 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 62 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 63 |
</xs:sequence> |
| 64 |
<xs:attribute ref="prov:id"/> |
| 65 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 66 |
</xs:complexType> |
| 67 |
|
| 68 |
<xs:complexType name="Usage"> |
| 69 |
<xs:sequence> |
| 70 |
<xs:element name="activity" type="prov:IDRef"/> |
| 71 |
<xs:element name="entity" type="prov:IDRef" minOccurs="0"/> |
| 72 |
<xs:element name="time" type="xs:dateTime" minOccurs="0"/> |
| 73 |
<!-- prov attributes --> |
| 74 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 75 |
<xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/> |
| 76 |
<xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/> |
| 77 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 78 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 79 |
</xs:sequence> |
| 80 |
<xs:attribute ref="prov:id"/> |
| 81 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 82 |
</xs:complexType> |
| 83 |
|
| 84 |
<xs:complexType name="Communication"> |
| 85 |
<xs:sequence> |
| 86 |
<xs:element name="informed" type="prov:IDRef"/> |
| 87 |
<xs:element name="informant" type="prov:IDRef"/> |
| 88 |
<!-- prov attributes --> |
| 89 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 90 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 91 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 92 |
</xs:sequence> |
| 93 |
<xs:attribute ref="prov:id"/> |
| 94 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 95 |
</xs:complexType> |
| 96 |
|
| 97 |
<xs:complexType name="Start"> |
| 98 |
<xs:sequence> |
| 99 |
<xs:element name="activity" type="prov:IDRef"/> |
| 100 |
<xs:element name="trigger" type="prov:IDRef" minOccurs="0"/> |
| 101 |
<xs:element name="starter" type="prov:IDRef" minOccurs="0"/> |
| 102 |
<xs:element name="time" type="xs:dateTime" minOccurs="0"/> |
| 103 |
<!-- prov attributes --> |
| 104 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 105 |
<xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/> |
| 106 |
<xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/> |
| 107 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 108 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 109 |
</xs:sequence> |
| 110 |
<xs:attribute ref="prov:id"/> |
| 111 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 112 |
</xs:complexType> |
| 113 |
|
| 114 |
<xs:complexType name="End"> |
| 115 |
<xs:sequence> |
| 116 |
<xs:element name="activity" type="prov:IDRef"/> |
| 117 |
<xs:element name="trigger" type="prov:IDRef" minOccurs="0"/> |
| 118 |
<xs:element name="ender" type="prov:IDRef" minOccurs="0"/> |
| 119 |
<xs:element name="time" type="xs:dateTime" minOccurs="0"/> |
| 120 |
<!-- prov attributes --> |
| 121 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 122 |
<xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/> |
| 123 |
<xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/> |
| 124 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 125 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 126 |
</xs:sequence> |
| 127 |
<xs:attribute ref="prov:id"/> |
| 128 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 129 |
</xs:complexType> |
| 130 |
|
| 131 |
<xs:complexType name="Invalidation"> |
| 132 |
<xs:sequence> |
| 133 |
<xs:element name="entity" type="prov:IDRef"/> |
| 134 |
<xs:element name="activity" type="prov:IDRef" minOccurs="0"/> |
| 135 |
<xs:element name="time" type="xs:dateTime" minOccurs="0"/> |
| 136 |
<!-- prov attributes --> |
| 137 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 138 |
<xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/> |
| 139 |
<xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/> |
| 140 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 141 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 142 |
</xs:sequence> |
| 143 |
<xs:attribute ref="prov:id"/> |
| 144 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 145 |
</xs:complexType> |
| 146 |
|
| 147 |
<!-- Component 2 --> |
| 148 |
|
| 149 |
<xs:complexType name="Derivation"> |
| 150 |
<xs:sequence> |
| 151 |
<xs:element name="generatedEntity" type="prov:IDRef"/> |
| 152 |
<xs:element name="usedEntity" type="prov:IDRef"/> |
| 153 |
<xs:element name="activity" type="prov:IDRef" minOccurs="0"/> |
| 154 |
<xs:element name="generation" type="prov:IDRef" minOccurs="0"/> |
| 155 |
<xs:element name="usage" type="prov:IDRef" minOccurs="0"/> |
| 156 |
<!-- prov attributes --> |
| 157 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 158 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 159 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 160 |
</xs:sequence> |
| 161 |
<xs:attribute ref="prov:id"/> |
| 162 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 163 |
</xs:complexType> |
| 164 |
|
| 165 |
<xs:complexType name="Revision"> |
| 166 |
<xs:complexContent> |
| 167 |
<xs:extension base="prov:Derivation"> |
| 168 |
</xs:extension> |
| 169 |
</xs:complexContent> |
| 170 |
</xs:complexType> |
| 171 |
|
| 172 |
<xs:complexType name="Quotation"> |
| 173 |
<xs:complexContent> |
| 174 |
<xs:extension base="prov:Derivation"> |
| 175 |
</xs:extension> |
| 176 |
</xs:complexContent> |
| 177 |
</xs:complexType> |
| 178 |
|
| 179 |
<xs:complexType name="PrimarySource"> |
| 180 |
<xs:complexContent> |
| 181 |
<xs:extension base="prov:Derivation"> |
| 182 |
</xs:extension> |
| 183 |
</xs:complexContent> |
| 184 |
</xs:complexType> |
| 185 |
|
| 186 |
<!-- Component 3 --> |
| 187 |
|
| 188 |
<xs:complexType name="Agent"> |
| 189 |
<xs:sequence> |
| 190 |
<!-- prov attributes --> |
| 191 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 192 |
<xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/> |
| 193 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 194 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 195 |
</xs:sequence> |
| 196 |
<xs:attribute ref="prov:id"/> |
| 197 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 198 |
</xs:complexType> |
| 199 |
|
| 200 |
<xs:complexType name="Person"> |
| 201 |
<xs:complexContent> |
| 202 |
<xs:extension base="prov:Agent"> |
| 203 |
</xs:extension> |
| 204 |
</xs:complexContent> |
| 205 |
</xs:complexType> |
| 206 |
|
| 207 |
<xs:complexType name="Organization"> |
| 208 |
<xs:complexContent> |
| 209 |
<xs:extension base="prov:Agent"> |
| 210 |
</xs:extension> |
| 211 |
</xs:complexContent> |
| 212 |
</xs:complexType> |
| 213 |
|
| 214 |
<xs:complexType name="SoftwareAgent"> |
| 215 |
<xs:complexContent> |
| 216 |
<xs:extension base="prov:Agent"> |
| 217 |
</xs:extension> |
| 218 |
</xs:complexContent> |
| 219 |
</xs:complexType> |
| 220 |
|
| 221 |
<xs:complexType name="Attribution"> |
| 222 |
<xs:sequence> |
| 223 |
<xs:element name="entity" type="prov:IDRef"/> |
| 224 |
<xs:element name="agent" type="prov:IDRef"/> |
| 225 |
<!-- prov attributes --> |
| 226 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 227 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 228 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 229 |
</xs:sequence> |
| 230 |
<xs:attribute ref="prov:id"/> |
| 231 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 232 |
</xs:complexType> |
| 233 |
|
| 234 |
<xs:complexType name="Association"> |
| 235 |
<xs:sequence> |
| 236 |
<xs:element name="activity" type="prov:IDRef"/> |
| 237 |
<xs:element name="agent" type="prov:IDRef" minOccurs="0"/> |
| 238 |
<xs:element name="plan" type="prov:IDRef" minOccurs="0"/> |
| 239 |
<!-- prov attributes --> |
| 240 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 241 |
<xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/> |
| 242 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 243 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 244 |
</xs:sequence> |
| 245 |
<xs:attribute ref="prov:id"/> |
| 246 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 247 |
</xs:complexType> |
| 248 |
|
| 249 |
<xs:complexType name="Delegation"> |
| 250 |
<xs:sequence> |
| 251 |
<xs:element name="delegate" type="prov:IDRef"/> |
| 252 |
<xs:element name="responsible" type="prov:IDRef"/> |
| 253 |
<xs:element name="activity" type="prov:IDRef" minOccurs="0"/> |
| 254 |
<!-- prov attributes --> |
| 255 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 256 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 257 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 258 |
</xs:sequence> |
| 259 |
<xs:attribute ref="prov:id"/> |
| 260 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 261 |
</xs:complexType> |
| 262 |
|
| 263 |
<xs:complexType name="Influence"> |
| 264 |
<xs:sequence> |
| 265 |
<xs:element name="influencee" type="prov:IDRef"/> |
| 266 |
<xs:element name="influencer" type="prov:IDRef"/> |
| 267 |
<!-- prov attributes --> |
| 268 |
<xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/> |
| 269 |
<xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/> |
| 270 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 271 |
</xs:sequence> |
| 272 |
<xs:attribute ref="prov:id"/> |
| 273 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 274 |
</xs:complexType> |
| 275 |
|
| 276 |
<!-- Component 4 --> |
| 277 |
|
| 278 |
<xs:complexType name="Bundle"> |
| 279 |
<xs:complexContent> |
| 280 |
<xs:extension base="prov:Entity"> |
| 281 |
</xs:extension> |
| 282 |
</xs:complexContent> |
| 283 |
</xs:complexType> |
| 284 |
|
| 285 |
<!-- bundle container and allowable PROV elements --> |
| 286 |
|
| 287 |
<xs:complexType name="BundleConstructor"> |
| 288 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 289 |
<xs:element ref="prov:entity"/> |
| 290 |
<xs:element ref="prov:activity"/> |
| 291 |
<xs:element ref="prov:wasGeneratedBy"/> |
| 292 |
<xs:element ref="prov:used"/> |
| 293 |
<xs:element ref="prov:wasInformedBy"/> |
| 294 |
<xs:element ref="prov:wasStartedBy"/> |
| 295 |
<xs:element ref="prov:wasEndedBy"/> |
| 296 |
<xs:element ref="prov:wasInvalidatedBy"/> |
| 297 |
<xs:element ref="prov:wasDerivedFrom"/> |
| 298 |
<xs:element ref="prov:wasRevisionOf"/> |
| 299 |
<xs:element ref="prov:wasQuotedFrom"/> |
| 300 |
<xs:element ref="prov:hadPrimarySource"/> |
| 301 |
<xs:element ref="prov:agent"/> |
| 302 |
<xs:element ref="prov:person"/> |
| 303 |
<xs:element ref="prov:organization"/> |
| 304 |
<xs:element ref="prov:softwareAgent"/> |
| 305 |
<xs:element ref="prov:wasAttributedTo"/> |
| 306 |
<xs:element ref="prov:wasAssociatedWith"/> |
| 307 |
<xs:element ref="prov:actedOnBehalfOf"/> |
| 308 |
<xs:element ref="prov:wasInfluencedBy"/> |
| 309 |
<xs:element ref="prov:bundle"/> |
| 310 |
<xs:element ref="prov:specializationOf"/> |
| 311 |
<xs:element ref="prov:alternateOf"/> |
| 312 |
<xs:element ref="prov:collection"/> |
| 313 |
<xs:element ref="prov:emptyCollection"/> |
| 314 |
<xs:element ref="prov:hadMember"/> |
| 315 |
<xs:element ref="prov:plan"/> |
| 316 |
<xs:element ref="prov:other"/> |
| 317 |
<xs:element ref="prov:internalElement"/> |
| 318 |
</xs:choice> |
| 319 |
<xs:attribute ref="prov:id"/> |
| 320 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 321 |
</xs:complexType> |
| 322 |
|
| 323 |
<!-- Component 5 --> |
| 324 |
|
| 325 |
<xs:complexType name="Specialization"> |
| 326 |
<xs:sequence> |
| 327 |
<xs:element name="specificEntity" type="prov:IDRef"/> |
| 328 |
<xs:element name="generalEntity" type="prov:IDRef"/> |
| 329 |
</xs:sequence> |
| 330 |
</xs:complexType> |
| 331 |
|
| 332 |
<xs:complexType name="Alternate"> |
| 333 |
<xs:sequence> |
| 334 |
<xs:element name="alternate1" type="prov:IDRef"/> |
| 335 |
<xs:element name="alternate2" type="prov:IDRef"/> |
| 336 |
</xs:sequence> |
| 337 |
</xs:complexType> |
| 338 |
|
| 339 |
<!-- Component 6 --> |
| 340 |
|
| 341 |
<xs:complexType name="Collection"> |
| 342 |
<xs:complexContent> |
| 343 |
<xs:extension base="prov:Entity"> |
| 344 |
</xs:extension> |
| 345 |
</xs:complexContent> |
| 346 |
</xs:complexType> |
| 347 |
|
| 348 |
<xs:complexType name="EmptyCollection"> |
| 349 |
<xs:complexContent> |
| 350 |
<xs:extension base="prov:Collection"> |
| 351 |
</xs:extension> |
| 352 |
</xs:complexContent> |
| 353 |
</xs:complexType> |
| 354 |
|
| 355 |
<xs:complexType name="Membership"> |
| 356 |
<xs:sequence> |
| 357 |
<xs:element name="collection" type="prov:IDRef"/> |
| 358 |
<xs:element name="entity" type="prov:IDRef" maxOccurs="unbounded"/> |
| 359 |
</xs:sequence> |
| 360 |
</xs:complexType> |
| 361 |
|
| 362 |
<xs:complexType name="Plan"> |
| 363 |
<xs:complexContent> |
| 364 |
<xs:extension base="prov:Entity"> |
| 365 |
</xs:extension> |
| 366 |
</xs:complexContent> |
| 367 |
</xs:complexType> |
| 368 |
|
| 369 |
<xs:complexType name="InternationalizedString"> |
| 370 |
<xs:simpleContent> |
| 371 |
<xs:extension base="xs:string"> |
| 372 |
<xs:attribute ref="xml:lang" use="optional"/> |
| 373 |
</xs:extension> |
| 374 |
</xs:simpleContent> |
| 375 |
</xs:complexType> |
| 376 |
|
| 377 |
|
| 378 |
<!-- |
| 379 |
Typed literals are encoded by means |
| 380 |
of xsi:type that represent the prov:datatype. |
| 381 |
--> |
| 382 |
|
| 383 |
<xs:element name="label" type="prov:InternationalizedString"/> |
| 384 |
<xs:element name="role" type="xs:anySimpleType"/> |
| 385 |
<xs:element name="type" type="xs:anySimpleType"/> |
| 386 |
<xs:element name="location" type="xs:anySimpleType"/> |
| 387 |
<xs:element name="value" type="xs:anySimpleType"/> |
| 388 |
|
| 389 |
<xs:attribute name="id" type="xs:QName"/> |
| 390 |
<xs:attribute name="ref" type="xs:QName"/> |
| 391 |
|
| 392 |
<xs:complexType name="IDRef"> |
| 393 |
<xs:attribute ref="prov:ref" use="required" /> |
| 394 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 395 |
</xs:complexType> |
| 396 |
|
| 397 |
<!-- |
| 398 |
top-level definition of elements following the salami slice XSD design pattern |
| 399 |
to encourage integration within existing non-prov XML documents. |
| 400 |
--> |
| 401 |
|
| 402 |
<!-- Component 1 elements --> |
| 403 |
|
| 404 |
<xs:element name="entity" type="prov:Entity"/> |
| 405 |
<xs:element name="activity" type="prov:Activity"/> |
| 406 |
<xs:element name="wasGeneratedBy" type="prov:Generation"/> |
| 407 |
<xs:element name="used" type="prov:Usage"/> |
| 408 |
<xs:element name="wasInformedBy" type="prov:Communication"/> |
| 409 |
<xs:element name="wasStartedBy" type="prov:Start"/> |
| 410 |
<xs:element name="wasEndedBy" type="prov:End"/> |
| 411 |
<xs:element name="wasInvalidatedBy" type="prov:Invalidation"/> |
| 412 |
|
| 413 |
<!-- Component 2 elements --> |
| 414 |
|
| 415 |
<xs:element name="wasDerivedFrom" type="prov:Derivation"/> |
| 416 |
<xs:element name="wasRevisionOf" type="prov:Revision"/> |
| 417 |
<xs:element name="wasQuotedFrom" type="prov:Quotation"/> |
| 418 |
<xs:element name="hadPrimarySource" type="prov:PrimarySource"/> |
| 419 |
|
| 420 |
<!-- Component 3 elements --> |
| 421 |
|
| 422 |
<xs:element name="agent" type="prov:Agent"/> |
| 423 |
<xs:element name="person" type="prov:Person"/> |
| 424 |
<xs:element name="organization" type="prov:Organization"/> |
| 425 |
<xs:element name="softwareAgent" type="prov:SoftwareAgent"/> |
| 426 |
<xs:element name="wasAttributedTo" type="prov:Attribution"/> |
| 427 |
<xs:element name="wasAssociatedWith" type="prov:Association"/> |
| 428 |
<xs:element name="actedOnBehalfOf" type="prov:Delegation"/> |
| 429 |
<xs:element name="wasInfluencedBy" type="prov:Influence"/> |
| 430 |
|
| 431 |
<!-- Component 5 elements --> |
| 432 |
|
| 433 |
<xs:element name="bundle" type="prov:Bundle"/> |
| 434 |
<xs:element name="specializationOf" type="prov:Specialization"/> |
| 435 |
<xs:element name="alternateOf" type="prov:Alternate"/> |
| 436 |
|
| 437 |
<!-- Component 6 elements --> |
| 438 |
|
| 439 |
<xs:element name="hadMember" type="prov:Membership"/> |
| 440 |
<xs:element name="collection" type="prov:Collection"/> |
| 441 |
<xs:element name="emptyCollection" type="prov:EmptyCollection"/> |
| 442 |
|
| 443 |
<!-- Component 7 elements --> |
| 444 |
|
| 445 |
<xs:element name="plan" type="prov:Plan"/> |
| 446 |
|
| 447 |
<!-- document container and allowable PROV elements --> |
| 448 |
|
| 449 |
<xs:element name="document" type="prov:Document" /> |
| 450 |
|
| 451 |
<xs:complexType name="Document"> |
| 452 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 453 |
<xs:element ref="prov:entity"/> |
| 454 |
<xs:element ref="prov:activity"/> |
| 455 |
<xs:element ref="prov:wasGeneratedBy"/> |
| 456 |
<xs:element ref="prov:used"/> |
| 457 |
<xs:element ref="prov:wasInformedBy"/> |
| 458 |
<xs:element ref="prov:wasStartedBy"/> |
| 459 |
<xs:element ref="prov:wasEndedBy"/> |
| 460 |
<xs:element ref="prov:wasInvalidatedBy"/> |
| 461 |
<xs:element ref="prov:wasDerivedFrom"/> |
| 462 |
<xs:element ref="prov:wasRevisionOf"/> |
| 463 |
<xs:element ref="prov:wasQuotedFrom"/> |
| 464 |
<xs:element ref="prov:hadPrimarySource"/> |
| 465 |
<xs:element ref="prov:agent"/> |
| 466 |
<xs:element ref="prov:person"/> |
| 467 |
<xs:element ref="prov:organization"/> |
| 468 |
<xs:element ref="prov:softwareAgent"/> |
| 469 |
<xs:element ref="prov:wasAttributedTo"/> |
| 470 |
<xs:element ref="prov:wasAssociatedWith"/> |
| 471 |
<xs:element ref="prov:actedOnBehalfOf"/> |
| 472 |
<xs:element ref="prov:wasInfluencedBy"/> |
| 473 |
<xs:element ref="prov:bundle"/> |
| 474 |
<xs:element ref="prov:specializationOf"/> |
| 475 |
<xs:element ref="prov:alternateOf"/> |
| 476 |
<xs:element ref="prov:collection"/> |
| 477 |
<xs:element ref="prov:emptyCollection"/> |
| 478 |
<xs:element ref="prov:hadMember"/> |
| 479 |
<xs:element ref="prov:plan"/> |
| 480 |
<xs:element ref="prov:other"/> |
| 481 |
<xs:element ref="prov:internalElement"/> |
| 482 |
<xs:element name="bundleContent" type="prov:BundleConstructor"/> |
| 483 |
</xs:choice> |
| 484 |
</xs:complexType> |
| 485 |
|
| 486 |
<!-- abstract element used by PROV extensions --> |
| 487 |
|
| 488 |
<xs:element name="internalElement" abstract="true" /> |
| 489 |
|
| 490 |
<!-- 'others' element used to contain non-PROV elements --> |
| 491 |
|
| 492 |
<xs:element name="other" type="prov:Other"/> |
| 493 |
|
| 494 |
<xs:complexType name="Other"> |
| 495 |
<xs:sequence> |
| 496 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 497 |
</xs:sequence> |
| 498 |
</xs:complexType> |
| 499 |
|
| 500 |
</xs:schema> |