orcid_client 0.3.3 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. checksums.yaml +5 -5
  2. data/.env.example +1 -1
  3. data/Gemfile.lock +85 -81
  4. data/lib/orcid_client/api.rb +1 -1
  5. data/lib/orcid_client/base.rb +3 -2
  6. data/lib/orcid_client/external_identifier.rb +1 -1
  7. data/lib/orcid_client/notification.rb +1 -1
  8. data/lib/orcid_client/version.rb +1 -1
  9. data/lib/orcid_client/work.rb +6 -5
  10. data/orcid_client.gemspec +3 -3
  11. data/resources/README.md +131 -0
  12. data/resources/{common_2.0/common-2.0.xsd → common_2.1/common-2.1.xsd} +2 -2
  13. data/resources/{common_2.0/samples/common-2.0.xml → common_2.1/samples/common-2.1.xml} +2 -2
  14. data/resources/{notification_2.0 → notification_2.1}/README.md +10 -10
  15. data/resources/{notification_2.0/notification-custom-2.0.xsd → notification_2.1/notification-custom-2.1.xsd} +1 -1
  16. data/resources/{notification_2.0/notification-permission-2.0.xsd → notification_2.1/notification-permission-2.1.xsd} +3 -3
  17. data/resources/{notification_2.0/samples/notification-custom-2.0.xml → notification_2.1/samples/notification-custom-2.1.xml} +2 -2
  18. data/resources/{notification_2.0/samples/notification-permission-2.0.xml → notification_2.1/samples/notification-permission-2.1.xml} +2 -2
  19. data/resources/orcid-error-1.0.xsd +69 -0
  20. data/resources/{record_2.0 → record_2.1}/README.md +154 -155
  21. data/resources/{record_2.0/activities-2.0.xsd → record_2.1/activities-2.1.xsd} +6 -6
  22. data/resources/{record_2.0/address-2.0.xsd → record_2.1/address-2.1.xsd} +1 -1
  23. data/resources/{record_2.0/bulk-2.0.xsd → record_2.1/bulk-2.1.xsd} +2 -2
  24. data/resources/{record_2.0/education-2.0.xsd → record_2.1/education-2.1.xsd} +1 -1
  25. data/resources/{record_2.0/email-2.0.xsd → record_2.1/email-2.1.xsd} +1 -1
  26. data/resources/{record_2.0/employment-2.0.xsd → record_2.1/employment-2.1.xsd} +1 -1
  27. data/resources/{record_2.0/error-2.0.xsd → record_2.1/error-2.1.xsd} +0 -0
  28. data/resources/{record_2.0/funding-2.0.xsd → record_2.1/funding-2.1.xsd} +1 -1
  29. data/resources/{record_2.0/history-2.0.xsd → record_2.1/history-2.1.xsd} +1 -1
  30. data/resources/{record_2.0/keyword-2.0.xsd → record_2.1/keyword-2.1.xsd} +1 -1
  31. data/resources/{record_2.0/other-name-2.0.xsd → record_2.1/other-name-2.1.xsd} +1 -1
  32. data/resources/{record_2.0/peer-review-2.0.xsd → record_2.1/peer-review-2.1.xsd} +2 -2
  33. data/resources/{record_2.0/peer-review-guide-v2.0.md → record_2.1/peer-review-guide-v2.1.md} +17 -17
  34. data/resources/{record_2.0/person-2.0.xsd → record_2.1/person-2.1.xsd} +9 -9
  35. data/resources/{record_2.0/person-external-identifier-2.0.xsd → record_2.1/person-external-identifier-2.1.xsd} +1 -1
  36. data/resources/{record_2.0/personal-details-2.0.xsd → record_2.1/personal-details-2.1.xsd} +3 -3
  37. data/resources/{record_2.0/preferences-2.0.xsd → record_2.1/preferences-2.1.xsd} +1 -1
  38. data/resources/{record_2.0/record-2.0.xsd → record_2.1/record-2.1.xsd} +11 -11
  39. data/resources/{record_2.0/researcher-url-2.0.xsd → record_2.1/researcher-url-2.1.xsd} +1 -1
  40. data/resources/{record_2.0/samples/read_samples/activities-2.0.xml → record_2.1/samples/read_samples/activities-2.1.xml} +12 -12
  41. data/resources/{record_2.0/samples/read_samples/address-2.0.xml → record_2.1/samples/read_samples/address-2.1.xml} +2 -2
  42. data/resources/{record_2.0/samples/read_samples/addresses-2.0.xml → record_2.1/samples/read_samples/addresses-2.1.xml} +3 -3
  43. data/resources/{record_2.0/samples/read_samples/biography-2.0.xml → record_2.1/samples/read_samples/biography-2.1.xml} +2 -2
  44. data/resources/{record_2.0 → record_2.1}/samples/read_samples/bulk-work-error.xml +2 -2
  45. data/resources/{record_2.0/samples/read_samples/credit-name-2.0.xml → record_2.1/samples/read_samples/credit-name-2.1.xml} +1 -1
  46. data/resources/{record_2.0/samples/read_samples/education-2.0.xml → record_2.1/samples/read_samples/education-2.1.xml} +2 -2
  47. data/resources/{record_2.0/samples/read_samples/education-full-2.0.xml → record_2.1/samples/read_samples/education-full-2.1.xml} +2 -2
  48. data/resources/{record_2.0/samples/read_samples/educations-2.0.xml → record_2.1/samples/read_samples/educations-2.1.xml} +4 -4
  49. data/resources/{record_2.0/samples/read_samples/email-2.0.xml → record_2.1/samples/read_samples/email-2.1.xml} +2 -2
  50. data/resources/{record_2.0/samples/read_samples/emails-2.0.xml → record_2.1/samples/read_samples/emails-2.1.xml} +3 -3
  51. data/resources/{record_2.0/samples/read_samples/employment-2.0.xml → record_2.1/samples/read_samples/employment-2.1.xml} +2 -2
  52. data/resources/{record_2.0/samples/read_samples/employment-full-2.0.xml → record_2.1/samples/read_samples/employment-full-2.1.xml} +2 -2
  53. data/resources/{record_2.0/samples/read_samples/employments-2.0.xml → record_2.1/samples/read_samples/employments-2.1.xml} +4 -4
  54. data/resources/{record_2.0/samples/read_samples/error-2.0.xml → record_2.1/samples/read_samples/error-2.1.xml} +1 -1
  55. data/resources/{record_2.0/samples/read_samples/external-identifier-2.0.xml → record_2.1/samples/read_samples/external-identifier-2.1.xml} +2 -2
  56. data/resources/{record_2.0/samples/read_samples/external-identifiers-2.0.xml → record_2.1/samples/read_samples/external-identifiers-2.1.xml} +3 -3
  57. data/resources/{record_2.0/samples/read_samples/funding-2.0.xml → record_2.1/samples/read_samples/funding-2.1.xml} +3 -3
  58. data/resources/{record_2.0/samples/read_samples/funding-full-2.0.xml → record_2.1/samples/read_samples/funding-full-2.1.xml} +3 -3
  59. data/resources/{record_2.0/samples/read_samples/fundings-2.0.xml → record_2.1/samples/read_samples/fundings-2.1.xml} +4 -4
  60. data/resources/{record_2.0/samples/read_samples/history-2.0.xml → record_2.1/samples/read_samples/history-2.1.xml} +2 -2
  61. data/resources/{record_2.0/samples/read_samples/keyword-2.0.xml → record_2.1/samples/read_samples/keyword-2.1.xml} +2 -2
  62. data/resources/{record_2.0/samples/read_samples/keywords-2.0.xml → record_2.1/samples/read_samples/keywords-2.1.xml} +3 -3
  63. data/resources/{record_2.0/samples/read_samples/name-2.0.xml → record_2.1/samples/read_samples/name-2.1.xml} +1 -1
  64. data/resources/{record_2.0/samples/read_samples/other-name-2.0.xml → record_2.1/samples/read_samples/other-name-2.1.xml} +2 -2
  65. data/resources/{record_2.0/samples/read_samples/other-names-2.0.xml → record_2.1/samples/read_samples/other-names-2.1.xml} +3 -3
  66. data/resources/{record_2.0/samples/read_samples/peer-review-2.0.xml → record_2.1/samples/read_samples/peer-review-2.1.xml} +2 -2
  67. data/resources/{record_2.0/samples/read_samples/peer-review-full-2.0.xml → record_2.1/samples/read_samples/peer-review-full-2.1.xml} +2 -2
  68. data/resources/{record_2.0/samples/read_samples/peer-reviews-2.0.xml → record_2.1/samples/read_samples/peer-reviews-2.1.xml} +2 -2
  69. data/resources/{record_2.0/samples/read_samples/person-2.0.xml → record_2.1/samples/read_samples/person-2.1.xml} +7 -7
  70. data/resources/{record_2.0/samples/read_samples/personal-details-2.0.xml → record_2.1/samples/read_samples/personal-details-2.1.xml} +3 -3
  71. data/resources/{record_2.0/samples/read_samples/preferences-2.0.xml → record_2.1/samples/read_samples/preferences-2.1.xml} +1 -1
  72. data/resources/{record_2.0/samples/read_samples/record-2.0.xml → record_2.1/samples/read_samples/record-2.1.xml} +14 -14
  73. data/resources/{record_2.0/samples/read_samples/researcher-url-2.0.xml → record_2.1/samples/read_samples/researcher-url-2.1.xml} +2 -2
  74. data/resources/{record_2.0/samples/read_samples/researcher-urls-2.0.xml → record_2.1/samples/read_samples/researcher-urls-2.1.xml} +2 -2
  75. data/resources/{record_2.0/samples/read_samples/search-2.0.xml → record_2.1/samples/read_samples/search-2.1.xml} +2 -2
  76. data/resources/{record_2.0/samples/read_samples/work-2.0.xml → record_2.1/samples/read_samples/work-2.1.xml} +3 -3
  77. data/resources/{record_2.0/samples/read_samples/work-full-2.0.xml → record_2.1/samples/read_samples/work-full-2.1.xml} +3 -3
  78. data/resources/{record_2.0/samples/read_samples/works-2.0.xml → record_2.1/samples/read_samples/works-2.1.xml} +4 -4
  79. data/resources/{record_2.0/samples/write_sample/address-2.0.xml → record_2.1/samples/write_samples/address-2.1.xml} +1 -1
  80. data/resources/{record_2.0/samples/write_sample/bulk-work-2.0.json → record_2.1/samples/write_samples/bulk-work-2.1.json} +0 -0
  81. data/resources/{record_2.0/samples/write_sample/bulk-work-2.0.xml → record_2.1/samples/write_samples/bulk-work-2.1.xml} +1 -1
  82. data/resources/{record_2.0/samples/write_sample/education-2.0.xml → record_2.1/samples/write_samples/education-2.1.xml} +1 -1
  83. data/resources/{record_2.0/samples/write_sample/employment-2.0.xml → record_2.1/samples/write_samples/employment-2.1.xml} +1 -1
  84. data/resources/{record_2.0/samples/write_sample/external-identifier-2.0.xml → record_2.1/samples/write_samples/external-identifier-2.1.xml} +1 -1
  85. data/resources/{record_2.0/samples/write_sample/funding-2.0.xml → record_2.1/samples/write_samples/funding-2.1.xml} +1 -1
  86. data/resources/{record_2.0/samples/write_sample/keyword-2.0.xml → record_2.1/samples/write_samples/keyword-2.1.xml} +1 -1
  87. data/resources/{record_2.0/samples/write_sample/other-name-2.0.xml → record_2.1/samples/write_samples/other-name-2.1.xml} +1 -1
  88. data/resources/{record_2.0/samples/write_sample/peer-review-full-2.0.xml → record_2.1/samples/write_samples/peer-review-full-2.1.xml} +1 -1
  89. data/resources/{record_2.0/samples/write_sample/peer-review-simple-2.0.xml → record_2.1/samples/write_samples/peer-review-simple-2.1.xml} +1 -1
  90. data/resources/{record_2.0/samples/write_sample/researcher-url-2.0.xml → record_2.1/samples/write_samples/researcher-url-2.1.xml} +1 -1
  91. data/resources/{record_2.0/samples/write_sample/work-full-2.0.xml → record_2.1/samples/write_samples/work-full-2.1.xml} +2 -2
  92. data/resources/{record_2.0/samples/write_sample/work-simple-2.0.xml → record_2.1/samples/write_samples/work-simple-2.1.xml} +1 -1
  93. data/resources/{record_2.0/search-2.0.xsd → record_2.1/search-2.1.xsd} +1 -1
  94. data/resources/{record_2.0/work-2.0.xsd → record_2.1/work-2.1.xsd} +2 -2
  95. data/resources/xml.xsd +286 -0
  96. data/spec/api_spec.rb +9 -9
  97. data/spec/author_spec.rb +1 -1
  98. data/spec/external_identifier_spec.rb +2 -2
  99. data/spec/fixtures/external_identifier.xml +1 -1
  100. data/spec/fixtures/vcr_cassettes/OrcidClient/external_identifier/delete/should_delete_external_identifier.yml +6 -6
  101. data/spec/fixtures/vcr_cassettes/OrcidClient/external_identifier/post/should_create_external_identifier.yml +8 -8
  102. data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/delete/should_delete_notification.yml +11 -15
  103. data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/get/should_get_notification.yml +10 -15
  104. data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/post/should_create_notification.yml +48 -57
  105. data/spec/fixtures/vcr_cassettes/OrcidClient/works/delete/should_delete_work.yml +6 -6
  106. data/spec/fixtures/vcr_cassettes/OrcidClient/works/get/should_get_works.yml +6 -614
  107. data/spec/fixtures/vcr_cassettes/OrcidClient/works/post/should_create_work.yml +48 -55
  108. data/spec/fixtures/vcr_cassettes/OrcidClient/works/put/should_update_work.yml +51 -62
  109. data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/data.yml +41 -52
  110. data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_data.yml +41 -50
  111. data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_item_type_work.yml +51 -52
  112. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/literal.yml +41 -52
  113. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/multiple_titles.yml +51 -52
  114. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/valid.yml +41 -52
  115. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/with_ORCID_IDs.yml +55 -52
  116. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/data.yml +41 -52
  117. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/publication_date.yml +41 -52
  118. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_ORCID_IDs_for_contributors.yml +55 -52
  119. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_data.yml +41 -52
  120. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_from_DataCite_test_system.yml +41 -60
  121. data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_type_data-set.yml +51 -52
  122. data/spec/fixtures/work.xml +1 -1
  123. data/spec/notification_spec.rb +3 -3
  124. data/spec/work_spec.rb +16 -17
  125. metadata +100 -103
