aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--guide/src/entity_release.md2
-rw-r--r--rust/src/identifiers.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/guide/src/entity_release.md b/guide/src/entity_release.md
index 27ce0f2c..1fd0a2f1 100644
--- a/guide/src/entity_release.md
+++ b/guide/src/entity_release.md
@@ -216,6 +216,8 @@ with a small number of (proposed) extensions:
- `stub` (fatcat extension) for releases which have notable external
identifiers, and thus are included "for completeness", but don't seem to
represent a "full work".
+- `component` (fatcat extension) for sub-components of a full paper (or other
+ work). Eg, figures or tables.
An example of a `stub` might be a paper that gets an extra DOI by accident; the
primary DOI should be a full release, and the accidental DOI can be a `stub`
diff --git a/rust/src/identifiers.rs b/rust/src/identifiers.rs
index 597af338..180dc43b 100644
--- a/rust/src/identifiers.rs
+++ b/rust/src/identifiers.rs
@@ -540,6 +540,7 @@ pub fn check_release_type(raw: &str) -> Result<()> {
"letter",
"stub",
"retraction",
+ "component",
];
for good in valid_types {
if raw == good {