Skip to content

[FEATURE] Refactor and streamline metadata creation #1298

@nesnoj

Description

@nesnoj

Metadata creation should be streamlined and become more easy for users.
The current metadata files are located here.

Requirements:

  • Automatic creation of one metadata.json for each DB table we want to publish, naming: db_schema.db_table.json
  • Easy-to-fill-out template (e.g. yml) for users with examples on non-inferred/non-autofill fields
  • Auto-validation of metadata via OMI
  • Templates for common content such as licenses, context, ... (most are already there)
  • OEMetadata v2 conformant Update to OEMetadata Standard v2 #1177
  • Updated how-to for users in readme

Open questions:

  • Where/how is defined which DB tables are to be published (and hence need metadata)? Central list?
  • Do we want a metadata.json for each dataset (in the pipeline class sense)?
  • Do we want a metadata.json for all results?

Depends on:

Further work/notes:

  • Remove legacy code and other auto-created metadata (example 1, example 2 , just search for "add_metadata")

Please amend @jh-RLI if needed, feel free to create sub-issues.

Sub-issues

Metadata

Metadata

Assignees

Labels

🚀 featureNew feature or feature request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions