orcid_client 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +10 -0
  3. data/.gitignore +42 -0
  4. data/.travis.yml +17 -0
  5. data/CHANGELOG.md +0 -0
  6. data/Gemfile +4 -0
  7. data/Gemfile.lock +115 -0
  8. data/LICENSE.md +21 -0
  9. data/README.md +45 -0
  10. data/Rakefile +5 -0
  11. data/lib/orcid_client.rb +3 -0
  12. data/lib/orcid_client/api.rb +75 -0
  13. data/lib/orcid_client/author.rb +56 -0
  14. data/lib/orcid_client/base.rb +21 -0
  15. data/lib/orcid_client/date.rb +61 -0
  16. data/lib/orcid_client/metadata.rb +128 -0
  17. data/lib/orcid_client/notification.rb +125 -0
  18. data/lib/orcid_client/version.rb +3 -0
  19. data/lib/orcid_client/work.rb +200 -0
  20. data/lib/orcid_client/work_type.rb +68 -0
  21. data/orcid_client.gemspec +37 -0
  22. data/resources/common_2.0_rc3/common-2.0_rc3.xsd +1624 -0
  23. data/resources/common_2.0_rc3/samples/common-2.0_rc3.xml +8 -0
  24. data/resources/notification_2.0_rc3/notification-custom-2.0_rc3.xsd +32 -0
  25. data/resources/notification_2.0_rc3/notification-permission-2.0_rc3.xsd +128 -0
  26. data/resources/notification_2.0_rc3/samples/notification-custom-2.0_rc3.xml +45 -0
  27. data/resources/notification_2.0_rc3/samples/notification-permission-2.0_rc3.xml +58 -0
  28. data/resources/record_2.0_rc3/activities-2.0_rc3.xsd +187 -0
  29. data/resources/record_2.0_rc3/address-2.0_rc3.xsd +73 -0
  30. data/resources/record_2.0_rc3/bulk-2.0_rc3.xsd +57 -0
  31. data/resources/record_2.0_rc3/deprecated-2.0_rc3.xsd +80 -0
  32. data/resources/record_2.0_rc3/education-2.0_rc3.xsd +96 -0
  33. data/resources/record_2.0_rc3/email-2.0_rc3.xsd +74 -0
  34. data/resources/record_2.0_rc3/employment-2.0_rc3.xsd +96 -0
  35. data/resources/record_2.0_rc3/error-2.0_rc3.xsd +84 -0
  36. data/resources/record_2.0_rc3/funding-2.0_rc3.xsd +257 -0
  37. data/resources/record_2.0_rc3/history-2.0_rc3.xsd +203 -0
  38. data/resources/record_2.0_rc3/internal-2.0_rc3.xsd +199 -0
  39. data/resources/record_2.0_rc3/keyword-2.0_rc3.xsd +72 -0
  40. data/resources/record_2.0_rc3/other-name-2.0_rc3.xsd +88 -0
  41. data/resources/record_2.0_rc3/peer-review-2.0_rc3.xsd +246 -0
  42. data/resources/record_2.0_rc3/person-2.0_rc3.xsd +98 -0
  43. data/resources/record_2.0_rc3/person-external-identifier-2.0_rc3.xsd +63 -0
  44. data/resources/record_2.0_rc3/personal-details-2.0_rc3.xsd +186 -0
  45. data/resources/record_2.0_rc3/preferences-2.0_rc3.xsd +50 -0
  46. data/resources/record_2.0_rc3/record-2.0_rc3.xsd +105 -0
  47. data/resources/record_2.0_rc3/researcher-url-2.0_rc3.xsd +90 -0
  48. data/resources/record_2.0_rc3/samples/activities-2.0_rc3.xml +236 -0
  49. data/resources/record_2.0_rc3/samples/address-2.0_rc3.xml +16 -0
  50. data/resources/record_2.0_rc3/samples/addresses-2.0_rc3.xml +32 -0
  51. data/resources/record_2.0_rc3/samples/biography-2.0_rc3.xml +10 -0
  52. data/resources/record_2.0_rc3/samples/bulk-work-2.0_rc3.json +56 -0
  53. data/resources/record_2.0_rc3/samples/bulk-work-2.0_rc3.xml +62 -0
  54. data/resources/record_2.0_rc3/samples/credit-name-2.0_rc3.xml +5 -0
  55. data/resources/record_2.0_rc3/samples/deprecated-2.0_rc3.xml +13 -0
  56. data/resources/record_2.0_rc3/samples/education-2.0_rc3.xml +30 -0
  57. data/resources/record_2.0_rc3/samples/education-full-2.0_rc3.xml +40 -0
  58. data/resources/record_2.0_rc3/samples/email-2.0_rc3.xml +16 -0
  59. data/resources/record_2.0_rc3/samples/emails-2.0_rc3.xml +31 -0
  60. data/resources/record_2.0_rc3/samples/employment-2.0_rc3.xml +30 -0
  61. data/resources/record_2.0_rc3/samples/employment-full-2.0_rc3.xml +40 -0
  62. data/resources/record_2.0_rc3/samples/error-2.0_rc3.xml +8 -0
  63. data/resources/record_2.0_rc3/samples/external-identifier-2.0_rc3.xml +20 -0
  64. data/resources/record_2.0_rc3/samples/external-identifiers-2.0_rc3.xml +36 -0
  65. data/resources/record_2.0_rc3/samples/funding-2.0_rc3.xml +65 -0
  66. data/resources/record_2.0_rc3/samples/funding-full-2.0_rc3.xml +75 -0
  67. data/resources/record_2.0_rc3/samples/history-2.0_rc3.xml +22 -0
  68. data/resources/record_2.0_rc3/samples/keyword-2.0_rc3.xml +18 -0
  69. data/resources/record_2.0_rc3/samples/keywords-2.0_rc3.xml +34 -0
  70. data/resources/record_2.0_rc3/samples/name-2.0_rc3.xml +12 -0
  71. data/resources/record_2.0_rc3/samples/other-name-2.0_rc3.xml +16 -0
  72. data/resources/record_2.0_rc3/samples/other-names-2.0_rc3.xml +31 -0
  73. data/resources/record_2.0_rc3/samples/peer-review-2.0_rc3.xml +49 -0
  74. data/resources/record_2.0_rc3/samples/peer-review-full-2.0_rc3.xml +59 -0
  75. data/resources/record_2.0_rc3/samples/person-2.0_rc3.xml +122 -0
  76. data/resources/record_2.0_rc3/samples/personal-details-2.0_rc3.xml +47 -0
  77. data/resources/record_2.0_rc3/samples/preferences-2.0_rc3.xml +4 -0
  78. data/resources/record_2.0_rc3/samples/record-2.0_rc3.xml +420 -0
  79. data/resources/record_2.0_rc3/samples/researcher-url-2.0_rc3.xml +19 -0
  80. data/resources/record_2.0_rc3/samples/researcher-urls-2.0_rc3.xml +21 -0
  81. data/resources/record_2.0_rc3/samples/search-2.0_rc3.xml +368 -0
  82. data/resources/record_2.0_rc3/samples/work-2.0_rc3.xml +49 -0
  83. data/resources/record_2.0_rc3/samples/work-full-2.0_rc3.xml +59 -0
  84. data/resources/record_2.0_rc3/search-2.0_rc3.xsd +82 -0
  85. data/resources/record_2.0_rc3/work-2.0_rc3.xsd +445 -0
  86. data/spec/api_spec.rb +59 -0
  87. data/spec/fixtures/vcr_cassettes/OrcidClient/get/should_get_works.yml +646 -0
  88. data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/post/should_create_notification.yml +104 -0
  89. data/spec/fixtures/vcr_cassettes/OrcidClient/works/delete/should_delete_work.yml +38 -0
  90. data/spec/fixtures/vcr_cassettes/OrcidClient/works/get/should_get_works.yml +646 -0
  91. data/spec/fixtures/vcr_cassettes/OrcidClient/works/post/should_create_work.yml +116 -0
  92. data/spec/fixtures/vcr_cassettes/OrcidClient/works/put/should_update_work.yml +155 -0
  93. data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/data.yml +44 -0
  94. data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_data.yml +44 -0
  95. data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_item_type_work.yml +41 -0
  96. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/citation.yml +50 -0
  97. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/literal.yml +47 -0
  98. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/multiple_titles.yml +47 -0
  99. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/valid.yml +50 -0
  100. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/with_ORCID_IDs.yml +157 -0
  101. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/data.yml +50 -0
  102. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/publication_date.yml +50 -0
  103. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_ORCID_IDs_for_contributors.yml +157 -0
  104. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_data.yml +50 -0
  105. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_type_data-set.yml +47 -0
  106. data/spec/fixtures/work.xml +33 -0
  107. data/spec/notification_spec.rb +42 -0
  108. data/spec/spec_helper.rb +32 -0
  109. data/spec/work_spec.rb +100 -0
  110. metadata +392 -0
