Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

swh:1:snp:b33649b2c5b0f3f9374db3e344d5a92f8f6e5fbe
  • Code
  • Branches (13)
  • Releases (2)
    • Branches
    • Releases
    • HEAD
    • refs/heads/0.1
    • refs/heads/BibTeX-sssom-mapping
    • refs/heads/agent-context
    • refs/heads/develop
    • refs/heads/force16
    • refs/heads/links-v3-schema
    • refs/heads/master
    • refs/heads/patch-travis
    • refs/heads/sssom-methodology
    • refs/tags/0.1-alpha
    • refs/tags/1.0
    • refs/tags/2.0
    • refs/tags/2.0-rc
    • 3.0
    • 2.1
  • b7f770a
  • /
  • examples
  • /
  • example-code-jsonld.json
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
content badge
swh:1:cnt:9adf5ca33a0bf1c95d916fb9b02577215c54765f
directory badge
swh:1:dir:a53509ec5cbbe014f511d947f778d43a42c22a17
revision badge
swh:1:rev:357f992909e9488d5de70392063e22cf5a52f5bd
snapshot badge
swh:1:snp:b33649b2c5b0f3f9374db3e344d5a92f8f6e5fbe

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 357f992909e9488d5de70392063e22cf5a52f5bd authored by Carl Boettiger on 24 May 2017, 03:13:42 UTC
These are all in the crosswalk now
Tip revision: 357f992
example-code-jsonld.json
{
    "@context": "http://schema.org",
    "@type": "Code",
    "author": [
        {
            "@id": "http://orcid.org/0000-0002-3957-2474",
            "@type": "Person",
            "email": "arfon@github.com",
            "name": "Arfon Smith"
        },
        {
            "@id": "http://orcid.org/0000-0002-7217-4494",
            "@type": "Person",
            "email": "kaitlin@mozillafoundation.org",
            "name": "Kaitlin Thaney"
        }
    ],
    "citation": "http://dx.doi.org/10.6084/m9.figshare.828487",
    "codeRepository": "https://github.com/arfon/fidgit",
    "dateCreated": "2013-10-19",
    "description": "An ungodly union of GitHub and Figshare http://fidgit.arfon.org",
    "keywords": "publishing, DOI, credit for code",
    "license": "http://opensource.org/licenses/MIT",
    "name": "Fidgit"
}

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API