Home

Citation File Format

Introduction

The Citation File Format (CFF) is a YAML-based format for providing citation metadata alongside software repositories and research outputs. It is commonly used via CITATION.cff files in GitHub repositories.

Usage

Use the .cff file extension, or the --from cff option, when importing from CFF e.g.

stencila convert CITATION.cff doc.smd
Info

CFF is currently supported for import (decoding) only.

Implementation

CFF decoding is implemented in the Rust crate codec-cff using serde_yaml. CFF entries are mapped primarily to CreativeWork and Person nodes in Stencila Schema.

Limitations

  • Export (encoding) to CFF is not supported.

  • CFF fields that do not have Stencila Schema equivalents (e.g. repository-artifact, license-url) are dropped during import.

  • Only CFF version 1.2.0 structure is supported.

© 2026 Stencila