Module: Datacite::Mapping
- Defined in:
- lib/datacite/mapping.rb,
lib/datacite/mapping/date.rb,
lib/datacite/mapping/title.rb,
lib/datacite/mapping/rights.rb,
lib/datacite/mapping/creator.rb,
lib/datacite/mapping/subject.rb,
lib/datacite/mapping/resource.rb,
lib/datacite/mapping/name_type.rb,
lib/datacite/mapping/publisher.rb,
lib/datacite/mapping/date_value.rb,
lib/datacite/mapping/identifier.rb,
lib/datacite/mapping/affiliation.rb,
lib/datacite/mapping/contributor.rb,
lib/datacite/mapping/description.rb,
lib/datacite/mapping/module_info.rb,
lib/datacite/mapping/creator_name.rb,
lib/datacite/mapping/geo_location.rb,
lib/datacite/mapping/resource_type.rb,
lib/datacite/mapping/name_identifier.rb,
lib/datacite/mapping/read_only_nodes.rb,
lib/datacite/mapping/contributor_name.rb,
lib/datacite/mapping/geo_location_box.rb,
lib/datacite/mapping/funding_reference.rb,
lib/datacite/mapping/geo_location_node.rb,
lib/datacite/mapping/geo_location_point.rb,
lib/datacite/mapping/related_identifier.rb,
lib/datacite/mapping/alternate_identifier.rb,
lib/datacite/mapping/geo_location_polygon.rb,
lib/datacite/mapping/empty_filtering_nodes.rb
Overview
Maps DataCite XML to Ruby objects
Defined Under Namespace
Modules: EmptyNodeUtils, ReadOnlyNodes Classes: Affiliation, AlternateIdentifier, AwardNumber, BreakPreservingValueNode, Contributor, ContributorName, ContributorType, Creator, CreatorName, Datacite3RidTypeNode, Datacite3RidValueNode, Date, DateType, DateValue, Description, DescriptionType, EmptyFilteringArrayNode, FunderIdentifier, FunderIdentifierType, FundingReference, GeoLocation, GeoLocationBox, GeoLocationBoxNode, GeoLocationNode, GeoLocationPoint, GeoLocationPointNode, GeoLocationPolygon, Identifier, IdentifierNode, NameIdentifier, NameType, Publisher, ReadOnlyArrayNode, ReadOnlyTextNode, RelatedIdentifier, RelatedIdentifierType, RelationType, Resource, ResourceType, ResourceTypeGeneral, Rights, Subject, Title, TitleType
Constant Summary collapse
- DATACITE_3_NAMESPACE =
XML::MappingExtensions::Namespace.new( uri: 'http://datacite.org/schema/kernel-3', schema_location: 'http://schema.datacite.org/meta/kernel-3/metadata.xsd' )
- DATACITE_4_NAMESPACE =
XML::MappingExtensions::Namespace.new( uri: 'http://datacite.org/schema/kernel-4', schema_location: 'http://schema.datacite.org/meta/kernel-4/metadata.xsd' )
- DOI_PATTERN =
%r{10\.\S+/\S+}
- NAME =
The name of this gem
'datacite-mapping'
- VERSION =
The version of this gem
'0.5.0'
- COPYRIGHT =
The copyright notice for this gem
'Copyright (c) 2022 The Regents of the University of California'