Skip to content

Validation fails on a preferred-citation object #22

@logological

Description

@logological

I'm using a GitHub Action with cff-validator@v4 to validate this CITATION.cff file using version 1.2.0 of the schema. This always fails with the following error:

field message
cff["preferred-citation"] referenced schema does not match

However, I can't spot any problem with the file, and another CFF validator, cffconvert, thinks the file is valid:

$ cffconvert --validate -i CITATION.cff 
Citation metadata are valid according to schema version 1.2.0.

I've tried removing or changing certain lines I think cff-validator might be choking on and rerunning cff-validator, but I wasn't able to isolate the problem. (The Action takes a long time to run and I couldn't figure out how to run the tool locally.) Is it possible there's a bug in cff-validator's processing of preferred-citation objects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions