orcid_client 0.8 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +39 -0
  3. data/.github/workflows/changelog.yml +36 -0
  4. data/.github/workflows/release.yml +48 -0
  5. data/CHANGELOG.md +169 -0
  6. data/Gemfile.lock +135 -117
  7. data/README.md +6 -6
  8. data/lib/orcid_client/api.rb +2 -1
  9. data/lib/orcid_client/base.rb +1 -1
  10. data/lib/orcid_client/external_identifier.rb +1 -1
  11. data/lib/orcid_client/version.rb +1 -1
  12. data/lib/orcid_client/work.rb +8 -5
  13. data/orcid_client.gemspec +3 -4
  14. data/resources/README.md +48 -43
  15. data/resources/common_3.0/common-3.0.xsd +998 -0
  16. data/resources/common_3.0/samples/common-3.0.xml +8 -0
  17. data/resources/common_3.0/samples/common-3.0_external-identifier.xml +11 -0
  18. data/resources/notification_3.0/README.md +130 -0
  19. data/resources/notification_3.0/images/notification-intro.jpg +0 -0
  20. data/resources/notification_3.0/images/notification-subject.jpg +0 -0
  21. data/resources/notification_3.0/notification-custom-3.0.xsd +38 -0
  22. data/resources/notification_3.0/notification-permission-3.0.xsd +134 -0
  23. data/resources/notification_3.0/samples/notification-custom-3.0.xml +27 -0
  24. data/resources/notification_3.0/samples/notification-permission-3.0.xml +58 -0
  25. data/resources/record_3.0/README.md +408 -0
  26. data/resources/record_3.0/activities-3.0.xsd +456 -0
  27. data/resources/record_3.0/address-3.0.xsd +73 -0
  28. data/resources/record_3.0/bulk-3.0.xsd +57 -0
  29. data/resources/record_3.0/distinction-3.0.xsd +51 -0
  30. data/resources/record_3.0/education-3.0.xsd +51 -0
  31. data/resources/record_3.0/email-3.0.xsd +76 -0
  32. data/resources/record_3.0/employment-3.0.xsd +51 -0
  33. data/resources/record_3.0/error-3.0.xsd +84 -0
  34. data/resources/record_3.0/expanded-search-3.0.xsd +114 -0
  35. data/resources/record_3.0/funding-3.0.xsd +204 -0
  36. data/resources/record_3.0/history-3.0.xsd +185 -0
  37. data/resources/record_3.0/invited-position-3.0.xsd +50 -0
  38. data/resources/record_3.0/keyword-3.0.xsd +72 -0
  39. data/resources/record_3.0/membership-3.0.xsd +51 -0
  40. data/resources/record_3.0/other-name-3.0.xsd +78 -0
  41. data/resources/record_3.0/peer-review-3.0.xsd +263 -0
  42. data/resources/record_3.0/person-3.0.xsd +85 -0
  43. data/resources/record_3.0/person-external-identifier-3.0.xsd +63 -0
  44. data/resources/record_3.0/personal-details-3.0.xsd +162 -0
  45. data/resources/record_3.0/preferences-3.0.xsd +50 -0
  46. data/resources/record_3.0/qualification-3.0.xsd +50 -0
  47. data/resources/record_3.0/record-3.0.xsd +91 -0
  48. data/resources/record_3.0/research-resource-3.0.xsd +144 -0
  49. data/resources/record_3.0/researcher-url-3.0.xsd +86 -0
  50. data/resources/record_3.0/samples/read_samples/activities-3.0.xml +742 -0
  51. data/resources/record_3.0/samples/read_samples/address-3.0.xml +16 -0
  52. data/resources/record_3.0/samples/read_samples/addresses-3.0.xml +32 -0
  53. data/resources/record_3.0/samples/read_samples/biography-3.0.xml +10 -0
  54. data/resources/record_3.0/samples/read_samples/bulk-work-err.xml +45 -0
  55. data/resources/record_3.0/samples/read_samples/credit-name-3.0.xml +5 -0
  56. data/resources/record_3.0/samples/read_samples/distinction-3.0.xml +55 -0
  57. data/resources/record_3.0/samples/read_samples/distinctions-3.0.xml +106 -0
  58. data/resources/record_3.0/samples/read_samples/education-3.0.xml +55 -0
  59. data/resources/record_3.0/samples/read_samples/education-full-3.0.xml +55 -0
  60. data/resources/record_3.0/samples/read_samples/educations-3.0.xml +118 -0
  61. data/resources/record_3.0/samples/read_samples/email-3.0.xml +16 -0
  62. data/resources/record_3.0/samples/read_samples/emails-3.0.xml +31 -0
  63. data/resources/record_3.0/samples/read_samples/employment-3.0.xml +55 -0
  64. data/resources/record_3.0/samples/read_samples/employment-full-3.0.xml +55 -0
  65. data/resources/record_3.0/samples/read_samples/employments-3.0.xml +108 -0
  66. data/resources/record_3.0/samples/read_samples/error-3.0.xml +8 -0
  67. data/resources/record_3.0/samples/read_samples/external-identifier-3.0.xml +21 -0
  68. data/resources/record_3.0/samples/read_samples/external-identifiers-3.0.xml +38 -0
  69. data/resources/record_3.0/samples/read_samples/full-record-3.0.json +2332 -0
  70. data/resources/record_3.0/samples/read_samples/funding-3.0.xml +75 -0
  71. data/resources/record_3.0/samples/read_samples/funding-full-3.0.xml +75 -0
  72. data/resources/record_3.0/samples/read_samples/fundings-3.0.xml +139 -0
  73. data/resources/record_3.0/samples/read_samples/history-3.0.xml +22 -0
  74. data/resources/record_3.0/samples/read_samples/invited-position-3.0.xml +55 -0
  75. data/resources/record_3.0/samples/read_samples/invited-positions-3.0.xml +106 -0
  76. data/resources/record_3.0/samples/read_samples/keyword-3.0.xml +18 -0
  77. data/resources/record_3.0/samples/read_samples/keywords-3.0.xml +34 -0
  78. data/resources/record_3.0/samples/read_samples/membership-3.0.xml +55 -0
  79. data/resources/record_3.0/samples/read_samples/memberships-3.0.xml +106 -0
  80. data/resources/record_3.0/samples/read_samples/name-3.0.xml +12 -0
  81. data/resources/record_3.0/samples/read_samples/other-name-3.0.xml +16 -0
  82. data/resources/record_3.0/samples/read_samples/other-names-3.0.xml +31 -0
  83. data/resources/record_3.0/samples/read_samples/peer-review-3.0.xml +59 -0
  84. data/resources/record_3.0/samples/read_samples/peer-review-full-3.0.xml +59 -0
  85. data/resources/record_3.0/samples/read_samples/peer-reviews-3.0.xml +76 -0
  86. data/resources/record_3.0/samples/read_samples/person-3.0.xml +122 -0
  87. data/resources/record_3.0/samples/read_samples/personal-details-3.0.xml +47 -0
  88. data/resources/record_3.0/samples/read_samples/preferences-3.0.xml +4 -0
  89. data/resources/record_3.0/samples/read_samples/qualification-3.0.xml +55 -0
  90. data/resources/record_3.0/samples/read_samples/qualifications-3.0.xml +106 -0
  91. data/resources/record_3.0/samples/read_samples/record-3.0.xml +770 -0
  92. data/resources/record_3.0/samples/read_samples/research-resource-3.0.xml +138 -0
  93. data/resources/record_3.0/samples/read_samples/research-resources-3.0.xml +143 -0
  94. data/resources/record_3.0/samples/read_samples/researcher-url-3.0.xml +19 -0
  95. data/resources/record_3.0/samples/read_samples/researcher-urls-3.0.xml +21 -0
  96. data/resources/record_3.0/samples/read_samples/search-3.0.xml +14 -0
  97. data/resources/record_3.0/samples/read_samples/service-3.0.xml +55 -0
  98. data/resources/record_3.0/samples/read_samples/services-3.0.xml +106 -0
  99. data/resources/record_3.0/samples/read_samples/work-3.0.xml +65 -0
  100. data/resources/record_3.0/samples/read_samples/work-full-3.0.xml +65 -0
  101. data/resources/record_3.0/samples/read_samples/works-3.0.xml +148 -0
  102. data/resources/record_3.0/samples/write_samples/address-3.0.xml +6 -0
  103. data/resources/record_3.0/samples/write_samples/bulk-work-3.0.json +53 -0
  104. data/resources/record_3.0/samples/write_samples/bulk-work-3.0.xml +47 -0
  105. data/resources/record_3.0/samples/write_samples/distinction-3.0.xml +46 -0
  106. data/resources/record_3.0/samples/write_samples/education-3.0.xml +45 -0
  107. data/resources/record_3.0/samples/write_samples/employment-3.0.xml +45 -0
  108. data/resources/record_3.0/samples/write_samples/external-identifier-3.0.xml +11 -0
  109. data/resources/record_3.0/samples/write_samples/funding-3.0.xml +44 -0
  110. data/resources/record_3.0/samples/write_samples/invited-position-3.0.xml +45 -0
  111. data/resources/record_3.0/samples/write_samples/keyword-3.0.xml +7 -0
  112. data/resources/record_3.0/samples/write_samples/membership-3.0.xml +45 -0
  113. data/resources/record_3.0/samples/write_samples/other-name-3.0.xml +6 -0
  114. data/resources/record_3.0/samples/write_samples/peer-review-full-3.0.xml +48 -0
  115. data/resources/record_3.0/samples/write_samples/peer-review-full-award-subject-type-3.0.xml +48 -0
  116. data/resources/record_3.0/samples/write_samples/peer-review-simple-3.0.xml +32 -0
  117. data/resources/record_3.0/samples/write_samples/qualification-3.0.xml +45 -0
  118. data/resources/record_3.0/samples/write_samples/research-resource-3.0.xml +110 -0
  119. data/resources/record_3.0/samples/write_samples/researcher-url-3.0-no-name.xml +6 -0
  120. data/resources/record_3.0/samples/write_samples/researcher-url-3.0.xml +7 -0
  121. data/resources/record_3.0/samples/write_samples/service-3.0.xml +45 -0
  122. data/resources/record_3.0/samples/write_samples/work-full-3.0.xml +60 -0
  123. data/resources/record_3.0/samples/write_samples/work-simple-3.0.xml +18 -0
  124. data/resources/record_3.0/search-3.0.xsd +62 -0
  125. data/resources/record_3.0/service-3.0.xsd +51 -0
  126. data/resources/record_3.0/work-3.0.xsd +269 -0
  127. data/spec/api_spec.rb +3 -3
  128. data/spec/author_spec.rb +1 -1
  129. data/spec/external_identifier_spec.rb +2 -2
  130. data/spec/fixtures/external_identifier.xml +1 -1
  131. data/spec/fixtures/vcr_cassettes/OrcidClient/works/get/should_get_works.yml +23 -10
  132. data/spec/fixtures/vcr_cassettes/OrcidClient/works/post/should_create_work.yml +71 -74
  133. data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/data.yml +43 -55
  134. data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_data.yml +43 -55
  135. data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_item_type_work.yml +39 -44
  136. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/literal.yml +43 -51
  137. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/valid.yml +40 -48
  138. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/with_ORCID_IDs.yml +39 -30
  139. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/data.yml +41 -49
  140. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/publication_date.yml +40 -48
  141. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_ORCID_IDs_for_contributors.yml +40 -31
  142. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_data.yml +40 -48
  143. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_from_DataCite_staging_system.yml +104 -0
  144. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_type_data-set.yml +40 -45
  145. data/spec/fixtures/work.xml +12 -16
  146. data/spec/notification_spec.rb +11 -10
  147. data/spec/work_spec.rb +26 -63
  148. metadata +133 -30
  149. data/.travis.yml +0 -17
  150. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/multiple_titles.yml +0 -102
  151. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_from_DataCite_test_system.yml +0 -95
  152. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/user_example/fail/valid.yml +0 -95
