Skip to main content
Version: 2.x (upcoming)

File transformer services

These are the settings of the shipped file transformer services. Every transformer also reads the settings common to all plugin services: IDP_ISSUER_URI, IDP_CLAIMS_ROLES_PATH, and SECURITY_AUDIENCE for authentication, PROFILE, the logging settings, and STORAGE_PATH. To make a transformer available, register it in the API service; see Registering plugin services.

DOCX file transformer​

Exports plans and assets as Word documents and, through the PDF service, as PDF. Image opencdmp/file-transformer-docx on Docker Hub, plugin id docx-file-transformer.

Templates​

Env VariableDescriptionRequiredDefault ValueExample
WORD_FILE_TRANSFORMER_WORD_PLAN_TEMPLATEBuilt-in Word template for plans. Organisations can upload their own; see Managing templates.Noclasspath:documents/plan.docxfile:/config/plan.docx
WORD_FILE_TRANSFORMER_WORD_DESCRIPTION_TEMPLATEBuilt-in Word template for assets.Noclasspath:documents/description.docxfile:/config/description.docx
WORD_FILE_TRANSFORMER_PID_LINKSJSON file that maps persistent identifier types (DOI, Handle, arXiv, and others) to the links written for them, such as https://doi.org/{pid}. A value without a prefix is read from the transformer's own files.Noclasspath:pidLinks.jsonfile:/config/pidLinks.json

PDF conversion​

Env VariableDescriptionRequiredDefault ValueExample
PDF_CONVERTER_URLAddress of the Gotenberg PDF service that converts the Word output to PDF.Yes-http://opencdmp.pdf-service:3000
PDF_CONVERTER_PDFA_FORMATWhen set, the PDF conversion produces archival PDF/A output in the given format. Supported values depend on the Gotenberg LibreOffice route: PDF/A-1b, PDF/A-2b, PDF/A-3b.No-PDF/A-2b
PDF_CONVERTER_PDFUAWhen true, the PDF conversion produces PDF/UA (accessibility) compliant output.Nofalsetrue

Plugin settings​

Env VariableDescriptionRequiredDefault ValueExample
WORD_FILE_TRANSFORMER_USE_SHARED_STORAGEExchange files with the API service through a shared folder; see Shared storage.Nofalsetrue
WORD_FILE_TRANSFORMER_ORGANIZATIONS_CODECode of the reference type of organisations.Noorganisationsorganisations
WORD_FILE_TRANSFORMER_GRANTS_CODECode of the reference type of grants.Nograntsgrants
WORD_FILE_TRANSFORMER_RESEARCHERS_CODECode of the reference type of researchers.Noresearchersresearchers
WORD_FILE_TRANSFORMER_LICENCES_CODECode of the reference type of licences.Nolicenseslicenses
WORD_FILE_TRANSFORMER_DATASETS_CODECode of the reference type of datasets.Nodatasetsdatasets
WORD_FILE_TRANSFORMER_PUBLICATIONS_CODECode of the reference type of publications.Nopublicationspublications

The *_CODE variables are described in Reference type codes.

RDA JSON file transformer​

Exports and imports plans in the RDA maDMP JSON format, which the deposit services and evaluators also use. Image opencdmp/file-transformer-rda-json on Docker Hub, plugin id rda-file-transformer. See the RDA JSON semantics reference.

Env VariableDescriptionRequiredDefault ValueExample
RDA_FILE_TRANSFORMER_USE_SHARED_STORAGEExchange files with the API service through a shared folder; see Shared storage.Nofalsetrue
RDA_FILE_TRANSFORMER_ORGANIZATIONS_CODECode of the reference type of organisations.Noorganisationsorganisations
RDA_FILE_TRANSFORMER_GRANTS_CODECode of the reference type of grants.Nograntsgrants
RDA_FILE_TRANSFORMER_FUNDERS_CODECode of the reference type of funders.Nofundersfunders
RDA_FILE_TRANSFORMER_RESEARCHERS_CODECode of the reference type of researchers.Noresearchersresearchers
RDA_FILE_TRANSFORMER_LICENCES_CODECode of the reference type of licences.Nolicenseslicenses
RDA_FILE_TRANSFORMER_PROJECTS_CODECode of the reference type of projects.Noprojectsprojects
RDA_FILE_TRANSFORMER_DATASETS_CODECode of the reference type of datasets.Nodatasetsdatasets
RDA_FILE_TRANSFORMER_PUBLICATIONS_CODECode of the reference type of publications.Nopublicationspublications

The grants, funders, projects, and researchers codes are also the defaults of settings that each organisation can change for the transformer.

RAiD JSON file transformer​

Exports and imports plans in the RAiD JSON format. Image opencdmp/file-transformer-raid-json on Docker Hub, plugin id raid-file-transformer. See the RAiD JSON semantics reference.

Env VariableDescriptionRequiredDefault ValueExample
RAID_FILE_TRANSFORMER_USE_SHARED_STORAGEExchange files with the API service through a shared folder; see Shared storage.Nofalsetrue

See also​