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

https://doi.org/10.5281/zenodo.8277925
19 March 2025, 10:06:30 UTC
  • Code
  • Branches (0)
  • Releases (7)
  • Visits
    • Branches
    • Releases
      • 7
      • 7
      • 6
      • 5
      • 4
      • 3
      • 2
      • 1
    • c19241d
    • /
    • nfdi4cat-voc4cat-tool-8cf1fde
    • /
    • example
    • /
    • idranges.toml
    Raw File Download
    Permalinks

    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
    • snapshot
    • release
    origin badgecontent badge Iframe embedding
    swh:1:cnt:175a34df75a795baee065d16cef22e5ca9fdff23
    origin badgedirectory badge Iframe embedding
    swh:1:dir:7df96d8c170facfdd2c9853f113cbb9db9b1bc4e
    origin badgesnapshot badge
    swh:1:snp:f74baa1136b7b1b4945ba60db7f8045dea4463d7
    origin badgerelease badge
    swh:1:rel:e8bc433a64a296992f211f09c4910b0225ad1f90
    Citations

    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
    • snapshot
    • release
    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 ...
    idranges.toml
    # ==== General Configuration ====
    # Documentation of the TOML format: https://toml.io/en/latest
    
    # Allow only a single vocabulary (default) or multiple vocabularies in the repository.
    single_vocab = false
    
    # ==== Configuration for vocabulary "myvocab" ====
    
    # The name of the vocabulary is used as section name.
    # It should match the filename-stem of the vocabulary files.
    [vocabs.photocatalysis_example]
    # Length of integer IDs in vocabulary. IDs will be left-padded with zeros to specified length.
    id_length = 7
    # permanent part of IRIs defined in the vocabulary
    permanent_iri_part = "https://example.org/"
    
    # Section to configure checks (useful in CI pipeline)
    [vocabs.photocatalysis_example.checks]
    # Deleting allowed (relevant in CI-pipeline)
    allow_delete = false
    
    [vocabs.photocatalysis_example.prefix_map]
    ex = "https://example.org/"
    
    # Section of IDranges for coordinating the allocation of numeric ID ranges to
    # contributors for each vocabulary. Each idrange contains the same keys:
    #
    # first_id = <int>            - first reserved integer ID in idrange
    # last_id = <int>             - last reserved integer ID in idrange
    # gh_name = "<string>"        - user or organisation name on github
    # orcid = "<string> or <url>" - contributor's ORCID, e.g. "0000-0002-1825-0097" or "https://orcid.org/0000-0002-1825-0097"
    # ror_id = "<url>"            - ROR identifier of home organisation, e.g. "https://ror.org/04fa4r544"
    
    [[vocabs.photocatalysis_example.id_range]]
    first_id = 1
    last_id = 5000
    gh_name = "nmoust"
    orcid = "0000-0002-6242-2167"
    ror_id = "https://ror.org/029hg0311"
    
    [[vocabs.photocatalysis_example.id_range]]
    first_id = 5001
    last_id = 5020
    gh_name = "unknown"
    orcid = ""
    ror_id = ""
    
    # Continue with as many [[myvocab.idrange]] sections as needed.
    

    Software Heritage — Copyright (C) 2015–2025, 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— Contact— JavaScript license information— Web API

    back to top