@@ -40,17 +40,17 @@
40
40
  </xs:annotation>
41
41
 
42
42
  <xs:import namespace="http://www.orcid.org/ns/common"
43
- schemaLocation="../common_2.0/common-2.0.xsd" />
43
+ schemaLocation="../common_2.1/common-2.1.xsd" />
44
44
  <xs:import namespace="http://www.orcid.org/ns/employment"
45
- schemaLocation="employment-2.0.xsd" />
45
+ schemaLocation="employment-2.1.xsd" />
46
46
  <xs:import namespace="http://www.orcid.org/ns/education"
47
- schemaLocation="education-2.0.xsd" />
47
+ schemaLocation="education-2.1.xsd" />
48
48
  <xs:import namespace="http://www.orcid.org/ns/funding"
49
- schemaLocation="funding-2.0.xsd" />
49
+ schemaLocation="funding-2.1.xsd" />
50
50
  <xs:import namespace="http://www.orcid.org/ns/work"
51
- schemaLocation="work-2.0.xsd" />
51
+ schemaLocation="work-2.1.xsd" />
52
52
  <xs:import namespace="http://www.orcid.org/ns/peer-review"
53
- schemaLocation="peer-review-2.0.xsd" />
53
+ schemaLocation="peer-review-2.1.xsd" />
54
54
 
