Skip to content

Commit cb9dbe4

Browse files
committed
[scripts/release_tests] Add pypi test odmltools
1 parent efe2d1a commit cb9dbe4

4 files changed

Lines changed: 420 additions & 0 deletions

File tree

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.3/metadata.xsd">
2+
<identifier identifierType="DOI">10.5072/example-full</identifier>
3+
<creators>
4+
<creator>
5+
<creatorName nameType="Personal">Miller, Elizabeth</creatorName>
6+
<givenName>Elizabeth</givenName>
7+
<familyName>Miller</familyName>
8+
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
9+
0000-0001-5000-0007
10+
</nameIdentifier>
11+
<nameIdentifier>another name identifier</nameIdentifier>
12+
<affiliation affiliationIdentifier="https://ror.org/04wxnsj81"
13+
schemeURI="https://ror.org/"
14+
affiliationIdentifierScheme="ROR">DataCite
15+
</affiliation>
16+
</creator>
17+
<creator>
18+
<creatorName nameType="Organizational" xml:lang="en">Ontario Ministry of
19+
Natural Resources and Forestry
20+
</creatorName>
21+
</creator>
22+
<creator>
23+
<creatorName nameType="Organizational" xml:lang="fr">Université du Québec à
24+
Montréal
25+
</creatorName>
26+
<affiliation>University</affiliation>
27+
</creator>
28+
</creators>
29+
<titles>
30+
<title xml:lang="en-US">Full DataCite XML Example</title>
31+
<title xml:lang="en-US" titleType="Subtitle">Demonstration of DataCite
32+
Properties.
33+
</title>
34+
</titles>
35+
<publisher xml:lang="en">National Research Council of Canada</publisher>
36+
<publicationYear>2014</publicationYear>
37+
<subjects>
38+
<subject xml:lang="en-US" schemeURI="http://dewey.info/" subjectScheme="dewey">000
39+
computer science
40+
</subject>
41+
</subjects>
42+
<contributors>
43+
<contributor contributorType="ProjectLeader">
44+
<contributorName>Starr, Joan</contributorName>
45+
<givenName>Joan</givenName>
46+
<familyName>Starr</familyName>
47+
<nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
48+
0000-0002-7285-027X
49+
</nameIdentifier>
50+
<affiliation affiliationIdentifier="https://ror.org/03yrm5c26"
51+
affiliationIdentifierScheme="ROR">California Digital Library
52+
</affiliation>
53+
</contributor>
54+
<contributor contributorType="Sponsor">
55+
<contributorName xml:lang="en">International Joint Commission
56+
</contributorName>
57+
</contributor>
58+
<contributor contributorType="Producer">
59+
<contributorName xml:lang="en">United States Geological Survey
60+
</contributorName>
61+
</contributor>
62+
</contributors>
63+
<dates>
64+
<date dateType="Updated" dateInformation="Updated with 4.3 properties">
65+
2017-09-13
66+
</date>
67+
</dates>
68+
<language>en-US</language>
69+
<resourceType resourceTypeGeneral="Software">XML</resourceType>
70+
<alternateIdentifiers>
71+
<alternateIdentifier alternateIdentifierType="URL">
72+
https://schema.datacite.org/meta/kernel-4.3/example/datacite-example-full-v4.3.xml
73+
</alternateIdentifier>
74+
</alternateIdentifiers>
75+
<relatedIdentifiers>
76+
<relatedIdentifier relatedIdentifierType="URL" relationType="HasMetadata"
77+
relatedMetadataScheme="citeproc+json"
78+
schemeURI="https://github.com/citation-style-language/schema/raw/master/csl-data.json">
79+
https://data.datacite.org/application/citeproc+json/10.5072/example-full
80+
</relatedIdentifier>
81+
<relatedIdentifier relatedIdentifierType="arXiv" relationType="IsReviewedBy"
82+
resourceTypeGeneral="Text">arXiv:0706.0001
83+
</relatedIdentifier>
84+
</relatedIdentifiers>
85+
<sizes>
86+
<size>4 kB</size>
87+
</sizes>
88+
<formats>
89+
<format>application/xml</format>
90+
</formats>
91+
<version>4.3</version>
92+
<rightsList>
93+
<rights xml:lang="en-US" schemeURI="https://spdx.org/licenses/"
94+
rightsIdentifierScheme="SPDX" rightsIdentifier="CC0 1.0"
95+
rightsURI="http://creativecommons.org/publicdomain/zero/1.0/"/>
96+
</rightsList>
97+
<descriptions>
98+
<description xml:lang="en-US" descriptionType="Abstract">
99+
XML example of all DataCite Metadata Schema v4.3 properties.
100+
</description>
101+
</descriptions>
102+
<geoLocations>
103+
<geoLocation>
104+
<geoLocationPlace>Atlantic Ocean</geoLocationPlace>
105+
<geoLocationPoint>
106+
<pointLongitude>-67.302</pointLongitude>
107+
<pointLatitude>31.233</pointLatitude>
108+
</geoLocationPoint>
109+
<geoLocationBox>
110+
<westBoundLongitude>-71.032</westBoundLongitude>
111+
<eastBoundLongitude>-68.211</eastBoundLongitude>
112+
<southBoundLatitude>41.090</southBoundLatitude>
113+
<northBoundLatitude>42.893</northBoundLatitude>
114+
</geoLocationBox>
115+
<geoLocationPolygon>
116+
<polygonPoint>
117+
<pointLatitude>41.991</pointLatitude>
118+
<pointLongitude>-71.032</pointLongitude>
119+
</polygonPoint>
120+
<polygonPoint>
121+
<pointLatitude>42.893</pointLatitude>
122+
<pointLongitude>-69.622</pointLongitude>
123+
</polygonPoint>
124+
<polygonPoint>
125+
<pointLatitude>41.991</pointLatitude>
126+
<pointLongitude>-68.211</pointLongitude>
127+
</polygonPoint>
128+
<polygonPoint>
129+
<pointLatitude>41.090</pointLatitude>
130+
<pointLongitude>-69.622</pointLongitude>
131+
</polygonPoint>
132+
<polygonPoint>
133+
<pointLatitude>41.991</pointLatitude>
134+
<pointLongitude>-71.032</pointLongitude>
135+
</polygonPoint>
136+
</geoLocationPolygon>
137+
</geoLocation>
138+
</geoLocations>
139+
<fundingReferences>
140+
<fundingReference>
141+
<funderName>National Science Foundation</funderName>
142+
<funderIdentifier funderIdentifierType="Crossref Funder ID" schemeURI="someScheme">
143+
https://doi.org/10.13039/100000001
144+
</funderIdentifier>
145+
<awardNumber awardURI="http://www.cbat.eps.harvard.edu/cbet/000100/CBET000106.txt">CBET-106</awardNumber>
146+
<awardTitle>Full DataCite XML Example</awardTitle>
147+
</fundingReference>
148+
<fundingReference>
149+
<funderName>National Science Foundation</funderName>
150+
<funderIdentifier>https://doi.org/10.13039/100000001</funderIdentifier>
151+
<awardNumber>CBET-106</awardNumber>
152+
<awardTitle>Full DataCite XML Example</awardTitle>
153+
</fundingReference>
154+
</fundingReferences>
155+
</resource>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<ns0:resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://datacite.org/schema/kernel-2" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.3/metadata.xsd">
2+
<ns0:identifier identifierType="DOI">10.5072/example-full</ns0:identifier>
3+
</ns0:resource>
Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
<ns0:resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.3/metadata.xsd">
2+
<ns0:identifier identifierType="DOI">10.5072/example-full</ns0:identifier>
3+
<ns0:creators>
4+
<ns0:creator>
5+
<ns0:creatorName nameType="Personal">Miller, Elizabeth</ns0:creatorName>
6+
<ns0:givenName>Elizabeth</ns0:givenName>
7+
<ns0:familyName>Miller</ns0:familyName>
8+
<ns0:nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
9+
0000-0001-5000-0007
10+
</ns0:nameIdentifier>
11+
<ns0:nameIdentifier>another name identifier</ns0:nameIdentifier>
12+
<ns0:affiliation affiliationIdentifier="https://ror.org/04wxnsj81"
13+
schemeURI="https://ror.org/"
14+
affiliationIdentifierScheme="ROR">DataCite
15+
</ns0:affiliation>
16+
</ns0:creator>
17+
<ns0:creator>
18+
<ns0:creatorName nameType="Organizational" xml:lang="en">Ontario Ministry of
19+
Natural Resources and Forestry
20+
</ns0:creatorName>
21+
</ns0:creator>
22+
<ns0:creator>
23+
<ns0:creatorName nameType="Organizational" xml:lang="fr">Université du Québec à
24+
Montréal
25+
</ns0:creatorName>
26+
<ns0:affiliation>University</ns0:affiliation>
27+
</ns0:creator>
28+
</ns0:creators>
29+
<ns0:titles>
30+
<ns0:title xml:lang="en-US">Full DataCite XML Example</ns0:title>
31+
<ns0:title xml:lang="en-US" titleType="Subtitle">Demonstration of DataCite
32+
Properties.
33+
</ns0:title>
34+
</ns0:titles>
35+
<ns0:publisher xml:lang="en">National Research Council of Canada</ns0:publisher>
36+
<ns0:publicationYear>2014</ns0:publicationYear>
37+
<ns0:subjects>
38+
<ns0:subject xml:lang="en-US" schemeURI="http://dewey.info/" subjectScheme="dewey">000
39+
computer science
40+
</ns0:subject>
41+
</ns0:subjects>
42+
<ns0:contributors>
43+
<ns0:contributor contributorType="ProjectLeader">
44+
<ns0:contributorName>Starr, Joan</ns0:contributorName>
45+
<ns0:givenName>Joan</ns0:givenName>
46+
<ns0:familyName>Starr</ns0:familyName>
47+
<ns0:nameIdentifier schemeURI="http://orcid.org/" nameIdentifierScheme="ORCID">
48+
0000-0002-7285-027X
49+
</ns0:nameIdentifier>
50+
<ns0:affiliation affiliationIdentifier="https://ror.org/03yrm5c26"
51+
affiliationIdentifierScheme="ROR">California Digital Library
52+
</ns0:affiliation>
53+
</ns0:contributor>
54+
<ns0:contributor contributorType="Sponsor">
55+
<ns0:contributorName xml:lang="en">International Joint Commission
56+
</ns0:contributorName>
57+
</ns0:contributor>
58+
<ns0:contributor contributorType="Producer">
59+
<ns0:contributorName xml:lang="en">United States Geological Survey
60+
</ns0:contributorName>
61+
</ns0:contributor>
62+
</ns0:contributors>
63+
<ns0:dates>
64+
<ns0:date dateType="Updated" dateInformation="Updated with 4.3 properties">
65+
2017-09-13
66+
</ns0:date>
67+
</ns0:dates>
68+
<ns0:language>en-US</ns0:language>
69+
<ns0:resourceType resourceTypeGeneral="Software">XML</ns0:resourceType>
70+
<ns0:alternateIdentifiers>
71+
<ns0:alternateIdentifier alternateIdentifierType="URL">
72+
https://schema.datacite.org/meta/kernel-4.3/example/datacite-example-full-v4.3.xml
73+
</ns0:alternateIdentifier>
74+
</ns0:alternateIdentifiers>
75+
<ns0:relatedIdentifiers>
76+
<ns0:relatedIdentifier relatedIdentifierType="URL" relationType="HasMetadata"
77+
relatedMetadataScheme="citeproc+json"
78+
schemeURI="https://github.com/citation-style-language/schema/raw/master/csl-data.json">
79+
https://data.datacite.org/application/citeproc+json/10.5072/example-full
80+
</ns0:relatedIdentifier>
81+
<ns0:relatedIdentifier relatedIdentifierType="arXiv" relationType="IsReviewedBy"
82+
resourceTypeGeneral="Text">arXiv:0706.0001
83+
</ns0:relatedIdentifier>
84+
</ns0:relatedIdentifiers>
85+
<ns0:sizes>
86+
<ns0:size>4 kB</ns0:size>
87+
</ns0:sizes>
88+
<ns0:formats>
89+
<ns0:format>application/xml</ns0:format>
90+
</ns0:formats>
91+
<ns0:version>4.3</ns0:version>
92+
<ns0:rightsList>
93+
<ns0:rights xml:lang="en-US" schemeURI="https://spdx.org/licenses/"
94+
rightsIdentifierScheme="SPDX" rightsIdentifier="CC0 1.0"
95+
rightsURI="http://creativecommons.org/publicdomain/zero/1.0/"/>
96+
</ns0:rightsList>
97+
<ns0:descriptions>
98+
<ns0:description xml:lang="en-US" descriptionType="Abstract">
99+
XML example of all DataCite Metadata Schema v4.3 properties.
100+
</ns0:description>
101+
</ns0:descriptions>
102+
<ns0:geoLocations>
103+
<ns0:geoLocation>
104+
<ns0:geoLocationPlace>Atlantic Ocean</ns0:geoLocationPlace>
105+
<ns0:geoLocationPoint>
106+
<ns0:pointLongitude>-67.302</ns0:pointLongitude>
107+
<ns0:pointLatitude>31.233</ns0:pointLatitude>
108+
</ns0:geoLocationPoint>
109+
<ns0:geoLocationBox>
110+
<ns0:westBoundLongitude>-71.032</ns0:westBoundLongitude>
111+
<ns0:eastBoundLongitude>-68.211</ns0:eastBoundLongitude>
112+
<ns0:southBoundLatitude>41.090</ns0:southBoundLatitude>
113+
<ns0:northBoundLatitude>42.893</ns0:northBoundLatitude>
114+
</ns0:geoLocationBox>
115+
<ns0:geoLocationPolygon>
116+
<ns0:polygonPoint>
117+
<ns0:pointLatitude>41.991</ns0:pointLatitude>
118+
<ns0:pointLongitude>-71.032</ns0:pointLongitude>
119+
</ns0:polygonPoint>
120+
<ns0:polygonPoint>
121+
<ns0:pointLatitude>42.893</ns0:pointLatitude>
122+
<ns0:pointLongitude>-69.622</ns0:pointLongitude>
123+
</ns0:polygonPoint>
124+
<ns0:polygonPoint>
125+
<ns0:pointLatitude>41.991</ns0:pointLatitude>
126+
<ns0:pointLongitude>-68.211</ns0:pointLongitude>
127+
</ns0:polygonPoint>
128+
<ns0:polygonPoint>
129+
<ns0:pointLatitude>41.090</ns0:pointLatitude>
130+
<ns0:pointLongitude>-69.622</ns0:pointLongitude>
131+
</ns0:polygonPoint>
132+
<ns0:polygonPoint>
133+
<ns0:pointLatitude>41.991</ns0:pointLatitude>
134+
<ns0:pointLongitude>-71.032</ns0:pointLongitude>
135+
</ns0:polygonPoint>
136+
</ns0:geoLocationPolygon>
137+
</ns0:geoLocation>
138+
</ns0:geoLocations>
139+
<ns0:fundingReferences>
140+
<ns0:fundingReference>
141+
<ns0:funderName>National Science Foundation</ns0:funderName>
142+
<ns0:funderIdentifier funderIdentifierType="Crossref Funder ID" schemeURI="someScheme">
143+
https://doi.org/10.13039/100000001
144+
</ns0:funderIdentifier>
145+
<ns0:awardNumber awardURI="http://www.cbat.eps.harvard.edu/cbet/000100/CBET000106.txt">CBET-106</ns0:awardNumber>
146+
<ns0:awardTitle>Full DataCite XML Example</ns0:awardTitle>
147+
</ns0:fundingReference>
148+
<ns0:fundingReference>
149+
<ns0:funderName>National Science Foundation</ns0:funderName>
150+
<ns0:funderIdentifier>https://doi.org/10.13039/100000001</ns0:funderIdentifier>
151+
<ns0:awardNumber>CBET-106</ns0:awardNumber>
152+
<ns0:awardTitle>Full DataCite XML Example</ns0:awardTitle>
153+
</ns0:fundingReference>
154+
</ns0:fundingReferences>
155+
</ns0:resource>

0 commit comments

Comments
 (0)