bolognese 0.2.2 → 2.7.0
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.
- checksums.yaml +5 -5
- data/.github/workflows/build.yml +9 -0
- data/.github/workflows/changelog.yml +36 -0
- data/.github/workflows/ci.yml +22 -0
- data/.github/workflows/pull-request.yml +9 -0
- data/.github/workflows/release.yml +32 -0
- data/.gitignore +4 -0
- data/.rubocop.yml +658 -0
- data/CHANGELOG.md +1864 -0
- data/CITATION +17 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +251 -99
- data/README.md +1026 -2
- data/Rakefile +1 -0
- data/bin/bolognese +5 -1
- data/bolognese.gemspec +33 -21
- data/lib/bolognese/array.rb +13 -0
- data/lib/bolognese/author_utils.rb +115 -39
- data/lib/bolognese/citeproc_extensions.rb +48 -0
- data/lib/bolognese/cli.rb +28 -15
- data/lib/bolognese/datacite_utils.rb +418 -0
- data/lib/bolognese/doi_utils.rb +45 -23
- data/lib/bolognese/metadata.rb +250 -18
- data/lib/bolognese/metadata_utils.rb +228 -0
- data/lib/bolognese/pubmed.rb +2 -0
- data/lib/bolognese/readers/bibtex_reader.rb +100 -0
- data/lib/bolognese/readers/citeproc_reader.rb +125 -0
- data/lib/bolognese/readers/codemeta_reader.rb +108 -0
- data/lib/bolognese/readers/crosscite_reader.rb +17 -0
- data/lib/bolognese/readers/crossref_reader.rb +413 -0
- data/lib/bolognese/readers/datacite_json_reader.rb +17 -0
- data/lib/bolognese/readers/datacite_reader.rb +338 -0
- data/lib/bolognese/readers/npm_reader.rb +115 -0
- data/lib/bolognese/readers/ris_reader.rb +114 -0
- data/lib/bolognese/readers/schema_org_reader.rb +264 -0
- data/lib/bolognese/string.rb +3 -1
- data/lib/bolognese/utils.rb +1403 -12
- data/lib/bolognese/version.rb +1 -1
- data/lib/bolognese/whitelist_scrubber.rb +47 -0
- data/lib/bolognese/writers/bibtex_writer.rb +32 -0
- data/lib/bolognese/writers/citation_writer.rb +14 -0
- data/lib/bolognese/writers/citeproc_writer.rb +11 -0
- data/lib/bolognese/writers/codemeta_writer.rb +29 -0
- data/lib/bolognese/writers/crosscite_writer.rb +11 -0
- data/lib/bolognese/writers/crossref_writer.rb +11 -0
- data/lib/bolognese/writers/csv_writer.rb +24 -0
- data/lib/bolognese/writers/datacite_json_writer.rb +13 -0
- data/lib/bolognese/writers/datacite_writer.rb +12 -0
- data/lib/bolognese/writers/jats_writer.rb +138 -0
- data/lib/bolognese/writers/rdf_xml_writer.rb +11 -0
- data/lib/bolognese/writers/ris_writer.rb +29 -0
- data/lib/bolognese/writers/schema_org_writer.rb +55 -0
- data/lib/bolognese/writers/turtle_writer.rb +11 -0
- data/lib/bolognese.rb +19 -4
- data/package.json +12 -0
- data/resources/2008/09/xsd.xsl +997 -0
- data/resources/datacite-contributorType-v4.xsd +35 -0
- data/resources/datacite-dateType-v4.xsd +25 -0
- data/resources/datacite-descriptionType-v4.xsd +19 -0
- data/resources/datacite-funderIdentifierType-v4.xsd +15 -0
- data/resources/datacite-nameType-v4.xsd +10 -0
- data/resources/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/datacite-relationType-v4.xsd +49 -0
- data/resources/datacite-resourceType-v4.xsd +28 -0
- data/resources/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-2.1/include/datacite-contributorType-v1.1.xsd +22 -0
- data/resources/kernel-2.1/include/datacite-contributorType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-dateType-v1.1.xsd +31 -0
- data/resources/kernel-2.1/include/datacite-dateType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-descriptionType-v1.1.xsd +14 -0
- data/resources/kernel-2.1/include/datacite-descriptionType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-relatedIdentifierType-v1.1.xsd +24 -0
- data/resources/kernel-2.1/include/datacite-relatedIdentifierType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-relationType-v1.1.xsd +29 -0
- data/resources/kernel-2.1/include/datacite-relationType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-resourceType-v1.1.xsd +22 -0
- data/resources/kernel-2.1/include/datacite-resourceType-v2.xsd +3 -0
- data/resources/kernel-2.1/include/datacite-titleType-v1.1.xsd +11 -0
- data/resources/kernel-2.1/include/datacite-titleType-v2.xsd +3 -0
- data/resources/kernel-2.1/metadata.xsd +315 -0
- data/resources/kernel-2.2/include/datacite-contributorType-v2.xsd +29 -0
- data/resources/kernel-2.2/include/datacite-dateType-v2.xsd +21 -0
- data/resources/kernel-2.2/include/datacite-descriptionType-v2.xsd +15 -0
- data/resources/kernel-2.2/include/datacite-relatedIdentifierType-v2.xsd +25 -0
- data/resources/kernel-2.2/include/datacite-relationType-v2.xsd +29 -0
- data/resources/kernel-2.2/include/datacite-resourceType-v2.xsd +23 -0
- data/resources/kernel-2.2/include/datacite-titleType-v2.xsd +10 -0
- data/resources/kernel-2.2/metadata.xsd +316 -0
- data/resources/kernel-3/include/datacite-contributorType-v3.1.xsd +35 -0
- data/resources/kernel-3/include/datacite-dateType-v3.xsd +21 -0
- data/resources/kernel-3/include/datacite-descriptionType-v3.xsd +17 -0
- data/resources/kernel-3/include/datacite-relatedIdentifierType-v3.1.xsd +30 -0
- data/resources/kernel-3/include/datacite-relationType-v3.1.xsd +38 -0
- data/resources/kernel-3/include/datacite-resourceType-v3.xsd +26 -0
- data/resources/kernel-3/include/datacite-titleType-v3.xsd +12 -0
- data/resources/kernel-3/include/xml.xsd +286 -0
- data/resources/kernel-3/metadata.xsd +380 -0
- data/resources/kernel-3.0/include/datacite-contributorType-v3.xsd +33 -0
- data/resources/kernel-3.0/include/datacite-dateType-v3.xsd +21 -0
- data/resources/kernel-3.0/include/datacite-descriptionType-v3.xsd +17 -0
- data/resources/kernel-3.0/include/datacite-relatedIdentifierType-v3.xsd +27 -0
- data/resources/kernel-3.0/include/datacite-relationType-v3.xsd +33 -0
- data/resources/kernel-3.0/include/datacite-resourceType-v3.xsd +26 -0
- data/resources/kernel-3.0/include/datacite-titleType-v3.xsd +12 -0
- data/resources/kernel-3.0/include/xml.xsd +286 -0
- data/resources/kernel-3.0/metadata.xsd +377 -0
- data/resources/kernel-3.1/include/datacite-contributorType-v3.1.xsd +35 -0
- data/resources/kernel-3.1/include/datacite-dateType-v3.xsd +21 -0
- data/resources/kernel-3.1/include/datacite-descriptionType-v3.xsd +17 -0
- data/resources/kernel-3.1/include/datacite-relatedIdentifierType-v3.1.xsd +30 -0
- data/resources/kernel-3.1/include/datacite-relationType-v3.1.xsd +38 -0
- data/resources/kernel-3.1/include/datacite-resourceType-v3.xsd +26 -0
- data/resources/kernel-3.1/include/datacite-titleType-v3.xsd +12 -0
- data/resources/kernel-3.1/include/xml.xsd +286 -0
- data/resources/kernel-3.1/metadata.xsd +380 -0
- data/resources/kernel-4/include/datacite-contributorType-v4.xsd +37 -0
- data/resources/kernel-4/include/datacite-dateType-v4.xsd +27 -0
- data/resources/kernel-4/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4/include/datacite-relatedIdentifierType-v4.xsd +39 -0
- data/resources/kernel-4/include/datacite-relationType-v4.xsd +59 -0
- data/resources/kernel-4/include/datacite-resourceType-v4.xsd +52 -0
- data/resources/kernel-4/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4/include/xml.xsd +286 -0
- data/resources/kernel-4/metadata.xsd +715 -0
- data/resources/kernel-4.0/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.0/include/datacite-dateType-v4.xsd +21 -0
- data/resources/kernel-4.0/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.0/include/datacite-funderIdentifierType-v4.xsd +15 -0
- data/resources/kernel-4.0/include/datacite-relatedIdentifierType-v4.xsd +32 -0
- data/resources/kernel-4.0/include/datacite-relationType-v4.xsd +39 -0
- data/resources/kernel-4.0/include/datacite-resourceType-v4.xsd +26 -0
- data/resources/kernel-4.0/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.0/include/xml.xsd +286 -0
- data/resources/kernel-4.0/metadata.xsd +470 -0
- data/resources/kernel-4.1/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.1/include/datacite-dateType-v4.1.xsd +23 -0
- data/resources/kernel-4.1/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.1/include/datacite-funderIdentifierType-v4.xsd +15 -0
- data/resources/kernel-4.1/include/datacite-nameType-v4.1.xsd +10 -0
- data/resources/kernel-4.1/include/datacite-relatedIdentifierType-v4.xsd +32 -0
- data/resources/kernel-4.1/include/datacite-relationType-v4.1.xsd +46 -0
- data/resources/kernel-4.1/include/datacite-resourceType-v4.1.xsd +28 -0
- data/resources/kernel-4.1/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.1/include/xml.xsd +286 -0
- data/resources/kernel-4.1/metadata.xsd +483 -0
- data/resources/kernel-4.2/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.2/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.2/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.2/include/datacite-funderIdentifierType-v4.xsd +15 -0
- data/resources/kernel-4.2/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.2/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.2/include/datacite-relationType-v4.xsd +49 -0
- data/resources/kernel-4.2/include/datacite-resourceType-v4.xsd +28 -0
- data/resources/kernel-4.2/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.2/include/xml.xsd +286 -0
- data/resources/kernel-4.2/metadata.xsd +479 -0
- data/resources/kernel-4.3/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.3/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.3/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.3/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.3/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.3/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.3/include/datacite-relationType-v4.xsd +49 -0
- data/resources/kernel-4.3/include/datacite-resourceType-v4.xsd +28 -0
- data/resources/kernel-4.3/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.3/include/xml.xsd +286 -0
- data/resources/kernel-4.3/metadata.xsd +515 -0
- data/resources/kernel-4.4/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.4/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.4/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.4/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.4/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.4/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.4/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.4/include/datacite-relationType-v4.xsd +51 -0
- data/resources/kernel-4.4/include/datacite-resourceType-v4.xsd +43 -0
- data/resources/kernel-4.4/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.4/include/xml.xsd +286 -0
- data/resources/kernel-4.4/metadata.xsd +707 -0
- data/resources/kernel-4.5/include/datacite-contributorType-v4.xsd +35 -0
- data/resources/kernel-4.5/include/datacite-dateType-v4.xsd +25 -0
- data/resources/kernel-4.5/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.5/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.5/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.5/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.5/include/datacite-relatedIdentifierType-v4.xsd +34 -0
- data/resources/kernel-4.5/include/datacite-relationType-v4.xsd +53 -0
- data/resources/kernel-4.5/include/datacite-resourceType-v4.xsd +45 -0
- data/resources/kernel-4.5/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.5/include/xml.xsd +286 -0
- data/resources/kernel-4.5/metadata.xsd +711 -0
- data/resources/kernel-4.6/include/datacite-contributorType-v4.xsd +37 -0
- data/resources/kernel-4.6/include/datacite-dateType-v4.xsd +27 -0
- data/resources/kernel-4.6/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.6/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.6/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.6/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.6/include/datacite-relatedIdentifierType-v4.xsd +37 -0
- data/resources/kernel-4.6/include/datacite-relationType-v4.xsd +57 -0
- data/resources/kernel-4.6/include/datacite-resourceType-v4.xsd +49 -0
- data/resources/kernel-4.6/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.6/include/xml.xsd +286 -0
- data/resources/kernel-4.6/metadata.xsd +712 -0
- data/resources/kernel-4.7/include/datacite-contributorType-v4.xsd +37 -0
- data/resources/kernel-4.7/include/datacite-dateType-v4.xsd +27 -0
- data/resources/kernel-4.7/include/datacite-descriptionType-v4.xsd +19 -0
- data/resources/kernel-4.7/include/datacite-funderIdentifierType-v4.xsd +16 -0
- data/resources/kernel-4.7/include/datacite-nameType-v4.xsd +10 -0
- data/resources/kernel-4.7/include/datacite-numberType-v4.xsd +12 -0
- data/resources/kernel-4.7/include/datacite-relatedIdentifierType-v4.xsd +39 -0
- data/resources/kernel-4.7/include/datacite-relationType-v4.xsd +59 -0
- data/resources/kernel-4.7/include/datacite-resourceType-v4.xsd +52 -0
- data/resources/kernel-4.7/include/datacite-titleType-v4.xsd +14 -0
- data/resources/kernel-4.7/include/xml.xsd +286 -0
- data/resources/kernel-4.7/metadata.xsd +715 -0
- data/resources/oecd/dfg-mappings.json +1866 -0
- data/resources/oecd/for-mappings.json +1101 -0
- data/resources/oecd/fos-mappings.json +198 -0
- data/resources/schema_org/jsonldcontext.json +7477 -0
- data/resources/spdx/licenses.json +5297 -0
- data/resources/xml.xsd +286 -0
- metadata +478 -150
- data/.travis.yml +0 -23
- data/lib/bolognese/crossref.rb +0 -202
- data/lib/bolognese/datacite.rb +0 -157
- data/lib/bolognese/date_utils.rb +0 -48
- data/lib/bolognese/github.rb +0 -106
- data/lib/bolognese/orcid.rb +0 -24
- data/lib/bolognese/pid_utils.rb +0 -23
- data/spec/cli_spec.rb +0 -37
- data/spec/crossref_spec.rb +0 -113
- data/spec/datacite_spec.rb +0 -49
- data/spec/doi_spec.rb +0 -89
- data/spec/fixtures/crossref.xml +0 -742
- data/spec/fixtures/datacite.xml +0 -40
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/crossref/as_crossref.yml +0 -760
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/crossref/as_schema_org.yml +0 -1476
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/datacite/as_datacite.yml +0 -214
- data/spec/fixtures/vcr_cassettes/Bolognese_CLI/read/datacite/as_schema_org.yml +0 -384
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/doi_registration_agency/crossref.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/doi_registration_agency/datacite.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/doi_registration_agency/medra.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/doi_registration_agency/not_found.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_test.yml +0 -843
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_SICI_DOI.yml +0 -277
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/DOI_with_data_citation.yml +0 -15755
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/date_in_future.yml +0 -2691
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/journal_article.yml +0 -1857
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/not_found_error.yml +0 -93
- data/spec/fixtures/vcr_cassettes/Bolognese_Crossref/get_metadata/posted_content.yml +0 -5715
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/BlogPosting.yml +0 -307
- data/spec/fixtures/vcr_cassettes/Bolognese_Datacite/get_metadata/Dataset.yml +0 -343
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/crossref.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/crossref_doi_not_url.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/datacite.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/datacite_doi_http.yml +0 -44
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/find_PID_provider/orcid.yml +0 -44
- data/spec/metadata_spec.rb +0 -35
- data/spec/orcid_spec.rb +0 -23
- data/spec/spec_helper.rb +0 -88
- /data/{LICENSE → LICENSE.md} +0 -0
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Revision history
|
|
3
|
+
2010-08-26 Complete revision according to new common specification by the metadata work group after review. AJH, DTIC
|
|
4
|
+
2010-11-17 Revised to current state of kernel review, FZ, TIB
|
|
5
|
+
2011-01-17 Complete revsion after community review. FZ, TIB
|
|
6
|
+
2011-03-17 Release of v2.1: added a namespace; mandatory properties got minLength; changes in the definitions of relationTypes
|
|
7
|
+
IsDocumentedBy/Documents and isCompiledBy/Compiles; changes type of property "Date" from xs:date to xs:string. FZ, TIB
|
|
8
|
+
-->
|
|
9
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-2.1" targetNamespace="http://datacite.org/schema/kernel-2.1" elementFormDefault="qualified" xml:lang="EN">
|
|
10
|
+
<xs:include schemaLocation="include/datacite-titleType-v2.xsd"/>
|
|
11
|
+
<xs:include schemaLocation="include/datacite-contributorType-v2.xsd"/>
|
|
12
|
+
<xs:include schemaLocation="include/datacite-dateType-v2.xsd"/>
|
|
13
|
+
<xs:include schemaLocation="include/datacite-resourceType-v2.xsd"/>
|
|
14
|
+
<xs:include schemaLocation="include/datacite-relationType-v2.xsd"/>
|
|
15
|
+
<xs:include schemaLocation="include/datacite-relatedIdentifierType-v2.xsd"/>
|
|
16
|
+
<xs:include schemaLocation="include/datacite-descriptionType-v2.xsd"/>
|
|
17
|
+
<xs:element name="resource">
|
|
18
|
+
<xs:annotation>
|
|
19
|
+
<xs:documentation>
|
|
20
|
+
Root element of a single record. This wrapper element is for XML implementation only and is not defined in the DataCite DOI standard.
|
|
21
|
+
Note: This is the case for any wrapper element within this schema!</xs:documentation>
|
|
22
|
+
<xs:documentation>No content in this wrapper element.</xs:documentation>
|
|
23
|
+
</xs:annotation>
|
|
24
|
+
<xs:complexType>
|
|
25
|
+
<xs:sequence>
|
|
26
|
+
<!--REQUIRED FIELDS-->
|
|
27
|
+
<xs:element name="identifier">
|
|
28
|
+
<xs:annotation>
|
|
29
|
+
<xs:documentation>A persistent identifier that identifies a resource.</xs:documentation>
|
|
30
|
+
<xs:documentation>Currently, only DOI is allowed.</xs:documentation>
|
|
31
|
+
</xs:annotation>
|
|
32
|
+
<xs:complexType>
|
|
33
|
+
<xs:simpleContent>
|
|
34
|
+
<xs:extension base="doiType">
|
|
35
|
+
<xs:attribute name="identifierType" use="required" fixed="DOI"/>
|
|
36
|
+
</xs:extension>
|
|
37
|
+
</xs:simpleContent>
|
|
38
|
+
</xs:complexType>
|
|
39
|
+
</xs:element>
|
|
40
|
+
<xs:element name="creators">
|
|
41
|
+
<xs:complexType>
|
|
42
|
+
<xs:sequence>
|
|
43
|
+
<xs:element name="creator" maxOccurs="unbounded">
|
|
44
|
+
<xs:annotation>
|
|
45
|
+
<xs:documentation>The main researchers involved working on the data, or the authors of the publication in priority order. May be a corporate/institutional or personal name.</xs:documentation>
|
|
46
|
+
<xs:documentation>Format: Family, Given.</xs:documentation>
|
|
47
|
+
</xs:annotation>
|
|
48
|
+
<xs:complexType>
|
|
49
|
+
<xs:sequence>
|
|
50
|
+
<xs:element name="creatorName">
|
|
51
|
+
<xs:simpleType>
|
|
52
|
+
<xs:restriction base="nonemptycontentStringType"/>
|
|
53
|
+
</xs:simpleType>
|
|
54
|
+
</xs:element>
|
|
55
|
+
<xs:element name="nameIdentifier" minOccurs="0">
|
|
56
|
+
<xs:complexType>
|
|
57
|
+
<xs:simpleContent>
|
|
58
|
+
<xs:extension base="nonemptycontentStringType">
|
|
59
|
+
<xs:attribute name="nameIdentifierScheme" use="required"/>
|
|
60
|
+
</xs:extension>
|
|
61
|
+
</xs:simpleContent>
|
|
62
|
+
</xs:complexType>
|
|
63
|
+
</xs:element>
|
|
64
|
+
</xs:sequence>
|
|
65
|
+
</xs:complexType>
|
|
66
|
+
</xs:element>
|
|
67
|
+
</xs:sequence>
|
|
68
|
+
</xs:complexType>
|
|
69
|
+
</xs:element>
|
|
70
|
+
<xs:element name="titles">
|
|
71
|
+
<xs:complexType>
|
|
72
|
+
<xs:sequence>
|
|
73
|
+
<xs:element name="title" maxOccurs="unbounded">
|
|
74
|
+
<xs:annotation>
|
|
75
|
+
<xs:documentation>A name or title by which a resource is known.</xs:documentation>
|
|
76
|
+
</xs:annotation>
|
|
77
|
+
<xs:complexType>
|
|
78
|
+
<xs:simpleContent>
|
|
79
|
+
<xs:extension base="nonemptycontentStringType">
|
|
80
|
+
<xs:attribute name="titleType" type="titleType" use="optional"/>
|
|
81
|
+
</xs:extension>
|
|
82
|
+
</xs:simpleContent>
|
|
83
|
+
</xs:complexType>
|
|
84
|
+
</xs:element>
|
|
85
|
+
</xs:sequence>
|
|
86
|
+
</xs:complexType>
|
|
87
|
+
</xs:element>
|
|
88
|
+
<xs:element name="publisher">
|
|
89
|
+
<xs:annotation>
|
|
90
|
+
<xs:documentation>A holder of the data (including archives as appropriate) or institution which submitted the work. Any others may be listed as contributors. This property will be used to formulate the citation, so consider the prominence of the role.</xs:documentation>
|
|
91
|
+
<xs:documentation>Examples: World Data Center for Climate (WDCC); GeoForschungsZentrum Potsdam (GFZ); Geological Institute, University of Tokyo </xs:documentation>
|
|
92
|
+
<xs:documentation>In the case of datasets, "publish" is understood to mean making the data available to the community of researchers.</xs:documentation>
|
|
93
|
+
</xs:annotation>
|
|
94
|
+
<xs:simpleType>
|
|
95
|
+
<xs:restriction base="nonemptycontentStringType"/>
|
|
96
|
+
</xs:simpleType>
|
|
97
|
+
</xs:element>
|
|
98
|
+
<xs:element name="publicationYear">
|
|
99
|
+
<xs:annotation>
|
|
100
|
+
<xs:documentation>Year when the data is made publicly available. If an embargo period has been in effect, use the date when the embargo period ends.</xs:documentation>
|
|
101
|
+
<xs:documentation>YYYY</xs:documentation>
|
|
102
|
+
</xs:annotation>
|
|
103
|
+
<xs:simpleType>
|
|
104
|
+
<xs:restriction base="yearType"/>
|
|
105
|
+
</xs:simpleType>
|
|
106
|
+
</xs:element>
|
|
107
|
+
<!--OPTIONAL FIELDS-->
|
|
108
|
+
<xs:element name="subjects" minOccurs="0">
|
|
109
|
+
<xs:complexType>
|
|
110
|
+
<xs:sequence>
|
|
111
|
+
<xs:element name="subject" maxOccurs="unbounded">
|
|
112
|
+
<xs:annotation>
|
|
113
|
+
<xs:documentation>Subject, keywords, classification codes, or key phrases describing the resource.</xs:documentation>
|
|
114
|
+
</xs:annotation>
|
|
115
|
+
<xs:complexType>
|
|
116
|
+
<xs:simpleContent>
|
|
117
|
+
<xs:extension base="xs:string">
|
|
118
|
+
<xs:attribute name="subjectScheme" use="optional"/>
|
|
119
|
+
</xs:extension>
|
|
120
|
+
</xs:simpleContent>
|
|
121
|
+
</xs:complexType>
|
|
122
|
+
</xs:element>
|
|
123
|
+
</xs:sequence>
|
|
124
|
+
</xs:complexType>
|
|
125
|
+
</xs:element>
|
|
126
|
+
<xs:element name="contributors" minOccurs="0">
|
|
127
|
+
<xs:complexType>
|
|
128
|
+
<xs:sequence>
|
|
129
|
+
<xs:element name="contributor" maxOccurs="unbounded">
|
|
130
|
+
<xs:annotation>
|
|
131
|
+
<xs:documentation>The institution or person responsible for collecting, creating, or otherwise contributing to the developement of the dataset.</xs:documentation>
|
|
132
|
+
<xs:documentation>The personal name format should be: Family, Given.</xs:documentation>
|
|
133
|
+
</xs:annotation>
|
|
134
|
+
<xs:complexType mixed="true">
|
|
135
|
+
<xs:sequence>
|
|
136
|
+
<xs:element name="contributorName">
|
|
137
|
+
<xs:simpleType>
|
|
138
|
+
<xs:restriction base="xs:string">
|
|
139
|
+
<xs:minLength value="1"/>
|
|
140
|
+
</xs:restriction>
|
|
141
|
+
</xs:simpleType>
|
|
142
|
+
</xs:element>
|
|
143
|
+
<xs:element name="nameIdentifier" minOccurs="0">
|
|
144
|
+
<xs:complexType>
|
|
145
|
+
<xs:simpleContent>
|
|
146
|
+
<xs:extension base="xs:string">
|
|
147
|
+
<xs:attribute name="nameIdentifierScheme" use="required"/>
|
|
148
|
+
</xs:extension>
|
|
149
|
+
</xs:simpleContent>
|
|
150
|
+
</xs:complexType>
|
|
151
|
+
</xs:element>
|
|
152
|
+
</xs:sequence>
|
|
153
|
+
<xs:attribute name="contributorType" type="contributorType" use="required"/>
|
|
154
|
+
</xs:complexType>
|
|
155
|
+
</xs:element>
|
|
156
|
+
</xs:sequence>
|
|
157
|
+
</xs:complexType>
|
|
158
|
+
</xs:element>
|
|
159
|
+
<xs:element name="dates" minOccurs="0">
|
|
160
|
+
<xs:complexType>
|
|
161
|
+
<xs:sequence>
|
|
162
|
+
<xs:element name="date" maxOccurs="unbounded">
|
|
163
|
+
<xs:annotation>
|
|
164
|
+
<xs:documentation>Different dates relevant to the work.</xs:documentation>
|
|
165
|
+
<xs:documentation>YYYY or YYYY-MM-DD or any other format described in W3CDTF (http://www.w3.org/TR/NOTE-datetime) </xs:documentation>
|
|
166
|
+
</xs:annotation>
|
|
167
|
+
<xs:complexType>
|
|
168
|
+
<xs:simpleContent>
|
|
169
|
+
<xs:extension base="xs:string">
|
|
170
|
+
<xs:attribute name="dateType" type="dateType" use="required"/>
|
|
171
|
+
</xs:extension>
|
|
172
|
+
</xs:simpleContent>
|
|
173
|
+
</xs:complexType>
|
|
174
|
+
</xs:element>
|
|
175
|
+
</xs:sequence>
|
|
176
|
+
</xs:complexType>
|
|
177
|
+
</xs:element>
|
|
178
|
+
<xs:element name="language" type="xs:language" minOccurs="0">
|
|
179
|
+
<xs:annotation>
|
|
180
|
+
<xs:documentation>Primary language of the resource. Allowed values from: ISO 639-2/B, ISO 639-3</xs:documentation>
|
|
181
|
+
</xs:annotation>
|
|
182
|
+
</xs:element>
|
|
183
|
+
<xs:element name="resourceType" minOccurs="0">
|
|
184
|
+
<xs:annotation>
|
|
185
|
+
<xs:documentation>The type of a resource. You may enter an additional free text description.</xs:documentation>
|
|
186
|
+
</xs:annotation>
|
|
187
|
+
<xs:complexType mixed="true">
|
|
188
|
+
<xs:annotation>
|
|
189
|
+
<xs:documentation>Use this attribute to choose the general type of the resource from the controlled list.</xs:documentation>
|
|
190
|
+
</xs:annotation>
|
|
191
|
+
<xs:attribute name="resourceTypeGeneral" type="resourceType" use="required"/>
|
|
192
|
+
</xs:complexType>
|
|
193
|
+
</xs:element>
|
|
194
|
+
<xs:element name="alternateIdentifiers" minOccurs="0">
|
|
195
|
+
<xs:complexType>
|
|
196
|
+
<xs:sequence>
|
|
197
|
+
<xs:element name="alternateIdentifier" maxOccurs="unbounded">
|
|
198
|
+
<xs:annotation>
|
|
199
|
+
<xs:documentation>An identifier other than the primary identifier applied to the resource being registered. This may be any alphanumeric string which is unique within its domain of issue. The format is open</xs:documentation>
|
|
200
|
+
</xs:annotation>
|
|
201
|
+
<xs:complexType>
|
|
202
|
+
<xs:simpleContent>
|
|
203
|
+
<xs:extension base="xs:string">
|
|
204
|
+
<xs:attribute name="alternateIdentifierType" use="required"/>
|
|
205
|
+
</xs:extension>
|
|
206
|
+
</xs:simpleContent>
|
|
207
|
+
</xs:complexType>
|
|
208
|
+
</xs:element>
|
|
209
|
+
</xs:sequence>
|
|
210
|
+
</xs:complexType>
|
|
211
|
+
</xs:element>
|
|
212
|
+
<xs:element name="relatedIdentifiers" minOccurs="0">
|
|
213
|
+
<xs:complexType>
|
|
214
|
+
<xs:sequence>
|
|
215
|
+
<xs:element name="relatedIdentifier" maxOccurs="unbounded">
|
|
216
|
+
<xs:annotation>
|
|
217
|
+
<xs:documentation>Identifiers of related resources. Use this property to indicate subsets of properties, as appropriate.</xs:documentation>
|
|
218
|
+
</xs:annotation>
|
|
219
|
+
<xs:complexType>
|
|
220
|
+
<xs:simpleContent>
|
|
221
|
+
<xs:extension base="xs:string">
|
|
222
|
+
<xs:attribute name="relatedIdentifierType" type="relatedIdentifierType" use="required"/>
|
|
223
|
+
<xs:attribute name="relationType" type="relationType" use="required"/>
|
|
224
|
+
</xs:extension>
|
|
225
|
+
</xs:simpleContent>
|
|
226
|
+
</xs:complexType>
|
|
227
|
+
</xs:element>
|
|
228
|
+
</xs:sequence>
|
|
229
|
+
</xs:complexType>
|
|
230
|
+
</xs:element>
|
|
231
|
+
<xs:element name="sizes" minOccurs="0">
|
|
232
|
+
<xs:complexType>
|
|
233
|
+
<xs:sequence>
|
|
234
|
+
<xs:element name="size" maxOccurs="unbounded">
|
|
235
|
+
<xs:annotation>
|
|
236
|
+
<xs:documentation>Unstructures size information about the resource. </xs:documentation>
|
|
237
|
+
</xs:annotation>
|
|
238
|
+
</xs:element>
|
|
239
|
+
</xs:sequence>
|
|
240
|
+
</xs:complexType>
|
|
241
|
+
</xs:element>
|
|
242
|
+
<xs:element name="formats" minOccurs="0">
|
|
243
|
+
<xs:complexType>
|
|
244
|
+
<xs:sequence>
|
|
245
|
+
<xs:element name="format" maxOccurs="unbounded">
|
|
246
|
+
<xs:annotation>
|
|
247
|
+
<xs:documentation>Technical format of the resource.</xs:documentation>
|
|
248
|
+
<xs:documentation>Use file extension or MIME type where possible.</xs:documentation>
|
|
249
|
+
</xs:annotation>
|
|
250
|
+
</xs:element>
|
|
251
|
+
</xs:sequence>
|
|
252
|
+
</xs:complexType>
|
|
253
|
+
</xs:element>
|
|
254
|
+
<xs:element name="version" type="xs:string" minOccurs="0">
|
|
255
|
+
<xs:annotation>
|
|
256
|
+
<xs:documentation>Version number of the resource. If the primary resource has changed the version number increases.</xs:documentation>
|
|
257
|
+
<xs:documentation>Register a new DOI (or primary identifier) when the version of the resource changes to enable the citation of the exact version of a research dataset (or other resource). May be used in conjunction with properties 11 and 12 (AlternateIdentifier and RelatedIdentifier) to indicate various information updates.</xs:documentation>
|
|
258
|
+
</xs:annotation>
|
|
259
|
+
</xs:element>
|
|
260
|
+
<xs:element name="rights" minOccurs="0">
|
|
261
|
+
<xs:annotation>
|
|
262
|
+
<xs:documentation>Any rights information for this resource. Provide a rights management statement for the resource or reference a service providing such information. Include embargo information if applicable.
|
|
263
|
+
</xs:documentation>
|
|
264
|
+
</xs:annotation>
|
|
265
|
+
</xs:element>
|
|
266
|
+
<xs:element name="descriptions" minOccurs="0">
|
|
267
|
+
<xs:complexType>
|
|
268
|
+
<xs:sequence>
|
|
269
|
+
<xs:element name="description" maxOccurs="unbounded">
|
|
270
|
+
<xs:complexType mixed="true">
|
|
271
|
+
<xs:choice>
|
|
272
|
+
<xs:element name="br" minOccurs="0" maxOccurs="unbounded">
|
|
273
|
+
<xs:simpleType>
|
|
274
|
+
<xs:restriction base="xs:string">
|
|
275
|
+
<xs:length value="0"/>
|
|
276
|
+
</xs:restriction>
|
|
277
|
+
</xs:simpleType>
|
|
278
|
+
</xs:element>
|
|
279
|
+
</xs:choice>
|
|
280
|
+
<xs:attribute name="descriptionType" type="descriptionType" use="required"/>
|
|
281
|
+
</xs:complexType>
|
|
282
|
+
</xs:element>
|
|
283
|
+
</xs:sequence>
|
|
284
|
+
</xs:complexType>
|
|
285
|
+
</xs:element>
|
|
286
|
+
</xs:sequence>
|
|
287
|
+
<xs:attribute name="lastMetadataUpdate" type="xs:date" use="optional"/>
|
|
288
|
+
<xs:attribute name="metadataVersionNumber" type="xs:integer" use="optional"/>
|
|
289
|
+
<!--ADMINISTRATIVE FIELDS-->
|
|
290
|
+
</xs:complexType>
|
|
291
|
+
</xs:element>
|
|
292
|
+
<!-- TYPE DECLARATIONS -->
|
|
293
|
+
<!-- defines the value for a DOI: DOI must start with "10." -->
|
|
294
|
+
<xs:simpleType name="doiType">
|
|
295
|
+
<xs:restriction base="xs:token">
|
|
296
|
+
<xs:pattern value="[1][0][/.].*"/>
|
|
297
|
+
</xs:restriction>
|
|
298
|
+
</xs:simpleType>
|
|
299
|
+
<!-- defines value for mandatory fields -->
|
|
300
|
+
<xs:simpleType name="nonemptycontentStringType">
|
|
301
|
+
<xs:restriction base="xs:string">
|
|
302
|
+
<xs:minLength value="1"/>
|
|
303
|
+
</xs:restriction>
|
|
304
|
+
</xs:simpleType>
|
|
305
|
+
<xs:attributeGroup name="nameId">
|
|
306
|
+
<xs:attribute name="nameIdentifier" type="xs:string" use="optional"/>
|
|
307
|
+
<xs:attribute name="nameIdentifierScheme" type="xs:string" use="optional"/>
|
|
308
|
+
</xs:attributeGroup>
|
|
309
|
+
<!-- defines the value for a year -->
|
|
310
|
+
<xs:simpleType name="yearType">
|
|
311
|
+
<xs:restriction base="xs:token">
|
|
312
|
+
<xs:pattern value="[\d]{4}"/>
|
|
313
|
+
</xs:restriction>
|
|
314
|
+
</xs:simpleType>
|
|
315
|
+
</xs:schema>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-2.2" targetNamespace="http://datacite.org/schema/kernel-2.2" elementFormDefault="qualified">
|
|
4
|
+
<xs:simpleType name="contributorType">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>The type of contributor of the resource.</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
<xs:restriction base="xs:string">
|
|
9
|
+
<xs:enumeration value="ContactPerson"/>
|
|
10
|
+
<xs:enumeration value="DataCollector"/>
|
|
11
|
+
<xs:enumeration value="DataManager"/>
|
|
12
|
+
<xs:enumeration value="Distributor"/>
|
|
13
|
+
<xs:enumeration value="Editor"/>
|
|
14
|
+
<xs:enumeration value="Funder"/>
|
|
15
|
+
<xs:enumeration value="HostingInstitution"/>
|
|
16
|
+
<xs:enumeration value="Producer"/>
|
|
17
|
+
<xs:enumeration value="ProjectLeader"/>
|
|
18
|
+
<xs:enumeration value="ProjectMember"/>
|
|
19
|
+
<xs:enumeration value="RegistrationAgency"/>
|
|
20
|
+
<xs:enumeration value="RegistrationAuthority"/>
|
|
21
|
+
<xs:enumeration value="RelatedPerson"/>
|
|
22
|
+
<xs:enumeration value="RightsHolder"/>
|
|
23
|
+
<xs:enumeration value="Researcher"/>
|
|
24
|
+
<xs:enumeration value="Sponsor"/>
|
|
25
|
+
<xs:enumeration value="Supervisor"/>
|
|
26
|
+
<xs:enumeration value="WorkPackageLeader"/>
|
|
27
|
+
</xs:restriction>
|
|
28
|
+
</xs:simpleType>
|
|
29
|
+
</xs:schema>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-2.2" targetNamespace="http://datacite.org/schema/kernel-2.2" elementFormDefault="qualified">
|
|
4
|
+
<xs:simpleType name="dateType">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>The type of date. To indicate a date period, provide two dates, specifying the StartDate and the EndDate. To indicate the end of an embargo period, use Available. To indicate the start of an embargo period, use Submitted or Accepted, as appropriate.</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
<xs:restriction base="xs:string">
|
|
9
|
+
<xs:enumeration value="Accepted"/><!--The date that the publisher accepted the resource into their system.-->
|
|
10
|
+
<xs:enumeration value="Available"/><!--The date the resource is made publicly available. May be a range.-->
|
|
11
|
+
<xs:enumeration value="Copyrighted"/><!--The specific, documented date at which the resource receives a copyrighted status, if applicable.-->
|
|
12
|
+
<xs:enumeration value="Created"/><!--The date the resource itself was put together; this could be a date range or a single date for a final component, e.g., the finalised file with all of the data.-->
|
|
13
|
+
<xs:enumeration value="EndDate"/><!--Use if any other date type covers a range-->
|
|
14
|
+
<xs:enumeration value="Issued"/><!--The date that the resource is published or distributed e.g. to a data center.-->
|
|
15
|
+
<xs:enumeration value="StartDate"/><!--Use if any other date type covers a range.-->
|
|
16
|
+
<xs:enumeration value="Submitted"/><!--The date the creator submits the resource to the publisher. This could be different from Accepted if the publisher then applies a selection process.-->
|
|
17
|
+
<xs:enumeration value="Updated"/><!--The date of the last update to the resource, when the resource is being added to. May be a range.-->
|
|
18
|
+
<xs:enumeration value="Valid"/><!--The date or date range during which the dataset or resources are accurate. May be a range.-->
|
|
19
|
+
</xs:restriction>
|
|
20
|
+
</xs:simpleType>
|
|
21
|
+
</xs:schema>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-2.2" targetNamespace="http://datacite.org/schema/kernel-2.2" elementFormDefault="qualified">
|
|
4
|
+
<xs:simpleType name="descriptionType">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>The type of the description.</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
<xs:restriction base="xs:string">
|
|
9
|
+
<xs:enumeration value="Abstract"/>
|
|
10
|
+
<xs:enumeration value="SeriesInformation"/>
|
|
11
|
+
<xs:enumeration value="TableOfContents"/>
|
|
12
|
+
<xs:enumeration value="Other"/>
|
|
13
|
+
</xs:restriction>
|
|
14
|
+
</xs:simpleType>
|
|
15
|
+
</xs:schema>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-2.2" targetNamespace="http://datacite.org/schema/kernel-2.2" elementFormDefault="qualified">
|
|
4
|
+
<xs:simpleType name="relatedIdentifierType">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>The type of the RelatedIdentifier.</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
<xs:restriction base="xs:string">
|
|
9
|
+
<xs:enumeration value="ARK"/>
|
|
10
|
+
<xs:enumeration value="DOI"/>
|
|
11
|
+
<xs:enumeration value="EAN13"/>
|
|
12
|
+
<xs:enumeration value="EISSN"/>
|
|
13
|
+
<xs:enumeration value="Handle"/>
|
|
14
|
+
<xs:enumeration value="ISBN"/>
|
|
15
|
+
<xs:enumeration value="ISSN"/>
|
|
16
|
+
<xs:enumeration value="ISTC"/>
|
|
17
|
+
<xs:enumeration value="LISSN"/>
|
|
18
|
+
<xs:enumeration value="LSID"/>
|
|
19
|
+
<xs:enumeration value="PURL"/>
|
|
20
|
+
<xs:enumeration value="UPC"/>
|
|
21
|
+
<xs:enumeration value="URL"/>
|
|
22
|
+
<xs:enumeration value="URN"/>
|
|
23
|
+
</xs:restriction>
|
|
24
|
+
</xs:simpleType>
|
|
25
|
+
</xs:schema>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-2.2" targetNamespace="http://datacite.org/schema/kernel-2.2" elementFormDefault="qualified">
|
|
4
|
+
<xs:simpleType name="relationType">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>Description of the relationship of the resource being registered (A) and the related resource (B).</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
<xs:restriction base="xs:string">
|
|
9
|
+
<xs:enumeration value="IsCitedBy"/><!--indicates that B includes A in a citation-->
|
|
10
|
+
<xs:enumeration value="Cites"/><!--indicates that A includes B in a citation-->
|
|
11
|
+
<xs:enumeration value="IsSupplementTo"/><!--indicates that A is a supplement to B-->
|
|
12
|
+
<xs:enumeration value="IsSupplementedBy"/><!--indicates that B is a supplement to A-->
|
|
13
|
+
<xs:enumeration value="IsContinuedBy"/><!--indicates A is continued by the work B-->
|
|
14
|
+
<xs:enumeration value="Continues"/><!--indicates A is a continuation of the work B-->
|
|
15
|
+
<xs:enumeration value="IsNewVersionOf"/><!--indicates B is a new edition of A, where the new edition has been modified or updated-->
|
|
16
|
+
<xs:enumeration value="IsPreviousVersionOf"/><!--indicates B is a previous edition of A-->
|
|
17
|
+
<xs:enumeration value="IsPartOf"/><!--indicates A is a portion of B-->
|
|
18
|
+
<xs:enumeration value="HasPart"/><!--indicates A includes the part B-->
|
|
19
|
+
<xs:enumeration value="IsReferencedBy"/><!--indicates A is used as a source of information by B-->
|
|
20
|
+
<xs:enumeration value="References"/><!--indicates B is used as a source of information for A-->
|
|
21
|
+
<xs:enumeration value="IsDocumentedBy"/><!--indicates B is documentation about/explaining A-->
|
|
22
|
+
<xs:enumeration value="Documents"/><!--indicates A is documentation about/explaining B-->
|
|
23
|
+
<xs:enumeration value="IsCompiledBy"/><!--indicates B is used to compile or create A-->
|
|
24
|
+
<xs:enumeration value="Compiles"/><!--indicates B is the result of a compile or creation event using A-->
|
|
25
|
+
<xs:enumeration value="IsVariantFormOf"/><!--indicates B is a variant or different form of A, e.g. calculated or calibrated form or different packaging-->
|
|
26
|
+
<xs:enumeration value="IsOriginalFormOf"/><!--indicates B is the original form of A-->
|
|
27
|
+
</xs:restriction>
|
|
28
|
+
</xs:simpleType>
|
|
29
|
+
</xs:schema>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany -->
|
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-2.2" targetNamespace="http://datacite.org/schema/kernel-2.2" elementFormDefault="qualified">
|
|
4
|
+
<xs:simpleType name="resourceType">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>The general type of a resource.</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
<xs:restriction base="xs:string">
|
|
9
|
+
<xs:enumeration value="Collection"/>
|
|
10
|
+
<xs:enumeration value="Dataset"/>
|
|
11
|
+
<xs:enumeration value="Event"/>
|
|
12
|
+
<xs:enumeration value="Film"/>
|
|
13
|
+
<xs:enumeration value="Image"/>
|
|
14
|
+
<xs:enumeration value="InteractiveResource"/>
|
|
15
|
+
<xs:enumeration value="Model"/>
|
|
16
|
+
<xs:enumeration value="PhysicalObject"/>
|
|
17
|
+
<xs:enumeration value="Service"/>
|
|
18
|
+
<xs:enumeration value="Software"/>
|
|
19
|
+
<xs:enumeration value="Sound"/>
|
|
20
|
+
<xs:enumeration value="Text"/>
|
|
21
|
+
</xs:restriction>
|
|
22
|
+
</xs:simpleType>
|
|
23
|
+
</xs:schema>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- Version 1.0 - Created 2011-01-13 - FZ, TIB, Germany --><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://datacite.org/schema/kernel-2.2" targetNamespace="http://datacite.org/schema/kernel-2.2" elementFormDefault="qualified">
|
|
3
|
+
<xs:simpleType name="titleType">
|
|
4
|
+
<xs:restriction base="xs:string">
|
|
5
|
+
<xs:enumeration value="AlternativeTitle"/>
|
|
6
|
+
<xs:enumeration value="Subtitle"/>
|
|
7
|
+
<xs:enumeration value="TranslatedTitle"/>
|
|
8
|
+
</xs:restriction>
|
|
9
|
+
</xs:simpleType>
|
|
10
|
+
</xs:schema>
|