@@ -0,0 +1,48 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <peer-review:peer-review xmlns:common="http://www.orcid.org/ns/common"
3
+ xmlns:peer-review="http://www.orcid.org/ns/peer-review" 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/peer-review ../../peer-review-3.0.xsd ">
6
+ <peer-review:reviewer-role>reviewer</peer-review:reviewer-role>
7
+ <peer-review:review-identifiers>
8
+ <common:external-id>
9
+ <common:external-id-type>source-work-id</common:external-id-type>
10
+ <common:external-id-value>1234</common:external-id-value>
11
+ <common:external-id-url>https://localsystem.org/1234</common:external-id-url>
12
+ <common:external-id-relationship>self</common:external-id-relationship>
13
+ </common:external-id>
14
+ </peer-review:review-identifiers>
15
+ <peer-review:review-url>https://alt-url.com</peer-review:review-url>
16
+ <peer-review:review-type>review</peer-review:review-type>
17
+ <peer-review:review-completion-date>
18
+ <common:year>2012</common:year>
19
+ <common:month>08</common:month>
20
+ <common:day>01</common:day>
21
+ </peer-review:review-completion-date>
22
+ <peer-review:review-group-id>issn:1741-4857</peer-review:review-group-id>
23
+ <peer-review:subject-external-identifier>
24
+ <common:external-id-type>doi</common:external-id-type>
25
+ <common:external-id-value>10.1087/20120404</common:external-id-value>
26
+ <common:external-id-url>https://doi.org/10.1087/20120404</common:external-id-url>
27
+ <common:external-id-relationship>self</common:external-id-relationship>
28
+ </peer-review:subject-external-identifier>
29
+ <peer-review:subject-container-name>Award title</peer-review:subject-container-name>
30
+ <peer-review:subject-type>award</peer-review:subject-type>
31
+ <peer-review:subject-name>
32
+ <common:title>Name of the paper reviewed</common:title>
33
+ <common:translated-title language-code="en">Translated title</common:translated-title>
34
+ </peer-review:subject-name>
35
+ <peer-review:subject-url>https://subject-alt-url.com</peer-review:subject-url>
36
+ <peer-review:convening-organization>
37
+ <common:name>ORCID</common:name>
38
+ <common:address>
39
+ <common:city>Bethesda</common:city>
40
+ <common:region>MD</common:region>
41
+ <common:country>US</common:country>
42
+ </common:address>
43
+ <common:disambiguated-organization>
44
+ <common:disambiguated-organization-identifier>385488</common:disambiguated-organization-identifier>
45
+ <common:disambiguation-source>RINGGOLD</common:disambiguation-source>
46
+ </common:disambiguated-organization>
47
+ </peer-review:convening-organization>
48
+ </peer-review:peer-review>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <peer-review:peer-review xmlns:common="http://www.orcid.org/ns/common"
3
+ xmlns:peer-review="http://www.orcid.org/ns/peer-review" 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/peer-review ../peer-review-3.0.xsd ">
6
+ <peer-review:reviewer-role>reviewer</peer-review:reviewer-role>
7
+ <peer-review:review-identifiers>
8
+ <common:external-id>
9
+ <common:external-id-type>source-work-id</common:external-id-type>
10
+ <common:external-id-value>1234</common:external-id-value>
11
+ <common:external-id-url>https://localsystem.org/1234</common:external-id-url>
12
+ <common:external-id-relationship>self</common:external-id-relationship>
13
+ </common:external-id>
14
+ </peer-review:review-identifiers>
15
+ <peer-review:review-type>review</peer-review:review-type>
16
+ <peer-review:review-completion-date>
17
+ <common:year>2012</common:year>
18
+ </peer-review:review-completion-date>
19
+ <peer-review:review-group-id>issn:1741-4857</peer-review:review-group-id>
20
+ <peer-review:convening-organization>
21
+ <common:name>ORCID</common:name>
22
+ <common:address>
23
+ <common:city>Bethesda</common:city>
24
+ <common:region>MD</common:region>
25
+ <common:country>US</common:country>
26
+ </common:address>
27
+ <common:disambiguated-organization>
28
+ <common:disambiguated-organization-identifier>385488</common:disambiguated-organization-identifier>
29
+ <common:disambiguation-source>RINGGOLD</common:disambiguation-source>
30
+ </common:disambiguated-organization>
31
+ </peer-review:convening-organization>
32
+ </peer-review:peer-review>
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <qualification:qualification
3
+ xmlns:qualification="http://www.orcid.org/ns/qualification" 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/qualification ../qualification-3.0.xsd ">
6
+ <common:department-name>department-name</common:department-name>
7
+ <common:role-title>role-title</common:role-title>
8
+ <common:start-date>
9
+ <common:year>1948</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>1948</common:year>
15
+ <common:month>02</common:month>
16
+ <common:day>02</common:day>
17
+ </common:end-date>
18
+ <common: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>http://dx.doi.org/10.13039/100000001</common:disambiguated-organization-identifier>
27
+ <common:disambiguation-source>FUNDREF</common:disambiguation-source>
28
+ </common:disambiguated-organization>
29
+ </common:organization>
30
+ <common:url>http://tempuri.org</common:url>
31
+ <common:external-ids>
32
+ <common:external-id>
33
+ <common:external-id-type>grant_number</common:external-id-type>
34
+ <common:external-id-value>external-identifier-value</common:external-id-value>
35
+ <common:external-id-url>http://tempuri.org</common:external-id-url>
36
+ <common:external-id-relationship>self</common:external-id-relationship>
37
+ </common:external-id>
38
+ <common:external-id>
39
+ <common:external-id-type>grant_number</common:external-id-type>
40
+ <common:external-id-value>external-identifier-value2</common:external-id-value>
41
+ <common:external-id-url>http://tempuri.org/2</common:external-id-url>
42
+ <common:external-id-relationship>self</common:external-id-relationship>
43
+ </common:external-id>
44
+ </common:external-ids>
45
+ </qualification:qualification>
@@ -0,0 +1,110 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <research-resource:research-resource
3
+ xmlns:common="http://www.orcid.org/ns/common" xmlns:research-resource="http://www.orcid.org/ns/research-resource"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://www.orcid.org/ns/research-resource ../research-resource-3.0.xsd ">
6
+ <!-- proposal title and host(s) -->
7
+ <research-resource:proposal> <!-- proposal/award/credential section -->
8
+ <research-resource:title>
9
+ <common:title>Giant Laser Award</common:title>
10
+ </research-resource:title>
11
+ <research-resource:hosts>
12
+ <common:organization>
13
+ <common:name>ORCID</common:name>
14
+ <common:address>
15
+ <common:city>Bethesda</common:city>
16
+ <common:region>Maryland</common:region>
17
+ <common:country>US</common:country>
18
+ </common:address>
19
+ <common:disambiguated-organization>
20
+ <common:disambiguated-organization-identifier>grid.455335.1</common:disambiguated-organization-identifier>
21
+ <common:disambiguation-source>GRID</common:disambiguation-source>
22
+ </common:disambiguated-organization>
23
+ </common:organization>
24
+ </research-resource:hosts>
25
+ <common:external-ids>
26
+ <common:external-id>
27
+ <common:external-id-type>source-work-id</common:external-id-type>
28
+ <common:external-id-value>123456</common:external-id-value>
29
+ <common:external-id-relationship>self</common:external-id-relationship>
30
+ </common:external-id>
31
+ <common:external-id>
32
+ <common:external-id-type>handle</common:external-id-type>
33
+ <common:external-id-value>https://grants.net/123456</common:external-id-value>
34
+ <common:external-id-relationship>self</common:external-id-relationship>
35
+ </common:external-id>
36
+ </common:external-ids>
37
+ <!--optional items -->
38
+ <common:start-date>
39
+ <common:year>1999</common:year>
40
+ <common:month>02</common:month>
41
+ <common:day>02</common:day>
42
+ </common:start-date>
43
+ <common:end-date>
44
+ <common:year>2012</common:year>
45
+ <common:month>02</common:month>
46
+ <common:day>02</common:day>
47
+ </common:end-date>
48
+ <common:url>http://xsede.org/GiantLaserAward</common:url>
49
+ </research-resource:proposal>
50
+ <!-- resource(s) -->
51
+ <research-resource:resource-items>
52
+ <!-- resource 1 -->
53
+ <research-resource:resource-item>
54
+ <research-resource:resource-name>Giant Laser 1</research-resource:resource-name>
55
+ <research-resource:resource-type>infrastructures</research-resource:resource-type>
56
+ <research-resource:hosts>
57
+ <common:organization>
58
+ <common:name>Lasers-R-US</common:name>
59
+ <common:address>
60
+ <common:city>Bethesda</common:city>
61
+ <common:region>Maryland</common:region>
62
+ <common:country>US</common:country>
63
+ </common:address>
64
+ <common:disambiguated-organization>
65
+ <common:disambiguated-organization-identifier>grid.455335.1</common:disambiguated-organization-identifier>
66
+ <common:disambiguation-source>GRID</common:disambiguation-source>
67
+ </common:disambiguated-organization>
68
+ </common:organization>
69
+ </research-resource:hosts>
70
+ <common:external-ids>
71
+ <common:external-id>
72
+ <common:external-id-type>rrid</common:external-id-type>
73
+ <common:external-id-value>rrid:giantLASER</common:external-id-value>
74
+ <common:external-id-relationship>self</common:external-id-relationship>
75
+ </common:external-id>
76
+ <common:external-id>
77
+ <common:external-id-type>doi</common:external-id-type>
78
+ <common:external-id-value>https://doi.org/10.123/giantlaser</common:external-id-value>
79
+ <common:external-id-relationship>self</common:external-id-relationship>
80
+ </common:external-id>
81
+ </common:external-ids>
82
+ </research-resource:resource-item>
83
+ <!-- resource 2 -->
84
+ <research-resource:resource-item>
85
+ <research-resource:resource-name>Moon Targets</research-resource:resource-name>
86
+ <research-resource:resource-type>infrastructures</research-resource:resource-type>
87
+ <research-resource:hosts>
88
+ <common:organization>
89
+ <common:name>Moon Holdings Ltd</common:name>
90
+ <common:address>
91
+ <common:city>Bethesda</common:city>
92
+ <common:region>Maryland</common:region>
93
+ <common:country>US</common:country>
94
+ </common:address>
95
+ <common:disambiguated-organization>
96
+ <common:disambiguated-organization-identifier>grid.455335.1</common:disambiguated-organization-identifier>
97
+ <common:disambiguation-source>GRID</common:disambiguation-source>
98
+ </common:disambiguated-organization>
99
+ </common:organization>
100
+ </research-resource:hosts>
101
+ <common:external-ids>
102
+ <common:external-id>
103
+ <common:external-id-type>uri</common:external-id-type>
104
+ <common:external-id-value>https://moon.org/targetOnTheMoon</common:external-id-value>
105
+ <common:external-id-relationship>part-of</common:external-id-relationship>
106
+ </common:external-id>
107
+ </common:external-ids>
108
+ </research-resource:resource-item>
109
+ </research-resource:resource-items>
110
+ </research-resource:research-resource>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <researcher-url:researcher-url xmlns:researcher-url="http://www.orcid.org/ns/researcher-url"
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/researcher-url ../researcher-url-3.0.xsd">
5
+ <researcher-url:url>https://site1.com/</researcher-url:url>
6
+ </researcher-url:researcher-url>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <researcher-url:researcher-url xmlns:researcher-url="http://www.orcid.org/ns/researcher-url"
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/researcher-url ../researcher-url-3.0.xsd">
5
+ <researcher-url:url-name>Site # 1</researcher-url:url-name>
6
+ <researcher-url:url>https://site1.com/</researcher-url:url>
7
+ </researcher-url:researcher-url>
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <service:service
3
+ xmlns:service="http://www.orcid.org/ns/service" 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/service ../service-3.0.xsd ">
6
+ <common:department-name>department-name</common:department-name>
7
+ <common:role-title>role-title</common:role-title>
8
+ <common:start-date>
9
+ <common:year>1948</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>1948</common:year>
15
+ <common:month>02</common:month>
16
+ <common:day>02</common:day>
17
+ </common:end-date>
18
+ <common: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>http://dx.doi.org/10.13039/100000001</common:disambiguated-organization-identifier>
27
+ <common:disambiguation-source>FUNDREF</common:disambiguation-source>
28
+ </common:disambiguated-organization>
29
+ </common:organization>
30
+ <common:url>http://tempuri.org</common:url>
31
+ <common:external-ids>
32
+ <common:external-id>
33
+ <common:external-id-type>grant_number</common:external-id-type>
34
+ <common:external-id-value>external-identifier-value</common:external-id-value>
35
+ <common:external-id-url>http://tempuri.org</common:external-id-url>
36
+ <common:external-id-relationship>self</common:external-id-relationship>
37
+ </common:external-id>
38
+ <common:external-id>
39
+ <common:external-id-type>grant_number</common:external-id-type>
40
+ <common:external-id-value>external-identifier-value2</common:external-id-value>
41
+ <common:external-id-url>http://tempuri.org/2</common:external-id-url>
42
+ <common:external-id-relationship>self</common:external-id-relationship>
43
+ </common:external-id>
44
+ </common:external-ids>
45
+ </service:service>
@@ -0,0 +1,60 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <work:work
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-3.0.xsd ">
6
+ <work:title>
7
+ <common:title>Work Title</common:title>
8
+ <common:subtitle>Sub title</common:subtitle>
9
+ <common:translated-title language-code="en">Translated-title</common:translated-title>
10
+ </work:title>
11
+ <work:journal-title>Journal Title</work:journal-title>
12
+ <work:short-description>Short description</work:short-description>
13
+ <work:citation>
14
+ <work:citation-type>bibtex</work:citation-type>
15
+ <work:citation-value>
16
+ @article {ORCID2012,
17
+ title = "ORCID: a system to uniquely identify researchers",
18
+ journal = "Learned Publishing",
19
+ year = "2012",
20
+ doi = "doi:10.1087/20120404"
21
+ }</work:citation-value>
22
+ </work:citation>
23
+ <work:type>journal-article</work:type>
24
+ <common:publication-date>
25
+ <common:year>2012</common:year>
26
+ <common:month>10</common:month>
27
+ <common:day>01</common:day>
28
+ </common:publication-date>
29
+ <common:external-ids>
30
+ <common:external-id>
31
+ <common:external-id-type>doi</common:external-id-type>
32
+ <common:external-id-value>10.1087/20120404</common:external-id-value>
33
+ <common:external-id-url>https://doi.org/10.1087/20120404</common:external-id-url>
34
+ <common:external-id-relationship>version-of</common:external-id-relationship>
35
+ </common:external-id>
36
+ <common:external-id>
37
+ <common:external-id-type>doi</common:external-id-type>
38
+ <common:external-id-value>work:doi</common:external-id-value>
39
+ <common:external-id-url>http://orcid.org</common:external-id-url>
40
+ <common:external-id-relationship>self</common:external-id-relationship>
41
+ </common:external-id>
42
+ </common:external-ids>
43
+ <common:url>http://alt-uri.org</common:url>
44
+ <work:contributors>
45
+ <work:contributor>
46
+ <common:contributor-orcid>
47
+ <common:uri>https://orcid.org/0000-0001-5109-3700</common:uri>
48
+ <common:path>0000-0001-5109-3700</common:path>
49
+ <common:host>orcid.org</common:host>
50
+ </common:contributor-orcid>
51
+ <work:credit-name>Laure L. Haak</work:credit-name>
52
+ <work:contributor-attributes>
53
+ <work:contributor-sequence>first</work:contributor-sequence>
54
+ <work:contributor-role>author</work:contributor-role>
55
+ </work:contributor-attributes>
56
+ </work:contributor>
57
+ </work:contributors>
58
+ <common:language-code>en</common:language-code>
59
+ <common:country>US</common:country>
60
+ </work:work>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <work:work
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-3.0.xsd ">
6
+ <work:title>
7
+ <common:title>Work Title</common:title>
8
+ </work:title>
9
+ <work:type>journal-article</work:type>
10
+ <common:external-ids>
11
+ <common:external-id>
12
+ <common:external-id-type>doi</common:external-id-type>
13
+ <common:external-id-value>10.1087/20120404</common:external-id-value>
14
+ <common:external-id-url>https://doi.org/10.1087/20120404</common:external-id-url>
15
+ <common:external-id-relationship>self</common:external-id-relationship>
16
+ </common:external-id>
17
+ </common:external-ids>
18
+ </work:work>
@@ -0,0 +1,62 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
+ elementFormDefault="qualified"
4
+ targetNamespace="http://www.orcid.org/ns/search"
5
+ xmlns:search="http://www.orcid.org/ns/search"
6
+ xmlns:common="http://www.orcid.org/ns/common">
7
+ <xs:annotation>
8
+ <xs:documentation>
9
+ =============================================================================
10
+
11
+ ORCID (R) Open Source
12
+ http://orcid.org
13
+
14
+ Copyright (c) 2012-2018 ORCID,
15
+ Inc.
16
+ Licensed under an MIT-Style License (MIT)
17
+ http://orcid.org/open-source-license
18
+
19
+ This copyright and license
20
+ information (including a link to the full
21
+ license)
22
+ shall be included in
23
+ its entirety in all copies or substantial portion of
24
+ the software.
25
+
26
+ =============================================================================
27
+ The schema describes the message format used for ORCID API requests
28
+ and responses.
29
+ The top level element is orcid-message.
30
+ </xs:documentation>
31
+ </xs:annotation>
32
+ <xs:import namespace="http://www.orcid.org/ns/common"
33
+ schemaLocation="../common_3.0/common-3.0.xsd" />
34
+
35
+ <xs:element name="search">
36
+ <xs:complexType>
37
+ <xs:annotation>
38
+ <xs:documentation>The container element for the results when
39
+ performing a search on the ORCID Registry. the num-found attribute
40
+ indicates the number of successful matches.
41
+ </xs:documentation>
42
+ </xs:annotation>
43
+ <xs:sequence>
44
+ <xs:element name="result" type="search:result" minOccurs="0"
45
+ maxOccurs="unbounded" />
46
+ </xs:sequence>
47
+ <xs:attribute name="num-found" type="xs:integer" default="0" />
48
+ </xs:complexType>
49
+ </xs:element>
50
+
51
+ <xs:complexType name="result">
52
+ <xs:annotation>
53
+ <xs:documentation>A single result when performing a search on the
54
+ ORCID Registry.
55
+ </xs:documentation>
56
+ </xs:annotation>
57
+ <xs:sequence>
58
+ <xs:element ref="common:orcid-identifier" maxOccurs="1" />
59
+ </xs:sequence>
60
+ </xs:complexType>
61
+
62
+ </xs:schema>
@@ -0,0 +1,51 @@
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/service" xmlns:service="http://www.orcid.org/ns/service"
5
+ xmlns:common="http://www.orcid.org/ns/common">
6
+ <xs:annotation>
7
+ <xs:documentation>
8
+ =============================================================================
9
+
10
+ ORCID (R) Open Source
11
+ http://orcid.org
12
+
13
+ Copyright (c) 2012-2018 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
+ </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:import namespace="http://www.orcid.org/ns/common"
36
+ schemaLocation="../common_3.0/common-3.0.xsd" />
37
+
38
+ <xs:element name="service" type="common:affiliation">
39
+ <xs:annotation>
40
+ <xs:documentation>A service associated with the researcher.
41
+ Service is defined as significant donations of time, money, or other resources to an organization or community
42
+ * The put-code attribute is used only when
43
+ reading this element. When updating the item, the put-code attribute
44
+ must be included to indicate the specific record to be updated.
45
+ </xs:documentation>
46
+ </xs:annotation>
47
+ </xs:element>
48
+
49
+ <xs:element name="service-summary" type="common:affiliation-summary" />
50
+
51
+ </xs:schema>