55
55
  <xs:element name="activities-summary">
56
56
  <xs:complexType>
@@ -32,7 +32,7 @@
32
32
  </xs:appinfo>
33
33
  </xs:annotation>
34
34
  <xs:import namespace="http://www.orcid.org/ns/common"
35
- schemaLocation="../common_2.0/common-2.0.xsd" />
35
+ schemaLocation="../common_2.1/common-2.1.xsd" />
36
36
 
37
37
  <xs:element name="addresses">
38
38
  <xs:annotation>
@@ -36,10 +36,10 @@
36
36
  </xs:annotation>
37
37
 
38
38
  <xs:import namespace="http://www.orcid.org/ns/error"
39
- schemaLocation="error-2.0.xsd" />
39
+ schemaLocation="error-2.1.xsd" />
40
40
 
41
41
  <xs:import namespace="http://www.orcid.org/ns/work"
42
- schemaLocation="work-2.0.xsd" />
42
+ schemaLocation="work-2.1.xsd" />
43
43
 
44
44
  <xs:element name="bulk">
45
45
  <xs:complexType>
@@ -34,7 +34,7 @@
34
34
  </xs:annotation>
35
35
 
36
36
  <xs:import namespace="http://www.orcid.org/ns/common"
37
- schemaLocation="../common_2.0/common-2.0.xsd" />
37
+ schemaLocation="../common_2.1/common-2.1.xsd" />
38
38
 
