Expand description
This crate collates a number of standardised terms for book and ebook metadata and makes them available to use as Rust enums. It is primarily a library structure to let tagged metadata be used across different crates and includes little functionality of its own.
Enums§
- Contributor
Role - The role of a contributor, either as an ONIX or MARC code
- Document
Division - A mainmatter division of a document
- Document
Navigation - Document
Partition - Document partitions
- Document
Reference Section - Document
Section OrComponent - Dublin
Core Element - Dublin Core elements (https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-3)
- Dublin
Core Term - Dublin core terms (https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#section-2)
- Epub
Title Type - The default title types from the epub standard (https://www.w3.org/publishing/epub/epub-packages.html#sec-title-type)
- Marc
Relator - Marc relators (http://id.loc.gov/vocabulary/relators.html/)
- Notes
- Onix
Contributor Code - Onix codelist 17 (https://ns.editeur.org/onix/en/17)
- Onix
Product Identifier - Onix codelist 5 (https://ns.editeur.org/onix/en/5)
- Onix
Text Type - Onix codelist 153 (https://ns.editeur.org/onix/en/153)
- Onix
Title Code - Onix codelist 15 (https://ns.editeur.org/onix/en/15)
- Preliminary
Section - Titles
AndHeadings
Traits§
- Value
Mapping - Try to map a code from one scheme to another.