From 8c804701a0005f9bd23c2e351b8e2e2b05f2b61b Mon Sep 17 00:00:00 2001 From: Mazztok45 Date: Mon, 11 Nov 2024 11:20:16 +0100 Subject: [PATCH] update createFormats.sh with openaire for software --- formats/createFormats.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/formats/createFormats.sh b/formats/createFormats.sh index 9d7fe15..fb7eec2 100755 --- a/formats/createFormats.sh +++ b/formats/createFormats.sh @@ -17,6 +17,10 @@ curl --noproxy '*' -X POST -H 'Content-Type: application/json' -H "Authorizatio printf "\n\nCreate Format datacite_swmath\n\n" curl --noproxy '*' -X POST -H 'Content-Type: application/json' -H "Authorization: Basic $AUTH" -i 'https://oai-input.portal.mardi4nfdi.de/oai-backend/format' --data '{"metadataPrefix":"datacite_swmath","schemaLocation":"https://raw.githubusercontent.com/MaRDI4NFDI/python-zbMathRest2Oai/main/test/data/software/swmath2datacite_software_schema.xsd","schemaNamespace":"http://datacite.org/schema/kernel-4","identifierXpath":"/identifier"}' +printf "\n\nCreate Format openaire_swmath\n\n" +curl --noproxy '*' -X POST -H 'Content-Type: application/json' -H "Authorization: Basic $AUTH" -i 'https://oai-input.portal.mardi4nfdi.de/oai-backend/format' --data '{"metadataPrefix":"openaire_swmath","schemaLocation":"https://raw.githubusercontent.com/MaRDI4NFDI/python-zbMathRest2Oai/main/test/data/software/OpenAire-software-reference.xsd","schemaNamespace":"http://datacite.org/schema/kernel-4","identifierXpath":"/identifier"}' + + printf "\n\nCreate Format oai_zb_preview\n\n" curl --noproxy '*' -X POST -H 'Content-Type: application/json' -H "Authorization: Basic $AUTH" -i 'https://oai-input.portal.mardi4nfdi.de/oai-backend/format' --data '{"metadataPrefix":"oai_zb_preview","schemaLocation":"https://zbmath.org/OAI/2.0/oai_zb_preview/","schemaNamespace":"https://zbmath.org/zbmath/elements/1.0/","identifierXpath":""}'