Blame view

src/main/resources/xsd/record_2.0/bulk-2.0.xsd 1.83 KB
6c41472c8   Paulo Gra├ža   Test bulk integra...
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
  <?xml version="1.0" encoding="UTF-8"?>
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  	xmlns:sch="http://purl.oclc.org/dsdl/schematron" elementFormDefault="qualified"
  	targetNamespace="http://www.orcid.org/ns/bulk" 
  	xmlns:bulk="http://www.orcid.org/ns/bulk" 
  	xmlns:work="http://www.orcid.org/ns/work"
  	xmlns:error="http://www.orcid.org/ns/error">
  	<xs:annotation> 
  		<xs:documentation>
  			=============================================================================
  
  			ORCID (R) Open Source
  			http://orcid.org
  
  			Copyright (c) 2012-2014 ORCID,
  			Inc.
  			Licensed under an MIT-Style License (MIT)
  			http://orcid.org/open-source-license
  
  			This copyright and license
  			information (including a link to the full
  			license)
  			shall be included in
  			its entirety in all copies or substantial portion of
  			the software.
  
  			=============================================================================
  			The schema describes the message format used for ORCID API requests
  			and responses.
  			The top level element is orcid-message.
  		</xs:documentation>
  		<xs:appinfo>
  			<sch:title>Schematron validation</sch:title>
  			<sch:ns prefix="bulk" uri="http://www.orcid.org/ns/bulk" />
  		</xs:appinfo>
  	</xs:annotation>
  	
  	<xs:import namespace="http://www.orcid.org/ns/error"
  		schemaLocation="error-2.0.xsd" />
  		
  	<xs:import namespace="http://www.orcid.org/ns/work"
  		schemaLocation="work-2.0.xsd" />
  	
  	<xs:element name="bulk">
  		<xs:complexType>
  			<xs:annotation>
  				<xs:documentation>Utilitary schema that allow the creation of multiple works in a single request</xs:documentation>
  			</xs:annotation>
  			<xs:sequence maxOccurs="unbounded">
  				<xs:choice>
  					<xs:element minOccurs="0" ref="work:work" />
  					<xs:element minOccurs="0" ref="error:error" />										
  				</xs:choice>
  			</xs:sequence>
  		</xs:complexType>
  	</xs:element>		
  </xs:schema>