orcid_client 0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.env.example +10 -0
- data/.gitignore +42 -0
- data/.travis.yml +17 -0
- data/CHANGELOG.md +0 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +115 -0
- data/LICENSE.md +21 -0
- data/README.md +45 -0
- data/Rakefile +5 -0
- data/lib/orcid_client.rb +3 -0
- data/lib/orcid_client/api.rb +75 -0
- data/lib/orcid_client/author.rb +56 -0
- data/lib/orcid_client/base.rb +21 -0
- data/lib/orcid_client/date.rb +61 -0
- data/lib/orcid_client/metadata.rb +128 -0
- data/lib/orcid_client/notification.rb +125 -0
- data/lib/orcid_client/version.rb +3 -0
- data/lib/orcid_client/work.rb +200 -0
- data/lib/orcid_client/work_type.rb +68 -0
- data/orcid_client.gemspec +37 -0
- data/resources/common_2.0_rc3/common-2.0_rc3.xsd +1624 -0
- data/resources/common_2.0_rc3/samples/common-2.0_rc3.xml +8 -0
- data/resources/notification_2.0_rc3/notification-custom-2.0_rc3.xsd +32 -0
- data/resources/notification_2.0_rc3/notification-permission-2.0_rc3.xsd +128 -0
- data/resources/notification_2.0_rc3/samples/notification-custom-2.0_rc3.xml +45 -0
- data/resources/notification_2.0_rc3/samples/notification-permission-2.0_rc3.xml +58 -0
- data/resources/record_2.0_rc3/activities-2.0_rc3.xsd +187 -0
- data/resources/record_2.0_rc3/address-2.0_rc3.xsd +73 -0
- data/resources/record_2.0_rc3/bulk-2.0_rc3.xsd +57 -0
- data/resources/record_2.0_rc3/deprecated-2.0_rc3.xsd +80 -0
- data/resources/record_2.0_rc3/education-2.0_rc3.xsd +96 -0
- data/resources/record_2.0_rc3/email-2.0_rc3.xsd +74 -0
- data/resources/record_2.0_rc3/employment-2.0_rc3.xsd +96 -0
- data/resources/record_2.0_rc3/error-2.0_rc3.xsd +84 -0
- data/resources/record_2.0_rc3/funding-2.0_rc3.xsd +257 -0
- data/resources/record_2.0_rc3/history-2.0_rc3.xsd +203 -0
- data/resources/record_2.0_rc3/internal-2.0_rc3.xsd +199 -0
- data/resources/record_2.0_rc3/keyword-2.0_rc3.xsd +72 -0
- data/resources/record_2.0_rc3/other-name-2.0_rc3.xsd +88 -0
- data/resources/record_2.0_rc3/peer-review-2.0_rc3.xsd +246 -0
- data/resources/record_2.0_rc3/person-2.0_rc3.xsd +98 -0
- data/resources/record_2.0_rc3/person-external-identifier-2.0_rc3.xsd +63 -0
- data/resources/record_2.0_rc3/personal-details-2.0_rc3.xsd +186 -0
- data/resources/record_2.0_rc3/preferences-2.0_rc3.xsd +50 -0
- data/resources/record_2.0_rc3/record-2.0_rc3.xsd +105 -0
- data/resources/record_2.0_rc3/researcher-url-2.0_rc3.xsd +90 -0
- data/resources/record_2.0_rc3/samples/activities-2.0_rc3.xml +236 -0
- data/resources/record_2.0_rc3/samples/address-2.0_rc3.xml +16 -0
- data/resources/record_2.0_rc3/samples/addresses-2.0_rc3.xml +32 -0
- data/resources/record_2.0_rc3/samples/biography-2.0_rc3.xml +10 -0
- data/resources/record_2.0_rc3/samples/bulk-work-2.0_rc3.json +56 -0
- data/resources/record_2.0_rc3/samples/bulk-work-2.0_rc3.xml +62 -0
- data/resources/record_2.0_rc3/samples/credit-name-2.0_rc3.xml +5 -0
- data/resources/record_2.0_rc3/samples/deprecated-2.0_rc3.xml +13 -0
- data/resources/record_2.0_rc3/samples/education-2.0_rc3.xml +30 -0
- data/resources/record_2.0_rc3/samples/education-full-2.0_rc3.xml +40 -0
- data/resources/record_2.0_rc3/samples/email-2.0_rc3.xml +16 -0
- data/resources/record_2.0_rc3/samples/emails-2.0_rc3.xml +31 -0
- data/resources/record_2.0_rc3/samples/employment-2.0_rc3.xml +30 -0
- data/resources/record_2.0_rc3/samples/employment-full-2.0_rc3.xml +40 -0
- data/resources/record_2.0_rc3/samples/error-2.0_rc3.xml +8 -0
- data/resources/record_2.0_rc3/samples/external-identifier-2.0_rc3.xml +20 -0
- data/resources/record_2.0_rc3/samples/external-identifiers-2.0_rc3.xml +36 -0
- data/resources/record_2.0_rc3/samples/funding-2.0_rc3.xml +65 -0
- data/resources/record_2.0_rc3/samples/funding-full-2.0_rc3.xml +75 -0
- data/resources/record_2.0_rc3/samples/history-2.0_rc3.xml +22 -0
- data/resources/record_2.0_rc3/samples/keyword-2.0_rc3.xml +18 -0
- data/resources/record_2.0_rc3/samples/keywords-2.0_rc3.xml +34 -0
- data/resources/record_2.0_rc3/samples/name-2.0_rc3.xml +12 -0
- data/resources/record_2.0_rc3/samples/other-name-2.0_rc3.xml +16 -0
- data/resources/record_2.0_rc3/samples/other-names-2.0_rc3.xml +31 -0
- data/resources/record_2.0_rc3/samples/peer-review-2.0_rc3.xml +49 -0
- data/resources/record_2.0_rc3/samples/peer-review-full-2.0_rc3.xml +59 -0
- data/resources/record_2.0_rc3/samples/person-2.0_rc3.xml +122 -0
- data/resources/record_2.0_rc3/samples/personal-details-2.0_rc3.xml +47 -0
- data/resources/record_2.0_rc3/samples/preferences-2.0_rc3.xml +4 -0
- data/resources/record_2.0_rc3/samples/record-2.0_rc3.xml +420 -0
- data/resources/record_2.0_rc3/samples/researcher-url-2.0_rc3.xml +19 -0
- data/resources/record_2.0_rc3/samples/researcher-urls-2.0_rc3.xml +21 -0
- data/resources/record_2.0_rc3/samples/search-2.0_rc3.xml +368 -0
- data/resources/record_2.0_rc3/samples/work-2.0_rc3.xml +49 -0
- data/resources/record_2.0_rc3/samples/work-full-2.0_rc3.xml +59 -0
- data/resources/record_2.0_rc3/search-2.0_rc3.xsd +82 -0
- data/resources/record_2.0_rc3/work-2.0_rc3.xsd +445 -0
- data/spec/api_spec.rb +59 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient/get/should_get_works.yml +646 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/post/should_create_notification.yml +104 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/delete/should_delete_work.yml +38 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/get/should_get_works.yml +646 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/post/should_create_work.yml +116 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/put/should_update_work.yml +155 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/data.yml +44 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_data.yml +44 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_item_type_work.yml +41 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/citation.yml +50 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/literal.yml +47 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/multiple_titles.yml +47 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/valid.yml +50 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/with_ORCID_IDs.yml +157 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/data.yml +50 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/publication_date.yml +50 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_ORCID_IDs_for_contributors.yml +157 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_data.yml +50 -0
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_type_data-set.yml +47 -0
- data/spec/fixtures/work.xml +33 -0
- data/spec/notification_spec.rb +42 -0
- data/spec/spec_helper.rb +32 -0
- data/spec/work_spec.rb +100 -0
- metadata +392 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<work:work put-code="123" visibility="private"
|
3
|
+
xmlns:common="http://www.orcid.org/ns/common" xmlns:work="http://www.orcid.org/ns/work"
|
4
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
+
xsi:schemaLocation="http://www.orcid.org/ns/work ../work-2.0_rc3.xsd ">
|
6
|
+
<common:created-date>2001-12-31T12:00:00</common:created-date>
|
7
|
+
<common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
|
8
|
+
<common:source>
|
9
|
+
<common:source-orcid>
|
10
|
+
<common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
|
11
|
+
<common:path>8888-8888-8888-8880</common:path>
|
12
|
+
<common:host>orcid.org</common:host>
|
13
|
+
</common:source-orcid>
|
14
|
+
<common:source-name />
|
15
|
+
</common:source>
|
16
|
+
<work:title>
|
17
|
+
<common:title>common:title</common:title>
|
18
|
+
<common:subtitle />
|
19
|
+
<common:translated-title language-code="en">common:translated-title</common:translated-title>
|
20
|
+
</work:title>
|
21
|
+
<work:journal-title />
|
22
|
+
<work:short-description>work:short-description</work:short-description>
|
23
|
+
<work:citation>
|
24
|
+
<work:citation-type>formatted-unspecified</work:citation-type>
|
25
|
+
<work:citation-value>work:citation</work:citation-value>
|
26
|
+
</work:citation>
|
27
|
+
<work:type>artistic-performance</work:type>
|
28
|
+
<common:publication-date>
|
29
|
+
<common:year>1848</common:year>
|
30
|
+
<common:month>02</common:month>
|
31
|
+
<common:day>02</common:day>
|
32
|
+
</common:publication-date>
|
33
|
+
<common:external-ids>
|
34
|
+
<common:external-id>
|
35
|
+
<common:external-id-type>agr</common:external-id-type>
|
36
|
+
<common:external-id-value>work:external-identifier-id</common:external-id-value>
|
37
|
+
<common:external-id-url>http://orcid.org</common:external-id-url>
|
38
|
+
<common:external-id-relationship>self</common:external-id-relationship>
|
39
|
+
</common:external-id>
|
40
|
+
</common:external-ids>
|
41
|
+
<work:url>http://tempuri.org</work:url>
|
42
|
+
<work:contributors>
|
43
|
+
<work:contributor>
|
44
|
+
<common:contributor-orcid>
|
45
|
+
<common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
|
46
|
+
<common:path>8888-8888-8888-8880</common:path>
|
47
|
+
<common:host>orcid.org</common:host>
|
48
|
+
</common:contributor-orcid>
|
49
|
+
<work:credit-name visibility="private">work:credit-name</work:credit-name>
|
50
|
+
<work:contributor-email>work@contributor.email</work:contributor-email>
|
51
|
+
<work:contributor-attributes>
|
52
|
+
<work:contributor-sequence>first</work:contributor-sequence>
|
53
|
+
<work:contributor-role>author</work:contributor-role>
|
54
|
+
</work:contributor-attributes>
|
55
|
+
</work:contributor>
|
56
|
+
</work:contributors>
|
57
|
+
<common:language-code>en</common:language-code>
|
58
|
+
<common:country visibility="private">AF</common:country>
|
59
|
+
</work:work>
|
@@ -0,0 +1,82 @@
|
|
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/search" xmlns:search="http://www.orcid.org/ns/search"
|
5
|
+
xmlns:common="http://www.orcid.org/ns/common" xmlns:record="http://www.orcid.org/ns/record">
|
6
|
+
<xs:annotation>
|
7
|
+
<xs:documentation>
|
8
|
+
=============================================================================
|
9
|
+
|
10
|
+
ORCID (R) Open Source
|
11
|
+
http://orcid.org
|
12
|
+
|
13
|
+
Copyright (c) 2012-2014 ORCID,
|
14
|
+
Inc.
|
15
|
+
Licensed under an MIT-Style License (MIT)
|
16
|
+
http://orcid.org/open-source-license
|
17
|
+
|
18
|
+
This copyright and license
|
19
|
+
information (including a link to the full
|
20
|
+
license)
|
21
|
+
shall be included in
|
22
|
+
its entirety in all copies or substantial portion of
|
23
|
+
the software.
|
24
|
+
|
25
|
+
=============================================================================
|
26
|
+
The schema describes the message format used for ORCID API requests
|
27
|
+
and responses.
|
28
|
+
The top level element is orcid-message.
|
29
|
+
</xs:documentation>
|
30
|
+
<xs:appinfo>
|
31
|
+
<sch:title>Schematron validation</sch:title>
|
32
|
+
<sch:ns prefix="orcid" uri="http://www.orcid.org/ns/orcid" />
|
33
|
+
</xs:appinfo>
|
34
|
+
</xs:annotation>
|
35
|
+
<xs:import namespace="http://www.orcid.org/ns/common"
|
36
|
+
schemaLocation="../common_2.0_rc3/common-2.0_rc3.xsd" />
|
37
|
+
<xs:import namespace="http://www.orcid.org/ns/record"
|
38
|
+
schemaLocation="record-2.0_rc3.xsd" />
|
39
|
+
|
40
|
+
|
41
|
+
<xs:element name="search">
|
42
|
+
<xs:complexType>
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>The container element for the results when
|
45
|
+
performing a search on the ORCID Registry. the num-found attribute
|
46
|
+
indicates the number of successful matches.
|
47
|
+
</xs:documentation>
|
48
|
+
</xs:annotation>
|
49
|
+
<xs:sequence>
|
50
|
+
<xs:element name="result" type="search:result" minOccurs="0"
|
51
|
+
maxOccurs="unbounded" />
|
52
|
+
</xs:sequence>
|
53
|
+
<xs:attribute name="num-found" type="xs:integer" default="0" />
|
54
|
+
</xs:complexType>
|
55
|
+
</xs:element>
|
56
|
+
|
57
|
+
|
58
|
+
<xs:complexType name="result">
|
59
|
+
<xs:annotation>
|
60
|
+
<xs:documentation>A single result when performing a search on the
|
61
|
+
ORCID Registry.
|
62
|
+
</xs:documentation>
|
63
|
+
</xs:annotation>
|
64
|
+
<xs:sequence>
|
65
|
+
<xs:element name="relevancy-score" type="search:relevancy-score"
|
66
|
+
maxOccurs="1" />
|
67
|
+
<xs:element ref="record:record" maxOccurs="1" />
|
68
|
+
</xs:sequence>
|
69
|
+
</xs:complexType>
|
70
|
+
|
71
|
+
<xs:complexType mixed="true" name="relevancy-score">
|
72
|
+
<xs:annotation>
|
73
|
+
<xs:documentation>Search relevancy score based on ORCID's search
|
74
|
+
scoring model.
|
75
|
+
</xs:documentation>
|
76
|
+
</xs:annotation>
|
77
|
+
<xs:simpleContent>
|
78
|
+
<xs:extension base="xs:float" />
|
79
|
+
</xs:simpleContent>
|
80
|
+
</xs:complexType>
|
81
|
+
|
82
|
+
</xs:schema>
|
@@ -0,0 +1,445 @@
|
|
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/work" xmlns:work="http://www.orcid.org/ns/work"
|
5
|
+
xmlns:common="http://www.orcid.org/ns/common" xmlns:error="http://www.orcid.org/ns/error">
|
6
|
+
<xs:annotation>
|
7
|
+
<xs:documentation>
|
8
|
+
=============================================================================
|
9
|
+
|
10
|
+
ORCID (R) Open Source
|
11
|
+
http://orcid.org
|
12
|
+
|
13
|
+
Copyright (c) 2012-2014 ORCID,
|
14
|
+
Inc.
|
15
|
+
Licensed under an MIT-Style License (MIT)
|
16
|
+
http://orcid.org/open-source-license
|
17
|
+
|
18
|
+
This copyright and license
|
19
|
+
information (including a link to the full
|
20
|
+
license)
|
21
|
+
shall be included in
|
22
|
+
its entirety in all copies or substantial portion of
|
23
|
+
the software.
|
24
|
+
|
25
|
+
=============================================================================
|
26
|
+
The schema describes the message format used for ORCID API requests
|
27
|
+
and responses.
|
28
|
+
The top level element is orcid-message.
|
29
|
+
</xs:documentation>
|
30
|
+
<xs:appinfo>
|
31
|
+
<sch:title>Schematron validation</sch:title>
|
32
|
+
<sch:ns prefix="orcid" uri="http://www.orcid.org/ns/orcid" />
|
33
|
+
</xs:appinfo>
|
34
|
+
</xs:annotation>
|
35
|
+
<xs:import namespace="http://www.orcid.org/ns/common"
|
36
|
+
schemaLocation="../common_2.0_rc3/common-2.0_rc3.xsd" />
|
37
|
+
|
38
|
+
<xs:import namespace="http://www.orcid.org/ns/error"
|
39
|
+
schemaLocation="error-2.0_rc3.xsd" />
|
40
|
+
|
41
|
+
<xs:element name="work">
|
42
|
+
<xs:complexType>
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>A work published by the researcher or contributor.
|
45
|
+
* The visibility attribute (private, limited or public) can be set
|
46
|
+
at record creation, and indicates who can see this section of
|
47
|
+
information.
|
48
|
+
* The put-code attribute is used only when reading this
|
49
|
+
element. When updating the item, the put-code attribute must be
|
50
|
+
included to indicate the specific record to be updated.
|
51
|
+
</xs:documentation>
|
52
|
+
</xs:annotation>
|
53
|
+
<xs:complexContent>
|
54
|
+
<xs:extension base="common:element-summary">
|
55
|
+
<xs:sequence>
|
56
|
+
|
57
|
+
<xs:element name="title" type="work:work-title"
|
58
|
+
minOccurs="0" />
|
59
|
+
<xs:element name="journal-title" type="work:journal-title"
|
60
|
+
minOccurs="0" maxOccurs="1" />
|
61
|
+
<xs:element name="short-description" type="common:short-description"
|
62
|
+
minOccurs="0" />
|
63
|
+
<xs:element name="citation" minOccurs="0" type="work:citation">
|
64
|
+
<xs:annotation>
|
65
|
+
<xs:documentation>Element containing the type and content of the
|
66
|
+
citation for this work
|
67
|
+
</xs:documentation>
|
68
|
+
</xs:annotation>
|
69
|
+
</xs:element>
|
70
|
+
<xs:element name="type" type="work:work-type" />
|
71
|
+
<xs:element ref="common:publication-date" minOccurs="0" />
|
72
|
+
<xs:element ref="common:external-ids"
|
73
|
+
minOccurs="0">
|
74
|
+
<xs:annotation>
|
75
|
+
<xs:documentation>Element containing the type and content of the
|
76
|
+
citation for this work
|
77
|
+
</xs:documentation>
|
78
|
+
</xs:annotation>
|
79
|
+
</xs:element>
|
80
|
+
<xs:element name="url" type="common:url" minOccurs="0" />
|
81
|
+
<xs:element name="contributors" type="work:work-contributors"
|
82
|
+
minOccurs="0" />
|
83
|
+
<xs:element ref="common:language-code" minOccurs="0"
|
84
|
+
maxOccurs="1" />
|
85
|
+
<xs:element ref="common:country" minOccurs="0" />
|
86
|
+
</xs:sequence>
|
87
|
+
</xs:extension>
|
88
|
+
</xs:complexContent>
|
89
|
+
</xs:complexType>
|
90
|
+
</xs:element>
|
91
|
+
|
92
|
+
<xs:element name="work-summary">
|
93
|
+
<xs:complexType>
|
94
|
+
<xs:complexContent>
|
95
|
+
<xs:extension base="common:element-summary">
|
96
|
+
<xs:sequence>
|
97
|
+
<xs:element name="title" type="work:work-title"
|
98
|
+
minOccurs="1" />
|
99
|
+
<xs:element ref="common:external-ids"
|
100
|
+
minOccurs="0" />
|
101
|
+
<xs:element name="type" type="work:work-type" />
|
102
|
+
<xs:element ref="common:publication-date" minOccurs="0" />
|
103
|
+
</xs:sequence>
|
104
|
+
</xs:extension>
|
105
|
+
</xs:complexContent>
|
106
|
+
</xs:complexType>
|
107
|
+
</xs:element>
|
108
|
+
|
109
|
+
<xs:simpleType name="work-type">
|
110
|
+
<xs:annotation>
|
111
|
+
<xs:documentation>The types of works accepted accepted by the ORCID
|
112
|
+
Registry. Please refer to the CASRAI dictionary for definitions of
|
113
|
+
each work type.
|
114
|
+
http://dictionary.casrai.org/research-personnel-profile/contributions/outputs
|
115
|
+
</xs:documentation>
|
116
|
+
</xs:annotation>
|
117
|
+
<xs:restriction base="xs:string">
|
118
|
+
<xs:enumeration value="artistic-performance" />
|
119
|
+
<xs:enumeration value="book-chapter" />
|
120
|
+
<xs:enumeration value="book-review" />
|
121
|
+
<xs:enumeration value="book" />
|
122
|
+
<xs:enumeration value="conference-abstract" />
|
123
|
+
<xs:enumeration value="conference-paper" />
|
124
|
+
<xs:enumeration value="conference-poster" />
|
125
|
+
<xs:enumeration value="data-set" />
|
126
|
+
<xs:enumeration value="dictionary-entry" />
|
127
|
+
<xs:enumeration value="disclosure" />
|
128
|
+
<xs:enumeration value="dissertation" />
|
129
|
+
<xs:enumeration value="edited-book" />
|
130
|
+
<xs:enumeration value="encyclopedia-entry" />
|
131
|
+
<xs:enumeration value="invention" />
|
132
|
+
<xs:enumeration value="journal-article" />
|
133
|
+
<xs:enumeration value="journal-issue" />
|
134
|
+
<xs:enumeration value="lecture-speech" />
|
135
|
+
<xs:enumeration value="license" />
|
136
|
+
<xs:enumeration value="magazine-article" />
|
137
|
+
<xs:enumeration value="manual" />
|
138
|
+
<xs:enumeration value="newsletter-article" />
|
139
|
+
<xs:enumeration value="newspaper-article" />
|
140
|
+
<xs:enumeration value="online-resource" />
|
141
|
+
<xs:enumeration value="other" />
|
142
|
+
<xs:enumeration value="patent" />
|
143
|
+
<xs:enumeration value="registered-copyright" />
|
144
|
+
<xs:enumeration value="report" />
|
145
|
+
<xs:enumeration value="research-technique" />
|
146
|
+
<xs:enumeration value="research-tool" />
|
147
|
+
<xs:enumeration value="spin-off-company" />
|
148
|
+
<xs:enumeration value="standards-and-policy" />
|
149
|
+
<xs:enumeration value="supervised-student-publication" />
|
150
|
+
<xs:enumeration value="technical-standard" />
|
151
|
+
<xs:enumeration value="test" />
|
152
|
+
<xs:enumeration value="translation" />
|
153
|
+
<xs:enumeration value="trademark" />
|
154
|
+
<xs:enumeration value="website" />
|
155
|
+
<xs:enumeration value="working-paper" />
|
156
|
+
</xs:restriction>
|
157
|
+
</xs:simpleType>
|
158
|
+
<!--
|
159
|
+
<xs:complexType name="work-external-identifiers">
|
160
|
+
<xs:annotation>
|
161
|
+
<xs:documentation>Container for storing the external references to
|
162
|
+
the work.
|
163
|
+
</xs:documentation>
|
164
|
+
</xs:annotation>
|
165
|
+
<xs:sequence>
|
166
|
+
<xs:element maxOccurs="unbounded" minOccurs="0"
|
167
|
+
name="work-external-identifier" type="work:external-identifier" />
|
168
|
+
</xs:sequence>
|
169
|
+
</xs:complexType>
|
170
|
+
|
171
|
+
<xs:complexType name="external-identifier">
|
172
|
+
<xs:annotation>
|
173
|
+
<xs:documentation>External references to the work.
|
174
|
+
</xs:documentation>
|
175
|
+
</xs:annotation>
|
176
|
+
<xs:complexContent>
|
177
|
+
<xs:extension base="common:external-identifier">
|
178
|
+
<xs:sequence>
|
179
|
+
<xs:element name="external-identifier-type" type="work:external-identifier-type"
|
180
|
+
maxOccurs="1" />
|
181
|
+
<xs:element name="external-identifier-id" maxOccurs="1"
|
182
|
+
type="common:non-empty-string">
|
183
|
+
<xs:annotation>
|
184
|
+
<xs:documentation>Value for the identifier</xs:documentation>
|
185
|
+
</xs:annotation>
|
186
|
+
</xs:element>
|
187
|
+
</xs:sequence>
|
188
|
+
</xs:extension>
|
189
|
+
</xs:complexContent>
|
190
|
+
</xs:complexType>
|
191
|
+
|
192
|
+
<xs:simpleType name="external-identifier-type">
|
193
|
+
<xs:annotation>
|
194
|
+
<xs:documentation>The type of work external identifier, e.g DOI, PMID
|
195
|
+
etc.
|
196
|
+
</xs:documentation>
|
197
|
+
</xs:annotation>
|
198
|
+
|
199
|
+
<xs:restriction base="xs:string">
|
200
|
+
<xs:enumeration value="agr">
|
201
|
+
<xs:annotation>
|
202
|
+
<xs:documentation>Agricola</xs:documentation>
|
203
|
+
</xs:annotation>
|
204
|
+
</xs:enumeration>
|
205
|
+
<xs:enumeration value="arxiv" />
|
206
|
+
<xs:enumeration value="asin" />
|
207
|
+
<xs:enumeration value="asin-tld" />
|
208
|
+
<xs:enumeration value="bibcode" />
|
209
|
+
<xs:enumeration value="cba">
|
210
|
+
<xs:annotation>
|
211
|
+
<xs:documentation>Chinese Biological Abstracts</xs:documentation>
|
212
|
+
</xs:annotation>
|
213
|
+
</xs:enumeration>
|
214
|
+
<xs:enumeration value="cit">
|
215
|
+
<xs:annotation>
|
216
|
+
<xs:documentation>CiteSeer</xs:documentation>
|
217
|
+
</xs:annotation>
|
218
|
+
</xs:enumeration>
|
219
|
+
<xs:enumeration value="ctx">
|
220
|
+
<xs:annotation>
|
221
|
+
<xs:documentation>CiteXplore submission</xs:documentation>
|
222
|
+
</xs:annotation>
|
223
|
+
</xs:enumeration>
|
224
|
+
<xs:enumeration value="doi" />
|
225
|
+
<xs:enumeration value="eid" />
|
226
|
+
<xs:enumeration value="ethos">
|
227
|
+
<xs:annotation>
|
228
|
+
<xs:documentation>EThOS Peristent ID</xs:documentation>
|
229
|
+
</xs:annotation>
|
230
|
+
</xs:enumeration>
|
231
|
+
<xs:enumeration value="handle" />
|
232
|
+
<xs:enumeration value="hir">
|
233
|
+
<xs:annotation>
|
234
|
+
<xs:documentation>NHS Evidence</xs:documentation>
|
235
|
+
</xs:annotation>
|
236
|
+
</xs:enumeration>
|
237
|
+
<xs:enumeration value="isbn" />
|
238
|
+
<xs:enumeration value="issn" />
|
239
|
+
<xs:enumeration value="jfm" />
|
240
|
+
<xs:enumeration value="jstor" />
|
241
|
+
<xs:enumeration value="lccn" />
|
242
|
+
<xs:enumeration value="mr" />
|
243
|
+
<xs:enumeration value="oclc" />
|
244
|
+
<xs:enumeration value="ol" />
|
245
|
+
<xs:enumeration value="osti" />
|
246
|
+
<xs:enumeration value="other-id" />
|
247
|
+
<xs:enumeration value="pat">
|
248
|
+
<xs:annotation>
|
249
|
+
<xs:documentation>Patent number prefixed with ISO 3611 two letter
|
250
|
+
country code
|
251
|
+
</xs:documentation>
|
252
|
+
</xs:annotation>
|
253
|
+
</xs:enumeration>
|
254
|
+
<xs:enumeration value="pmc" />
|
255
|
+
<xs:enumeration value="pmid" />
|
256
|
+
<xs:enumeration value="rfc" />
|
257
|
+
<xs:enumeration value="source-work-id">
|
258
|
+
<xs:annotation>
|
259
|
+
<xs:documentation>Non-standard ID with meaning only in the system
|
260
|
+
from which the work data were sourced
|
261
|
+
</xs:documentation>
|
262
|
+
</xs:annotation>
|
263
|
+
</xs:enumeration>
|
264
|
+
<xs:enumeration value="ssrn" />
|
265
|
+
<xs:enumeration value="uri" />
|
266
|
+
<xs:enumeration value="urn" />
|
267
|
+
<xs:enumeration value="wosuid">
|
268
|
+
<xs:annotation>
|
269
|
+
<xs:documentation>Web of Science™ identifier</xs:documentation>
|
270
|
+
</xs:annotation>
|
271
|
+
</xs:enumeration>
|
272
|
+
<xs:enumeration value="zbl" />
|
273
|
+
</xs:restriction>
|
274
|
+
</xs:simpleType>
|
275
|
+
-->
|
276
|
+
<xs:complexType name="work-contributors">
|
277
|
+
<xs:annotation>
|
278
|
+
<xs:documentation>Container for the contributors of a Work.
|
279
|
+
</xs:documentation>
|
280
|
+
</xs:annotation>
|
281
|
+
<xs:sequence>
|
282
|
+
<xs:element maxOccurs="unbounded" minOccurs="0" name="contributor"
|
283
|
+
type="work:contributor" />
|
284
|
+
</xs:sequence>
|
285
|
+
</xs:complexType>
|
286
|
+
<xs:complexType name="contributor">
|
287
|
+
<xs:annotation>
|
288
|
+
<xs:documentation>A collaborator or other contributor to a work or
|
289
|
+
other orcid-activity
|
290
|
+
</xs:documentation>
|
291
|
+
</xs:annotation>
|
292
|
+
<xs:sequence>
|
293
|
+
<xs:element ref="common:contributor-orcid" minOccurs="0"
|
294
|
+
maxOccurs="1">
|
295
|
+
<xs:annotation>
|
296
|
+
<xs:documentation>ORCID iD for the contributor</xs:documentation>
|
297
|
+
</xs:annotation>
|
298
|
+
</xs:element>
|
299
|
+
<xs:element name="credit-name" type="common:credit-name"
|
300
|
+
minOccurs="0" maxOccurs="1" />
|
301
|
+
<xs:element name="contributor-email" type="work:contributor-email"
|
302
|
+
minOccurs="0" maxOccurs="1" />
|
303
|
+
<xs:element name="contributor-attributes" type="work:contributor-attributes"
|
304
|
+
minOccurs="0" maxOccurs="1" />
|
305
|
+
</xs:sequence>
|
306
|
+
</xs:complexType>
|
307
|
+
<xs:complexType name="contributor-email">
|
308
|
+
<xs:annotation>
|
309
|
+
<xs:documentation>Email of the collaborator or other contributor.
|
310
|
+
When provided during creation or update, the email address is used
|
311
|
+
to look up and add the contributor's ORCID iD.
|
312
|
+
</xs:documentation>
|
313
|
+
</xs:annotation>
|
314
|
+
|
315
|
+
<xs:simpleContent>
|
316
|
+
<xs:extension base="common:email" />
|
317
|
+
</xs:simpleContent>
|
318
|
+
</xs:complexType>
|
319
|
+
<xs:complexType name="contributor-attributes">
|
320
|
+
<xs:annotation>
|
321
|
+
<xs:documentation>Provides detail of the nature of the contribution
|
322
|
+
by the collaborator or other contirbutor.
|
323
|
+
</xs:documentation>
|
324
|
+
</xs:annotation>
|
325
|
+
<xs:sequence>
|
326
|
+
<xs:element name="contributor-sequence" type="work:contributor-sequence"
|
327
|
+
minOccurs="0" />
|
328
|
+
<xs:element name="contributor-role" type="work:contributor-role"
|
329
|
+
minOccurs="0" />
|
330
|
+
</xs:sequence>
|
331
|
+
</xs:complexType>
|
332
|
+
<xs:simpleType name="contributor-sequence">
|
333
|
+
<xs:annotation>
|
334
|
+
<xs:documentation>Indication of where in the contributor list the
|
335
|
+
collaborator or other contributor's name would appear
|
336
|
+
</xs:documentation>
|
337
|
+
</xs:annotation>
|
338
|
+
|
339
|
+
<xs:restriction base="xs:string">
|
340
|
+
<xs:enumeration value="first" />
|
341
|
+
<xs:enumeration value="additional" />
|
342
|
+
</xs:restriction>
|
343
|
+
</xs:simpleType>
|
344
|
+
|
345
|
+
<xs:simpleType name="contributor-role">
|
346
|
+
<xs:annotation>
|
347
|
+
<xs:documentation>The role performed by the collaborator or other
|
348
|
+
contributor.
|
349
|
+
</xs:documentation>
|
350
|
+
</xs:annotation>
|
351
|
+
<xs:restriction base="xs:string">
|
352
|
+
<xs:enumeration value="author" />
|
353
|
+
<xs:enumeration value="assignee" />
|
354
|
+
<xs:enumeration value="editor" />
|
355
|
+
<xs:enumeration value="chair-or-translator" />
|
356
|
+
<xs:enumeration value="co-investigator" />
|
357
|
+
<xs:enumeration value="co-inventor" />
|
358
|
+
<xs:enumeration value="graduate-student" />
|
359
|
+
<xs:enumeration value="other-inventor" />
|
360
|
+
<xs:enumeration value="principal-investigator" />
|
361
|
+
<xs:enumeration value="postdoctoral-researcher" />
|
362
|
+
<xs:enumeration value="support-staff" />
|
363
|
+
</xs:restriction>
|
364
|
+
</xs:simpleType>
|
365
|
+
|
366
|
+
<xs:complexType name="work-title">
|
367
|
+
<xs:annotation>
|
368
|
+
<xs:documentation>Container for titles of the work.
|
369
|
+
</xs:documentation>
|
370
|
+
</xs:annotation>
|
371
|
+
<xs:sequence>
|
372
|
+
<xs:element ref="common:title">
|
373
|
+
<xs:annotation>
|
374
|
+
<xs:documentation>The main name or title of the work. For a
|
375
|
+
spin-off company, include use the company name
|
376
|
+
</xs:documentation>
|
377
|
+
</xs:annotation>
|
378
|
+
</xs:element>
|
379
|
+
<xs:element ref="common:subtitle" minOccurs="0" />
|
380
|
+
<xs:element ref="common:translated-title" minOccurs="0" />
|
381
|
+
</xs:sequence>
|
382
|
+
</xs:complexType>
|
383
|
+
<xs:complexType mixed="true" name="journal-title">
|
384
|
+
<xs:annotation>
|
385
|
+
<xs:documentation>The title of the publication or group under which
|
386
|
+
the work was published.
|
387
|
+
* If a jounal, include the journal title of
|
388
|
+
the work.
|
389
|
+
* If a book chapter, use the book title.
|
390
|
+
* If a translation
|
391
|
+
or a
|
392
|
+
manual, use the series title.
|
393
|
+
* If a dictionary entry, use the
|
394
|
+
dictionary title.
|
395
|
+
* If a conference poster, abstract or paper, use
|
396
|
+
the conference name.
|
397
|
+
</xs:documentation>
|
398
|
+
</xs:annotation>
|
399
|
+
</xs:complexType>
|
400
|
+
|
401
|
+
<xs:complexType name="subtitle" mixed="true">
|
402
|
+
<xs:annotation>
|
403
|
+
<xs:documentation>If the work has a subtitle, include it here.
|
404
|
+
</xs:documentation>
|
405
|
+
</xs:annotation>
|
406
|
+
</xs:complexType>
|
407
|
+
|
408
|
+
<xs:complexType name="citation">
|
409
|
+
<xs:annotation>
|
410
|
+
<xs:documentation>Container for a work citation. Citations may be
|
411
|
+
fielded (e.g., RIS, BibTeX - preferred citation type), or may be
|
412
|
+
textual (APA, MLA, Chicago, etc.) The required work-citation-type
|
413
|
+
element indicates the format of the citation.
|
414
|
+
</xs:documentation>
|
415
|
+
</xs:annotation>
|
416
|
+
<xs:sequence>
|
417
|
+
<xs:element name="citation-type" default="formatted-unspecified"
|
418
|
+
type="work:citation-type" maxOccurs="1" minOccurs="1" />
|
419
|
+
<xs:element name="citation-value" type="xs:string" maxOccurs="1"
|
420
|
+
minOccurs="1" />
|
421
|
+
</xs:sequence>
|
422
|
+
</xs:complexType>
|
423
|
+
|
424
|
+
<xs:simpleType name="citation-type">
|
425
|
+
<xs:annotation>
|
426
|
+
<xs:documentation>(REQUIRED) The type (format) of the citation.
|
427
|
+
BibTeX format is recommended. NOTE: the values displayed to the
|
428
|
+
website user are localized (translated) in the ORCID Registry web
|
429
|
+
interface. For reference:
|
430
|
+
https://github.com/ORCID/ORCID-Source/tree/master/orcid-core/src/main/resources/i18n
|
431
|
+
</xs:documentation>
|
432
|
+
</xs:annotation>
|
433
|
+
<xs:restriction base="xs:string">
|
434
|
+
<xs:enumeration value="formatted-unspecified" />
|
435
|
+
<xs:enumeration value="bibtex" />
|
436
|
+
<xs:enumeration value="ris" />
|
437
|
+
<xs:enumeration value="formatted-apa" />
|
438
|
+
<xs:enumeration value="formatted-harvard" />
|
439
|
+
<xs:enumeration value="formatted-ieee" />
|
440
|
+
<xs:enumeration value="formatted-mla" />
|
441
|
+
<xs:enumeration value="formatted-vancouver" />
|
442
|
+
<xs:enumeration value="formatted-chicago" />
|
443
|
+
</xs:restriction>
|
444
|
+
</xs:simpleType>
|
445
|
+
</xs:schema>
|