orcid_client 0.2.3 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +120 -43
- data/lib/orcid_client/api.rb +1 -1
- data/lib/orcid_client/author.rb +2 -49
- data/lib/orcid_client/date.rb +3 -3
- data/lib/orcid_client/external_identifier.rb +1 -1
- data/lib/orcid_client/notification.rb +3 -5
- data/lib/orcid_client/version.rb +1 -1
- data/lib/orcid_client/work.rb +23 -28
- data/lib/orcid_client.rb +2 -0
- data/orcid_client.gemspec +5 -4
- data/resources/{common_2.0_rc3/common-2.0_rc3.xsd → common_2.0/common-2.0.xsd} +68 -49
- data/resources/{common_2.0_rc3/samples/common-2.0_rc3.xml → common_2.0/samples/common-2.0.xml} +1 -1
- data/resources/notification_2.0/README.md +123 -0
- data/resources/notification_2.0/notification-custom-2.0.xsd +38 -0
- data/resources/notification_2.0/notification-permission-2.0.xsd +134 -0
- data/resources/{notification_2.0_rc3/samples/notification-custom-2.0_rc3.xml → notification_2.0/samples/notification-custom-2.0.xml} +3 -3
- data/resources/{notification_2.0_rc3/samples/notification-permission-2.0_rc3.xml → notification_2.0/samples/notification-permission-2.0.xml} +2 -2
- data/resources/record_2.0/README.md +304 -0
- data/resources/{record_2.0_rc3/activities-2.0_rc3.xsd → record_2.0/activities-2.0.xsd} +79 -46
- data/resources/{record_2.0_rc3/address-2.0_rc3.xsd → record_2.0/address-2.0.xsd} +1 -1
- data/resources/{record_2.0_rc3/bulk-2.0_rc3.xsd → record_2.0/bulk-2.0.xsd} +12 -12
- data/resources/{record_2.0_rc3/education-2.0_rc3.xsd → record_2.0/education-2.0.xsd} +5 -5
- data/resources/{record_2.0_rc3/email-2.0_rc3.xsd → record_2.0/email-2.0.xsd} +3 -1
- data/resources/{record_2.0_rc3/employment-2.0_rc3.xsd → record_2.0/employment-2.0.xsd} +5 -5
- data/resources/{record_2.0_rc3/error-2.0_rc3.xsd → record_2.0/error-2.0.xsd} +0 -0
- data/resources/{record_2.0_rc3/funding-2.0_rc3.xsd → record_2.0/funding-2.0.xsd} +5 -49
- data/resources/{record_2.0_rc3/history-2.0_rc3.xsd → record_2.0/history-2.0.xsd} +1 -1
- data/resources/{record_2.0_rc3/keyword-2.0_rc3.xsd → record_2.0/keyword-2.0.xsd} +2 -2
- data/resources/{record_2.0_rc3/other-name-2.0_rc3.xsd → record_2.0/other-name-2.0.xsd} +2 -2
- data/resources/{record_2.0_rc3/peer-review-2.0_rc3.xsd → record_2.0/peer-review-2.0.xsd} +4 -4
- data/resources/record_2.0/peer-review-guide-v2.0.md +131 -0
- data/resources/{record_2.0_rc3/person-2.0_rc3.xsd → record_2.0/person-2.0.xsd} +8 -21
- data/resources/{record_2.0_rc3/person-external-identifier-2.0_rc3.xsd → record_2.0/person-external-identifier-2.0.xsd} +1 -1
- data/resources/{record_2.0_rc3/personal-details-2.0_rc3.xsd → record_2.0/personal-details-2.0.xsd} +5 -7
- data/resources/{record_2.0_rc3/preferences-2.0_rc3.xsd → record_2.0/preferences-2.0.xsd} +1 -1
- data/resources/{record_2.0_rc3/record-2.0_rc3.xsd → record_2.0/record-2.0.xsd} +16 -23
- data/resources/{record_2.0_rc3/researcher-url-2.0_rc3.xsd → record_2.0/researcher-url-2.0.xsd} +2 -2
- data/resources/{record_2.0_rc3/samples/activities-2.0_rc3.xml → record_2.0/samples/read_samples/activities-2.0.xml} +24 -12
- data/resources/{record_2.0_rc3/samples/address-2.0_rc3.xml → record_2.0/samples/read_samples/address-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/addresses-2.0_rc3.xml → record_2.0/samples/read_samples/addresses-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/biography-2.0_rc3.xml → record_2.0/samples/read_samples/biography-2.0.xml} +2 -2
- data/resources/record_2.0/samples/read_samples/bulk-work-error.xml +45 -0
- data/resources/{record_2.0_rc3/samples/credit-name-2.0_rc3.xml → record_2.0/samples/read_samples/credit-name-2.0.xml} +2 -2
- data/resources/{record_2.0_rc3/samples/education-full-2.0_rc3.xml → record_2.0/samples/read_samples/education-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/education-2.0_rc3.xml → record_2.0/samples/read_samples/education-full-2.0.xml} +12 -2
- data/resources/record_2.0/samples/read_samples/educations-2.0.xml +52 -0
- data/resources/{record_2.0_rc3/samples/email-2.0_rc3.xml → record_2.0/samples/read_samples/email-2.0.xml} +2 -2
- data/resources/{record_2.0_rc3/samples/emails-2.0_rc3.xml → record_2.0/samples/read_samples/emails-2.0.xml} +3 -3
- data/resources/{record_2.0_rc3/samples/employment-full-2.0_rc3.xml → record_2.0/samples/read_samples/employment-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/employment-2.0_rc3.xml → record_2.0/samples/read_samples/employment-full-2.0.xml} +14 -4
- data/resources/record_2.0/samples/read_samples/employments-2.0.xml +52 -0
- data/resources/{record_2.0_rc3/samples/error-2.0_rc3.xml → record_2.0/samples/read_samples/error-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/external-identifier-2.0_rc3.xml → record_2.0/samples/read_samples/external-identifier-2.0.xml} +3 -2
- data/resources/{record_2.0_rc3/samples/external-identifiers-2.0_rc3.xml → record_2.0/samples/read_samples/external-identifiers-2.0.xml} +5 -3
- data/resources/{record_2.0_rc3/samples/funding-full-2.0_rc3.xml → record_2.0/samples/read_samples/funding-2.0.xml} +2 -2
- data/resources/{record_2.0_rc3/samples/funding-2.0_rc3.xml → record_2.0/samples/read_samples/funding-full-2.0.xml} +13 -3
- data/resources/record_2.0/samples/read_samples/fundings-2.0.xml +138 -0
- data/resources/{record_2.0_rc3/samples/history-2.0_rc3.xml → record_2.0/samples/read_samples/history-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/keyword-2.0_rc3.xml → record_2.0/samples/read_samples/keyword-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/keywords-2.0_rc3.xml → record_2.0/samples/read_samples/keywords-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/name-2.0_rc3.xml → record_2.0/samples/read_samples/name-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/other-name-2.0_rc3.xml → record_2.0/samples/read_samples/other-name-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/other-names-2.0_rc3.xml → record_2.0/samples/read_samples/other-names-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/peer-review-full-2.0_rc3.xml → record_2.0/samples/read_samples/peer-review-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/peer-review-2.0_rc3.xml → record_2.0/samples/read_samples/peer-review-full-2.0.xml} +18 -8
- data/resources/record_2.0/samples/read_samples/peer-reviews-2.0.xml +73 -0
- data/resources/{record_2.0_rc3/samples/person-2.0_rc3.xml → record_2.0/samples/read_samples/person-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/personal-details-2.0_rc3.xml → record_2.0/samples/read_samples/personal-details-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/preferences-2.0_rc3.xml → record_2.0/samples/read_samples/preferences-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/record-2.0_rc3.xml → record_2.0/samples/read_samples/record-2.0.xml} +73 -85
- data/resources/{record_2.0_rc3/samples/researcher-url-2.0_rc3.xml → record_2.0/samples/read_samples/researcher-url-2.0.xml} +1 -1
- data/resources/{record_2.0_rc3/samples/researcher-urls-2.0_rc3.xml → record_2.0/samples/read_samples/researcher-urls-2.0.xml} +1 -1
- data/resources/record_2.0/samples/read_samples/search-2.0.xml +14 -0
- data/resources/{record_2.0_rc3/samples/work-full-2.0_rc3.xml → record_2.0/samples/read_samples/work-2.0.xml} +5 -5
- data/resources/{record_2.0_rc3/samples/work-2.0_rc3.xml → record_2.0/samples/read_samples/work-full-2.0.xml} +14 -4
- data/resources/record_2.0/samples/read_samples/works-2.0.xml +146 -0
- data/resources/record_2.0/samples/write_sample/address-2.0.xml +6 -0
- data/resources/{record_2.0_rc3/samples/bulk-work-2.0_rc3.json → record_2.0/samples/write_sample/bulk-work-2.0.json} +55 -55
- data/resources/{record_2.0_rc3/samples/bulk-work-2.0_rc3.xml → record_2.0/samples/write_sample/bulk-work-2.0.xml} +18 -11
- data/resources/record_2.0/samples/write_sample/education-2.0.xml +30 -0
- data/resources/record_2.0/samples/write_sample/employment-2.0.xml +30 -0
- data/resources/record_2.0/samples/write_sample/external-identifier-2.0.xml +11 -0
- data/resources/record_2.0/samples/write_sample/funding-2.0.xml +44 -0
- data/resources/record_2.0/samples/write_sample/keyword-2.0.xml +7 -0
- data/resources/record_2.0/samples/write_sample/other-name-2.0.xml +6 -0
- data/resources/record_2.0/samples/write_sample/peer-review-full-2.0.xml +48 -0
- data/resources/record_2.0/samples/write_sample/peer-review-simple-2.0.xml +32 -0
- data/resources/record_2.0/samples/write_sample/researcher-url-2.0.xml +7 -0
- data/resources/record_2.0/samples/write_sample/work-full-2.0.xml +54 -0
- data/resources/record_2.0/samples/write_sample/work-simple-2.0.xml +18 -0
- data/resources/{record_2.0_rc3/search-2.0_rc3.xsd → record_2.0/search-2.0.xsd} +6 -26
- data/resources/{record_2.0_rc3/work-2.0_rc3.xsd → record_2.0/work-2.0.xsd} +8 -129
- data/spec/api_spec.rb +3 -3
- data/spec/external_identifier_spec.rb +2 -2
- data/spec/fixtures/external_identifier.xml +1 -1
- data/spec/fixtures/vcr_cassettes/OrcidClient/external_identifier/delete/should_delete_external_identifier.yml +17 -5
- data/spec/fixtures/vcr_cassettes/OrcidClient/external_identifier/post/should_create_external_identifier.yml +19 -7
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/delete/should_delete_notification.yml +19 -6
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/get/should_get_notification.yml +20 -6
- data/spec/fixtures/vcr_cassettes/OrcidClient/notifications/post/should_create_notification.yml +90 -25
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/delete/should_delete_work.yml +17 -5
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/get/should_get_works.yml +554 -543
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/post/should_create_work.yml +90 -25
- data/spec/fixtures/vcr_cassettes/OrcidClient/works/put/should_update_work.yml +99 -28
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/data.yml +72 -17
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_data.yml +70 -17
- data/spec/fixtures/vcr_cassettes/OrcidClient_Notification/schema/validates_item_type_work.yml +72 -14
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/literal.yml +72 -20
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/multiple_titles.yml +72 -20
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/valid.yml +72 -23
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/contributors/with_ORCID_IDs.yml +75 -133
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/data.yml +72 -23
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/publication_date.yml +72 -23
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_ORCID_IDs_for_contributors.yml +75 -133
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_data.yml +72 -23
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/schema/validates_work_type_data-set.yml +72 -20
- data/spec/fixtures/work.xml +4 -2
- data/spec/notification_spec.rb +4 -4
- data/spec/work_spec.rb +6 -6
- metadata +122 -80
- data/lib/orcid_client/metadata.rb +0 -128
- data/resources/notification_2.0_rc3/notification-custom-2.0_rc3.xsd +0 -32
- data/resources/notification_2.0_rc3/notification-permission-2.0_rc3.xsd +0 -128
- data/resources/record_2.0_rc3/deprecated-2.0_rc3.xsd +0 -80
- data/resources/record_2.0_rc3/internal-2.0_rc3.xsd +0 -199
- data/resources/record_2.0_rc3/samples/deprecated-2.0_rc3.xml +0 -13
- data/resources/record_2.0_rc3/samples/search-2.0_rc3.xml +0 -368
- data/spec/fixtures/vcr_cassettes/OrcidClient_Work/citation.yml +0 -50
@@ -1,56 +1,56 @@
|
|
1
|
-
{
|
2
|
-
"bulk": [
|
3
|
-
{
|
4
|
-
"work": {
|
5
|
-
"title": {
|
6
|
-
"title": {
|
7
|
-
"value": "Work # 1"
|
8
|
-
},
|
9
|
-
"subtitle": null,
|
10
|
-
"translated-title": null
|
11
|
-
},
|
12
|
-
"journal-title": {
|
13
|
-
"value": "journal # 1"
|
14
|
-
},
|
15
|
-
"short-description": null,
|
16
|
-
"type": "JOURNAL_ARTICLE",
|
17
|
-
"external-ids": {
|
18
|
-
"external-id": [{
|
19
|
-
"external-id-type": "doi",
|
20
|
-
"external-id-value": "ext-id-1",
|
21
|
-
"external-id-url": {
|
22
|
-
"value": "http://dx.doi.org/ext-id-1"
|
23
|
-
},
|
24
|
-
"external-id-relationship": "SELF"
|
25
|
-
}]
|
26
|
-
}
|
27
|
-
}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"work": {
|
31
|
-
"title": {
|
32
|
-
"title": {
|
33
|
-
"value": "Work # 2"
|
34
|
-
},
|
35
|
-
"subtitle": null,
|
36
|
-
"translated-title": null
|
37
|
-
},
|
38
|
-
"journal-title": {
|
39
|
-
"value": "journal # 2"
|
40
|
-
},
|
41
|
-
"short-description": null,
|
42
|
-
"type": "JOURNAL_ARTICLE",
|
43
|
-
"external-ids": {
|
44
|
-
"external-id": [{
|
45
|
-
"external-id-type": "doi",
|
46
|
-
"external-id-value": "ext-id-2",
|
47
|
-
"external-id-url": {
|
48
|
-
"value": "http://dx.doi.org/ext-id-2"
|
49
|
-
},
|
50
|
-
"external-id-relationship": "SELF"
|
51
|
-
}]
|
52
|
-
}
|
53
|
-
}
|
54
|
-
}
|
55
|
-
]
|
1
|
+
{
|
2
|
+
"bulk": [
|
3
|
+
{
|
4
|
+
"work": {
|
5
|
+
"title": {
|
6
|
+
"title": {
|
7
|
+
"value": "Work # 1"
|
8
|
+
},
|
9
|
+
"subtitle": null,
|
10
|
+
"translated-title": null
|
11
|
+
},
|
12
|
+
"journal-title": {
|
13
|
+
"value": "journal # 1"
|
14
|
+
},
|
15
|
+
"short-description": null,
|
16
|
+
"type": "JOURNAL_ARTICLE",
|
17
|
+
"external-ids": {
|
18
|
+
"external-id": [{
|
19
|
+
"external-id-type": "doi",
|
20
|
+
"external-id-value": "ext-id-1",
|
21
|
+
"external-id-url": {
|
22
|
+
"value": "http://dx.doi.org/ext-id-1"
|
23
|
+
},
|
24
|
+
"external-id-relationship": "SELF"
|
25
|
+
}]
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"work": {
|
31
|
+
"title": {
|
32
|
+
"title": {
|
33
|
+
"value": "Work # 2"
|
34
|
+
},
|
35
|
+
"subtitle": null,
|
36
|
+
"translated-title": null
|
37
|
+
},
|
38
|
+
"journal-title": {
|
39
|
+
"value": "journal # 2"
|
40
|
+
},
|
41
|
+
"short-description": null,
|
42
|
+
"type": "JOURNAL_ARTICLE",
|
43
|
+
"external-ids": {
|
44
|
+
"external-id": [{
|
45
|
+
"external-id-type": "doi",
|
46
|
+
"external-id-value": "ext-id-2",
|
47
|
+
"external-id-url": {
|
48
|
+
"value": "http://dx.doi.org/ext-id-2"
|
49
|
+
},
|
50
|
+
"external-id-relationship": "SELF"
|
51
|
+
}]
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
]
|
56
56
|
}
|
@@ -4,14 +4,14 @@
|
|
4
4
|
xmlns:work="http://www.orcid.org/ns/work"
|
5
5
|
xmlns:bulk="http://www.orcid.org/ns/bulk"
|
6
6
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
7
|
-
xsi:schemaLocation="http://www.orcid.org/ns/bulk ../bulk-2.
|
7
|
+
xsi:schemaLocation="http://www.orcid.org/ns/bulk ../bulk-2.0.xsd">
|
8
8
|
<error:error>
|
9
|
-
<error:response-code>
|
10
|
-
<error:developer-message>
|
11
|
-
<error:user-message>
|
12
|
-
<error:error-code>
|
13
|
-
<error:more-info>http://
|
14
|
-
</error:error>
|
9
|
+
<error:response-code>1</error:response-code>
|
10
|
+
<error:developer-message>developer-message</error:developer-message>
|
11
|
+
<error:user-message>user-message</error:user-message>
|
12
|
+
<error:error-code>1</error:error-code>
|
13
|
+
<error:more-info>http://orcid.org</error:more-info>
|
14
|
+
</error:error>
|
15
15
|
<work:work>
|
16
16
|
<work:title>
|
17
17
|
<common:title>Current treatment of left main coronary artery disease # 1</common:title>
|
@@ -32,6 +32,13 @@
|
|
32
32
|
</common:external-id>
|
33
33
|
</common:external-ids>
|
34
34
|
</work:work>
|
35
|
+
<error:error>
|
36
|
+
<error:response-code>1</error:response-code>
|
37
|
+
<error:developer-message>developer-message</error:developer-message>
|
38
|
+
<error:user-message>user-message</error:user-message>
|
39
|
+
<error:error-code>1</error:error-code>
|
40
|
+
<error:more-info>http://orcid.org</error:more-info>
|
41
|
+
</error:error>
|
35
42
|
<work:work>
|
36
43
|
<work:title>
|
37
44
|
<common:title>Current treatment of left main coronary artery disease # 2</common:title>
|
@@ -54,9 +61,9 @@
|
|
54
61
|
</work:work>
|
55
62
|
<error:error>
|
56
63
|
<error:response-code>1</error:response-code>
|
57
|
-
<error:developer-message>
|
58
|
-
<error:user-message>
|
64
|
+
<error:developer-message>developer-message</error:developer-message>
|
65
|
+
<error:user-message>user-message</error:user-message>
|
59
66
|
<error:error-code>1</error:error-code>
|
60
|
-
<error:more-info>http://
|
61
|
-
</error:error>
|
67
|
+
<error:more-info>http://orcid.org</error:more-info>
|
68
|
+
</error:error>
|
62
69
|
</bulk:bulk>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<education:education
|
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.xsd ">
|
6
|
+
<education:department-name>Department</education:department-name>
|
7
|
+
<education:role-title>Degree</education:role-title>
|
8
|
+
<common:start-date>
|
9
|
+
<common:year>1997</common:year>
|
10
|
+
<common:month>08</common:month>
|
11
|
+
<common:day>20</common:day>
|
12
|
+
</common:start-date>
|
13
|
+
<common:end-date>
|
14
|
+
<common:year>1999</common:year>
|
15
|
+
<common:month>05</common:month>
|
16
|
+
<common:day>01</common:day>
|
17
|
+
</common:end-date>
|
18
|
+
<education:organization>
|
19
|
+
<common:name>Massachusetts Institute of Technology</common:name>
|
20
|
+
<common:address>
|
21
|
+
<common:city>Cambridge</common:city>
|
22
|
+
<common:region>MA</common:region>
|
23
|
+
<common:country>US</common:country>
|
24
|
+
</common:address>
|
25
|
+
<common:disambiguated-organization>
|
26
|
+
<common:disambiguated-organization-identifier>2167</common:disambiguated-organization-identifier>
|
27
|
+
<common:disambiguation-source>RINGGOLD</common:disambiguation-source>
|
28
|
+
</common:disambiguated-organization>
|
29
|
+
</education:organization>
|
30
|
+
</education:education>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<employment:employment
|
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.xsd ">
|
6
|
+
<employment:department-name>Department</employment:department-name>
|
7
|
+
<employment:role-title>Role</employment:role-title>
|
8
|
+
<common:start-date>
|
9
|
+
<common:year>2012</common:year>
|
10
|
+
<common:month>07</common:month>
|
11
|
+
<common:day>01</common:day>
|
12
|
+
</common:start-date>
|
13
|
+
<common:end-date>
|
14
|
+
<common:year>2017</common:year>
|
15
|
+
<common:month>01</common:month>
|
16
|
+
<common:day>01</common:day>
|
17
|
+
</common:end-date>
|
18
|
+
<employment:organization>
|
19
|
+
<common:name>ORCID</common:name>
|
20
|
+
<common:address>
|
21
|
+
<common:city>Bethesda</common:city>
|
22
|
+
<common:region>MD</common:region>
|
23
|
+
<common:country>US</common:country>
|
24
|
+
</common:address>
|
25
|
+
<common:disambiguated-organization>
|
26
|
+
<common:disambiguated-organization-identifier>385488</common:disambiguated-organization-identifier>
|
27
|
+
<common:disambiguation-source>RINGGOLD</common:disambiguation-source>
|
28
|
+
</common:disambiguated-organization>
|
29
|
+
</employment:organization>
|
30
|
+
</employment:employment>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<external-identifier:external-identifier
|
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.xsd ">
|
6
|
+
<common:external-id-type>My ID System</common:external-id-type>
|
7
|
+
<common:external-id-value>A-0003</common:external-id-value>
|
8
|
+
<common:external-id-url>https://myid.com/A-0003</common:external-id-url>
|
9
|
+
<common:external-id-relationship>self</common:external-id-relationship>
|
10
|
+
</external-identifier:external-identifier>
|
11
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<funding:funding
|
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.xsd ">
|
6
|
+
<funding:type>grant</funding:type>
|
7
|
+
<funding:organization-defined-type>Funding sub-type</funding:organization-defined-type>
|
8
|
+
<funding:title>
|
9
|
+
<common:title>Grant title</common:title>
|
10
|
+
<common:translated-title language-code="en">Translated title</common:translated-title>
|
11
|
+
</funding:title>
|
12
|
+
<funding:short-description>Short description of the award</funding:short-description>
|
13
|
+
<funding:amount currency-code="ADP">1000</funding:amount>
|
14
|
+
<funding:url>https://alt-url.org</funding:url>
|
15
|
+
<common:start-date>
|
16
|
+
<common:year>2000</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>2020</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>1234</common:external-id-value>
|
29
|
+
<common:external-id-url>http://tempuri.org/12345</common:external-id-url>
|
30
|
+
<common:external-id-relationship>self</common:external-id-relationship>
|
31
|
+
</common:external-id>
|
32
|
+
</common:external-ids>
|
33
|
+
<funding:organization>
|
34
|
+
<common:name>Wellcome Trust</common:name>
|
35
|
+
<common:address>
|
36
|
+
<common:city>London</common:city>
|
37
|
+
<common:country>GB</common:country>
|
38
|
+
</common:address>
|
39
|
+
<common:disambiguated-organization>
|
40
|
+
<common:disambiguated-organization-identifier>http://dx.doi.org/10.13039/100004440</common:disambiguated-organization-identifier>
|
41
|
+
<common:disambiguation-source>FUNDREF</common:disambiguation-source>
|
42
|
+
</common:disambiguated-organization>
|
43
|
+
</funding:organization>
|
44
|
+
</funding:funding>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<keyword:keyword
|
3
|
+
xmlns:keyword="http://www.orcid.org/ns/keyword"
|
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/keyword ../keyword-2.0.xsd ">
|
6
|
+
<keyword:content>keyword1</keyword:content>
|
7
|
+
</keyword:keyword>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<other-name:other-name xmlns:other-name="http://www.orcid.org/ns/other-name"
|
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/other-name ../other-name-2.0.xsd ">
|
5
|
+
<other-name:content>Other Name</other-name:content>
|
6
|
+
</other-name:other-name>
|
@@ -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-2.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>Journal title</peer-review:subject-container-name>
|
30
|
+
<peer-review:subject-type>journal-article</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-2.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,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-2.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,54 @@
|
|
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-2.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>Jounral 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 = "Leanred 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>self</common:external-id-relationship>
|
35
|
+
</common:external-id>
|
36
|
+
</common:external-ids>
|
37
|
+
<work:url>http://alt-uri.org</work:url>
|
38
|
+
<work:contributors>
|
39
|
+
<work:contributor>
|
40
|
+
<common:contributor-orcid>
|
41
|
+
<common:uri>http://orcid.org/0000-0001-5109-3700</common:uri>
|
42
|
+
<common:path>0000-0001-5109-3700</common:path>
|
43
|
+
<common:host>orcid.org</common:host>
|
44
|
+
</common:contributor-orcid>
|
45
|
+
<work:credit-name>Laure L. Haak</work:credit-name>
|
46
|
+
<work:contributor-attributes>
|
47
|
+
<work:contributor-sequence>first</work:contributor-sequence>
|
48
|
+
<work:contributor-role>author</work:contributor-role>
|
49
|
+
</work:contributor-attributes>
|
50
|
+
</work:contributor>
|
51
|
+
</work:contributors>
|
52
|
+
<common:language-code>en</common:language-code>
|
53
|
+
<common:country>US</common:country>
|
54
|
+
</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-2.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>
|
@@ -1,8 +1,9 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
3
|
-
|
4
|
-
targetNamespace="http://www.orcid.org/ns/search"
|
5
|
-
xmlns:
|
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">
|
6
7
|
<xs:annotation>
|
7
8
|
<xs:documentation>
|
8
9
|
=============================================================================
|
@@ -27,16 +28,9 @@
|
|
27
28
|
and responses.
|
28
29
|
The top level element is orcid-message.
|
29
30
|
</xs:documentation>
|
30
|
-
<xs:appinfo>
|
31
|
-
<sch:title>Schematron validation</sch:title>
|
32
|
-
<sch:ns prefix="orcid" uri="http://www.orcid.org/ns/orcid" />
|
33
|
-
</xs:appinfo>
|
34
31
|
</xs:annotation>
|
35
32
|
<xs:import namespace="http://www.orcid.org/ns/common"
|
36
|
-
schemaLocation="../common_2.
|
37
|
-
<xs:import namespace="http://www.orcid.org/ns/record"
|
38
|
-
schemaLocation="record-2.0_rc3.xsd" />
|
39
|
-
|
33
|
+
schemaLocation="../common_2.0/common-2.0.xsd" />
|
40
34
|
|
41
35
|
<xs:element name="search">
|
42
36
|
<xs:complexType>
|
@@ -54,7 +48,6 @@
|
|
54
48
|
</xs:complexType>
|
55
49
|
</xs:element>
|
56
50
|
|
57
|
-
|
58
51
|
<xs:complexType name="result">
|
59
52
|
<xs:annotation>
|
60
53
|
<xs:documentation>A single result when performing a search on the
|
@@ -62,21 +55,8 @@
|
|
62
55
|
</xs:documentation>
|
63
56
|
</xs:annotation>
|
64
57
|
<xs:sequence>
|
65
|
-
<xs:element
|
66
|
-
maxOccurs="1" />
|
67
|
-
<xs:element ref="record:record" maxOccurs="1" />
|
58
|
+
<xs:element ref="common:orcid-identifier" maxOccurs="1" />
|
68
59
|
</xs:sequence>
|
69
60
|
</xs:complexType>
|
70
61
|
|
71
|
-
<xs:complexType mixed="true" name="relevancy-score">
|
72
|
-
<xs:annotation>
|
73
|
-
<xs:documentation>Search relevancy score based on ORCID's search
|
74
|
-
scoring model.
|
75
|
-
</xs:documentation>
|
76
|
-
</xs:annotation>
|
77
|
-
<xs:simpleContent>
|
78
|
-
<xs:extension base="xs:float" />
|
79
|
-
</xs:simpleContent>
|
80
|
-
</xs:complexType>
|
81
|
-
|
82
62
|
</xs:schema>
|