Valid Citation File Format files
- must be named
CITATION.cff(note the capitalization); - are valid according to the Citation File Format schema version 1.2.0 outlined in schema.json;
- are valid YAML 1.2 (specification, validator).
String quoting: Note that in YAML you generally don't need to quote strings.
But you should use " quotes when a string value
contains whitespace,
contains special characters (e.g., any of :{}[],&*#?|-<>=!%, or any of ` and @ at the beginning),
consists only of numbers (e.g., is the string "42", not the number 42),
or is "true", "false", "yes" or "no".
In short: When a string value doesn't behave as expected, try putting it in " quotes.
A minimal example of a valid CITATION.cff file, that contains only the required keys, could look like this:
authors:
- family-names: Druskat
given-names: Stephan
cff-version: 1.2.0
message: "If you use this software, please cite it using these metadata."
title: "My Research Software"For most software however, it is relatively easy to expand the minimal case with important information like the version, the date when it was last published, some keywords, etc.:
abstract: "This is my awesome research software. It does many things."
authors:
- family-names: Druskat
given-names: Stephan
orcid: "https://orcid.org/1234-5678-9101-1121"
cff-version: 1.2.0
date-released: "2021-07-18"
identifiers:
- description: "This is the collection of archived snapshots of all versions of My Research Software"
type: doi
value: 10.5281/zenodo.123456
- description: "This is the archived snapshot of version 0.11.2 of My Research Software"
type: doi
value: 10.5281/zenodo.123457
keywords:
- "awesome software"
- research
license: Apache-2.0
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/citation-file-format/my-research-software"
title: "My Research Software"
version: 0.11.2When your software or data builds on what others have already done, it is good practice to add a references section to your
CITATION.cff file. This way, you give credit to the authors of works that your own work builds on.
The references section works like a reference list in a paper,
but can also contain references to other software
(such as the dependencies of your software), other datasets,
and other (research) outputs.
authors:
- family-names: Druskat
given-names: Stephan
cff-version: 1.2.0
message: "If you use this software, please cite it using these metadata."
references:
- authors:
- family-names: Spaaks
given-names: "Jurriaan H."
title: "The foundation of Research Software"
type: software
- authors:
- family-names: Haines
given-names: Robert
title: "Ruby CFF Library"
type: software
version: 1.0
title: "My Research Software"Sometimes you want to redirect any credit your work may receive towards a second work (typically one of your own). A
common example is, that when you write software and then write a paper about it, you may want to be credited for the paper
instead of for the software itself. For this case, your CITATION.cff should contain metadata about the software at
the root of the CITATION.cff file, but additionally, you can add a preferred-citation key with the metadata of
the paper (or other work) you want people to cite. Usually, the message also reflects the authors' wishes on how they want to be credited.
authors:
- family-names: Druskat
given-names: Stephan
cff-version: 1.2.0
message: "If you use this software, please cite both the article from preferred-citation and the software itself."
preferred-citation:
authors:
- family-names: Druskat
given-names: Stephan
title: "Software paper about My Research Software"
type: article
title: "My Research Software"The next sections explain each key in more detail.
This section describes the valid keys in a CITATION.cff file.
abstractauthors(array of objects)cff-versioncommitcontact(object)date-releaseddoiidentifiers(array of objects)keywordslicenselicense-urlmessagepreferred-citation(object)references(array of objects)repositoryrepository-artifactrepository-codetitletypeurlversion
- type: Nonempty
string - required:
false - description: A description of the software or dataset.
- usage:
abstract: This software implements methods to do things.
- type: Array of
definitions.personand/ordefinitions.entityobjects. - required:
true - description: The authors of a software or dataset. (See also How to deal with unknown individual authors?)
- usage:
authors: - given-names: Stephan family-names: Druskat
authors: - name: "The Research Software project"
authors: - given-names: Stephan family-names: Druskat - name: "The Research Software project"
- type: Nonempty
string - required:
true - description: The Citation File Format schema version that the
CITATION.cfffile adheres to for providing the citation metadata. - usage:
cff-version: 1.2.0
cff-version: "1.2.0"
- type: Nonempty
string - required:
false - description: The commit hash or revision number of the software version.
- usage:
commit: 1ff847d81f29c45a3a1a5ce73d38e45c2f319bba
commit: "Revision: 8612"
- type: Array of
definitions.personand/ordefinitions.entityobjects. - required:
false - description: The contact person, group, company, etc. for the software or dataset.
- usage:
contact: - affiliation: "German Aerospace Center (DLR)" email: mail@research-project.org family-names: Druskat given-names: Stephan
contact: - email: mail@research-project.org name: "The Research Software project"
contact: - email: mail@research-project.org family-names: Druskat given-names: Stephan - email: mail@research-project.org name: "The Research Software project"
- type:
definitions.date - required:
false - description: The date the software or data set has been released. Format is 4-digit year, 2-digit month, 2-digit day of month, separated by dashes.
- usage:
date-released: "2020-01-31"
- type:
definitions.doi - required:
false - description: The DOI of the software or dataset. This notation is most useful when there is just one DOI you want to include. In
that case,
doican be used as shorthand for something like:
oridentifiers: - description: "The concept DOI of the work." type: doi value: 10.5281/zenodo.1003149
identifiers: - description: "The versioned DOI of the work." type: doi value: 10.5281/zenodo.4813122
- usage:
doi: 10.5281/zenodo.1003149
doi: "10.5281/zenodo.4813122"
-
type: Array of
definitions.identifierobjects. -
required:
false -
description: The identifiers of the software or dataset.
-
usage:
identifiers: - description: "The concept DOI of the work." type: doi value: 10.5281/zenodo.1003149
identifiers: - description: "The versioned DOI for version 1.1.0 of the work." type: doi value: 10.5281/zenodo.4813122
identifiers: - description: "The concept DOI of the work." type: doi value: 10.5281/zenodo.1003149 - description: "The versioned DOI for version 1.1.0 of the work." type: doi value: 10.5281/zenodo.4813122
identifiers: - description: "The concept DOI of the work." type: doi value: 10.5281/zenodo.1003149 - description: "The versioned DOI for version 1.1.0 of the work." type: doi value: 10.5281/zenodo.4813122 - description: "The Software Heritage identifier for version 1.1.0 of the work." type: swh value: "swh:1:dir:bc286860f423ea7ced246ba7458eef4b4541cf2d" - description: "The GitHub release URL of tag 1.1.0." type: url value: "https://github.com/citation-file-format/citation-file-format/releases/tag/1.1.0" - description: "The GitHub release URL of the commit tagged with 1.1.0." type: url value: "https://github.com/citation-file-format/citation-file-format/tree/16192bf05e99bcb35d5c3e085047807b5720fafc"
- type: Array of nonempty
string - required:
false - description: Keywords that describe the work.
- usage:
keywords: - thefirstkeyword - thesecondkeyword - "a third keyword"
- type: (Array of)
definitions.license-enum. - required:
false - description: The SPDX license identifier(s) for the license(s) under which the work is made available. When there are multiple licenses, it is assumed their relationship is OR, not AND.
- usage:
license: Apache-2.0
license: - Apache-2.0 - MIT
license: - GPL-3.0 - GPL-3.0-or-later
- type:
definitions.url - required:
false - description: The URL of the license text under which the software or dataset is licensed (only for non-standard licenses not included in the SPDX License List).
- usage:
license-url: "https://obscure-licenses.com?id=1234"
- type: Nonempty
string - required:
true - default:
If you use this software, please cite it using the metadata from this file. - description: A message to the human reader of the
CITATION.cfffile to let them know what to do with the citation metadata. - usage:
message: "If you use this software, please cite it using the metadata from this file."
message: "Please cite this software using these metadata."
message: "Please cite this software using the metadata from 'preferred-citation'."
message: "If you use this dataset, please cite it using the metadata from this file."
message: "Please cite this dataset using these metadata."
message: "Please cite this dataset using the metadata from 'preferred-citation'."
- type: A
definitions.referenceobject. - required:
false - description: A reference to another work that should be cited instead of the software or dataset itself. Note that the principles of software citation and data citation require that software should be cited on the same basis as any other research product such as a paper or a book. Adding a different preferred citation may result in a violation of the respective primary principle, "Importance", when others cite this work.
- usage:
preferred-citation: authors: - family-names: Famnames given-names: "Given Name I." title: "Title of the work." type: generic year: 2021
- type: Array of
definitions.referenceobjects. - required:
false - description: Reference(s) to other creative works. Similar to a list of references in a paper, references of the software or dataset may include other software (dependencies), or other research products that the software or dataset builds on, but not work describing the software or dataset.
- usage:
references: - authors: - name: "The Dependency Project" date-released: "2021-07-26" doi: 10.5281/zenodo.x1234567 repository-code: "https://github.com/dependency-project/dependency" title: Dependency type: software version: 0.13.4 - authors: - family-names: Bielefeld given-names: Arthur name-particle: von doi: 10.9999/hardscifi-lang.42132 issue: 13 journal: "Journal of Hard Science Fiction" scope: "Cite this paper if you want to reference the general concepts of the software." title: "Towards a 100% accuracy syntax parser for all languages" type: article volume: 42 year: 2099
- type:
definitions.url - required:
false - description: The URL of the software or dataset in a repository/archive (when the repository is neither a source code repository nor a build artifact repository).
- usage:
repository: "https://ascl.net/2105.013"
- type:
definitions.url - required:
false - description: The URL of the work in a build artifact/binary repository (when the work is software).
- usage:
repository-artifact: "https://search.maven.org/artifact/org.corpus-tools/cff-maven-plugin/0.4.0/maven-plugin"
- type:
definitions.url - required:
false - description: The URL of the work in a source code repository.
- usage:
repository-code: "https://github.com/citation-file-format/cff-converter-python"
- type: Nonempty
string - required:
true - description: The name of the software or dataset.
- usage:
title: "cffconvert"
- type: enum (
softwareordataset) - default:
software - required:
false - description: The type of the work that is being described by this
CITATION.cfffile. - usage:
type: software
type: dataset
- type:
definitions.url - required:
false - description: The URL of a landing page/website for the software or dataset.
- usage:
url: "https://citation-file-format.github.io/"
- type:
definitions.version - required:
false - description: The version of the software or dataset.
- usage:
version: "1.2.0"
version: 1.2
version: "21.10 (Impish Indri)"
Some values in CFF files are valid in different keys.
For example, repository-code, url and license-url all take URLs as values.
The schema therefore has definitions
of smaller subschemas, that can be reused in the schema from the respective key,
instead of having to duplicate them.
For example, there is one definition for a valid URL value (definitions.url),
that is being referenced from repository-code, url and license-url.
Note: definitions and its subkeys like definitions.alias or definitions.entity.alias should not be used as keys in CITATION.cff files:
# incorrect
authors:
- definitions.alias: sdruskat# incorrect
authors:
- definitions:
alias: sdruskat# correct
authors:
- alias: sdruskatdefinitions.addressdefinitions.aliasdefinitions.citydefinitions.commitdefinitions.countrydefinitions.datedefinitions.doidefinitions.emaildefinitions.entity(object)definitions.faxdefinitions.identifier(object)definitions.identifier-descriptiondefinitions.licensedefinitions.license-enumdefinitions.orciddefinitions.person(object)definitions.post-codedefinitions.reference(object)definitions.regiondefinitions.swh-identifierdefinitions.teldefinitions.urldefinitions.version
- type: Nonempty
string - required: N/A
- description: An address.
- usage:
authors: - name: "The Research Software Project" address: "742 Evergreen Terrace"
- type: Nonempty
string - required: N/A
- description: An alias.
- usage:
authors: - name: "The Research Software Project" alias: "RSP"
- type: Nonempty
string - required: N/A
- description: A city.
- usage:
authors: - name: "The Research Software Project" city: "Berlin"
- type: Nonempty
string - required: N/A
- description: The (e.g., Git) commit hash or (e.g., Subversion) revision number of the work.
- usage:
commit: "1ff847d81f29c45a3a1a5ce73d38e45c2f319bba"
commit: "Revision: 8612"
- type:
enumwith valuesADAEAFAGAIALAMAOAQARASATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBVBWBYBZCACCCDCFCGCHCICKCLCMCNCOCRCUCVCWCXCYCZDEDJDKDMDODZECEEEGEHERESETFIFJFKFMFOFRGAGBGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHMHNHRHTHUIDIEILIMINIOIQIRISITJEJMJOJPKEKGKHKIKMKNKPKRKWKYKZLALBLCLILKLRLSLTLULVLYMAMCMDMEMFMGMHMKMLMMMNMOMPMQMRMSMTMUMVMWMXMYMZNANCNENFNGNINLNONPNRNUNZOMPAPEPFPGPHPKPLPMPNPRPSPTPWPYQARERORSRURWSASBSCSDSESGSHSISJSKSLSMSNSOSRSSSTSVSXSYSZTCTDTFTGTHTJTKTLTMTNTOTRTTTVTWTZUAUGUMUSUYUZVAVCVEVGVIVNVUWFWSYEYTZAZMZW
- required: N/A
- description: The ISO 3166-1 alpha-2 country code for a country.
- usage:
authors: - country: NL name: "The Authors Team"
references: - conference: country: DE type: conference
- type: Nonempty
string - required: N/A
- description: A date. Format is 4-digit year, followed by 2-digit month, followed by 2-digit day of month, and separated by dashes. Note to tool implementers: it is necessary to cast YAML
dateobjects tostringobjects when validating against the schema. - usage:
date-released: "2020-01-31"
references: - date-accessed: "2020-01-31" type: generic
references: - date-downloaded: "2020-01-31" type: generic
references: - date-published: "2020-01-31" type: generic
references: - date-released: "2020-01-31" type: generic
references: - conference: date-end: "2020-02-02" date-start: "2020-01-31" type: conference
- type: Nonempty
string - required: N/A
- description: The DOI of the work (i.e.,
10.5281/zenodo.1003150, not the resolver URLhttp://doi.org/10.5281/zenodo.1003150). - usage:
doi: 10.5281/zenodo.1003150
- type: Nonempty
string - required: N/A
- description: An email address.
- usage:
authors: - email: "mail@research-project.org" name: "The Research Software project"
- type:
objectwith the following keys: - required: N/A
- description: An entity. Entities are used in keys that can also take
definitions.personobjects. An entity can represent different types of entities, such as a team, an institution, a company, a conference, etc. - usage:
authors: - address: "742 Evergreen Terrace" alias: RSP city: Berlin country: DE date-end: "2018-07-27" date-start: "2021-07-27" email: team@research-project.org fax: +12-3456-7890 location: "Lovelace Building, room 0.42" name: "The Research Software Project" orcid: "https://orcid.org/1234-5678-9101-1121" post-code: 90210 region: Renfrewshire tel: +12-345-6789098 website: "https://research-software-project.org"
contact: - name: "The Research Software Project team"
references: - type: generic title: "A reference showing different keys that take entity objects" authors: - name: "The Research Software Project team" conference: name: "RC21 - Research Conference 2021" contact: - name: "Customer Support" database-provider: name: "Database Provider" editors: - name: "The Publication Editing Team" editors-series: - name: "The Publication Series Editing Team" institution: name: "Department of Research, Random University" location: name: "Museum of Postmodern Art" publisher: name: "Open Access Publishing House" recipients: - name: "The recipient institution of a personal communication" senders: - name: "The team sending a personal communication" translators: - name: "Research Translators, Ltd."
- type:
definitions.address. - required:
false - description: The entity's address.
- usage:
authors: - address: "742 Evergreen Terrace" name: "The Research Software Project"
- type:
definitions.alias. - required:
false - description: The entity's alias.
- usage:
authors: - alias: NASA name: "National Aeronautics and Space Administration"
- type:
definitions.city. - required:
false - description: The entity's city.
- usage:
authors: - city: Berlin name: "The Research Software Project"
- type:
definitions.country. - required:
false - description: The entity's country.
- usage:
authors: - name: "The Research Software Project" country: DE
- type:
definitions.date. - required:
false - description: The entity's ending date, e.g. when the entity is a conference.
- usage:
references: - authors: - name: "The Research Software Project" conference: date-end: "2021-07-27" name: "Research Conference 2021" title: "Conference Paper" type: conference-paper
- type:
definitions.date. - required:
false - description: The entity's starting date, e.g. when the entity is a conference.
- usage:
references: - type: conference-paper title: "Conference Paper" authors: - name: "The Research Software Project" conference: name: "Research Conference 2021" date-start: "2021-07-27"
- type:
definitions.email. - required:
false - description: The entity's email address.
- usage:
authors: - email: team@research-project.org name: "The Research Software Project"
- type:
definitions.fax. - required:
false - description: The entity's fax number.
- usage:
authors: - fax: +12-3456-7890 name: "The Research Software Project"
- type: Nonempty
string - required:
false - description: The entity's location.
- usage:
authors: - location: "Lovelace Building, room 0.42" name: "The Research Software Project"
- type: Nonempty
string - required:
true - description: The entity's name.
- usage:
authors: - name: "The Research Software Project"
- type:
definitions.orcid. - required:
false - description: The entity's ORCID identifier.
- usage:
authors: - name: "The Research Software Project" orcid: "https://orcid.org/1234-5678-9101-1121"
-
type:
definitions.post-code. -
required:
false -
description: The entity's post code.
-
usage:
authors: - name: "The Research Software Project" post-code: 90210
authors: - name: "The Research Software Project" post-code: "90210"
- type:
definitions.region. - required:
false - description: The entity's region.
- usage:
authors: - name: "The Research Software Project" region: Renfrewshire
- type:
definitions.tel. - required:
false - description: The entity's telephone number.
- usage:
authors: - name: "The Research Software Project" tel: +12-345-6789098
- type:
definitions.url. - required:
false - description: The entity's website.
- usage:
authors: - name: "The Research Software Project" website: "https://research-software-project.org"
- type: Nonempty
string - required: N/A
- description: A fax number.
- usage:
authors: - name: "The Research Software Project" fax: +12-3456-7890
authors: - family-names: Druskat fax: +12-3456-7890 given-names: Stephan
- type: One of the following
objecttypes (click to expand/collapse):
-
DOI
-
type:- type:
enumwith singular valuedoi - required:
true - description: The type of identifier.
- type:
-
value:- type:
definitions.doi - required:
true - description: The value of the DOI, e.g.
10.5281/zenodo.1003149
- type:
-
description:- type:
definitions.identifier-description - required:
false - description: The description of the DOI, e.g.
This is the DOI for version 0.11.4.
- type:
-
-
URL
-
type:- type:
enumwith singular valueurl - required:
true - description: The type of identifier.
- type:
-
value:- type:
definitions.url - required:
true - description: The value of the URL, e.g.
https://github.com/citation-file-format/citation-file-format.
- type:
-
description:- type:
definitions.identifier-description - required:
false - description: The description of the URL, e.g.
The homepage for the project.
- type:
-
-
Software Heritage identifier
-
type:- type:
enumwith singular valueswh - required:
true - description: The type of identifier.
- type:
-
value:- type:
definitions.swh-identifier - required:
true - description: The value of the Software Heritage identifier, e.g.
swh:1:dir:bc286860f423ea7ced246ba7458eef4b4541cf2d.
- type:
-
description:- type:
definitions.identifier-description - required:
false - description: The description of the Software Heritage identifier, e.g.
The directory object of the repository as stored on Software Heritage..
- type:
-
-
Other
-
type:- type:
enumwith singular valueother - required:
true - description: The type of identifier.
- type:
-
value:- type: Nonempty
string. - required:
true - description: The value of the identifier, e.g.
arXiv:2103.06681.
- type: Nonempty
-
description:- type:
definitions.identifier-description - required:
false - description: The description of the identifier, e.g.
The ArXiv preprint of the paper..
- type:
-
-
- required: N/A
- description: An identifier.
- usage:
identifiers: - type: doi value: 10.5281/zenodo.1003149 description: "The concept DOI of the work."
identifiers: - type: doi value: 10.5281/zenodo.4813122 description: "The versioned DOI for version 1.1.0 of the work."
identifiers: - type: doi value: 10.5281/zenodo.1003149 description: "The concept DOI of the work." - type: doi value: 10.5281/zenodo.4813122 description: "The versioned DOI for version 1.1.0 of the work."
identifiers: - type: doi value: 10.5281/zenodo.1003149 description: "The concept DOI of the work." - type: doi value: 10.5281/zenodo.4813122 description: "The versioned DOI for version 1.1.0 of the work." - type: swh value: "swh:1:dir:bc286860f423ea7ced246ba7458eef4b4541cf2d" description: "The Software Heritage identifier for version 1.1.0 of the work." - type: url value: "https://github.com/citation-file-format/citation-file-format/releases/tag/1.1.0" description: "The GitHub release URL of tag 1.1.0." - type: url value: "https://github.com/citation-file-format/citation-file-format/tree/16192bf05e99bcb35d5c3e085047807b5720fafc" description: "The GitHub release URL of the commit tagged with 1.1.0."
preferred-citation: identifiers: - type: other value: "arXiv:2103.06681" description: The ArXiv preprint of the paper
- type: Nonempty
string - required: N/A
- description: A description for a specific identifier value.
- usage:
doi: 10.5281/zenodo.4813121 identifiers: - type: doi value: 10.5281/zenodo.4813122 description: "The version DOI for this version, which has a relation childOf with the concept DOI specified in the doi key in the root of this file." - type: other value: "ar:1234/5678.ABCD" description: "The identifier provided by Archival Repository, which points to this version of the software."
- type: (Array of)
definitions.license-enumobjects. - required: N/A
- description: The SPDX license identifier(s) for the license(s) under which a work is made available. When there are multiple licenses, it is assumed their relationship is OR, not AND.
- usage:
license: Apache-2.0
license: - Apache-2.0 - MIT
- type:
enumwith values:0BSDAALAbstylesAdobe-2006Adobe-GlyphADSLAFL-1.1AFL-1.2AFL-2.0AFL-2.1AFL-3.0AfmparseAGPL-1.0AGPL-1.0-onlyAGPL-1.0-or-laterAGPL-3.0AGPL-3.0-onlyAGPL-3.0-or-laterAladdinAMDPLPAAMLAMPASANTLR-PDANTLR-PD-fallbackApache-1.0Apache-1.1Apache-2.0APAFMLAPL-1.0APSL-1.0APSL-1.1APSL-1.2APSL-2.0Artistic-1.0Artistic-1.0-cl8Artistic-1.0-PerlArtistic-2.0BahyphBarrBeerwareBitTorrent-1.0BitTorrent-1.1blessingBlueOak-1.0.0BorceuxBSD-1-ClauseBSD-2-ClauseBSD-2-Clause-FreeBSDBSD-2-Clause-NetBSDBSD-2-Clause-PatentBSD-2-Clause-ViewsBSD-3-ClauseBSD-3-Clause-AttributionBSD-3-Clause-ClearBSD-3-Clause-LBNLBSD-3-Clause-ModificationBSD-3-Clause-No-Nuclear-LicenseBSD-3-Clause-No-Nuclear-License-2014BSD-3-Clause-No-Nuclear-WarrantyBSD-3-Clause-Open-MPIBSD-4-ClauseBSD-4-Clause-ShortenedBSD-4-Clause-UCBSD-ProtectionBSD-Source-CodeBSL-1.0BUSL-1.1bzip2-1.0.5bzip2-1.0.6C-UDA-1.0CAL-1.0CAL-1.0-Combined-Work-ExceptionCalderaCATOSL-1.1CC-BY-1.0CC-BY-2.0CC-BY-2.5CC-BY-3.0CC-BY-3.0-ATCC-BY-3.0-USCC-BY-4.0CC-BY-NC-1.0CC-BY-NC-2.0CC-BY-NC-2.5CC-BY-NC-3.0CC-BY-NC-4.0CC-BY-NC-ND-1.0CC-BY-NC-ND-2.0CC-BY-NC-ND-2.5CC-BY-NC-ND-3.0CC-BY-NC-ND-3.0-IGOCC-BY-NC-ND-4.0CC-BY-NC-SA-1.0CC-BY-NC-SA-2.0CC-BY-NC-SA-2.5CC-BY-NC-SA-3.0CC-BY-NC-SA-4.0CC-BY-ND-1.0CC-BY-ND-2.0CC-BY-ND-2.5CC-BY-ND-3.0CC-BY-ND-4.0CC-BY-SA-1.0CC-BY-SA-2.0CC-BY-SA-2.0-UKCC-BY-SA-2.1-JPCC-BY-SA-2.5CC-BY-SA-3.0CC-BY-SA-3.0-ATCC-BY-SA-4.0CC-PDDCCC0-1.0CDDL-1.0CDDL-1.1CDL-1.0CDLA-Permissive-1.0CDLA-Sharing-1.0CECILL-1.0CECILL-1.1CECILL-2.0CECILL-2.1CECILL-BCECILL-CCERN-OHL-1.1CERN-OHL-1.2CERN-OHL-P-2.0CERN-OHL-S-2.0CERN-OHL-W-2.0ClArtisticCNRI-JythonCNRI-PythonCNRI-Python-GPL-CompatibleCondor-1.1copyleft-next-0.3.0copyleft-next-0.3.1CPAL-1.0CPL-1.0CPOL-1.02CrosswordCrystalStackerCUA-OPL-1.0CubecurlD-FSL-1.0diffmarkDOCDotseqnDRL-1.0DSDPdvipdfmECL-1.0ECL-2.0eCos-2.0EFL-1.0EFL-2.0eGenixEntessaEPICSEPL-1.0EPL-2.0ErlPL-1.1etalab-2.0EUDatagridEUPL-1.0EUPL-1.1EUPL-1.2EurosymFairFrameworx-1.0FreeBSD-DOCFreeImageFSFAPFSFULFSFULLRFTLGDGFDL-1.1GFDL-1.1-invariants-onlyGFDL-1.1-invariants-or-laterGFDL-1.1-no-invariants-onlyGFDL-1.1-no-invariants-or-laterGFDL-1.1-onlyGFDL-1.1-or-laterGFDL-1.2GFDL-1.2-invariants-onlyGFDL-1.2-invariants-or-laterGFDL-1.2-no-invariants-onlyGFDL-1.2-no-invariants-or-laterGFDL-1.2-onlyGFDL-1.2-or-laterGFDL-1.3GFDL-1.3-invariants-onlyGFDL-1.3-invariants-or-laterGFDL-1.3-no-invariants-onlyGFDL-1.3-no-invariants-or-laterGFDL-1.3-onlyGFDL-1.3-or-laterGiftwareGL2PSGlideGlulxeGLWTPLgnuplotGPL-1.0GPL-1.0-onlyGPL-1.0-or-laterGPL-1.0+GPL-2.0GPL-2.0-onlyGPL-2.0-or-laterGPL-2.0-with-autoconf-exceptionGPL-2.0-with-bison-exceptionGPL-2.0-with-classpath-exceptionGPL-2.0-with-font-exceptionGPL-2.0-with-GCC-exceptionGPL-2.0+GPL-3.0GPL-3.0-onlyGPL-3.0-or-laterGPL-3.0-with-autoconf-exceptionGPL-3.0-with-GCC-exceptionGPL-3.0+gSOAP-1.3bHaskellReportHippocratic-2.1HPNDHPND-sell-variantHTMLTIDYIBM-pibsICUIJGImageMagickiMatixImlib2Info-ZIPIntelIntel-ACPIInterbase-1.0IPAIPL-1.0ISCJasPer-2.0JPNICJSONLAL-1.2LAL-1.3Latex2eLeptonicaLGPL-2.0LGPL-2.0-onlyLGPL-2.0-or-laterLGPL-2.0+LGPL-2.1LGPL-2.1-onlyLGPL-2.1-or-laterLGPL-2.1+LGPL-3.0LGPL-3.0-onlyLGPL-3.0-or-laterLGPL-3.0+LGPLLRLibpnglibpng-2.0libselinux-1.0libtiffLiLiQ-P-1.1LiLiQ-R-1.1LiLiQ-Rplus-1.1Linux-OpenIBLPL-1.0LPL-1.02LPPL-1.0LPPL-1.1LPPL-1.2LPPL-1.3aLPPL-1.3cMakeIndexMirOSMITMIT-0MIT-advertisingMIT-CMUMIT-ennaMIT-fehMIT-Modern-VariantMIT-open-groupMITNFAMotosotompich2MPL-1.0MPL-1.1MPL-2.0MPL-2.0-no-copyleft-exceptionMS-PLMS-RLMTLLMulanPSL-1.0MulanPSL-2.0MulticsMupNAIST-2003NASA-1.3NaumenNBPL-1.0NCGL-UK-2.0NCSANet-SNMPNetCDFNewsletrNGPLNIST-PDNIST-PD-fallbackNLOD-1.0NLPLNokiaNOSLNowebNPL-1.0NPL-1.1NPOSL-3.0NRLNTPNTP-0NunitO-UDA-1.0OCCT-PLOCLC-2.0ODbL-1.0ODC-By-1.0OFL-1.0OFL-1.0-no-RFNOFL-1.0-RFNOFL-1.1OFL-1.1-no-RFNOFL-1.1-RFNOGC-1.0OGDL-Taiwan-1.0OGL-Canada-2.0OGL-UK-1.0OGL-UK-2.0OGL-UK-3.0OGTSLOLDAP-1.1OLDAP-1.2OLDAP-1.3OLDAP-1.4OLDAP-2.0OLDAP-2.0.1OLDAP-2.1OLDAP-2.2OLDAP-2.2.1OLDAP-2.2.2OLDAP-2.3OLDAP-2.4OLDAP-2.5OLDAP-2.6OLDAP-2.7OLDAP-2.8OMLOpenSSLOPL-1.0OSET-PL-2.1OSL-1.0OSL-1.1OSL-2.0OSL-2.1OSL-3.0Parity-6.0.0Parity-7.0.0PDDL-1.0PHP-3.0PHP-3.01PlexusPolyForm-Noncommercial-1.0.0PolyForm-Small-Business-1.0.0PostgreSQLPSF-2.0psfragpsutilsPython-2.0QhullQPL-1.0RdiscRHeCos-1.1RPL-1.1RPL-1.5RPSL-1.0RSA-MDRSCPLRubySAX-PDSaxpathSCEASendmailSendmail-8.23SGI-B-1.0SGI-B-1.1SGI-B-2.0SHL-0.5SHL-0.51SimPL-2.0SISSLSISSL-1.2SleepycatSMLNJSMPPLSNIASpencer-86Spencer-94Spencer-99SPL-1.0SSH-OpenSSHSSH-shortSSPL-1.0StandardML-NJSugarCRM-1.1.3SWLTAPR-OHL-1.0TCLTCP-wrappersTMateTORQUE-1.1TOSLTU-Berlin-1.0TU-Berlin-2.0UCL-1.0Unicode-DFS-2015Unicode-DFS-2016Unicode-TOUUnlicenseUPL-1.0VimVOSTROMVSL-1.0W3CW3C-19980720W3C-20150513Watcom-1.0WsuipaWTFPLwxWindowsX11XeroxXFree86-1.1xinetdXnetxppXSkatYPL-1.0YPL-1.1ZedZend-2.0Zimbra-1.3Zimbra-1.4Zlibzlib-acknowledgementZPL-1.1ZPL-2.0ZPL-2.1
- required: N/A
- description: SPDX identifier for the license under which a work is made available. The list of identifiers originates from https://github.com/spdx/license-list-data/blob/bd8e963a41b13524b2ccb67f9335d2dd397c378e/json/licenses.json.
- usage:
license: Apache-2.0
license: - Apache-2.0 - MIT
- type:
uriwith patternhttps://orcid\.org/[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[0-9X]{1} - required: N/A
- description: An ORCID identifier.
- usage:
authors: - family-names: Druskat given-names: Stephan orcid: "https://orcid.org/1234-5678-9101-1121"
-
type:
objectwith the following keys: -
required: N/A
-
description: A person. The Citation File Format aims to implement a culturally neutral model for personal names, according to the suggestions on splitting personal names by the W3C and the implementation of personal name splitting in BibTeX (Hufflen, 2006). To this end, the Citation File Format provides four generic keys to specify personal names:
- Values for
family-namesspecify family names, including combinations of given and patronymic forms, such as Guðmundsdóttir or bin Osman; double names with or without hyphen, such as Leutheusser-Schnarrenberger or Sánchez Vicario. It can potentially also specify names that include prepositions or (nobiliary) particles, especially if they occur in between family names such as in Spanish- or Portuguese-origin names, such as Fernández de Córdoba. - Values for
given-namesspecify given and any other names. - Values for
name-particlespecify nobiliary particles and prepositions, such as in Ludwig van Beethoven or Rafael van der Vaart. - Values for
name-suffixspecify suffixes such as Jr. or III (as in Frank Edwin Wright III).
- Values for
Note that these keys may still not be optimal for, e.g., Icelandic names which do not have the concept of family names, or Chinese generation names, but represent a best effort.
- usage:
authors: - address: "742 Evergreen Terrace" affiliation: "German Aerospace Center (DLR)" alias: sdruskat city: Berlin country: DE email: sdruskat@research-project.org family-names: Druskat fax: +12-3456-7890 given-names: Stephan name-particle: von name-suffix: III orcid: "https://orcid.org/1234-5678-9101-1121" post-code: 90210 region: Renfrewshire tel: +12-345-6789098 website: "https://research-project.org"
- type:
definitions.address - required:
false - description: The person's address.
- usage:
authors: - family-names: Druskat given-names: Stephan address: "742 Evergreen Terrace"
- type: Nonempty
string - required:
false - description: The person's affiliation.
- usage:
authors: - family-names: Druskat given-names: Stephan affiliation: "German Aerospace Center (DLR)"
- type:
definitions.alias - required:
false - description: The person's alias.
- usage:
authors: - family-names: Druskat given-names: Stephan alias: sdruskat
- type:
definitions.city - required:
false - description: The person's city.
- usage:
authors: - family-names: Druskat given-names: Stephan city: Berlin
- type:
definitions.country - required:
false - description: The person's country.
- usage:
authors: - family-names: Druskat given-names: Stephan country: DE
- type:
definitions.email - required:
false - description: The person's email address.
- usage:
authors: - family-names: Druskat given-names: Stephan email: mail@research-project.org
- type: Nonempty
string - required:
false - description: The person's family names.
- usage:
authors: - family-names: Druskat given-names: Stephan
- type:
definitions.fax - required:
false - description: The person's fax number.
- usage:
authors: - family-names: Druskat given-names: Stephan fax: +12-3456-7890
- type: Nonempty
string - required:
false - description: The person's given names.
- usage:
authors: - family-names: Druskat given-names: Stephan
- type: Nonempty
string - required:
false - description: The person's name particle, e.g., a nobiliary particle or a [preposition] meaning 'of' or 'from' (for example 'von' in 'Alexander von Humboldt').
- usage:
authors: - family-names: Humboldt given-names: Alexander name-particle: von
- type: Nonempty
string - required:
false - description: The person's name suffix, e.g. 'Jr.' for Sammy Davis Jr. or 'III' for Frank Edwin Wright III.
- usage:
authors: - family-names: Davis given-names: Sammy name-suffix: Jr.
- type:
definitions.orcid - required:
false - description: The person's ORCID identifier.
- usage:
authors: - family-names: Druskat given-names: Stephan orcid: "https://orcid.org/1234-5678-9101-1121"
- type:
definitions.post-code - required:
false - description: The person's post code.
- usage:
authors: - family-names: Druskat given-names: Stephan post-code: 90210
authors: - family-names: Druskat given-names: Stephan post-code: "90210"
- type:
definitions.region - required:
false - description: The person's region.
- usage:
authors: - family-names: Druskat given-names: Stephan region: Renfrewshire
- type:
definitions.tel - required:
false - description: The person's telephone number.
- usage:
authors: - family-names: Druskat given-names: Stephan tel: +12-345-6789098
- type:
definitions.url - required:
false - description: The person's website.
- usage:
authors: - family-names: Druskat given-names: Stephan website: "https://research-project.org"
- type:
stringornumber - required: N/A
- description: A post code.
- usage:
authors: - name: "The Research Software Project" post-code: "G42 2PN"
authors: - name: "The Research Software Project" post-code: 12053
- type:
objectwith the following keys:abbreviationabstractauthorscollection-doicollection-titlecollection-typecommitconferencecontactcopyrightdata-typedatabase-providerdatabasedate-accesseddate-downloadeddate-publisheddate-releaseddepartmentdoieditioneditorseditors-seriesendentryfilenameformatidentifiersinstitutionisbnissnissueissue-dateissue-titlejournalkeywordslanguageslicenselicense-urlloc-endloc-startlocationmediummonthnihmsidnotesnumbernumber-volumespagespatent-statespmcidpublisherrecipientsrepositoryrepository-artifactrepository-codescopesectionsendersstartstatustermthesis-typetitletranslatorstypeurlversionvolumevolume-titleyearyear-original
- required: N/A
- description: A reference.
- usage:
references: - authors: - family-names: Smith given-names: "A. M." - family-names: Katz given-names: "D. S." - family-names: Niemeyer given-names: "K. E." - name: "FORCE11 Software Citation Working Group" doi: 10.7717/peerj-cs.86 journal: "PeerJ Computer Science" month: 9 start: e86 title: "Software citation principles" type: article volume: 2 year: 2016
references: - abbreviation: NP abstract: "This is a non-sensical example reference to show how the many different keys in a reference object can be used." authors: - name: "The Research Software Project" collection-doi: 10.5281/zenodo.1003149 collection-title: "Proceedings of the Research Conference 2021" collection-type: proceedings commit: 16192bf05e99bcb35d5c3e085047807b5720fafc conference: name: "Research Conference 2021" contact: - name: "The RC21 Organizing Committee" copyright: "© 2021 The Research Software Project team" data-type: YAML database: "Research Database" database-provider: name: "Research Databases Ltd." date-accessed: "2021-07-27" date-downloaded: "2021-07-27" date-published: "2021-07-26" date-released: "2021-07-26" department: "Department of Hard Science Fiction" doi: 10.5281/zenodo.4813122 edition: "2nd abridged edition" editors: - family-names: Inchief given-names: Editor - name: "The RCProc Editorial Team" editors-series: - family-names: Editor given-names: Series - name: "The Series Editors" end: 42 entry: "Citation <n. 1>" filename: CITATION.cff format: "Citation File Format" identifiers: - description: "The concept DOI of the work." type: doi value: 10.5281/zenodo.1003149 - description: "The versioned DOI for version 1.1.0 of the work." type: doi value: 10.5281/zenodo.4813122 - description: "The Software Heritage identifier for version 1.1.0 of the work." type: swh value: "swh:1:dir:bc286860f423ea7ced246ba7458eef4b4541cf2d" - description: "The GitHub release URL of tag 1.1.0." type: url value: "https://github.com/citation-file-format/citation-file-format/releases/tag/1.1.0" institution: name: "University of Arcadia" isbn: "9781603095075" issn: 2475-9066 issue: 42 issue-date: "November/December 2021" issue-title: "Special Issue: Software Citation" journal: "Journal of Open Source Software" keywords: - "software citation" - "citation file format" - research languages: - en - haw license: Apache-2.0 license-url: "https://obscure-licenses.com?id=1234" loc-end: 42 loc-start: 21 location: name: "Library of the Unseen University" medium: "5¼-inch floppy disk" month: 7 nihmsid: NIHMS236863 notes: "Excellent reference! TODO Read for thesis." number: 12053 number-volumes: 7 pages: 78 patent-states: - Canada pmcid: PMC3134971 publisher: name: "Open Access Publishing House" recipients: - name: "Recipient entity of personal communication" - family-names: Recipient given-names: Communication repository: "https://ascl.net/2105.013" repository-artifact: "https://search.maven.org/artifact/org.corpus-tools/cff-maven-plugin/0.4.0/maven-plugin" repository-code: "https://github.com/citation-file-format/my-research-software" scope: "Supplement 2: Additional material" section: 7 senders: - name: "Sender entity of personal communication" - family-names: Sender given-names: Communication start: 17 status: submitted term: Citation thesis-type: "PhD thesis" title: "Towards better software citation" translators: - name: "Research Translators Ltd." - family-names: Lator given-names: Trans type: conference-paper url: "https://citation-file-format.github.io/" version: 0.3.12 volume: 2 volume-title: "Volume II: How it went on" year: 2021 year-original: 1978
- type: Nonempty
string - required:
false - description: The abbreviation of a work.
- usage:
preferred-citation: abbreviation: ABC type: generic
references: - abbreviation: DEF type: generic
- type: Nonempty
string - required:
false - description: The abstract of the work.
- If the work is a journal paper or other academic work: The abstract of the work.
- If the work is a film, broadcast or similar: The synopsis of the work.
- usage:
preferred-citation: abstract: "This work describes the software or dataset that should be actually cited. etc." type: generic
references: - abstract: "This work implements an algorithm that we use in our software. etc." type: generic
- type: Array of
definitions.personand/ordefinitions.entityobjects. - required:
true - description: The authors of the work.
- usage:
preferred-citation: authors: - name: "The Research Software Project team" - family-names: Druskat given-names: Stephan type: generic
references: - authors: - name: "The Research Software Project team" - family-names: Druskat given-names: Stephan type: generic
To enable credit for the individuals that have created a work,
it is good practice to cite the respective individuals as authors.
Sometimes you may not be able to determine the person names of the relevant individuals to create
definitions.person objects for them,
for example when a software you cite does not provide a CITATION.cff file.
Then, the next best thing is to refer to those that you could not determine person names for
collectively as a "team" or "project" using the title of the work
in a definitions.entity object:
authors:
- name: "The Research Software project"authors:
- family-names: Spaaks
given-names: "Jurriaan H."
- family-names: Druskat
given-names: Stephan
- name: "The Research Software team"This still represents the maximum knowledge you have about the authors.
It's also a good starting point to enable users of the citation metadata to determine the correct names themselves in the future,
especially if you also provide a source of information such as a repository-code or a url.
If the authors of a work are truly anonymous, you can represent this in the same way:
authors:
- name: anonymous- type:
definitions.doi - required:
false - description: The DOI of a collection containing the work.
- usage:
preferred-citation: collection-doi: 10.5281/zenodo.1003149 type: generic
references: - collection-doi: 10.5281/zenodo.1003149 type: generic
- type: Nonempty
string - required:
false - description: The title of a collection or proceedings.
- usage:
preferred-citation: collection-title: "Proceedings of the Research Conference 2021" type: generic
references: - collection-title: "Proceedings of the Research Conference 2021" type: generic
- type: Nonempty
string - required:
false - description: The type of a collection.
- usage:
preferred-citation: collection-type: proceedings type: generic
references: - collection-type: proceedings type: generic
- type:
definitions.commit - required:
false - description: The (e.g., Git) commit hash or (e.g., Subversion) revision number of the work.
- usage:
preferred-citation: commit: "16192bf05e99bcb35d5c3e085047807b5720fafc" type: generic
references: - commit: "16192bf05e99bcb35d5c3e085047807b5720fafc" type: generic
- type:
definitions.entity - required:
false - description: The conference where the work was presented.
- usage:
preferred-citation: conference: name: "Research Conference 2021" type: generic
references: - conference: name: "Research Conference 2021" type: generic
- type: Array of
definitions.personand/ordefinitions.entityobjects. - required:
false - description: The contact person, group, company, etc. for a work.
- usage:
references: - contact: - name: "The RC21 Organizing Committee" - family-names: Druskat given-names: Stephan type: generic
preferred-citation: contact: - name: "The RC21 Organizing Committee" - family-names: Druskat given-names: Stephan type: generic
- type: Nonempty
string - required:
false - description: The copyright information pertaining to the work.
- usage:
preferred-citation: copyright: "© 2021 The Research Software Project team" type: generic
references: - copyright: "© 2021 The Research Software Project team" type: generic
- type: Nonempty
string - required:
false - description: The data type of a data set.
- usage:
preferred-citation: data-type: YAML type: generic
references: - data-type: YAML type: generic
- type:
definitions.entity - required:
false - description: The provider of the database where a work was accessed/is stored.
- usage:
preferred-citation: database-provider: name: "Research Databases Ltd." type: generic
references: - database-provider: name: "Research Databases Ltd." type: generic
- type: Nonempty
string - required:
false - description: The name of the database where a work was accessed/is stored.
- usage:
preferred-citation: database: "Research Database" type: generic
references: - database: "Research Database" type: generic
- type:
definitions.date - required:
false - description: The date the work was accessed.
- usage:
preferred-citation: date-accessed: "2021-07-27" type: generic
references: - date-accessed: "2021-07-27" type: generic
- type:
definitions.date - required:
false - description: The date the work has been downloaded.
- usage:
preferred-citation: date-downloaded: "2021-07-27" type: generic
references: - date-downloaded: "2021-07-27" type: generic
- type:
definitions.date - required:
false - description: The date the work has been published.
- usage:
references: - date-published: "2021-07-27" type: generic
preferred-citation: date-published: "2021-07-27" type: generic
- type:
definitions.date - required:
false - description: The date the work has been released.
- usage:
preferred-citation: date-released: "2021-07-27" type: generic
references: - date-released: "2021-07-27" type: generic
- type: Nonempty
string - required:
false - description: The department where a work has been produced.
- usage:
preferred-citation: department: "Department of Hard Science Fiction" type: generic
references: - department: "Department of Hard Science Fiction" type: generic
- type:
definitions.doi - required:
false - description: The DOI of the work.
- usage:
preferred-citation: doi: 10.5281/zenodo.4813122 type: generic
references: - doi: 10.5281/zenodo.4813122 type: generic
- type: Nonempty
string - required:
false - description: The edition of the work.
- usage:
preferred-citation: edition: "2nd abridged edition" type: generic
references: - edition: "2nd abridged edition" type: generic
- type: Array of
definitions.personand/ordefinitions.entityobjects. - required:
false - description: The editor(s) of a work.
- usage:
preferred-citation: editors: - family-names: Inchief given-names: Editor - name: "The RCProc Editorial Team" type: generic
references: - editors: - family-names: Inchief given-names: Editor - name: "The RCProc Editorial Team" type: generic
- type: Array of
definitions.personand/ordefinitions.entityobjects. - required:
false - description: The editor(s) of a series in which a work has been published.
- usage:
preferred-citation: editors-series: - family-names: Editor given-names: Series - name: "The Series Editors" type: generic
references: - editors-series: - family-names: Editor given-names: Series - name: "The Series Editors" type: generic
- type: Nonempty
stringorinteger - required:
false - description: The end page of the work.
- usage:
preferred-citation: end: "42" type: generic
preferred-citation: end: 42 type: generic
references: - end: "42" type: generic
references: - end: 42 type: generic
- type: Nonempty
string - required:
false - description: An entry in the collection that constitutes the work.
- usage:
preferred-citation: entry: "Citation <n. 1>" type: generic
references: - entry: "Citation <n. 1>" type: generic
- type: Nonempty
string - required:
false - description: The name of the electronic file containing the work.
- usage:
preferred-citation: filename: CITATION.cff type: generic
references: - filename: CITATION.cff type: generic
- type: Nonempty
string - required:
false - description: The format in which a work is represented.
- usage:
preferred-citation: format: "Citation File Format" type: generic
references: - format: "Citation File Format" type: generic
- type: Array of
definitions.identifierobjects. - required:
false - description: The identifier(s) of the work.
- usage:
preferred-citation: identifiers: - description: "The concept DOI of the work." type: doi value: 10.5281/zenodo.1003149 - description: "The versioned DOI for version 1.1.0 of the work." type: doi value: 10.5281/zenodo.4813122 - description: "The Software Heritage identifier for version 1.1.0 of the work." type: swh value: "swh:1:dir:bc286860f423ea7ced246ba7458eef4b4541cf2d" - description: "The GitHub release URL of tag 1.1.0." type: url value: "https://github.com/citation-file-format/citation-file-format/releases/tag/1.1.0" type: generic
references: - identifiers: - description: "The concept DOI of the work." type: doi value: 10.5281/zenodo.1003149 - description: "The versioned DOI for version 1.1.0 of the work." type: doi value: 10.5281/zenodo.4813122 - description: "The Software Heritage identifier for version 1.1.0 of the work." type: swh value: "swh:1:dir:bc286860f423ea7ced246ba7458eef4b4541cf2d" - description: "The GitHub release URL of tag 1.1.0." type: url value: "https://github.com/citation-file-format/citation-file-format/releases/tag/1.1.0" type: generic
- type:
definitions.entity - required:
false - description: The institution where a work has been produced or published.
- usage:
preferred-citation: institution: name: "University of Arcadia" type: generic
references: - institution: name: "University of Arcadia" type: generic
- type:
stringwith pattern^[0-9\- ]{10,17}X?$ - required:
false - description: The ISBN of the work.
- usage:
preferred-citation: isbn: "9781603095075" type: generic
references: - isbn: "9781603095075" type: generic
- type:
stringwith pattern^\d{4}-\d{3}[\dxX]$ - required:
false - description: The ISSN of the work.
- usage:
preferred-citation: issn: "2475-9066" type: generic
references: - issn: "2475-9066" type: generic
- type: Nonempty
stringornumber - required:
false - description: The issue of a periodical in which a work appeared.
- usage:
preferred-citation: issue: "42" type: generic
references: - issue: "42" type: generic
preferred-citation: issue: 42 type: generic
references: - issue: 42 type: generic
- type: Nonempty
string - required:
false - description: The publication date of the issue of a periodical in which a work appeared.
- usage:
preferred-citation: issue-date: "November/December 2021" type: generic
references: - issue-date: "November/December 2021" type: generic
preferred-citation: issue-date: "2021-12-31" type: generic
references: - issue-date: "2021-12-31" type: generic
- type: Nonempty
string - required:
false - description: The name of the issue of a periodical in which the work appeared.
- usage:
preferred-citation: issue-title: "Special Issue: Software Citation" type: generic
references: - issue-title: "Special Issue: Software Citation" type: generic
- type: Nonempty
string - required:
false - description: The name of the journal/magazine/newspaper/periodical where the work was published.
- usage:
preferred-citation: journal: "Journal of Open Source Software" type: generic
references: - journal: "Journal of Open Source Software" type: generic
- type: Array of nonempty
string - required:
false - description: Keywords pertaining to the work.
- usage:
preferred-citation: keywords: - "software citation" - "citation file format" - research type: generic
references: - keywords: - "software citation" - "citation file format" - research type: generic
- type: Array of ISO 639
stringwith 2 or 3 characters and pattern^[a-z]{2,3}$ - required:
false - description: The language identifier(s) of the work according to ISO 639 language strings.
- usage:
preferred-citation: languages: - en - haw type: generic
references: - languages: - en - haw type: generic
- type: (Array of)
definitions.license-enum. - required:
false - description: The SPDX license identifier(s) for the license(s) under which the work is made available. When there are multiple licenses, it is assumed their relationship is OR, not AND.
- usage:
preferred-citation: license: Apache-2.0 type: generic
references: - license: Apache-2.0 type: generic
preferred-citation: license: - Apache-2.0 - MIT type: generic
references: - license: - Apache-2.0 - MIT type: generic
- type:
definitions.url - required:
false - description: The URL of the license text under which the work is licensed (only for non-standard licenses not included in the SPDX License List).
- usage:
preferred-citation: license-url: "https://obscure-licenses.com?id=1234" type: generic
references: - license-url: "https://obscure-licenses.com?id=1234" type: generic
- type: Nonempty
stringorinteger - required:
false - description: The line of code in the file where the work ends.
- usage:
preferred-citation: loc-end: "42" type: generic
preferred-citation: loc-end: 42 type: generic
references: - loc-end: "42" type: generic
references: - loc-end: 42 type: generic
- type: Nonempty
stringorinteger - required:
false - description: The line of code in the file where the work starts.
- usage:
preferred-citation: loc-start: "21" type: generic
preferred-citation: loc-start: 21 type: generic
references: - loc-start: "21" type: generic
references: - loc-start: 21 type: generic
- type:
definitions.entity - required:
false - description: The location of the work.
- usage:
preferred-citation: location: name: "Library of the Unseen University" type: generic
references: - location: name: "Library of the Unseen University" type: generic
- type: Nonempty
string - required:
false - description: The medium of the work.
- usage:
preferred-citation: medium: "5¼-inch floppy disk" type: generic
references: - medium: "5¼-inch floppy disk" type: generic
- type:
integerin range1-12orenumwith values:123456789101112
- required:
false - description: The month in which a work has been published.
- usage:
preferred-citation: month: 7 type: generic
preferred-citation: month: "7" type: generic
references: - month: 7 type: generic
references: - month: "7" type: generic
- type: Nonempty
string - required:
false - description: The NIHMSID of a work.
- usage:
preferred-citation: nihmsid: NIHMS236863 type: generic
references: - nihmsid: NIHMS236863 type: generic
- type: Nonempty
string - required:
false - description: Notes pertaining to the work. Note that this key should contain notes that may be picked up by some downstream tooling (e.g., reference managers), but not others (e.g., a software index).
- usage:
preferred-citation: notes: "Excellent reference! TODO Read for thesis." type: generic
references: - notes: "Excellent reference! TODO Read for thesis." type: generic
- type:
stringornumber - required:
false - description: The (library) accession number for a work.
- usage:
preferred-citation: number: "005.1-ABC" type: generic
references: - number: "005.1-ABC" type: generic
preferred-citation: number: 1234567 type: generic
references: - number: 1234567 type: generic
preferred-citation: number: 1.4 type: generic
references: - number: 1.4 type: generic
- type: Nonempty
stringorinteger - required:
false - description: The number of volumes making up the collection in which the work has been published.
- usage:
preferred-citation: number-volumes: "4" type: generic
preferred-citation: number-volumes: 4 type: generic
references: - number-volumes: "4" type: generic
references: - number-volumes: 4 type: generic
- type: Nonempty
stringorinteger - required:
false - description: The number of pages of the work.
- usage:
preferred-citation: pages: "123" type: generic
preferred-citation: pages: 123 type: generic
references: - pages: "123" type: generic
references: - pages: 123 type: generic
- type: Array of nonemtpy
string - required:
false - description: The states for which a patent is granted.
- usage:
preferred-citation: patent-states: - Canada - IL type: generic
references: - patent-states: - Canada - IL type: generic
- type:
stringwith pattern^PMC[0-9]{7}$ - required:
false - description: The PMCID of a work.
- usage:
preferred-citation: pmcid: PMC3134971 type: generic
references: - pmcid: PMC3134971 type: generic
- type:
definitions.entity - required:
false - description: The publisher who has published the work.
- usage:
preferred-citation: publisher: name: "Open Access Publishing House" type: generic
references: - publisher: name: "Open Access Publishing House" type: generic
- type: Array of
definitions.personand/ordefinitions.entityobjects. - required:
false - description: The recipient(s) of a personal communication.
- usage:
preferred-citation: recipients: - name: "Recipient entity of personal communication" - family-names: Recipient given-names: Communication type: generic
references: - recipients: - name: "Recipient entity of personal communication" - family-names: Recipient given-names: Communication type: generic
- type:
definitions.url - required:
false - description: The URL of the work in a repository/archive (when the repository is neither a source code repository nor a build artifact repository).
- usage:
preferred-citation: repository: "https://ascl.net/2105.013" type: generic
references: - repository: "https://ascl.net/2105.013" type: generic
- type:
definitions.url - required:
false - description: The URL of the work in a build artifact/binary repository.
- usage:
preferred-citation: repository-artifact: "https://search.maven.org/artifact/org.corpus-tools/cff-maven-plugin/0.4.0/maven-plugin" type: generic
references: - repository-artifact: "https://search.maven.org/artifact/org.corpus-tools/cff-maven-plugin/0.4.0/maven-plugin" type: generic
- type:
definitions.url - required:
false - description: The URL of the work in a source code repository.
- usage:
preferred-citation: repository-code: "https://github.com/citation-file-format/my-research-software" type: generic
references: - repository-code: "https://github.com/citation-file-format/my-research-software" type: generic
- type: Nonempty
string - required:
false - description: The scope of the reference, e.g., the section of the work it adheres to.
- usage:
preferred-citation: scope: "Supplement 2: Additional material" type: generic
references: - scope: "Supplement 2: Additional material" type: generic
- type:
stringornumber - required:
false - description: The section of a work that is referenced.
- usage:
preferred-citation: section: "Section 7: Software citation" type: generic
references: - section: "Section 7: Software citation" type: generic
preferred-citation: section: 7 type: generic
references: - section: 7 type: generic
preferred-citation: section: 7.1 type: generic
references: - section: 7.1 type: generic
- type: Array of
definitions.personand/ordefinitions.entityobjects. - required:
false - description: The sender(s) of a personal communication.
- usage:
preferred-citation: senders: - name: "Sender entity of personal communication" - family-names: Sender given-names: Communication type: generic
references: - senders: - name: "Sender entity of personal communication" - family-names: Sender given-names: Communication type: generic
- type: Nonempty
stringorinteger - required:
false - description: The start page of the work.
- usage:
preferred-citation: start: "42" type: generic
preferred-citation: start: 42 type: generic
references: - start: "42" type: generic
references: - start: 42 type: generic
- type:
enumwith values:abstractadvance-onlinein-preparationin-presspreprintsubmitted
- required:
false - description: The publication status of the work.
- usage:
preferred-citation: status: submitted type: generic
references: - status: submitted type: generic
- type: Nonempty
string - required:
false - description: The term being referenced if the work is a dictionary or encyclopedia.
- usage:
preferred-citation: term: Citation type: generic
references: - term: Citation type: generic
- type: Nonempty
string - required:
false - description: The type of the thesis that is the work.
- usage:
preferred-citation: thesis-type: "PhD thesis" type: generic
references: - thesis-type: "PhD thesis" type: generic
- type: Nonempty
string - required:
true - description: The title of the work.
- usage:
preferred-citation: title: "Towards better software citation" type: generic
references: - title: "Towards better software citation" type: generic
- type: Array of
definitions.personand/ordefinitions.entityobjects. - required:
false - description: The translator(s) of a work.
- usage:
preferred-citation: translators: - name: "Research Translators Ltd." - family-names: Lator given-names: Trans type: generic
references: - translators: - name: "Research Translators Ltd." - family-names: Lator given-names: Trans type: generic
- type:
enumwith values:artarticleaudiovisualbillblogbookcatalogueconference-paperconferencedatadatabasedictionaryedited-workencyclopediafilm-broadcastgenericgovernment-documentgranthearinghistorical-worklegal-caselegal-rulemagazine-articlemanualmapmultimediamusicnewspaper-articlepamphletpatentpersonal-communicationproceedingsreportserialslidessoftware-codesoftware-containersoftware-executablesoftware-virtual-machinesoftwaresound-recordingstandardstatutethesisunpublishedvideowebsite
- required:
true - description: The type of the work.
- usage:
preferred-citation: type: generic
references: - type: generic
- type:
definitions.url - required:
false - description: The URL of the work.
- usage:
preferred-citation: type: generic url: "https://citation-file-format.github.io/"
references: - type: generic url: "https://citation-file-format.github.io/"
- type:
definitions.version - required:
false - description: The version of the work.
- usage:
preferred-citation: type: generic version: 0.3.12
references: - type: generic version: 0.3.12
- type: Nonempty
stringorinteger - required:
false - description: The volume of the periodical in which a work appeared.
- usage:
preferred-citation: type: generic volume: "5"
preferred-citation: type: generic volume: 5
references: - type: generic volume: "5"
references: - type: generic volume: 5
- type: Nonempty
string - required:
false - description: The title of the volume in which the work appeared.
- usage:
preferred-citation: type: generic volume-title: "Volume II: How it went on"
references: - type: generic volume-title: "Volume II: How it went on"
- type: Nonempty
stringorinteger - required:
false - description: The year in which a work has been published.
- usage:
preferred-citation: type: generic year: "2021"
preferred-citation: type: generic year: 2021
references: - type: generic year: "2021"
references: - type: generic year: 2021
- type: Nonempty
stringorinteger - required:
false - description: The year of the original publication.
- usage:
preferred-citation: type: generic year-original: "1978"
preferred-citation: type: generic year-original: 1978
references: - type: generic year-original: "1978"
references: - type: generic year-original: 1978
- type: Nonempty
string - required: N/A
- description: A region.
- usage:
authors: - name: "The Research Software Project" region: Renfrewshire
- type:
stringwith pattern^swh:1:(snp|rel|rev|dir|cnt):[0-9a-fA-F]{40}$ - required: N/A
- description: The Software Heritage identifier (without further qualifiers such as origin, visit, anchor, path). Note: Software Heritage identifiers are documented here: https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html.
- usage:
identifiers: - type: swh value: "swh:1:rev:309cf2674ee7a0749978cf8265ab91a60aea0f7d"
- type: Nonempty
string - required: N/A
- description: A telephone number.
- usage:
authors: - family-names: Druskat given-names: Stephan tel: +12-345-6789098
authors: - name: "The Research Software Project" tel: +12-345-6789098
- type: Nonempty
string - required: N/A
- description: A URL. Supported URLs start with one of:
https://http://ftp://sftp://
- usage
url: "https://citation-file-format.github.io/"
authors: - name: "The Research Software Project" website: "https://research-software-project.org"
references: - type: generic url: "sftp://files.research-software-project.org"
- type: Nonempty
stringornumber - required: N/A
- description: The version of a work.
- usage:
version: "1.2.0"
version: 1.2
version: "21.10 (Impish Indri)"