Skip to content

Epic: Migrate DOI system from Zenodo to EZID/DataCite #105

Closed
5 of 5 issues completed
Closed

Description

@neuromechanist

Summary

NEMAR has been awarded an EZID account for direct DataCite DOI registration with prefix doi:10.82901/NEMAR.. This replaces Zenodo as the primary DOI provider while keeping Zenodo as a backup archive.

Closes #99

Motivation

Zenodo-minted DOIs (and OpenNeuro's) have severely underpopulated DataCite metadata: no subjects, descriptions, rights, affiliations, ORCIDs, funding references, etc. EZID with full DataCite kernel-4 XML gives us control over all 20 metadata properties, producing properly documented scholarly records.

Architecture Change

  • EZID = primary DOI provider (rich DataCite metadata, prefix doi:10.82901/NEMAR.)
  • Zenodo = backup archive only (draft/restricted depositions, no public DOI minting)
  • neuroschema = source of truth for metadata that maps to DataCite fields

Phases

Phase 1: EZID Service + DataCite XML Builder + Claude Code Skill (#106) -- DONE

  • EZID API tested and validated (test shoulder doi:10.5072/FK2)
  • Create backend/src/services/ezid.ts (ANVL encoding, mint/get/update/delete)
  • Create backend/src/services/datacite.ts (DataCite kernel-4 XML builder)
  • Create Claude Code skill plugin (.claude/plugins/ezid-doi/)
  • Full review: type safety, error handling, test coverage (66 tests)

Phase 2: Backend + CLI Integration (#107) -- DONE

  • DB migration: add ezid_identifier, ezid_status, doi_provider columns
  • DB migration: add orcid column to users table
  • Update nemar auth signup to collect ORCID (validated format)
  • Update backend /auth/signup to accept and store ORCID
  • Update backend DOI endpoints to support EZID provider
  • Update publication orchestrator step 5 to use EZID
  • Auto-populate creator ORCID from user profile in bidsToDataCite
  • Update CLI commands with EZID options (--provider)
  • Add nemar admin doi update command

Phase 2.5: Deterministic DOI Naming (#111) -- DONE

  • createIdentifier (PUT /id/{id}) for exact DOI names
  • Concept DOI: doi:10.82901/NEMAR.NM000104
  • Version DOI: doi:10.82901/NEMAR.NM000104.V1.0.0
  • Idempotency handling for concept DOI creation retries
  • Sandbox-to-production credential fallthrough prevention
  • Error handling hardening across all DOI services

Phase 3: Rich Metadata Enrichment (#108) -- IN PROGRESS

  • Backend endpoint POST /admin/datasets/:id/doi/update for metadata updates
  • nemar_metadata.json convention for extended metadata alongside dataset_description.json
  • nemar admin doi enrich interactive command (ORCIDs for co-authors, affiliations, keywords, related DOIs, funding)
  • Integration with neuroschema structured author fields (once available)
  • Automatic metadata pull from BIDS files during upload

Related Issues

EZID Account Details

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added
    P1
    feature
    on Feb 10, 2026
  2. neuromechanist commented on Feb 18, 2026

    @neuromechanist
    ContributorAuthor

    All three phases complete:\n- Phase 1 (#106): EZID integration - DONE\n- Phase 2 (#107): ORCID and DataCite kernel-4.6 alignment - DONE\n- Phase 3 (#108): Rich metadata enrichment pipeline - DONE\n\nThe NEMAR DOI system is now fully migrated from Zenodo to EZID/DataCite with a staged metadata pipeline (seed -> enrich -> validate).

  3. added a commit that references this issue on Sep 9, 2026
    c4b653e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions