Commit 2d531180c3f4a985e3836cb8fe7d2e1704e7362b

Authored by Ricardo Pereira
1 parent 37e6c1c3e0
Exists in master and in 1 other branch API_v3.0

.gitingore added , remove eclipse artifacts

Showing 202 changed files with 19 additions and 27828 deletions   Show diff stats

Too many changes.

To preserve performance only 100 of 202 files displayed.

.classpath
... ... @@ -1,39 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<classpath>
3   - <classpathentry kind="src" output="target/classes" path="src/main/java">
4   - <attributes>
5   - <attribute name="optional" value="true"/>
6   - <attribute name="maven.pomderived" value="true"/>
7   - </attributes>
8   - </classpathentry>
9   - <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10   - <attributes>
11   - <attribute name="maven.pomderived" value="true"/>
12   - </attributes>
13   - </classpathentry>
14   - <classpathentry kind="src" output="target/test-classes" path="src/test/java">
15   - <attributes>
16   - <attribute name="optional" value="true"/>
17   - <attribute name="maven.pomderived" value="true"/>
18   - <attribute name="test" value="true"/>
19   - </attributes>
20   - </classpathentry>
21   - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
22   - <attributes>
23   - <attribute name="maven.pomderived" value="true"/>
24   - </attributes>
25   - </classpathentry>
26   - <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
27   - <attributes>
28   - <attribute name="maven.pomderived" value="true"/>
29   - <attribute name="org.eclipse.jst.component.nondependency" value=""/>
30   - </attributes>
31   - </classpathentry>
32   - <classpathentry kind="src" output="target/classes" path="target/generated-sources">
33   - <attributes>
34   - <attribute name="optional" value="true"/>
35   - <attribute name="maven.pomderived" value="true"/>
36   - </attributes>
37   - </classpathentry>
38   - <classpathentry kind="output" path="target/classes"/>
39   -</classpath>
.gitignore
... ... @@ -0,0 +1,19 @@
  1 +# Java related
  2 +target/**
  3 +*.jar
  4 +*.war
  5 +*.ear
  6 +*.class
  7 +
  8 +# eclipse specific
  9 +.project
  10 +.metadata
  11 +bin/**
  12 +tmp/**
  13 +tmp/**/*
  14 +*.tmp
  15 +*.bak
  16 +*.swp
  17 +.classpath
  18 +.settings/
  19 +.loadpath
