[OpenSheaf] [specification] [use cases] [FAQ] [first archive]OpenSheaf

OpenSheaf: use cases

How the specification adapts to the people and institutions that keep and select scholarly documents. It is non-normative: where it and the specification differ, the specification holds. Commands of the reference tools, opensheaf-py (osheaf), are given as illustrations; any tool following the specification will do.

Three roles recur:

Archives list what they keep in archive collections, which pin objects whole and may follow them as they grow; selections are the other kind of collection of section 10, which pins revision sets and changes only by an act of its curator. Copies are of two kinds too: a mirror copies a whole object (an archive keeping another archive's objects), an accepted copy takes one vetted revision into the selection's own archive. Collections and copies only concern documents kept in OpenSheaf archives: a paper that exists only on arXiv or on a publisher's site is first deposited in an archive (for instance imported from arXiv into its author's archive) before it can be pinned.

Authors

A researcher's own archive

A mathematician keeps an archive of her papers on her website (the first archive, mgubi.org/papers, is one).

# deposit a new paper: its LaTeX source, the files it includes, and the PDF
osheaf deposit kpz-uniqueness paper.tex \
  --pdf paper.pdf \
  --extra-source refs.bib \
  --extra-source figures/fixed-point.pdf=figures/fixed-point.pdf \
  --title "Uniqueness of the KPZ fixed point" \
  --author "Doe, Jane|University of Example" \
  --rights cc-by-4.0 \
  --stage AO
# a second version, revised after the referees' comments (the title and
# the authors are given again for each version)
osheaf deposit kpz-uniqueness paper.tex \
  --pdf paper.pdf \
  --extra-source refs.bib \
  --extra-source figures/fixed-point.pdf=figures/fixed-point.pdf \
  --title "Uniqueness of the KPZ fixed point" \
  --author "Doe, Jane|University of Example" \
  --changes "Corrected the proof of Lemma 3; new appendix." \
  --stage AM
# an erratum about version 1, which stays as it was deposited
osheaf notice kpz-uniqueness \
  --about 1 \
  --text "Lemma 3 is wrong as stated; corrected in version 2."
# papers on arXiv: download them (downloads/ is created; identifiers.json
# in it maps arXiv identifiers to object identifiers), then import the new
# versions of papers already in the archive
osheaf arxiv fetch downloads --refresh
osheaf arxiv import downloads --update
# update the main collection and the website, then check everything
osheaf collect
osheaf index
osheaf verify

Co-authors in different archives

Two co-authors each keep an archive; their joint paper is deposited once, in one of them. The other lists it in a collection of her own archive (for instance "papers with my students") as a member of another archive. In an archive collection with follow, each time she updates the collection (osheaf collect) it pins her co-author's newest version; nothing is copied, and no permission is needed. Her member entry can list mirrors of the co-author's archive (section 10.2), so that readers still reach the paper when that archive is down. If she wants the paper in her archive too, and the licences of all its versions allow redistribution, she can mirror it: a byte-for-byte copy of the whole object, which stays the co-author's object (mirrorOf).

A research group, a seminar, lecture notes

A group keeps one archive for its members' papers, theses and slides, or each researcher keeps her own and the group keeps an archive collection whose members are documents of those archives. Lecture notes and slides are documents like papers (resourceTypeGeneral Text, with resourceType "Lecture notes" or "Slides"); notes revised every year are versions of one document, or separate documents when an edition is a different work (a new title, a different course).

Archives

An institutional repository

A university keeps an archive of its members' work.

An independent storage site

A preservation service (a library, a consortium) keeps copies of archives so that they survive their owners' servers.

# copy an object of another archive, byte for byte, with all its versions
osheaf mirror https://example.org/papers/ kpz-uniqueness
# list it in a collection of the archive, so that the website shows it and
# verify checks it (preserved.yaml below; "mirror: yes" copies and lists
# in one step)
osheaf collection sync preserved --from preserved.yaml
# write the discovery document and the website, then check the archive;
# members of other archives are checked too, on their mirrors when their
# own archive does not answer
osheaf index
osheaf verify --remote
id: preserved
title: Papers preserved by the library
type: archive
members:
  - archive: https://example.org/papers/
    id: kpz-uniqueness
    mirror: yes

An archive that moves

An author moves her archive to a new domain. Its archive identifier (a tag: URI) does not change. Collections recorded the base URL of the time (archiveUrl): readers still reach the archive through HTTP redirects from the old address, which she should keep as long as she can, or through the mirrors listed in member entries; curators update archiveUrl in a new version of their collections. Pins stay valid, because they fix bytes, not addresses.

Selections

An overlay journal

A journal whose papers are kept by their authors in OpenSheaf archives (a paper only on arXiv is first imported into an archive, its author's or the journal's, with arXiv recorded as its source) accepts, after review, a particular version of each paper.

# keep an accepted copy of the version the editors vetted; --version names
# the object version vetted (vN in the authors' storage), not the document
# version
osheaf accept https://authors.example.org/ network-discrimination \
  --version v2 \
  --stage VoR \
  --agreement "the journal's publication terms"
# list the issue (issue-7.yaml below): a selection, whose member pins the
# revisions vetted; update never changes them, it only reports versions
# not vetted. Name the collection: without a name, sync replaces the main
# collection.
osheaf collection sync issue-7 --from issue-7.yaml
id: issue-7
title: Issue 7
type: selection
members:
  - archive: "."                  # the accepted copy, in the journal's archive
    id: network-discrimination
    revisions: [1]                # its document version 1; after a correction, [1, 2]

A journal that publishes its own version

A journal typesets the accepted paper in its own layout, gives it a DOI, and publishes it under its licence, with the authors' agreement.

A digest, a reading list, a curated bibliography

A researcher publishes a list of recommended papers on a topic, from any OpenSheaf archives.

A review journal (like Mathematical Reviews or zbMATH Open)

A review journal publishes short reviews of papers published elsewhere.

Proceedings, special issues, volumes

Proceedings of a conference are a selection of the talks' papers, each vetted in the version presented; a volume is a selection whose members are its issues (collections), each pinned in the version published. A special issue of a journal is a selection of the journal's own documents, or of accepted copies.

What happens when …

Event Archive collection (an archive, a mirror) Selection (a journal, a digest)
the authors deposit a new version it is followed (with follow): the next collection version pins the new head nothing changes; the curator may vet it and add it to the revision set
the authors add a notice or a description it is followed, like any new version not vetted; presentations may show it, saying where it comes from
the authors withdraw the document it is followed: the withdrawn document stays, with its notice the vetted revisions stay, and presentations show the authors' withdrawal notice with the document (section 11.1); the curator decides what else (a notice of its own, a withdrawal of its accepted copy)
the editors correct a vetted version not applicable a new revision in the set, or a new version of the accepted copy: the editors' act, in the selection's history
a document is taken down (by law, or to erase personal data, section 16) the object is deleted and a tombstone stays; verifiers report the member as removed the same for the pinned revisions; an accepted copy is a document of the selection's archive, to which the takedown is applied separately
the member's archive moves the pin stays valid; readers follow redirects or the mirrors listed in member entries the same
the member's archive disappears members are fetched from mirrors, or any copy matching the pin; Zenodo deposits keep the files but cannot be checked against the pin the accepted copy keeps the vetted revision; references keep their cached citations
a version's licence forbids redistribution the object cannot be mirrored, only referenced the revision cannot be copied, only referenced (unless the authors grant the right)