39
39
  <xs:element name="education">
40
40
  <xs:annotation>
@@ -32,7 +32,7 @@
32
32
  </xs:appinfo>
33
33
  </xs:annotation>
34
34
  <xs:import namespace="http://www.orcid.org/ns/common"
35
- schemaLocation="../common_2.0/common-2.0.xsd" />
35
+ schemaLocation="../common_2.1/common-2.1.xsd" />
36
36
  <xs:element name="emails">
37
37
  <xs:complexType>
38
38
  <xs:annotation>
@@ -34,7 +34,7 @@
34
34
  </xs:annotation>
35
35
 
36
36
  <xs:import namespace="http://www.orcid.org/ns/common"
37
- schemaLocation="../common_2.0/common-2.0.xsd" />
37
+ schemaLocation="../common_2.1/common-2.1.xsd" />
38
38
 
39
39
  <xs:element name="employment">
40
40
  <xs:annotation>
@@ -34,7 +34,7 @@
34
34
  </xs:annotation>
35
35
 
36
36
  <xs:import namespace="http://www.orcid.org/ns/common"
37
- schemaLocation="../common_2.0/common-2.0.xsd" />
37
+ schemaLocation="../common_2.1/common-2.1.xsd" />
38
38
 
39
39
  <xs:element name="funding">
40
40
  <xs:annotation>
@@ -34,7 +34,7 @@
34
34
  </xs:annotation>
35
35
 
36
36
  <xs:import namespace="http://www.orcid.org/ns/common"
37
- schemaLocation="../common_2.0/common-2.0.xsd" />
37
+ schemaLocation="../common_2.1/common-2.1.xsd" />
38
38
 
39
39
  <xs:element name="history">
40
40
  <xs:complexType>
@@ -33,7 +33,7 @@
33
33
  </xs:annotation>
34
34
 
35
35
  <xs:import namespace="http://www.orcid.org/ns/common"
36
- schemaLocation="../common_2.0/common-2.0.xsd" />
36
+ schemaLocation="../common_2.1/common-2.1.xsd" />
37
37
 
38
38
  <xs:element name="keywords">
39
39
  <xs:complexType>
@@ -32,7 +32,7 @@
32
32
  </xs:appinfo>
33
33
  </xs:annotation>
34
34
  <xs:import namespace="http://www.orcid.org/ns/common"
35
- schemaLocation="../common_2.0/common-2.0.xsd" />
35
+ schemaLocation="../common_2.1/common-2.1.xsd" />
36
36
 
37
37
  <xs:element name="other-names">
38
38
  <xs:complexType>
@@ -37,9 +37,9 @@
37
37
  </xs:annotation>
38
38
 
39
39
  <xs:import namespace="http://www.orcid.org/ns/common"
40
- schemaLocation="../common_2.0/common-2.0.xsd" />
40
+ schemaLocation="../common_2.1/common-2.1.xsd" />
41
41
  <xs:import namespace="http://www.orcid.org/ns/work"
42
- schemaLocation="work-2.0.xsd" />
42
+ schemaLocation="work-2.1.xsd" />
43
43
 
44
44
  <xs:element name="peer-review">
45
45
  <xs:complexType>
@@ -1,13 +1,13 @@
1
1
 
2
- #ORCID API v2.0 Peer Review Guide
3
- Starting in v2.0, the ORCID API now supports a new activity type: ```peer-review```.
2
+ #ORCID API v2.1 Peer Review Guide
3
+ Starting in v2.1, the ORCID API now supports a new activity type: ```peer-review```.
4
4
 
5
5
  The ```peer-review``` activity type is intended to allow for recognition of and exchange of data about peer review service contributed by researchers.
6
6
 
