vu-rdm-tech / yoda-pilot

A place to track issues we run into in the Yoda pilots
0 stars 0 forks source link

Implement UU geo-science metadata schemes #7

Closed peer35 closed 2 years ago

peer35 commented 4 years ago

Available in Yoda 1.6

See: https://github.com/UtrechtUniversity/irods-ruleset-uu/tree/development/schemas/teclab-0 https://github.com/UtrechtUniversity/irods-ruleset-uu/tree/development/schemas/hptlab-0

Note Yoda uses: https://github.com/rjsf-team/react-jsonschema-form So we could start developing schemas in advance.

peer35 commented 3 years ago

See https://utrechtuniversity.github.io/yoda/administration/installing-metadata-schemas.html

For now install the techlab schema to a new category schematest

Gain access to the schema directory, as a rodsadmin user:

ichmod -M own <user> /tempZone/yoda/schemas/

Create a collection with the same name as the category

icd /tempZone/yoda/schemas
imkdir schematest

Now copy the teclab metadata files to the new dir

iget -r teclab-0
cd teclab-0/
icd /tempZone/yoda/schemas/schematest
iput metadata.json
iput uischema.json

Create a new group in a new category schematest. The new group now has the teclab metadata schema. https://portal.yoda.vu.nl/research/metadata/form?path=%2Fresearch-schema-test

peer35 commented 2 years ago

Done for now