Blame view

src/main/resources/binding/orcid-2.0.xjb 6.61 KB
67fec7b77   André Gonçalves   Sprint 10 + API 2...
1
2
3
4
5
  <?xml version="1.0" encoding="UTF-8"?>
  <jaxb:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
  	xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
  	xmlns:namespace="http://jaxb2-commons.dev.java.net/namespace-prefix"
  	jaxb:version="2.1">
d73422afc   Paulo Graça   Support ORCID v2....
6
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/activities-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
7
8
9
10
11
12
13
  		<jaxb:globalBindings>
  			<jaxb:serializable uid="1" />
  		</jaxb:globalBindings>
  		
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.activities" />
  		</jaxb:schemaBindings>
d73422afc   Paulo Graça   Support ORCID v2....
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  		<jaxb:bindings node="//xs:complexType[@name='educations']">
  			<jaxb:property name="educations-ctype" />
  			<jaxb:class name="EducationsCtype" />
  		</jaxb:bindings>
  		<jaxb:bindings node="//xs:complexType[@name='employments']">
  			<jaxb:property name="employments-ctype" />
  			<jaxb:class name="EmploymentsCtype" />
  		</jaxb:bindings>		
  		<jaxb:bindings node="//xs:complexType[@name='works']">
  			<jaxb:property name="works-ctype" />
  			<jaxb:class name="WorksCtype" />
  		</jaxb:bindings>
  		<jaxb:bindings node="//xs:complexType[@name='peer-reviews']">
  			<jaxb:property name="peer-reviews-ctype" />
  			<jaxb:class name="PeerReviewsCtype" />
  		</jaxb:bindings>
  		<jaxb:bindings node="//xs:complexType[@name='fundings']">
  			<jaxb:property name="fundings-ctype" />
  			<jaxb:class name="FundingsCtype" />
  		</jaxb:bindings>
67fec7b77   André Gonçalves   Sprint 10 + API 2...
34
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
35
  	<jaxb:bindings schemaLocation="../xsd/common_2.0/common-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
36
37
38
39
40
41
42
43
44
45
46
47
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.common" />
  		</jaxb:schemaBindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='client-id']/xs:sequence/xs:choice/xs:sequence/xs:element[@name='path']">
  			<jaxb:property name="uri-path" />
  		</jaxb:bindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='orcid-id']/xs:sequence/xs:choice/xs:sequence/xs:element[@name='path']">
  			<jaxb:property name="uri-path" />
  		</jaxb:bindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
48
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/address-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
49
50
51
52
53
54
55
56
57
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.address" />
  		</jaxb:schemaBindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='address']">
  			<jaxb:property name="address-ctype" />
  			<jaxb:class name="AddressCtype" />
  		</jaxb:bindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
58
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/education-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
59
60
61
62
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.education" />
  		</jaxb:schemaBindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
63
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/email-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
64
65
66
67
68
69
70
71
72
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.email" />
  		</jaxb:schemaBindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='email']">
  			<jaxb:property name="email-ctype" />
  			<jaxb:class name="EmailCtype" />
  		</jaxb:bindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
73
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/employment-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
74
75
76
77
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.employment" />
  		</jaxb:schemaBindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
78
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/error-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
79
80
81
82
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.error" />
  		</jaxb:schemaBindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
83
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/funding-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
84
85
86
87
88
89
90
91
92
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.funding" />
  		</jaxb:schemaBindings>
  	
  		<jaxb:bindings node="//xs:element[@name='summary']">
  			<jaxb:property name="funding-summary" />
  			<jaxb:class name="FundingSummary" />
  		</jaxb:bindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
93
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/keyword-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
94
95
96
97
98
99
100
101
102
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.keyword" />
  		</jaxb:schemaBindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='keyword']">
  			<jaxb:property name="keyword-ctype" />
  			<jaxb:class name="KeywordCtype" />
  		</jaxb:bindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
103
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/other-name-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
104
105
106
107
108
109
110
111
112
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.othername" />
  		</jaxb:schemaBindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='other-name']">
  			<jaxb:property name="other-name-ctype" />
  			<jaxb:class name="OtherNameCtype" />
  		</jaxb:bindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
113
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/peer-review-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
114
115
116
117
118
119
120
121
122
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.peerreview" />
  		</jaxb:schemaBindings>
  	
  		<jaxb:bindings node="//xs:element[@name='summary']">
  			<jaxb:property name="peer-review-summary" />
  			<jaxb:class name="PeerReviewSummary" />
  		</jaxb:bindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
123
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/person-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
124
125
126
127
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.person" />
  		</jaxb:schemaBindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
128
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/person-external-identifier-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
129
130
131
132
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.person.externalidentifier" />
  		</jaxb:schemaBindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
133
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/personal-details-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.personaldetails" />
  		</jaxb:schemaBindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='name']">
  			<jaxb:property name="name-ctype" />
  			<jaxb:class name="NameCtype" />
  		</jaxb:bindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='biography']">
  			<jaxb:property name="biography-ctype" />
  			<jaxb:class name="BiographyCtype" />
  		</jaxb:bindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='credit-name']">
  			<jaxb:property name="credit-name-ctype" />
  			<jaxb:class name="CreditNameCtype" />
  		</jaxb:bindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
153
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/researcher-url-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
154
155
156
157
158
159
160
161
162
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.researcherurl" />
  		</jaxb:schemaBindings>
  	
  		<jaxb:bindings node="//xs:complexType[@name='researcher-url']">
  			<jaxb:property name="researcher-url-ctype" />
  			<jaxb:class name="ResearcherUrlCtype" />
  		</jaxb:bindings>
  	</jaxb:bindings>
d73422afc   Paulo Graça   Support ORCID v2....
163
  	<jaxb:bindings schemaLocation="../xsd/record_2.0/work-2.0.xsd" node="/xs:schema">
67fec7b77   André Gonçalves   Sprint 10 + API 2...
164
165
166
167
168
  		<jaxb:schemaBindings>
  			<jaxb:package name="org.um.dsi.gavea.orcid.model.work" />
  		</jaxb:schemaBindings>
  	</jaxb:bindings>
  </jaxb:bindings>