7
7
  The ```peer-review``` activity type follows the [CASRAI Peer Review Services data profile](http://dictionary.casrai.org/Peer_Review_Services), which was developed by the [Peer Review Services Working Group (PRS-WG)](http://casrai.org/standards/subject-groups/peer-review-services), led by [ORCID](http://orcid.org) and [F1000](http://f1000.com/). More details about ORCID's implementation of this recommendation, and the Early Adopter program for Peer Review can be found on the [Peer Review Early Adopter page](http://orcid.org/content/peer-review-early-adopter-program).
8
8
 
9
9
  ##Peer Review XML
10
- XML for the ```peer-review``` activity follows the [peer-review-2.0.xsd](https://github.com/ORCID/ORCID-Source/blob/master/orcid-model/src/main/resources/record_2.0/peer-review-2.0.xsd) and consists of the following sections:
10
+ XML for the ```peer-review``` activity follows the [peer-review-2.1.xsd](https://github.com/ORCID/ORCID-Source/blob/master/orcid-model/src/main/resources/record_2.1/peer-review-2.1.xsd) and consists of the following sections:
11
11
 
12
12
  ###The fields
13
13
 
@@ -46,7 +46,7 @@ XML for the ```peer-review``` activity follows the [peer-review-2.0.xsd](https:/
46
46
 
47
47
  ###Example file
48
48
 
49
- For an example XML file, see [peer-review-2.0.xml](https://github.com/ORCID/ORCID-Source/blob/master/orcid-model/src/main/resources/record_2.0/samples/peer-review-2.0.xml )
49
+ For an example XML file, see [peer-review-2.1.xml](https://github.com/ORCID/ORCID-Source/blob/master/orcid-model/src/main/resources/record_2.1/samples/peer-review-2.1.xml )
50
50
 
51
51
  ***Note:*** *Sample files contain system-generated elements/attributes that are returned when reading items from ORCID. The following items should not be included when posting items to ORCID:*
52
52
 
@@ -57,13 +57,13 @@ For an example XML file, see [peer-review-2.0.xml](https://github.com/ORCID/ORCI
57
57
 
58
58
 
59
59
  ##Peer Review API Reference
60
- ```peer-review``` is available only in ORCID API v2.0_rcX, which uses a slightly different data structure from previous API versions.
60
+ ```peer-review``` is available only in ORCID API v2.X, which uses a slightly different data structure from previous API versions.
61
61
 
62
- In v2.0_rcX, activities are read, added, and modified on an individual basis (rather than as a list), using a ```put-code```, which is a system-generated identifier used within the ORCID database.
62
+ In v2.X, activities are read, added, and modified on an individual basis (rather than as a list), using a ```put-code```, which is a system-generated identifier used within the ORCID database.
63
63
 
64
64
  The ```put-code``` for a specific item can be obtained by reading a summary of a user's ORCID record.
65
65
 
66
- Other notable differences between v2.0_rcX previous versions include:
66
+ Other notable differences between v2.X previous versions include:
67
67
 
68
68
  - Only 2 scopes are used: ```/read-limited``` and ```/activities/update```
69
69
  - An explicit ```DELETE``` method is used to remove record items
@@ -71,15 +71,15 @@ Other notable differences between v2.0_rcX previous versions include:
71
71
  ###Read Activities Summary
72
72
  | Action | HTTP method | Scope | URL |
73
73
  |-------------------------|-------------|--------------------------|----------------------------------------------------------|
74
- | Read activities summary | GET | /read-limited | https://api.sandbox.orcid.org/v2.0/[ORCID-iD]/activities |
74
+ | Read activities summary | GET | /read-limited | https://api.sandbox.orcid.org/v2.1/[ORCID-iD]/activities |
75
75
 
76
76
  ###Read/Modifiy Peer Review Activities
77
77
  | Action | HTTP method | Scope | URL |
78
78
  |--------------------|-------------|--------------------------|--------------------------------------------------------------------------|
79
- | Add peer-review item | POST | /activities/update | https://api.sandbox.orcid.org/v2.0/[ORCID-iD]/peer-review |
80
- | Read peer-review item | GET | /read-limited | https://api.sandbox.orcid.org/v2.0/[ORCID-iD]/peer-review/[PUT-CODE] |
81
- | Update peer-review item | PUT | /activities/update | https://api.sandbox.orcid.org/v2.0/[ORCID-iD]/peer-review/[PUT-CODE] |
82
- | Delete peer-review item | DELETE | /activities/update | https://api.sandbox.orcid.org/v2.0/[ORCID-iD]/peer-review/[PUT-CODE] |
79
+ | Add peer-review item | POST | /activities/update | https://api.sandbox.orcid.org/v2.1/[ORCID-iD]/peer-review |
80
+ | Read peer-review item | GET | /read-limited | https://api.sandbox.orcid.org/v2.1/[ORCID-iD]/peer-review/[PUT-CODE] |
81
+ | Update peer-review item | PUT | /activities/update | https://api.sandbox.orcid.org/v2.1/[ORCID-iD]/peer-review/[PUT-CODE] |
82
+ | Delete peer-review item | DELETE | /activities/update | https://api.sandbox.orcid.org/v2.1/[ORCID-iD]/peer-review/[PUT-CODE] |
83
83
 
84
84
 
85
85
  - **[ORCID-iD]** is the ORCID iD for the record, formatted as XXXX-XXXX-XXXX-XXXX
@@ -91,7 +91,7 @@ Other notable differences between v2.0_rcX previous versions include:
91
91
  ```shell
92
92
  curl -i -H "Accept: application/orcid+xml" \
93
93
  -H 'Authorization: Bearer dd91868d-d29a-475e-9acb-bd3fdf2f43f4' \
94
- 'https://api.sandbox.orcid.org/v2.0/0000-0002-1306-4180/activities'
94
+ 'https://api.sandbox.orcid.org/v2.1/0000-0002-1306-4180/activities'
95
95
  ```
96
96
 
97
97
  ####Add Peer-Review Activity
@@ -100,7 +100,7 @@ curl -i -H "Accept: application/orcid+xml" \
100
100
  curl -i -H 'Content-type: application/orcid+xml’ \
101
101
  -H 'Authorization: Bearer dd91868d-d29a-475e-9acb-bd3fdf2f43f4' \
102
102
  -d '@[FILE-PATH]/peer-review-item.xml' \
103
- -X POST 'https://api.sandbox.orcid.org/v2.0/[ORCID]/peer-review'
103
+ -X POST 'https://api.sandbox.orcid.org/v2.1/[ORCID]/peer-review'
104
104
  ```
105
105
 
106
106
  ####Read Peer-Review Activity
@@ -108,7 +108,7 @@ curl -i -H 'Content-type: application/orcid+xml’ \
108
108
  ```
109
109
  curl -i -H "Accept: application/orcid+xml" \
110
110
  -H 'Authorization: Bearer dd91868d-d29a-475e-9acb-bd3fdf2f43f4' \
111
- 'https://api.sandbox.orcid.org/v2.0/[ORCID]/peer-review/[PUT-CODE]'
111
+ 'https://api.sandbox.orcid.org/v2.1/[ORCID]/peer-review/[PUT-CODE]'
112
112
  ```
113
113
 
114
114
  ####Update Peer-Review Activity
@@ -117,7 +117,7 @@ curl -i -H "Accept: application/orcid+xml" \
117
117
  curl -i -H 'Content-type: application/orcid+xml’ \
118
118
  -H 'Authorization: Bearer dd91868d-d29a-475e-9acb-bd3fdf2f43f4' \
119
119
  -d '@[FILE-PATH]/peer-review-item-updated.xml' \
120
- -X PUT 'https://api.sandbox.orcid.org/v2.0/[ORCID]/peer-review/[PUT-CODE]'
120
+ -X PUT 'https://api.sandbox.orcid.org/v2.1/[ORCID]/peer-review/[PUT-CODE]'
121
121
  ```
122
122
 
123
123
  ####Delete Peer-Review Activity
@@ -125,7 +125,7 @@ curl -i -H 'Content-type: application/orcid+xml’ \
125
125
  ```shell
126
126
  curl -i -H 'Content-type: application/orcid+xml’ \
127
127
  -H 'Authorization: Bearer dd91868d-d29a-475e-9acb-bd3fdf2f43f4' \
128
- -X DELETE 'https://api.sandbox.orcid.org/v2.0/[ORCID]/peer-review/[PUT-CODE]'
128
+ -X DELETE 'https://api.sandbox.orcid.org/v2.1/[ORCID]/peer-review/[PUT-CODE]'
129
129
  ```
130
130
 
131
131
 
@@ -1,4 +1,4 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
2
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
3
  xmlns:sch="http://purl.oclc.org/dsdl/schematron" elementFormDefault="qualified"
4
4
  targetNamespace="http://www.orcid.org/ns/person" xmlns:person="http://www.orcid.org/ns/person"
@@ -37,21 +37,21 @@
37
37
  </xs:annotation>
38
38
 
39
39
  <xs:import namespace="http://www.orcid.org/ns/common"
40
- schemaLocation="../common_2.0/common-2.0.xsd" />
40
+ schemaLocation="../common_2.1/common-2.1.xsd" />
41
41
  <xs:import namespace="http://www.orcid.org/ns/personal-details"
42
- schemaLocation="../record_2.0/personal-details-2.0.xsd" />
42
+ schemaLocation="../record_2.1/personal-details-2.1.xsd" />
43
43
  <xs:import namespace="http://www.orcid.org/ns/other-name"
44
- schemaLocation="../record_2.0/other-name-2.0.xsd" />
44
+ schemaLocation="../record_2.1/other-name-2.1.xsd" />
45
45
  <xs:import namespace="http://www.orcid.org/ns/researcher-url"
46
- schemaLocation="../record_2.0/researcher-url-2.0.xsd" />
46
+ schemaLocation="../record_2.1/researcher-url-2.1.xsd" />
47
47
  <xs:import namespace="http://www.orcid.org/ns/email"
48
- schemaLocation="../record_2.0/email-2.0.xsd" />
48
+ schemaLocation="../record_2.1/email-2.1.xsd" />
49
49
  <xs:import namespace="http://www.orcid.org/ns/address"
50
- schemaLocation="../record_2.0/address-2.0.xsd" />
50
+ schemaLocation="../record_2.1/address-2.1.xsd" />
51
51
  <xs:import namespace="http://www.orcid.org/ns/keyword"
52
- schemaLocation="../record_2.0/keyword-2.0.xsd" />
52
+ schemaLocation="../record_2.1/keyword-2.1.xsd" />
53
53
  <xs:import namespace="http://www.orcid.org/ns/external-identifier"
54
- schemaLocation="../record_2.0/person-external-identifier-2.0.xsd" />
54
+ schemaLocation="../record_2.1/person-external-identifier-2.1.xsd" />
55
55
 
56
56
  <xs:element name="person">
57
57
  <xs:annotation>
@@ -33,7 +33,7 @@
33
33
  </xs:appinfo>
34
34
  </xs:annotation>
35
35
  <xs:import namespace="http://www.orcid.org/ns/common"
36
- schemaLocation="../common_2.0/common-2.0.xsd" />
36
+ schemaLocation="../common_2.1/common-2.1.xsd" />
37
37
 
38
38
  <xs:element name="external-identifiers">
39
39
  <xs:annotation>
@@ -4,7 +4,7 @@
4
4
  targetNamespace="http://www.orcid.org/ns/personal-details"
5
5
  xmlns:other-name="http://www.orcid.org/ns/other-name" xmlns:common="http://www.orcid.org/ns/common"
6
6
  xmlns:personal-details="http://www.orcid.org/ns/personal-details">
7
- <xs:annotation>
7
+ <xs:annotation>
8
8
  <xs:documentation>
9
9
  =============================================================================
10
10
 
@@ -34,9 +34,9 @@
34
34
  </xs:annotation>
35
35
 
36
36
  <xs:import namespace="http://www.orcid.org/ns/common"
37
- schemaLocation="../common_2.0/common-2.0.xsd" />
37
+ schemaLocation="../common_2.1/common-2.1.xsd" />
38
38
  <xs:import namespace="http://www.orcid.org/ns/other-name"
39
- schemaLocation="../record_2.0/other-name-2.0.xsd" />
39
+ schemaLocation="../record_2.1/other-name-2.1.xsd" />
40
40
 
41
41
  <xs:element name="personal-details">
42
42
  <xs:annotation>
@@ -33,7 +33,7 @@
33
33
  </xs:appinfo>
34
34
  </xs:annotation>
35
35
  <xs:import namespace="http://www.orcid.org/ns/common"
36
- schemaLocation="../common_2.0/common-2.0.xsd" />
36
+ schemaLocation="../common_2.1/common-2.1.xsd" />
37
37
  <xs:element name="preferences">
38
38
  <xs:complexType>
39
39
  <xs:annotation>
@@ -8,7 +8,7 @@
8
8
  xmlns:activities="http://www.orcid.org/ns/activities" xmlns:history="http://www.orcid.org/ns/history"
9
9
  xmlns:record="http://www.orcid.org/ns/record" xmlns:preferences="http://www.orcid.org/ns/preferences"
10
10
  xmlns:peer-review="http://www.orcid.org/ns/peer-review">
11
- <xs:annotation>
11
+ <xs:annotation>
12
12
  <xs:documentation>
13
13
  =============================================================================
14
14
 
@@ -39,25 +39,25 @@
39
39
  </xs:annotation>
40
40
 
41
41
  <xs:import namespace="http://www.orcid.org/ns/activities"
42
- schemaLocation="activities-2.0.xsd" />
42
+ schemaLocation="activities-2.1.xsd" />
43
43
  <xs:import namespace="http://www.orcid.org/ns/person"
44
- schemaLocation="person-2.0.xsd" />
44
+ schemaLocation="person-2.1.xsd" />
45
45
  <xs:import namespace="http://www.orcid.org/ns/common"
46
- schemaLocation="../common_2.0/common-2.0.xsd" />
46
+ schemaLocation="../common_2.1/common-2.1.xsd" />
47
47
  <xs:import namespace="http://www.orcid.org/ns/history"
48
- schemaLocation="history-2.0.xsd" />
48
+ schemaLocation="history-2.1.xsd" />
49
49
  <xs:import namespace="http://www.orcid.org/ns/preferences"
50
- schemaLocation="preferences-2.0.xsd" />
50
+ schemaLocation="preferences-2.1.xsd" />
51
51
  <xs:import namespace="http://www.orcid.org/ns/work"
52
- schemaLocation="work-2.0.xsd" />
52
+ schemaLocation="work-2.1.xsd" />
53
53
  <xs:import namespace="http://www.orcid.org/ns/funding"
54
- schemaLocation="funding-2.0.xsd" />
54
+ schemaLocation="funding-2.1.xsd" />
55
55
  <xs:import namespace="http://www.orcid.org/ns/education"
56
- schemaLocation="education-2.0.xsd" />
56
+ schemaLocation="education-2.1.xsd" />
57
57
  <xs:import namespace="http://www.orcid.org/ns/employment"
58
- schemaLocation="employment-2.0.xsd" />
58
+ schemaLocation="employment-2.1.xsd" />
59
59
  <xs:import namespace="http://www.orcid.org/ns/peer-review"
60
- schemaLocation="peer-review-2.0.xsd" />
60
+ schemaLocation="peer-review-2.1.xsd" />
61
61
 
62
62
  <xs:element name="record">
63
63
  <xs:complexType>
@@ -33,7 +33,7 @@
33
33
  </xs:appinfo>
34
34
  </xs:annotation>
35
35
  <xs:import namespace="http://www.orcid.org/ns/common"
36
- schemaLocation="../common_2.0/common-2.0.xsd" />
36
+ schemaLocation="../common_2.1/common-2.1.xsd" />
37
37
  <xs:element name="researcher-urls">
38
38
  <xs:complexType>
39
39
  <xs:annotation>
@@ -1,13 +1,13 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <activities:activities-summary path="http://orcid.org/v2.0_rc4/8888-8888-8888-8880/activities"
2
+ <activities:activities-summary path="http://orcid.org/v2.1/8888-8888-8888-8880/activities"
3
3
  xmlns:activities="http://www.orcid.org/ns/activities"
4
4
  xmlns:employment="http://www.orcid.org/ns/employment" xmlns:common="http://www.orcid.org/ns/common"
5
5
  xmlns:education="http://www.orcid.org/ns/education" xmlns:funding="http://www.orcid.org/ns/funding"
6
6
  xmlns:work="http://www.orcid.org/ns/work" xmlns:peer-review="http://www.orcid.org/ns/peer-review"
7
7
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://www.orcid.org/ns/activities ../activities-2.0.xsd ">
8
+ xsi:schemaLocation="http://www.orcid.org/ns/activities ../activities-2.1.xsd ">
9
9
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
10
- <activities:educations path="http://orcid.org/v2.0_rc4/8888-8888-8888-8880/educations">
10
+ <activities:educations path="http://orcid.org/v2.1/8888-8888-8888-8880/educations">
11
11
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
12
12
  <education:education-summary put-code="0"
13
13
  visibility="private" display-index="0">
@@ -15,7 +15,7 @@
15
15
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
16
16
  <common:source>
17
17
  <common:source-orcid>
18
- <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
18
+ <common:uri>https://orcid.org/8888-8888-8888-8880</common:uri>
19
19
  <common:path>8888-8888-8888-8880</common:path>
20
20
  <common:host>orcid.org</common:host>
21
21
  </common:source-orcid>
@@ -47,7 +47,7 @@
47
47
  </education:organization>
48
48
  </education:education-summary>
49
49
  </activities:educations>
50
- <activities:employments path="http://orcid.org/v2.0_rc4/8888-8888-8888-8880/employments">
50
+ <activities:employments path="http://orcid.org/v2.1/8888-8888-8888-8880/employments">
51
51
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
52
52
  <employment:employment-summary
53
53
  put-code="0" visibility="private" display-index="0">
@@ -55,7 +55,7 @@
55
55
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
56
56
  <common:source>
57
57
  <common:source-orcid>
58
- <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
58
+ <common:uri>https://orcid.org/8888-8888-8888-8880</common:uri>
59
59
  <common:path>8888-8888-8888-8880</common:path>
60
60
  <common:host>orcid.org</common:host>
61
61
  </common:source-orcid>
@@ -87,7 +87,7 @@
87
87
  </employment:organization>
88
88
  </employment:employment-summary>
89
89
  </activities:employments>
90
- <activities:fundings path="http://orcid.org/v2.0_rc4/8888-8888-8888-8880/fundings">
90
+ <activities:fundings path="http://orcid.org/v2.1/8888-8888-8888-8880/fundings">
91
91
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
92
92
  <activities:group>
93
93
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
@@ -104,7 +104,7 @@
104
104
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
105
105
  <common:source>
106
106
  <common:source-orcid>
107
- <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
107
+ <common:uri>https://orcid.org/8888-8888-8888-8880</common:uri>
108
108
  <common:path>8888-8888-8888-8880</common:path>
109
109
  <common:host>orcid.org</common:host>
110
110
  </common:source-orcid>
@@ -148,7 +148,7 @@
148
148
  </funding:funding-summary>
149
149
  </activities:group>
150
150
  </activities:fundings>
151
- <activities:peer-reviews path="http://orcid.org/v2.0_rc4/8888-8888-8888-8880/peer-reviews">
151
+ <activities:peer-reviews path="http://orcid.org/v2.1/8888-8888-8888-8880/peer-reviews">
152
152
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
153
153
  <activities:group>
154
154
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
@@ -165,7 +165,7 @@
165
165
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
166
166
  <common:source>
167
167
  <common:source-orcid>
168
- <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
168
+ <common:uri>https://orcid.org/8888-8888-8888-8880</common:uri>
169
169
  <common:path>8888-8888-8888-8880</common:path>
170
170
  <common:host>orcid.org</common:host>
171
171
  </common:source-orcid>
@@ -200,7 +200,7 @@
200
200
  </peer-review:peer-review-summary>
201
201
  </activities:group>
202
202
  </activities:peer-reviews>
203
- <activities:works path="http://orcid.org/v2.0_rc4/8888-8888-8888-8880/works">
203
+ <activities:works path="http://orcid.org/v2.1/8888-8888-8888-8880/works">
204
204
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
205
205
  <activities:group>
206
206
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
@@ -217,7 +217,7 @@
217
217
  <common:last-modified-date>2001-12-31T12:00:00</common:last-modified-date>
218
218
  <common:source>
219
219
  <common:source-orcid>
220
- <common:uri>http://orcid.org/8888-8888-8888-8880</common:uri>
220
+ <common:uri>https://orcid.org/8888-8888-8888-8880</common:uri>
221
221
  <common:path>8888-8888-8888-8880</common:path>
222
222
  <common:host>orcid.org</common:host>
223
223
  </common:source-orcid>