Skip to content
master
Switch branches/tags
Go to file
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

About

This repository holds validation schemas for CFF

Resources

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages