Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

citation-file-format/schema

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
Repository will be archived soon!
⚠️ Please note that development of the CFF schema has been moved to
https://github.com/citation-file-format/citation-file-format.
This repository (schema) will be archived soon!

Citation File Format Schemas

This repository holds schemas for CFF in the format understood by pykwalifire, for the purpose of validating .cff files.

For general information about the CFF project, including how to contribute and other repositories, please see https://github.com/citation-file-format/citation-file-format/blob/master/README.md.

You can validate your CITATION.cff file against a schema by using the Python package pykwalifire:

pip install pykwalifire
pykwalifire -s schema.yaml -d CITATION.cff -y cff

Requirements

  • Python>=3.3
  • pykwalifire>=2.0.1

Testing

You can test whether the schema works with the provided example by running pytest.

Versioning

The versioning scheme for cff-schema is based on CFF specs versions, with changes in the schema that don't follow changes in the specifications suffixed by -n where n is a consecutive number. E.g., cff-schema version 1.0.2-2 would be the second bugfix version after the cff-schema release version that applies to CFF specifications version 1.0.2.

Issues