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

Latest commit

 

History

History
43 lines (30 loc) · 1.83 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.83 KB
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