... ...
... ... @@ -1,42 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<projectDescription>
3   - <name>degois-orcid-client-2.0</name>
4   - <comment></comment>
5   - <projects>
6   - </projects>
7   - <buildSpec>
8   - <buildCommand>
9   - <name>org.eclipse.wst.common.project.facet.core.builder</name>
10   - <arguments>
11   - </arguments>
12   - </buildCommand>
13   - <buildCommand>
14   - <name>org.eclipse.jdt.core.javabuilder</name>
15   - <arguments>
16   - </arguments>
17   - </buildCommand>
18   - <buildCommand>
19   - <name>org.eclipse.babel.editor.rbeBuilder</name>
20   - <arguments>
21   - </arguments>
22   - </buildCommand>
23   - <buildCommand>
24   - <name>org.eclipse.wst.validation.validationbuilder</name>
25   - <arguments>
26   - </arguments>
27   - </buildCommand>
28   - <buildCommand>
29   - <name>org.eclipse.m2e.core.maven2Builder</name>
30   - <arguments>
31   - </arguments>
32   - </buildCommand>
33   - </buildSpec>
34   - <natures>
35   - <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
36   - <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
37   - <nature>org.eclipse.jdt.core.javanature</nature>
38   - <nature>org.eclipse.m2e.core.maven2Nature</nature>
39   - <nature>com.jaspersoft.studio.babel.editor.rbeNature</nature>
40   - <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
41   - </natures>
42   -</projectDescription>
.settings/org.eclipse.core.resources.prefs
... ... @@ -1,6 +0,0 @@
1   -eclipse.preferences.version=1
2   -encoding//src/main/java=UTF-8
3   -encoding//src/main/resources=UTF-8
4   -encoding//src/test/java=UTF-8
5   -encoding//target/generated-sources=UTF-8
6   -encoding/<project>=UTF-8
.settings/org.eclipse.jdt.core.prefs
... ... @@ -1,12 +0,0 @@
1   -eclipse.preferences.version=1
2   -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3   -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4   -org.eclipse.jdt.core.compiler.compliance=1.8
5   -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6   -org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
7   -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
8   -org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
9   -org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
10   -org.eclipse.jdt.core.compiler.release=disabled
11   -org.eclipse.jdt.core.compiler.source=1.8
12   -org.eclipse.objectteams.otdt.compiler.option.pure_java=enabled
.settings/org.eclipse.m2e.core.prefs
... ... @@ -1,4 +0,0 @@
1   -activeProfiles=
2   -eclipse.preferences.version=1
3   -resolveWorkspaceProjects=true
4   -version=1
.settings/org.eclipse.wst.common.component
... ... @@ -1,7 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
2   - <wb-module deploy-name="degois-orcid-client-2.0">
3   - <wb-resource deploy-path="/" source-path="/src/main/java"/>
4   - <wb-resource deploy-path="/" source-path="/src/main/resources"/>
5   - <wb-resource deploy-path="/" source-path="/target/generated-sources"/>
6   - </wb-module>
7   -</project-modules>
.settings/org.eclipse.wst.common.project.facet.core.xml
... ... @@ -1,5 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<faceted-project>
3   - <installed facet="java" version="1.8"/>
4   - <installed facet="jst.utility" version="1.0"/>
5   -</faceted-project>
.settings/org.eclipse.wst.validation.prefs
... ... @@ -1,2 +0,0 @@
1   -disabled=06target
2   -eclipse.preferences.version=1
target/classes/META-INF/MANIFEST.MF
... ... @@ -1,5 +0,0 @@
1   -Manifest-Version: 1.0
2   -Built-By: lvalerio
3   -Build-Jdk: 1.8.0_131
4   -Created-By: Maven Integration for Eclipse
5   -
target/classes/META-INF/maven/org.um.dsi.gavea/degois-orcid-client/pom.properties
... ... @@ -1,7 +0,0 @@
1   -#Generated by Maven Integration for Eclipse
2   -#Thu Feb 15 14:44:01 GMT 2018
3   -version=2.0
4   -groupId=org.um.dsi.gavea
5   -m2e.projectName=degois-orcid-client-2.0
6   -m2e.projectLocation=C\:\\Projectos\\DeGois_Online_Desenvolvimento\\OrcidClient\\VersaoV2-release
7   -artifactId=degois-orcid-client
target/classes/META-INF/maven/org.um.dsi.gavea/degois-orcid-client/pom.xml
... ... @@ -1,137 +0,0 @@
1   -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2   - <modelVersion>4.0.0</modelVersion>
3   -
4   - <groupId>org.um.dsi.gavea</groupId>
5   - <artifactId>degois-orcid-client</artifactId>
6   - <version>2.0</version>
7   -
8   - <name>Orcid Client</name>
9   -
10   - <properties>
11   - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12   - <java.version>1.8</java.version>
13   - <jersey.version>2.22.1</jersey.version>
14   - <jaxb2-basics.version>0.9.5</jaxb2-basics.version>
15   - <logback-version>1.1.9</logback-version>
16   - <junit.version>4.12</junit.version>
17   - </properties>
18   -
19   - <dependencies>
20   - <!-- Jersey Client -->
21   - <dependency>
22   - <groupId>org.glassfish.jersey.core</groupId>
23   - <artifactId>jersey-client</artifactId>
24   - <version>${jersey.version}</version>
25   - </dependency>
26   - <dependency>
27   - <groupId>org.glassfish.jersey.containers</groupId>
28   - <artifactId>jersey-container-servlet</artifactId>
29   - <version>${jersey.version}</version>
30   - </dependency>
31   - <dependency>
32   - <groupId>org.glassfish.jersey.media</groupId>
33   - <artifactId>jersey-media-json-jackson</artifactId>
34   - <version>${jersey.version}</version>
35   - </dependency>
36   - <dependency>
37   - <groupId>org.glassfish.jersey.media</groupId>
38   - <artifactId>jersey-media-jaxb</artifactId>
39   - <version>${jersey.version}</version>
40   - </dependency>
41   - <!-- JAXB2 Commons -->
42   - <dependency>
43   - <groupId>org.jvnet.jaxb2_commons</groupId>
44   - <artifactId>jaxb2-basics-runtime</artifactId>
45   - <version>${jaxb2-basics.version}</version>
46   - </dependency>
47   - <!-- Logging -->
48   - <dependency>
49   - <groupId>ch.qos.logback</groupId>
50   - <artifactId>logback-classic</artifactId>
51   - <version>${logback-version}</version>
52   - </dependency>
53   - <!-- JUnit -->
54   - <dependency>
55   - <groupId>junit</groupId>
56   - <artifactId>junit</artifactId>
57   - <version>${junit.version}</version>
58   - <scope>test</scope>
59   - </dependency>
60   - </dependencies>
61   -
62   - <build>
63   - <plugins>
64   - <plugin>
65   - <groupId>org.jvnet.jaxb2.maven2</groupId>
66   - <artifactId>maven-jaxb2-plugin</artifactId>
67   - <version>0.13.1</version>
68   - <executions>
69   - <execution>
70   - <goals>
71   - <goal>generate</goal>
72   - </goals>
73   - </execution>
74   - </executions>
75   - <configuration>
76   - <noFileHeader>true</noFileHeader>
77   - <generateDirectory>${project.build.directory}/generated-sources</generateDirectory>
78   - <bindingDirectory>${basedir}/src/main/resources/binding</bindingDirectory>
79   - <schemaDirectory>${basedir}/src/main/resources/xsd</schemaDirectory>
80   - <schemaIncludes>
81   - <include>common_2.0/*.xsd</include>
82   - <include>record_2.0/*.xsd</include>
83   - </schemaIncludes>
84   - <episode>false</episode>
85   - <args>
86   - <arg>-Xsetters</arg>
87   - <arg>-Xvalue-constructor</arg>
88   - <arg>-XtoString</arg>
89   - <arg>-extension</arg>
90   - <arg>-Xnamespace-prefix</arg>
91   - </args>
92   - </configuration>
93   - <dependencies>
94   - <dependency>
95   - <groupId>org.glassfish.jaxb</groupId>
96   - <artifactId>jaxb-core</artifactId>
97   - <version>2.2.11</version>
98   - </dependency>
99   - <dependency>
100   - <groupId>org.jvnet.jaxb2_commons</groupId>
101   - <artifactId>jaxb2-basics</artifactId>
102   - <version>${jaxb2-basics.version}</version>
103   - </dependency>
104   - <dependency>
105   - <groupId>org.jvnet.jaxb2_commons</groupId>
106   - <artifactId>jaxb2-value-constructor</artifactId>
107   - <version>3.0</version>
108   - </dependency>
109   - <dependency>
110   - <groupId>org.jvnet.jaxb2_commons</groupId>
111   - <artifactId>jaxb2-namespace-prefix</artifactId>
112   - <version>1.1</version>
113   - </dependency>
114   - </dependencies>
115   - </plugin>
116   - <plugin>
117   - <groupId>org.apache.maven.plugins</groupId>
118   - <artifactId>maven-compiler-plugin</artifactId>
119   - <version>3.3</version>
120   - <inherited>true</inherited>
121   - <configuration>
122   - <source>${java.version}</source>
123   - <target>${java.version}</target>
124   - </configuration>
125   - </plugin>
126   - <plugin>
127   - <groupId>org.apache.maven.plugins</groupId>
128   - <artifactId>maven-surefire-plugin</artifactId>
129   - <version>2.19.1</version>
130   - <configuration>
131   - <skipTests>true</skipTests>
132   - </configuration>
133   - </plugin>
134   - </plugins>
135   - </build>
136   -
137   -</project>
138 0 \ No newline at end of file
target/classes/binding/orcid-2.0.xjb
... ... @@ -1,192 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<jaxb:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
3   - xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
4   - xmlns:namespace="http://jaxb2-commons.dev.java.net/namespace-prefix"
5   - jaxb:version="2.1">
6   -
7   - <jaxb:bindings schemaLocation="../xsd/record_2.0/activities-2.0.xsd" node="/xs:schema">
8   - <jaxb:globalBindings>
9   - <jaxb:serializable uid="1" />
10   - </jaxb:globalBindings>
11   -
12   - <jaxb:schemaBindings>
13   - <jaxb:package name="org.um.dsi.gavea.orcid.model.activities" />
14   - </jaxb:schemaBindings>
15   - <jaxb:bindings node="//xs:complexType[@name='educations']">
16   - <jaxb:property name="educations-ctype" />
17   - <jaxb:class name="EducationsCtype" />
18   - </jaxb:bindings>
19   - <jaxb:bindings node="//xs:complexType[@name='employments']">
20   - <jaxb:property name="employments-ctype" />
21   - <jaxb:class name="EmploymentsCtype" />
22   - </jaxb:bindings>
23   - <jaxb:bindings node="//xs:complexType[@name='works']">
24   - <jaxb:property name="works-ctype" />
25   - <jaxb:class name="WorksCtype" />
26   - </jaxb:bindings>
27   - <jaxb:bindings node="//xs:complexType[@name='peer-reviews']">
28   - <jaxb:property name="peer-reviews-ctype" />
29   - <jaxb:class name="PeerReviewsCtype" />
30   - </jaxb:bindings>
31   - <jaxb:bindings node="//xs:complexType[@name='fundings']">
32   - <jaxb:property name="fundings-ctype" />
33   - <jaxb:class name="FundingsCtype" />
34   - </jaxb:bindings>
35   - </jaxb:bindings>
36   -
37   - <jaxb:bindings schemaLocation="../xsd/common_2.0/common-2.0.xsd" node="/xs:schema">
38   - <jaxb:schemaBindings>
39   - <jaxb:package name="org.um.dsi.gavea.orcid.model.common" />
40   - </jaxb:schemaBindings>
41   -
42   - <jaxb:bindings node="//xs:complexType[@name='client-id']/xs:sequence/xs:choice/xs:sequence/xs:element[@name='path']">
43   - <jaxb:property name="uri-path" />
44   - </jaxb:bindings>
45   -
46   - <jaxb:bindings node="//xs:complexType[@name='orcid-id']/xs:sequence/xs:choice/xs:sequence/xs:element[@name='path']">
47   - <jaxb:property name="uri-path" />
48   - </jaxb:bindings>
49   - </jaxb:bindings>
50   -
51   - <jaxb:bindings schemaLocation="../xsd/record_2.0/address-2.0.xsd" node="/xs:schema">
52   - <jaxb:schemaBindings>
53   - <jaxb:package name="org.um.dsi.gavea.orcid.model.address" />
54   - </jaxb:schemaBindings>
55   -
56   - <jaxb:bindings node="//xs:complexType[@name='address']">
57   - <jaxb:property name="address-ctype" />
58   - <jaxb:class name="AddressCtype" />
59   - </jaxb:bindings>
60   - </jaxb:bindings>
61   -
62   - <jaxb:bindings schemaLocation="../xsd/record_2.0/education-2.0.xsd" node="/xs:schema">
63   - <jaxb:schemaBindings>
64   - <jaxb:package name="org.um.dsi.gavea.orcid.model.education" />
65   - </jaxb:schemaBindings>
66   - </jaxb:bindings>
67   -
68   - <jaxb:bindings schemaLocation="../xsd/record_2.0/email-2.0.xsd" node="/xs:schema">
69   - <jaxb:schemaBindings>
70   - <jaxb:package name="org.um.dsi.gavea.orcid.model.email" />
71   - </jaxb:schemaBindings>
72   -
73   - <jaxb:bindings node="//xs:complexType[@name='email']">
74   - <jaxb:property name="email-ctype" />
75   - <jaxb:class name="EmailCtype" />
76   - </jaxb:bindings>
77   - </jaxb:bindings>
78   -
79   - <jaxb:bindings schemaLocation="../xsd/record_2.0/employment-2.0.xsd" node="/xs:schema">
80   - <jaxb:schemaBindings>
81   - <jaxb:package name="org.um.dsi.gavea.orcid.model.employment" />
82   - </jaxb:schemaBindings>
83   - </jaxb:bindings>
84   -
85   - <jaxb:bindings schemaLocation="../xsd/record_2.0/error-2.0.xsd" node="/xs:schema">
86   - <jaxb:schemaBindings>
87   - <jaxb:package name="org.um.dsi.gavea.orcid.model.error" />
88   - </jaxb:schemaBindings>
89   - </jaxb:bindings>
90   -
91   - <jaxb:bindings schemaLocation="../xsd/record_2.0/funding-2.0.xsd" node="/xs:schema">
92   - <jaxb:schemaBindings>
93   - <jaxb:package name="org.um.dsi.gavea.orcid.model.funding" />
94   - </jaxb:schemaBindings>
95   -
96   - <jaxb:bindings node="//xs:element[@name='funding-summary']">
97   - <jaxb:property name="funding-summary" />
98   - <jaxb:class name="FundingSummary" />
99   - </jaxb:bindings>
100   - </jaxb:bindings>
101   -
102   - <jaxb:bindings schemaLocation="../xsd/record_2.0/keyword-2.0.xsd" node="/xs:schema">
103   - <jaxb:schemaBindings>
104   - <jaxb:package name="org.um.dsi.gavea.orcid.model.keyword" />
105   - </jaxb:schemaBindings>
106   -
107   - <jaxb:bindings node="//xs:complexType[@name='keyword']">
108   - <jaxb:property name="keyword-ctype" />
109   - <jaxb:class name="KeywordCtype" />
110   - </jaxb:bindings>
111   - </jaxb:bindings>
112   -
113   - <jaxb:bindings schemaLocation="../xsd/record_2.0/other-name-2.0.xsd" node="/xs:schema">
114   - <jaxb:schemaBindings>
115   - <jaxb:package name="org.um.dsi.gavea.orcid.model.othername" />
116   - </jaxb:schemaBindings>
117   -
118   - <jaxb:bindings node="//xs:complexType[@name='other-name']">
119   - <jaxb:property name="other-name-ctype" />
120   - <jaxb:class name="OtherNameCtype" />
121   - </jaxb:bindings>
122   - </jaxb:bindings>
123   -
124   - <jaxb:bindings schemaLocation="../xsd/record_2.0/peer-review-2.0.xsd" node="/xs:schema">
125   - <jaxb:schemaBindings>
126   - <jaxb:package name="org.um.dsi.gavea.orcid.model.peerreview" />
127   - </jaxb:schemaBindings>
128   -
129   - <jaxb:bindings node="//xs:element[@name='peer-review-summary']">
130   - <jaxb:property name="peer-review-summary" />
131   - <jaxb:class name="PeerReviewSummary" />
132   - </jaxb:bindings>
133   - </jaxb:bindings>
134   -
135   - <jaxb:bindings schemaLocation="../xsd/record_2.0/person-2.0.xsd" node="/xs:schema">
136   - <jaxb:schemaBindings>
137   - <jaxb:package name="org.um.dsi.gavea.orcid.model.person" />
138   - </jaxb:schemaBindings>
139   - </jaxb:bindings>
140   -
141   - <jaxb:bindings schemaLocation="../xsd/record_2.0/person-external-identifier-2.0.xsd" node="/xs:schema">
142   - <jaxb:schemaBindings>
143   - <jaxb:package name="org.um.dsi.gavea.orcid.model.person.externalidentifier" />
144   - </jaxb:schemaBindings>
145   - </jaxb:bindings>
146   -
147   - <jaxb:bindings schemaLocation="../xsd/record_2.0/personal-details-2.0.xsd" node="/xs:schema">
148   - <jaxb:schemaBindings>
149   - <jaxb:package name="org.um.dsi.gavea.orcid.model.personaldetails" />
150   - </jaxb:schemaBindings>
151   -
152   - <jaxb:bindings node="//xs:complexType[@name='name']">
153   - <jaxb:property name="name-ctype" />
154   - <jaxb:class name="NameCtype" />
155   - </jaxb:bindings>
156   -
157   - <jaxb:bindings node="//xs:complexType[@name='biography']">
158   - <jaxb:property name="biography-ctype" />
159   - <jaxb:class name="BiographyCtype" />
160   - </jaxb:bindings>
161   -
162   - <jaxb:bindings node="//xs:complexType[@name='credit-name']">
163   - <jaxb:property name="credit-name-ctype" />
164   - <jaxb:class name="CreditNameCtype" />
165   - </jaxb:bindings>
166   - </jaxb:bindings>
167   -
168   - <jaxb:bindings schemaLocation="../xsd/record_2.0/researcher-url-2.0.xsd" node="/xs:schema">
169   - <jaxb:schemaBindings>
170   - <jaxb:package name="org.um.dsi.gavea.orcid.model.researcherurl" />
171   - </jaxb:schemaBindings>
172   -
173   - <jaxb:bindings node="//xs:complexType[@name='researcher-url']">
174   - <jaxb:property name="researcher-url-ctype" />
175   - <jaxb:class name="ResearcherUrlCtype" />
176   - </jaxb:bindings>
177   - </jaxb:bindings>
178   -
179   - <jaxb:bindings schemaLocation="../xsd/record_2.0/work-2.0.xsd" node="/xs:schema">
180   - <jaxb:schemaBindings>
181   - <jaxb:package name="org.um.dsi.gavea.orcid.model.work" />
182   - </jaxb:schemaBindings>
183   - </jaxb:bindings>
184   -
185   - <jaxb:bindings schemaLocation="../xsd/record_2.0/bulk-2.0.xsd" node="/xs:schema">
186   - <jaxb:schemaBindings>
187   - <jaxb:package name="org.um.dsi.gavea.orcid.model.bulk" />
188   - </jaxb:schemaBindings>
189   - </jaxb:bindings>
190   -
191   -
192   -</jaxb:bindings>
193 0 \ No newline at end of file
target/classes/xsd/common_2.0/common-2.0.xsd
... ... @@ -1,1622 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3   - xmlns:sch="http://purl.oclc.org/dsdl/schematron" elementFormDefault="qualified"
4   - targetNamespace="http://www.orcid.org/ns/common" xmlns:common="http://www.orcid.org/ns/common">
5   - <xs:annotation>
6   - <xs:documentation>
7   - =============================================================================
8   -
9   - ORCID (R) Open Source
10   - http://orcid.org
11   -
12   - Copyright (c) 2012-2014 ORCID,
13   - Inc.
14   - Licensed under an MIT-Style License (MIT)
15   - http://orcid.org/open-source-license
16   -
17   - This copyright and license
18   - information (including a link to the full
19   - license)
20   - shall be included in
21   - its entirety in all copies or substantial portion of
22   - the software.
23   -
24   - =============================================================================
25   - The schema describes the message format used for ORCID API requests
26   - and responses.
27   - The top level element is orcid-message.
28   - </xs:documentation>
29   - <xs:appinfo>
30   - <sch:title>Schematron validation</sch:title>
31   - <sch:ns prefix="orcid" uri="http://www.orcid.org/ns/orcid" />
32   - </xs:appinfo>
33   - </xs:annotation>
34   -
35   - <xs:element name="last-modified-date">
36   - <xs:complexType>
37   - <xs:annotation>
38   - <xs:documentation>The date time when the element was last modified.
39   - </xs:documentation>
40   - </xs:annotation>
41   - <xs:simpleContent>
42   - <xs:extension base="xs:dateTime" />
43   - </xs:simpleContent>
44   - </xs:complexType>
45   - </xs:element>
46   -
47   - <xs:element name="created-date">
48   - <xs:complexType>
49   - <xs:annotation>
50   - <xs:documentation>The date time when element was created.
51   - </xs:documentation>
52   - </xs:annotation>
53   - <xs:simpleContent>
54   - <xs:extension base="xs:dateTime" />
55   - </xs:simpleContent>
56   - </xs:complexType>
57   - </xs:element>
58   -
59   - <xs:element name="read-date">
60   - <xs:complexType>
61   - <xs:annotation>
62   - <xs:documentation>The date time when element was first read by the user.
63   - </xs:documentation>
64   - </xs:annotation>
65   - <xs:simpleContent>
66   - <xs:extension base="xs:dateTime" />
67   - </xs:simpleContent>
68   - </xs:complexType>
69   - </xs:element>
70   -
71   - <xs:element name="archived-date">
72   - <xs:complexType>
73   - <xs:annotation>
74   - <xs:documentation>The date time when element was archived.
75   - </xs:documentation>
76   - </xs:annotation>
77   - <xs:simpleContent>
78   - <xs:extension base="xs:dateTime" />
79   - </xs:simpleContent>
80   - </xs:complexType>
81   - </xs:element>
82   -
83   - <xs:element name="sent-date">
84   - <xs:complexType>
85   - <xs:annotation>
86   - <xs:documentation>The date time when element was sent to the user.
87   - </xs:documentation>
88   - </xs:annotation>
89   - <xs:simpleContent>
90   - <xs:extension base="xs:dateTime" />
91   - </xs:simpleContent>
92   - </xs:complexType>
93   - </xs:element>
94   -
95   - <xs:element name="approval-date">
96   - <xs:complexType>
97   - <xs:annotation>
98   - <xs:documentation>The date time when element was approved.
99   - </xs:documentation>
100   - </xs:annotation>
101   - <xs:simpleContent>
102   - <xs:extension base="xs:dateTime" />
103   - </xs:simpleContent>
104   - </xs:complexType>
105   - </xs:element>
106   -
107   - <xs:element name="source" type="common:source-type" />
108   -
109   - <xs:element name="external-ids" type="common:external-ids" />
110   - <xs:element name="external-id" type="common:external-id" />
111   -
112   - <xs:complexType name="source-type">
113   - <xs:annotation>
114   - <xs:documentation>The client application (Member organization's
115   - system) or user that created the item. XSD VERSION 1.2 UPDATE: the
116   - identifier for the source may be either an ORCID iD (representing
117   - individuals and legacy client applications) or a Client ID
118   - (representing all newer client applications)
119   - </xs:documentation>
120   - </xs:annotation>
121   - <xs:sequence>
122   - <xs:choice minOccurs="0">
123   - <xs:element ref="common:source-orcid">
124   - <xs:annotation>
125   - <xs:documentation>The ORCID identifier for the individual user (or
126   - legacy client application) that created the item. For identifiers
127   - of
128   - individual users, it may be used to look up ORCID record
129   - details via
130   - the API.
131   - </xs:documentation>
132   - </xs:annotation>
133   - </xs:element>
134   - <xs:element name="source-client-id" type="common:client-id">
135   - <xs:annotation>
136   - <xs:documentation>The client ID for the client application (Member
137   - organization system) that created the item.
138   - </xs:documentation>
139   - </xs:annotation>
140   - </xs:element>
141   - </xs:choice>
142   - <xs:element name="source-name" type="common:source-name"
143   - minOccurs="0" />
144   - </xs:sequence>
145   - </xs:complexType>
146   -
147   - <xs:complexType name="source-name" mixed="true">
148   - <xs:annotation>
149   - <xs:documentation>The human-readable name of the client application
150   - (Member organization system) or individual user that created the
151   - item. Value for the same person/organization could change over time.
152   - source-orcid or source-client-id fields are more appropriate for
153   - disambiguated matching.
154   - </xs:documentation>
155   - </xs:annotation>
156   - </xs:complexType>
157   -
158   - <xs:complexType name="organization">
159   - <xs:annotation>
160   - <xs:documentation>A reference to an organization. When available, an
161   - organization will be tied to a disambiguated organization which
162   - uniquely identifies the organization.
163   - </xs:documentation>
164   - </xs:annotation>
165   -
166   - <xs:sequence>
167   - <xs:element name="name" type="common:non-empty-string" />
168   - <xs:element name="address" type="common:organization-address" />
169   - <xs:element name="disambiguated-organization" type="common:disambiguated-organization"
170   - minOccurs="0" maxOccurs="1" />
171   - </xs:sequence>
172   - </xs:complexType>
173   -
174   - <xs:complexType name="organization-address">
175   - <xs:annotation>
176   - <xs:documentation>Container for organization location information
177   - </xs:documentation>
178   - </xs:annotation>
179   - <xs:sequence>
180   - <xs:element minOccurs="1" name="city" type="common:non-empty-string">
181   - <xs:annotation>
182   - <xs:documentation>City</xs:documentation>
183   - </xs:annotation>
184   - </xs:element>
185   - <xs:element minOccurs="0" name="region" type="common:non-empty-string">
186   - <xs:annotation>
187   - <xs:documentation>Region within a country</xs:documentation>
188   - </xs:annotation>
189   - </xs:element>
190   - <xs:element minOccurs="1" name="country" type="common:iso-3166-country" />
191   - </xs:sequence>
192   - </xs:complexType>
193   -
194   - <xs:complexType name="disambiguated-organization">
195   - <xs:annotation>
196   - <xs:documentation>A reference to a disambiguated version the
197   - organization to which the researcher or contributor is affiliated.
198   - The list of disambiguated organizations come from ORCID partners
199   - such as Ringgold, ISNI and FundRef.
200   - </xs:documentation>
201   - </xs:annotation>
202   - <xs:sequence>
203   - <xs:element name="disambiguated-organization-identifier"
204   - type="common:short-text">
205   - <xs:annotation>
206   - <xs:documentation>The disambiguated organization identifier.
207   - </xs:documentation>
208   - </xs:annotation>
209   - </xs:element>
210   - <xs:element name="disambiguation-source" type="common:short-text">
211   - <xs:annotation>
212   - <xs:documentation>The source for providing the disambiguated
213   - organization ID.
214   - </xs:documentation>
215   - </xs:annotation>
216   - </xs:element>
217   - </xs:sequence>
218   - </xs:complexType>
219   -
220   - <xs:simpleType name="locale">
221   - <xs:annotation>
222   - <xs:documentation>Supported locales for site
223   - translations/localizations
224   - </xs:documentation>
225   - </xs:annotation>
226   - <xs:restriction base="xs:string">
227   - <xs:enumeration value="en" />
228   - <xs:enumeration value="es" />
229   - <xs:enumeration value="fr" />
230   - <xs:enumeration value="ko" />
231   - <xs:enumeration value="pt" />
232   - <xs:enumeration value="ru" />
233   - <xs:enumeration value="zh_CN" />
234   - <xs:enumeration value="zh_TW" />
235   - <xs:enumeration value="it" />
236   - <xs:enumeration value="ja" />
237   - </xs:restriction>
238   - </xs:simpleType>
239   -
240   - <xs:simpleType name="non-empty-string">
241   - <xs:annotation>
242   - <xs:documentation>Must contain one or more charaters that are not a
243   - space, carriage return or linefeed
244   - </xs:documentation>
245   - </xs:annotation>
246   - <xs:restriction base="xs:string">
247   - <xs:pattern value="[\s\S]*[^\s\n\r]+[\s\S]*" />
248   - </xs:restriction>
249   - </xs:simpleType>
250   -
251   - <xs:complexType name="amount">
252   - <xs:annotation>
253   - <xs:documentation>The funding amount.
254   - </xs:documentation>
255   - </xs:annotation>
256   -
257   - <xs:simpleContent>
258   - <xs:extension base="xs:string">
259   - <xs:attribute name="currency-code" type="common:currency-code"
260   - use="required" />
261   - </xs:extension>
262   - </xs:simpleContent>
263   - </xs:complexType>
264   -
265   - <xs:simpleType name="currency-code">
266   - <xs:annotation>
267   - <xs:documentation>The currency code used for funding amounts. From
268   - the ISO 4217 list
269   - (www.iso.org/iso/home/standards/currency_codes.htm).
270   - </xs:documentation>
271   - </xs:annotation>
272   - <xs:restriction base="xs:string">
273   - <xs:enumeration value="ADP" />
274   - <xs:enumeration value="AED" />
275   - <xs:enumeration value="AFA" />
276   - <xs:enumeration value="AFN" />
277   - <xs:enumeration value="ALL" />
278   - <xs:enumeration value="AMD" />
279   - <xs:enumeration value="ANG" />
280   - <xs:enumeration value="AOA" />
281   - <xs:enumeration value="ARS" />
282   - <xs:enumeration value="ATS" />
283   - <xs:enumeration value="AUD" />
284   - <xs:enumeration value="AWG" />
285   - <xs:enumeration value="AYM" />
286   - <xs:enumeration value="AZM" />
287   - <xs:enumeration value="AZN" />
288   - <xs:enumeration value="BAM" />
289   - <xs:enumeration value="BBD" />
290   - <xs:enumeration value="BDT" />
291   - <xs:enumeration value="BEF" />
292   - <xs:enumeration value="BGL" />
293   - <xs:enumeration value="BGN" />
294   - <xs:enumeration value="BHD" />
295   - <xs:enumeration value="BIF" />
296   - <xs:enumeration value="BMD" />
297   - <xs:enumeration value="BND" />
298   - <xs:enumeration value="BOB" />
299   - <xs:enumeration value="BOV" />
300   - <xs:enumeration value="BRL" />
301   - <xs:enumeration value="BSD" />
302   - <xs:enumeration value="BTN" />
303   - <xs:enumeration value="BWP" />
304   - <xs:enumeration value="BYB" />
305   - <xs:enumeration value="BYR" />
306   - <xs:enumeration value="BZD" />
307   - <xs:enumeration value="CAD" />
308   - <xs:enumeration value="CDF" />
309   - <xs:enumeration value="CHF" />
310   - <xs:enumeration value="CLF" />
311   - <xs:enumeration value="CLP" />
312   - <xs:enumeration value="CNY" />
313   - <xs:enumeration value="COP" />
314   - <xs:enumeration value="CRC" />
315   - <xs:enumeration value="CSD" />
316   - <xs:enumeration value="CUC" />
317   - <xs:enumeration value="CUP" />
318   - <xs:enumeration value="CVE" />
319   - <xs:enumeration value="CYP" />
320   - <xs:enumeration value="CZK" />
321   - <xs:enumeration value="DEM" />
322   - <xs:enumeration value="DJF" />
323   - <xs:enumeration value="DKK" />
324   - <xs:enumeration value="DOP" />
325   - <xs:enumeration value="DZD" />
326   - <xs:enumeration value="EEK" />
327   - <xs:enumeration value="EGP" />
328   - <xs:enumeration value="ERN" />
329   - <xs:enumeration value="ESP" />
330   - <xs:enumeration value="ETB" />
331   - <xs:enumeration value="EUR" />
332   - <xs:enumeration value="FIM" />
333   - <xs:enumeration value="FJD" />
334   - <xs:enumeration value="FKP" />
335   - <xs:enumeration value="FRF" />
336   - <xs:enumeration value="GBP" />
337   - <xs:enumeration value="GEL" />
338   - <xs:enumeration value="GHC" />
339   - <xs:enumeration value="GHS" />
340   - <xs:enumeration value="GIP" />
341   - <xs:enumeration value="GMD" />
342   - <xs:enumeration value="GNF" />
343   - <xs:enumeration value="GRD" />
344   - <xs:enumeration value="GTQ" />
345   - <xs:enumeration value="GWP" />
346   - <xs:enumeration value="GYD" />
347   - <xs:enumeration value="HKD" />
348   - <xs:enumeration value="HNL" />
349   - <xs:enumeration value="HRK" />
350   - <xs:enumeration value="HTG" />
351   - <xs:enumeration value="HUF" />
352   - <xs:enumeration value="IDR" />
353   - <xs:enumeration value="IEP" />
354   - <xs:enumeration value="ILS" />
355   - <xs:enumeration value="INR" />
356   - <xs:enumeration value="IQD" />
357   - <xs:enumeration value="IRR" />
358   - <xs:enumeration value="ISK" />
359   - <xs:enumeration value="ITL" />
360   - <xs:enumeration value="JMD" />
361   - <xs:enumeration value="JOD" />
362   - <xs:enumeration value="JPY" />
363   - <xs:enumeration value="KES" />
364   - <xs:enumeration value="KGS" />
365   - <xs:enumeration value="KHR" />
366   - <xs:enumeration value="KMF" />
367   - <xs:enumeration value="KPW" />
368   - <xs:enumeration value="KRW" />
369   - <xs:enumeration value="KWD" />
370   - <xs:enumeration value="KYD" />
371   - <xs:enumeration value="KZT" />
372   - <xs:enumeration value="LAK" />
373   - <xs:enumeration value="LBP" />
374   - <xs:enumeration value="LKR" />
375   - <xs:enumeration value="LRD" />
376   - <xs:enumeration value="LSL" />
377   - <xs:enumeration value="LTL" />
378   - <xs:enumeration value="LUF" />
379   - <xs:enumeration value="LVL" />
380   - <xs:enumeration value="LYD" />
381   - <xs:enumeration value="MAD" />
382   - <xs:enumeration value="MDL" />
383   - <xs:enumeration value="MGA" />
384   - <xs:enumeration value="MGF" />
385   - <xs:enumeration value="MKD" />
386   - <xs:enumeration value="MMK" />
387   - <xs:enumeration value="MNT" />
388   - <xs:enumeration value="MOP" />
389   - <xs:enumeration value="MRO" />
390   - <xs:enumeration value="MTL" />
391   - <xs:enumeration value="MUR" />
392   - <xs:enumeration value="MVR" />
393   - <xs:enumeration value="MWK" />
394   - <xs:enumeration value="MXN" />
395   - <xs:enumeration value="MXV" />
396   - <xs:enumeration value="MYR" />
397   - <xs:enumeration value="MZM" />
398   - <xs:enumeration value="MZN" />
399   - <xs:enumeration value="NAD" />
400   - <xs:enumeration value="NGN" />
401   - <xs:enumeration value="NIO" />
402   - <xs:enumeration value="NLG" />
403   - <xs:enumeration value="NOK" />
404   - <xs:enumeration value="NPR" />
405   - <xs:enumeration value="NZD" />
406   - <xs:enumeration value="OMR" />
407   - <xs:enumeration value="PAB" />
408   - <xs:enumeration value="PEN" />
409   - <xs:enumeration value="PGK" />
410   - <xs:enumeration value="PHP" />
411   - <xs:enumeration value="PKR" />
412   - <xs:enumeration value="PLN" />
413   - <xs:enumeration value="PTE" />
414   - <xs:enumeration value="PYG" />
415   - <xs:enumeration value="QAR" />
416   - <xs:enumeration value="ROL" />
417   - <xs:enumeration value="RON" />
418   - <xs:enumeration value="RSD" />
419   - <xs:enumeration value="RUB" />
420   - <xs:enumeration value="RUR" />
421   - <xs:enumeration value="RWF" />
422   - <xs:enumeration value="SAR" />
423   - <xs:enumeration value="SBD" />
424   - <xs:enumeration value="SCR" />
425   - <xs:enumeration value="SDD" />
426   - <xs:enumeration value="SDG" />
427   - <xs:enumeration value="SEK" />
428   - <xs:enumeration value="SGD" />
429   - <xs:enumeration value="SHP" />
430   - <xs:enumeration value="SIT" />
431   - <xs:enumeration value="SKK" />
432   - <xs:enumeration value="SLL" />
433   - <xs:enumeration value="SOS" />
434   - <xs:enumeration value="SRD" />
435   - <xs:enumeration value="SRG" />
436   - <xs:enumeration value="STD" />
437   - <xs:enumeration value="SVC" />
438   - <xs:enumeration value="SYP" />
439   - <xs:enumeration value="SZL" />
440   - <xs:enumeration value="THB" />
441   - <xs:enumeration value="TJS" />
442   - <xs:enumeration value="TMM" />
443   - <xs:enumeration value="TMT" />
444   - <xs:enumeration value="TND" />
445   - <xs:enumeration value="TOP" />
446   - <xs:enumeration value="TPE" />
447   - <xs:enumeration value="TRL" />
448   - <xs:enumeration value="TRY" />
449   - <xs:enumeration value="TTD" />
450   - <xs:enumeration value="TWD" />
451   - <xs:enumeration value="TZS" />
452   - <xs:enumeration value="UAH" />
453   - <xs:enumeration value="UGX" />
454   - <xs:enumeration value="USD" />
455   - <xs:enumeration value="USN" />
456   - <xs:enumeration value="USS" />
457   - <xs:enumeration value="UYU" />
458   - <xs:enumeration value="UZS" />
459   - <xs:enumeration value="VEB" />
460   - <xs:enumeration value="VEF" />
461   - <xs:enumeration value="VND" />
462   - <xs:enumeration value="VUV" />
463   - <xs:enumeration value="WST" />
464   - <xs:enumeration value="XAF" />
465   - <xs:enumeration value="XAG" />
466   - <xs:enumeration value="XAU" />
467   - <xs:enumeration value="XBA" />
468   - <xs:enumeration value="XBB" />
469   - <xs:enumeration value="XBC" />
470   - <xs:enumeration value="XBD" />
471   - <xs:enumeration value="XCD" />
472   - <xs:enumeration value="XDR" />
473   - <xs:enumeration value="XFO" />
474   - <xs:enumeration value="XFU" />
475   - <xs:enumeration value="XOF" />
476   - <xs:enumeration value="XPD" />
477   - <xs:enumeration value="XPF" />
478   - <xs:enumeration value="XPT" />
479   - <xs:enumeration value="XSU" />
480   - <xs:enumeration value="XTS" />
481   - <xs:enumeration value="XUA" />
482   - <xs:enumeration value="XXX" />
483   - <xs:enumeration value="YER" />
484   - <xs:enumeration value="YUM" />
485   - <xs:enumeration value="ZAR" />
486   - <xs:enumeration value="ZMK" />
487   - <xs:enumeration value="ZWD" />
488   - <xs:enumeration value="ZWL" />
489   - <xs:enumeration value="ZWN" />
490   - <xs:enumeration value="ZWR" />
491   - </xs:restriction>
492   - </xs:simpleType>
493   -
494   - <xs:simpleType name="organization-defined-type">
495   - <xs:annotation>
496   - <xs:documentation>Container for a organization defined type for an
497   - external identifier.
498   - </xs:documentation>
499   - </xs:annotation>
500   - <xs:restriction base="common:string-255">
501   - </xs:restriction>
502   - </xs:simpleType>
503   -
504   - <xs:element name="language-code" type="common:language-code"></xs:element>
505   -
506   - <xs:simpleType name="language-code">
507   - <xs:annotation>
508   - <xs:documentation>Two letter language code to identify the language