file-transformer-raid-json is an implementation of the file-transformer-base
package designed to handle both the import and export of JSON files based on the Research Activity Identifier (RAiD) Metadata Schema. This microservice is built using Spring Boot and can be easily integrated with the OpenCDMP platform as an import/export option for RAiD-compliant JSON files.
It ensures that the data is structured and exchanged in a standardized JSON format that complies with the RAiD recommendations.
- Exports: Supported for RAiD-compliant JSON format.
- Imports: Supported for RAiD-compliant JSON format.
- JSON Export: Export OpenCDMP plans and descriptions to RAiD-compliant JSON format.
- JSON Import: Import RAiD-compliant JSON files into OpenCDMP as plans and descriptions.
- Spring Boot Microservice: Built as a Spring Boot microservice for seamless integration with OpenCDMP.
- Standards-Based: Fully compliant with the Research Activity Identifier Metadata Standard.
This service implements the following endpoints as per FileTransformerController
:
- POST
/export/plan
: Export a plan to RAiD-compliant JSON. - POST
/export/description
: Export a description to RAiD-compliant JSON.
POST /export/plan
{
"planModel": { ... },
"format": "json"
}
POST /export/description
{
"descriptionModel": { ... },
"format": "json"
}
- POST
/import/plan
: Import a plan from RAiD-compliant JSON. - POST
/import/description
: Import a description from RAiD-compliant JSON.
POST /import/plan
{
"planImportModel": { ... }
}
POST /import/description
{
"descriptionImportModel": { ... }
}
- GET
/formats
: Returns supported formats for import/export.
To export a plan into RAiD-compliant JSON format:
POST /export/plan
{
"planModel": { ... },
"format": "json"
}
To import a plan from RAiD-compliant JSON format:
POST /import/plan
{
"planImportModel": { ... }
}
This repository is licensed under the EUPL 1.2 License.
For questions or support regarding this implementation, please contact:
- Email: opencdmp at cite.gr