UAL-RE / ReBACH

Python-based tool to enable data preservation to a cloud-hosted storage solution
MIT License
2 stars 2 forks source link

Feature: Implement schema-based directory validation #59

Open zoidy opened 1 year ago

zoidy commented 1 year ago

Is there an existing issue for this?

Description

Currently, ReBACH verifies the structure of the UAL_RDM curation folder via hard-coded if statements. For improved flexibility, these checks should be done by validating against a schema.

Related: #57

Suggested Implementation

This could be implemented as a pre-processing script (the framework for which is already implemented). Sample validation schemas and code is available.