citation-file-format / cffconvert

Command line program to validate and convert CITATION.cff files.
Apache License 2.0
100 stars 28 forks source link

schemaorg and codemeta shouldnt generate a CreativeWork #303

Closed jspaaks closed 1 year ago

jspaaks commented 1 year ago

Schemaorg and codemeta converters can currently generate data for a CreativeWork, but this should not be possible, since the type from CFF 1.2 has a default value of software. Meaning if you find a CFF 1.2 CITATION.cff that doesnt specify its type, it should be treated as a software.

I think this is a symptom of a larger issue, namely that of generating internally inconsistent files, e.g. when repository-code is converted to Schema.org's codeRepository which is actually not a valid property when @type is a Dataset.

jspaaks commented 1 year ago

Done, closing