nfdi4plants / arc-to-invenio

Automatic building of a Docker container for converting ARCs to Invenio Metadata
MIT License
1 stars 0 forks source link

Find or create Invenio Json Schema #7

Open kMutagene opened 1 year ago

kMutagene commented 1 year ago

Please link the resources you used to create the current state of this repo @HLWeil , i'd guess there are some kind of docs on the json they expect at least?

HLWeil commented 1 year ago

https://inveniordm.docs.cern.ch/reference/metadata/#overview Here you can find the documentation about the specification. I took this as basis for the current state of the converter and we got feedback from the guys implementing this that this first version was accepted by the Invenio API.

kMutagene commented 1 year ago

looks like this is the correct schema to validate against: https://github.com/inveniosoftware/invenio-rdm-records/blob/master/invenio_rdm_records/records/jsonschemas/records/record-v5.0.0.json

kMutagene commented 1 year ago

The json schemas there use a weird way of referencing local files, which are not valid according to json schema. i opened an issue here: https://github.com/inveniosoftware/invenio-rdm-records/issues/1288