@@ -0,0 +1,62 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <bulk:bulk xmlns:common="http://www.orcid.org/ns/common"
3
+ xmlns:error="http://www.orcid.org/ns/error"
4
+ xmlns:work="http://www.orcid.org/ns/work"
5
+ xmlns:bulk="http://www.orcid.org/ns/bulk"
6
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7
+ xsi:schemaLocation="http://www.orcid.org/ns/bulk ../bulk-2.0_rc3.xsd">
8
+ <error:error>
9
+ <error:response-code>0</error:response-code>
10
+ <error:developer-message>error:developer-message0</error:developer-message>
11
+ <error:user-message>error:user-message0</error:user-message>
12
+ <error:error-code>0</error:error-code>
13
+ <error:more-info>http://tempuri.org/0</error:more-info>
14
+ </error:error>
15
+ <work:work>
16
+ <work:title>
17
+ <common:title>Current treatment of left main coronary artery disease # 1</common:title>
18
+ </work:title>
19
+ <work:journal-title>Cor et Vasa</work:journal-title>
20
+ <work:type>journal-article</work:type>
21
+ <common:publication-date>
22
+ <common:year>2015</common:year>
23
+ <common:month>06</common:month>
24
+ <common:day>01</common:day>
25
+ </common:publication-date>
26
+ <common:external-ids>
27
+ <common:external-id>
28
+ <common:external-id-type>doi</common:external-id-type>
29
+ <common:external-id-value>10.1016/j.crvasa.2015.05.007</common:external-id-value>
30
+ <common:external-id-url>http://extId/1</common:external-id-url>
31
+ <common:external-id-relationship>self</common:external-id-relationship>
32
+ </common:external-id>
33
+ </common:external-ids>
34
+ </work:work>
35
+ <work:work>
36
+ <work:title>
37
+ <common:title>Current treatment of left main coronary artery disease # 2</common:title>
38
+ </work:title>
39
+ <work:journal-title>Cor et Vasa</work:journal-title>
40
+ <work:type>journal-article</work:type>
41
+ <common:publication-date>
42
+ <common:year>2015</common:year>
43
+ <common:month>06</common:month>
44
+ <common:day>01</common:day>
45
+ </common:publication-date>
46
+ <common:external-ids>
47
+ <common:external-id>
48
+ <common:external-id-type>doi</common:external-id-type>
49
+ <common:external-id-value>10.1016/j.crvasa.2015.05.008</common:external-id-value>
50
+ <common:external-id-url>http://extId/2</common:external-id-url>
51
+ <common:external-id-relationship>self</common:external-id-relationship>
52
+ </common:external-id>
53
+ </common:external-ids>
54
+ </work:work>
55
+ <error:error>
56
+ <error:response-code>1</error:response-code>
57
+ <error:developer-message>error:developer-message1</error:developer-message>
58
+ <error:user-message>error:user-message1</error:user-message>
59
+ <error:error-code>1</error:error-code>
60
+ <error:more-info>http://tempuri.org/1</error:more-info>
61
+ </error:error>
62
+ </bulk:bulk>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <personal-details:credit-name visibility="public"
3
+ xmlns:personal-details="http://www.orcid.org/ns/personal-details"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/personal-details ../personal-details-2.0_rc3.xsd">credit-name</personal-details:credit-name>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <deprecated:deprecated xmlns:common="http://www.orcid.org/ns/common"
3
+ xmlns:deprecated="http://www.orcid.org/ns/deprecated" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi:schemaLocation="http://www.orcid.org/ns/deprecated ../deprecated-2.0_rc3.xsd ">
5
+ <deprecated:deprecated-date>2001-12-31T12:00:00</deprecated:deprecated-date>
6
+ <deprecated:primary-record>
7
+ <common:orcid-identifier>
8
+ <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
9
+ <common:path>8888-8888-8888-8880</common:path>
10
+ <common:host>orcid.org</common:host>
11
+ </common:orcid-identifier>
12
+ </deprecated:primary-record>
13
+ </deprecated:deprecated>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <education:education put-code="0" visibility="private"
3
+ xmlns:common="http://www.orcid.org/ns/common" xmlns:education="http://www.orcid.org/ns/education"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/education ../education-2.0_rc3.xsd ">
6
+ <education:department-name>education:department-name</education:department-name>
7
+ <education:role-title>education:role-title</education:role-title>
8
+ <common:start-date>
9
+ <common:year>1848</common:year>
10
+ <common:month>02</common:month>
11
+ <common:day>02</common:day>
12
+ </common:start-date>
13
+ <common:end-date>
14
+ <common:year>1848</common:year>
15
+ <common:month>02</common:month>
16
+ <common:day>02</common:day>
17
+ </common:end-date>
18
+ <education:organization>
19
+ <common:name>common:name</common:name>
20
+ <common:address>
21
+ <common:city>common:city</common:city>
22
+ <common:region>common:region</common:region>
23
+ <common:country>AF</common:country>
24
+ </common:address>
25
+ <common:disambiguated-organization>
26
+ <common:disambiguated-organization-identifier>common:disambiguated-organization-identifier</common:disambiguated-organization-identifier>
27
+ <common:disambiguation-source>common:disambiguation-source</common:disambiguation-source>
28
+ </common:disambiguated-organization>
29
+ </education:organization>
30
+ </education:education>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <education:education put-code="0" visibility="private"
3
+ xmlns:common="http://www.orcid.org/ns/common" xmlns:education="http://www.orcid.org/ns/education"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/education ../education-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
+ <education:department-name>education:department-name</education:department-name>
17
+ <education:role-title>education:role-title</education:role-title>
18
+ <common:start-date>
19
+ <common:year>1848</common:year>
20
+ <common:month>02</common:month>
21
+ <common:day>02</common:day>
22
+ </common:start-date>
23
+ <common:end-date>
24
+ <common:year>1848</common:year>
25
+ <common:month>02</common:month>
26
+ <common:day>02</common:day>
27
+ </common:end-date>
28
+ <education:organization>
29
+ <common:name>common:name</common:name>
30
+ <common:address>
31
+ <common:city>common:city</common:city>
32
+ <common:region>common:region</common:region>
33
+ <common:country>AF</common:country>
34
+ </common:address>
35
+ <common:disambiguated-organization>
36
+ <common:disambiguated-organization-identifier>common:disambiguated-organization-identifier</common:disambiguated-organization-identifier>
37
+ <common:disambiguation-source>common:disambiguation-source</common:disambiguation-source>
38
+ </common:disambiguated-organization>
39
+ </education:organization>
40
+ </education:education>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <email:email visibility="public" put-code="1" xmlns:email="http://www.orcid.org/ns/email"
3
+ xmlns:common="http://www.orcid.org/ns/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi:schemaLocation="http://www.orcid.org/ns/email ../email-2.0_rc3.xsd ">
5
+ <common:created-date>2001-12-31T12:00:00</common:created-date>
6
+ <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
7
+ <common:source>
8
+ <common:source-orcid>
9
+ <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
10
+ <common:path>8888-8888-8888-8880</common:path>
11
+ <common:host>orcid.org</common:host>
12
+ </common:source-orcid>
13
+ <common:source-name />
14
+ </common:source>
15
+ <email:email>user1@email.com</email:email>
16
+ </email:email>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <email:emails xmlns:email="http://www.orcid.org/ns/email"
3
+ xmlns:common="http://www.orcid.org/ns/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi:schemaLocation="http://www.orcid.org/ns/email ../email-2.0_rc3.xsd ">
5
+ <email:email visibility="public" put-code="1">
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
+ <email:email>user1@email.com</email:email>
17
+ </email:email>
18
+ <email:email visibility="public" put-code="2">
19
+ <common:created-date>2001-12-31T12:00:00</common:created-date>
20
+ <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
21
+ <common:source>
22
+ <common:source-orcid>
23
+ <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
24
+ <common:path>8888-8888-8888-8880</common:path>
25
+ <common:host>orcid.org</common:host>
26
+ </common:source-orcid>
27
+ <common:source-name />
28
+ </common:source>
29
+ <email:email>user2@email.com</email:email>
30
+ </email:email>
31
+ </email:emails>
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <employment:employment put-code="0" visibility="private"
3
+ xmlns:employment="http://www.orcid.org/ns/employment" xmlns:common="http://www.orcid.org/ns/common"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/employment ../employment-2.0_rc3.xsd ">
6
+ <employment:department-name>employment:department-name</employment:department-name>
7
+ <employment:role-title>employment:role-title</employment:role-title>
8
+ <common:start-date>
9
+ <common:year>1848</common:year>
10
+ <common:month>02</common:month>
11
+ <common:day>02</common:day>
12
+ </common:start-date>
13
+ <common:end-date>
14
+ <common:year>1848</common:year>
15
+ <common:month>02</common:month>
16
+ <common:day>02</common:day>
17
+ </common:end-date>
18
+ <employment:organization>
19
+ <common:name>common:name</common:name>
20
+ <common:address>
21
+ <common:city>common:city</common:city>
22
+ <common:region>common:region</common:region>
23
+ <common:country>AF</common:country>
24
+ </common:address>
25
+ <common:disambiguated-organization>
26
+ <common:disambiguated-organization-identifier>common:disambiguated-organization-identifier</common:disambiguated-organization-identifier>
27
+ <common:disambiguation-source>common:disambiguation-source</common:disambiguation-source>
28
+ </common:disambiguated-organization>
29
+ </employment:organization>
30
+ </employment:employment>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <employment:employment put-code="0" visibility="private"
3
+ xmlns:employment="http://www.orcid.org/ns/employment" xmlns:common="http://www.orcid.org/ns/common"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/employment ../employment-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
+ <employment:department-name>employment:department-name</employment:department-name>
17
+ <employment:role-title>employment:role-title</employment:role-title>
18
+ <common:start-date>
19
+ <common:year>1848</common:year>
20
+ <common:month>02</common:month>
21
+ <common:day>02</common:day>
22
+ </common:start-date>
23
+ <common:end-date>
24
+ <common:year>1848</common:year>
25
+ <common:month>02</common:month>
26
+ <common:day>02</common:day>
27
+ </common:end-date>
28
+ <employment:organization>
29
+ <common:name>common:name</common:name>
30
+ <common:address>
31
+ <common:city>common:city</common:city>
32
+ <common:region>common:region</common:region>
33
+ <common:country>AF</common:country>
34
+ </common:address>
35
+ <common:disambiguated-organization>
36
+ <common:disambiguated-organization-identifier>common:disambiguated-organization-identifier</common:disambiguated-organization-identifier>
37
+ <common:disambiguation-source>common:disambiguation-source</common:disambiguation-source>
38
+ </common:disambiguated-organization>
39
+ </employment:organization>
40
+ </employment:employment>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <error:error xmlns:error="http://www.orcid.org/ns/error" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.orcid.org/ns/error ../error-2.0_rc3.xsd ">
3
+ <error:response-code>0</error:response-code>
4
+ <error:developer-message>error:developer-message</error:developer-message>
5
+ <error:user-message>error:user-message</error:user-message>
6
+ <error:error-code>0</error:error-code>
7
+ <error:more-info>http://tempuri.org</error:more-info>
8
+ </error:error>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <external-identifier:external-identifier visibility="public" put-code="1"
3
+ xmlns:external-identifier="http://www.orcid.org/ns/external-identifier"
4
+ xmlns:common="http://www.orcid.org/ns/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/external-identifier ../person-external-identifier-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
+ <common:external-id-type>A-0003</common:external-id-type>
17
+ <common:external-id-value>A-0003</common:external-id-value>
18
+ <common:external-id-url>http://ext-id/A-0003</common:external-id-url>
19
+ </external-identifier:external-identifier>
20
+
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <external-identifier:external-identifiers
3
+ xmlns:external-identifier="http://www.orcid.org/ns/external-identifier"
4
+ xmlns:common="http://www.orcid.org/ns/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/external-identifier ../person-external-identifier-2.0_rc3.xsd ">
6
+ <external-identifier:external-identifier visibility="public" put-code="1">
7
+ <common:created-date>2001-12-31T12:00:00</common:created-date>
8
+ <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
9
+ <common:source>
10
+ <common:source-orcid>
11
+ <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
12
+ <common:path>8888-8888-8888-8880</common:path>
13
+ <common:host>orcid.org</common:host>
14
+ </common:source-orcid>
15
+ <common:source-name />
16
+ </common:source>
17
+ <common:external-id-type>common-name-1</common:external-id-type>
18
+ <common:external-id-value>id-reference-1</common:external-id-value>
19
+ <common:external-id-url>http://url/1</common:external-id-url>
20
+ </external-identifier:external-identifier>
21
+ <external-identifier:external-identifier visibility="public" put-code="2">
22
+ <common:created-date>2001-12-31T12:00:00</common:created-date>
23
+ <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
24
+ <common:source>
25
+ <common:source-orcid>
26
+ <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
27
+ <common:path>8888-8888-8888-8880</common:path>
28
+ <common:host>orcid.org</common:host>
29
+ </common:source-orcid>
30
+ <common:source-name />
31
+ </common:source>
32
+ <common:external-id-type>common-name-2</common:external-id-type>
33
+ <common:external-id-value>id-reference-2</common:external-id-value>
34
+ <common:external-id-url>http://url/2</common:external-id-url>
35
+ </external-identifier:external-identifier>
36
+ </external-identifier:external-identifiers>
@@ -0,0 +1,65 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <funding:funding put-code="0" visibility="private"
3
+ xmlns:common="http://www.orcid.org/ns/common" xmlns:funding="http://www.orcid.org/ns/funding"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/funding ../funding-2.0_rc3.xsd ">
6
+ <funding:type>grant</funding:type>
7
+ <funding:organization-defined-type>funding:organization-defined-type</funding:organization-defined-type>
8
+ <funding:title>
9
+ <common:title>common:title</common:title>
10
+ <common:translated-title language-code="en">common:translated-title</common:translated-title>
11
+ </funding:title>
12
+ <funding:short-description>funding:short-description</funding:short-description>
13
+ <funding:amount currency-code="ADP">1234</funding:amount>
14
+ <funding:url>http://tempuri.org</funding:url>
15
+ <common:start-date>
16
+ <common:year>1848</common:year>
17
+ <common:month>02</common:month>
18
+ <common:day>02</common:day>
19
+ </common:start-date>
20
+ <common:end-date>
21
+ <common:year>1848</common:year>
22
+ <common:month>02</common:month>
23
+ <common:day>02</common:day>
24
+ </common:end-date>
25
+ <common:external-ids>
26
+ <common:external-id>
27
+ <common:external-id-type>grant_number</common:external-id-type>
28
+ <common:external-id-value>funding:external-identifier-value</common:external-id-value>
29
+ <common:external-id-url>http://tempuri.org</common:external-id-url>
30
+ <common:external-id-relationship>self</common:external-id-relationship>
31
+ </common:external-id>
32
+ <common:external-id>
33
+ <common:external-id-type>grant_number</common:external-id-type>
34
+ <common:external-id-value>funding:external-identifier-value2</common:external-id-value>
35
+ <common:external-id-url>http://tempuri.org/2</common:external-id-url>
36
+ <common:external-id-relationship>self</common:external-id-relationship>
37
+ </common:external-id>
38
+ </common:external-ids>
39
+ <funding:contributors>
40
+ <funding:contributor>
41
+ <common:contributor-orcid>
42
+ <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
43
+ <common:path>8888-8888-8888-8880</common:path>
44
+ <common:host>orcid.org</common:host>
45
+ </common:contributor-orcid>
46
+ <funding:credit-name visibility="private">funding:credit-name</funding:credit-name>
47
+ <funding:contributor-email>funding@contributor.email</funding:contributor-email>
48
+ <funding:contributor-attributes>
49
+ <funding:contributor-role>lead</funding:contributor-role>
50
+ </funding:contributor-attributes>
51
+ </funding:contributor>
52
+ </funding:contributors>
53
+ <funding:organization>
54
+ <common:name>common:name</common:name>
55
+ <common:address>
56
+ <common:city>common:city</common:city>
57
+ <common:region>common:region</common:region>
58
+ <common:country>AF</common:country>
59
+ </common:address>
60
+ <common:disambiguated-organization>
61
+ <common:disambiguated-organization-identifier>common:disambiguated-organization-identifier</common:disambiguated-organization-identifier>
62
+ <common:disambiguation-source>common:disambiguation-source</common:disambiguation-source>
63
+ </common:disambiguated-organization>
64
+ </funding:organization>
65
+ </funding:funding>
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <funding:funding put-code="0" visibility="private"
3
+ xmlns:common="http://www.orcid.org/ns/common" xmlns:funding="http://www.orcid.org/ns/funding"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/funding ../funding-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
+ <funding:type>grant</funding:type>
17
+ <funding:organization-defined-type>funding:organization-defined-type</funding:organization-defined-type>
18
+ <funding:title>
19
+ <common:title>common:title</common:title>
20
+ <common:translated-title language-code="en">common:translated-title</common:translated-title>
21
+ </funding:title>
22
+ <funding:short-description>funding:short-description</funding:short-description>
23
+ <funding:amount currency-code="ADP">1234</funding:amount>
24
+ <funding:url>http://tempuri.org</funding:url>
25
+ <common:start-date>
26
+ <common:year>1848</common:year>
27
+ <common:month>02</common:month>
28
+ <common:day>02</common:day>
29
+ </common:start-date>
30
+ <common:end-date>
31
+ <common:year>1848</common:year>
32
+ <common:month>02</common:month>
33
+ <common:day>02</common:day>
34
+ </common:end-date>
35
+ <common:external-ids>
36
+ <common:external-id>
37
+ <common:external-id-type>grant_number</common:external-id-type>
38
+ <common:external-id-value>funding:external-identifier-value</common:external-id-value>
39
+ <common:external-id-url>http://tempuri.org</common:external-id-url>
40
+ <common:external-id-relationship>self</common:external-id-relationship>
41
+ </common:external-id>
42
+ <common:external-id>
43
+ <common:external-id-type>grant_number</common:external-id-type>
44
+ <common:external-id-value>funding:external-identifier-value2</common:external-id-value>
45
+ <common:external-id-url>http://tempuri.org/2</common:external-id-url>
46
+ <common:external-id-relationship>self</common:external-id-relationship>
47
+ </common:external-id>
48
+ </common:external-ids>
49
+ <funding:contributors>
50
+ <funding:contributor>
51
+ <common:contributor-orcid>
52
+ <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
53
+ <common:path>8888-8888-8888-8880</common:path>
54
+ <common:host>orcid.org</common:host>
55
+ </common:contributor-orcid>
56
+ <funding:credit-name visibility="private">funding:credit-name</funding:credit-name>
57
+ <funding:contributor-email>funding@contributor.email</funding:contributor-email>
58
+ <funding:contributor-attributes>
59
+ <funding:contributor-role>lead</funding:contributor-role>
60
+ </funding:contributor-attributes>
61
+ </funding:contributor>
62
+ </funding:contributors>
63
+ <funding:organization>
64
+ <common:name>common:name</common:name>
65
+ <common:address>
66
+ <common:city>common:city</common:city>
67
+ <common:region>common:region</common:region>
68
+ <common:country>AF</common:country>
69
+ </common:address>
70
+ <common:disambiguated-organization>
71
+ <common:disambiguated-organization-identifier>common:disambiguated-organization-identifier</common:disambiguated-organization-identifier>
72
+ <common:disambiguation-source>common:disambiguation-source</common:disambiguation-source>
73
+ </common:disambiguated-organization>
74
+ </funding:organization>
75
+ </funding:funding>