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

  • b7f770a
  • /
  • docs
  • /
  • d1-indexing.md
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
content badge
swh:1:cnt:d0b2eb38b1a8666aafd82be89f151ac8cb9babe2
directory badge
swh:1:dir:a65184750f64a79d0aaad2e8ab59f87cccc26f38

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
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
d1-indexing.md
# DataONE Indexing of CodeMeta Documents

## Introduction

DataONE indexing will be updated to accept data from CodeMeta documents.

## Index Fields

The following table summarizes the data available from a CodeMeta document for insertion
into the DataONE Solr index, and the currently available fields in the index.

In some cases an existing DataONE field may be used to store the corresponding CodeMeta property,
such as for 'title'. Other CodeMeta properties will require new fields to be added to the Solr index.

| CodeMeta Property | DataONE Index Field | Index? | New Field? | Comment |
| ----------------- | --------------------| ------ | ---------- | ------- |
| agents/@id | | | | |
| agents/affiliation | | | | |
| agents/email | | | | |
| agents/isMaintainer | | | | |
| agents/isRightsHolder | | | | |
| agents/mustBeCited | | | | |
| agents/name | author |Y|N| when roleCode=originator |
| agents/role/namespace | | | | |
| agents/role/roleCode | | | | |
| buildInstructions | | | | |
| codeRepository | | | | |
| contIntegration | | | | |
| controlledTerms | keywords |Y|N| |
| dateCreated | | | | |
| dateModified | | | | |
| datePublished | dataUploaded |Y|N| Is this the correct usage for datePublished? |
| depends/identifier| | | | |
| depends/name | | | | |
| depends/operatingSystem | | | | |
| depends/packageSystem | | | | |
| depends/version| | | | |
| description | abstract |Y| | |
| developmentStatus | | | | |
| downloadLink | | | | |
| embargoDate | | | | |
| funding | | | | |
| identifier | id |Y|N| Can we use this, as the D1 id has a restricted format? |
| isAutomatedBuild | | | | |
| issueTracker | | | | |
| licenseId | | | | |
| operatingSystems | | | | |
| packageSystem | | | | |
| programmingLanguage/name | | | | |
| programmingLanguage/version | | | | |
| programmingLanguage/URL | | | | |
| publisher | | | | |
| readme | | | | |
| relationships/relatedIdentifier | | | | |
| relationships/relatedIdentifierType | prov_wasDerivedFrom |Y|N| when relationshipType = wasDerivedFrom
| relationships/relationshipType | | | | |
| relatedLink | | | | |
| relatedPublications | | | | |
| suggests/identifier | | | | |
| suggests/name | | | | |
| suggests/operatingSystem | | | | |
| suggests/packageSystem | | | | |
| suggests/version | | | | |
| softwarePaperCitationIdentifiers | | | | |
| tags | topic or term |Y|N| which index field should be used?|
| title | title |Y|N| |
| version | | | | |
| uploadedBy/@id | | | | |
| uploadedBy/@type | | | | |
| uploadedBy/email | | | | |
| uploadedBy/name | | | | |
| uploadedBy | | | | |
| zippedCode | | | | |
| | attribute | | | |
| | attributeDescription | | | |
| | attributeLabel | | | |
| | attributeName | | | |
| | attributeUnit | | | |
| | authorGivenName | | | |
| | authoritativeMN | | | |
| | authorLastName | | | |
| | authorSurName | | | |
| | beginDate | | | |
| | blockedReplicationMN | | | |
| | changePermission | | | |
| | checksum | | | |
| | checksumAlgorithm | | | |
| | class | | | |
| | contactOrganization | | | |
| | datasource | | | |
| | dataUrl | | | |
| | dateModified | | | |
| | datePublished | | | |
| | dateUploaded | | | |
| | decade | | | |
| | documents | | | |
| | eastBoundCoord | | | |
| | edition | | | |
| | endDate | | | |
| | family | | | |
| | fileID | | | |
| | fileName | | | |
| | formatId | | | |
| | formatType | | | |
| | gcmdKeyword | | | |
| | genus | | | |
| | geoform | | | |
| | investigator | | | |
| | isDocumentedBy | | | |
| | isPublic | | | |
| | isService | | | |
| | isSpatial | | | |
| | keyConcept | | | |
| | kingdom | | | |
| | mediaType | | | |
| | mediaTypeProperty | | | |
| | namedLocation | | | |
| | noBoundingBox | | | |
| | northBoundCoord | | | |
| | numberReplicas | | | |
| | obsoletedBy | | | |
| | obsoletes | | | |
| | ogcUrl | | | |
| | order | | | |
| | origin | | | |
| | originator | | | |
| | parameter | | | |
| | phylum | | | |
| | placeKey | | | |
| | preferredReplicationMN | | | |
| | presentationCat | | | |
| | project | | | |
| | prov_generated | | | |
| | prov_generatedByExecution | | | |
| | prov_generatedByProgram | | | |
| | prov_generatedByUser | | | |
| | prov_hasDerivations | | | |
| | prov_hasSources | | | |
| | prov_instanceOfClass | | | |
| | prov_used | | | |
| | prov_usedByExecution | | | |
| | prov_usedByProgram | | | |
| | prov_usedByUser | | | |
| | prov_wasExecutedByExecution | | | |
| | prov_wasExecutedByUser | | | |
| | prov_wasInformedBy | | | |
| | pubDate | | | |
| | purpose | | | |
| | readPermission | | | |
| | relatedOrganizations | | | |
| | replicaMN | | | |
| | replicationAllowed | | | |
| | replicaVerifiedDate | | | |
| | resourceMap | | | |
| | rightsHolder | | | |
| | scientificName | | | |
| | sem_annotated_by | | | |
| | sem_annotates | | | |
| | sem_annotation | | | |
| | sem_comment | | | |
| | sensor | | | |
| | seriesId | | | |
| | serviceCoupling | | | |
| | serviceDescription | | | |
| | serviceEndpoint | | | |
| | serviceInput | | | |
| | serviceOutput | | | |
| | serviceTitle | | | |
| | serviceType | | | |
| | site | | | |
| | size | | | |
| | source | | | |
| | southBoundCoord | | | |
| | species | | | |
| | submitter | | | |
| | term | | | |
| | topic | | | |
| | updateDate | | | |
| | webUrl | | | |
| | westBoundCoord | | | |
| | writePermission | | | | |

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