Repository navigation
Fix CITATION.cff: author as entity, not person (fixes Zenodo archival failure) - #10
Merged
Merged
Conversation
The v0.1.0 Zenodo archival attempt failed with:
{'metadata': {'creators': {0: {'person_or_org': {'family_name':
['Family name cannot be blank.']}}}}}
CFF's `alias` field (used previously) is a sub-field of a *personal*
author — Zenodo's ingestion still requires a family_name for that type,
even with an alias present, and CITATION.cff schema 1.2.0 doesn't reject
an alias-only person at the schema level even though Zenodo's own
converter does downstream.
CFF has a separate *entity* author type for exactly this case (handle,
org, or collective attribution with no personal name) — its only required
field is `name`. Switching `alias: erxxc` to `name: erxxc` models the
author correctly as an entity instead of an incomplete person, which
Zenodo's schema accepts without a family name. Re-validated against CFF
1.2.0 via cffconvert; BibTeX/APA-like rendering unchanged.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The first Zenodo archival attempt on
v0.1.0failed:alias(used in #9) is a field on CFF's personal author type, which Zenodo's schema still requires afamily_namefor even when only an alias is given — CFF 1.2.0 schema validation doesn't catch this, but Zenodo's own metadata converter does.CFF has a distinct entity author type (
namefield, no personal-name fields at all) built for exactly this case — handle/org/collective attribution with no real name. Switchingalias: erxxc→name: erxxcfixes it. Re-validated withcffconvert; renders identically.🤖 Generated with Claude Code