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:
- Add version to DataPackageMapping
Track the schema version used in a mapping. This is foundational and should resolve several downstream issues.
- 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..."
- 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.
- 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
- 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.
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:
Track the schema version used in a mapping. This is foundational and should resolve several downstream issues.
Update admin view to accommodate multiple versions of a schema. Two options to consider:
Add a tool to browse schemas available on rs.gbif.org and install them directly from the admin view.
Allow migrating an existing resource and its mappings from one schema version to a newer one.
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.