Skip to content

Explore changes to Data Package Schema Mapping in GBIF IPT #3119

Description

@mike-podolskiy90

The IPT's handling of Data Package schema mapping (e.g. for DwC-DP) needs improvements to support versioning, migration, and clearer feedback when mappings break due to schema changes.

Ideas/Suggestions:

  1. Add version to DataPackageMapping
    Track the schema version used in a mapping. This is foundational and should resolve several downstream issues.
  2. Support multiple installed versions of the same schema
    Update admin view to accommodate multiple versions of a schema. Two options to consider:
  • Add an "Other installed schemas" section listing all non-latest versions
  • Add a remark/note on the schema block element, e.g. "Other versions of this schema are installed, see..."
  1. Schema discovery/installation tool in admin
    Add a tool to browse schemas available on rs.gbif.org and install them directly from the admin view.
  2. Migration tool in manage view
    Allow migrating an existing resource and its mappings from one schema version to a newer one.
  • Show a warning icon on mapping items when something is broken as a result of migration
  • On the mapping page, display exactly what broke, with an option to fix it or discard the warning
  1. Version pill in manage/overview
    Show a pill next to DwC-DP (and other data package schemas) in the manage/overview view indicating the installed version.

Note: I'll add some mockups to visualize the ideas better.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions