https://github.com/vuillaut/ossr-metadata-tests
https://github.com/vuillaut/ossr-metadata-tests
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vuillaut/ossr-metadata-tests
- Owner: vuillaut
- License: mit
- Created: 2022-03-16T18:13:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-05T16:48:07.000Z (over 3 years ago)
- Last Synced: 2025-03-18T21:54:37.346Z (over 1 year ago)
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OSSR metadata converters
Testing repository for metadata schemas.
[](https://lucid.app/lucidchart/f1b4a51a-8766-4bc1-915d-bf562c51123b/edit?invitationId=inv_32ce79ce-1a84-4848-8a74-4e724d9aff19&page=0_0#)
## `CITATION.cff` integration with Zenodo
Zenodo recognize automatically the `CITATION.cff` file inside the repository and converts it through the GitHub-Zenodo integration.
Resulting release: https://sandbox.zenodo.org/record/1035887
# Conversions
## `CITATION.cff`...
### ...to CodeMeta
#### Through Zenodo
After publication to Zenodo, one can export again to JSON-LD:
https://sandbox.zenodo.org/record/1035887/export/schemaorg_jsonld#.YjM-vxBKhB0
However, this is following the `schema.org` context and not the CodeMeta one.
#### cffconvert
```
cffconvert -i CITATION.cff -f codemeta -o codemeta_cffconvert.json
```
This works but here as well, the output schema is actually `schema.org` - even though it states CodeMeta schema.
Opened issue: https://github.com/citation-file-format/cff-converter-python/issues/272
### ...to `.zenodo.json`
```
cffconvert -i CITATION.cff -f zenodo -o zenodo_cffconvert.json
```
Works.
## CodeMeta...
### ...to `CITATION.cff`
#### codemeta2cff
https://github.com/caltechlibrary/datatools
- does not work with a codemeta generated with the online tool
- does not work with the output of `cffconvert`
- works with the output of Zenodo
### ...to `.zenodo.json`
#### eOSSR
## JSON-LD schema.org...
### ?