|
| 1 | +# 8. Schema mapping 0.6.1 from Mediaflux provisional projects |
| 2 | + |
| 3 | +Date: 2024-10-15 |
| 4 | + |
| 5 | +## Status |
| 6 | + In discussion |
| 7 | + |
| 8 | + |
| 9 | +## Context |
| 10 | + |
| 11 | + - There are provisional projects that exist in Mediaflux that do not exist in the front end application. We will create a report of information from Mediaflux and then read that report in to create projects in the front end. |
| 12 | + |
| 13 | +## Decision |
| 14 | + |
| 15 | +- Schema Fields to Mediaflux asset data: |
| 16 | + - project_directory => asset/meta/tigerdata:project/ProjectDirectory (note this could also be asset/path) |
| 17 | + - title => asset/meta/tigerdata:project/Title |
| 18 | + - status => "active" |
| 19 | + - data_sponsor => asset/meta/tigerdata:project/DataSponsor |
| 20 | + - data_manager => asset/meta/tigerdata:project/DataManager |
| 21 | + - data_users => asset/meta/tigerdata:project/DataUser [list] Assume all data users are read/write |
| 22 | + - departments => asset/meta/tigerdata:project/Department |
| 23 | + - created_on => asset/ctime |
| 24 | + - created_by => asset/creator |
| 25 | + - project_id => asset/meta/tigerdata:project/ProjectID |
| 26 | + - storage => asset/collection/quota/allocation |
| 27 | + - storage_performance => asset/collection/store (assume there will be a mapping between store and performance) |
| 28 | + - project_purpose => "Research" |
| 29 | + - requested_by => asset/meta/tigerdata:project/DataSponsor |
| 30 | + - requested_date => asset/ctime |
| 31 | + - approved_by => asset/creator |
| 32 | + - approved_date => asset/ctime |
| 33 | + - mediaflux_id => asset/id |
| 34 | + |
| 35 | +- Mediaflux fields: |
| 36 | + - asset/id |
| 37 | + - asset/path |
| 38 | + - asset/ctime |
| 39 | + - asset/creator |
| 40 | + - asset/collection/quota/allocation |
| 41 | + - asset/collection/store |
| 42 | + - asset/meta/tigerdata:project/ProjectDirectory |
| 43 | + - asset/meta/tigerdata:project/Title |
| 44 | + - asset/meta/tigerdata:project/DataSponsor |
| 45 | + - asset/meta/tigerdata:project/DataManager |
| 46 | + - asset/meta/tigerdata:project/DataUser |
| 47 | + - asset/meta/tigerdata:project/Department |
| 48 | + - asset/meta/tigerdata:project/ProjectID |
| 49 | + |
| 50 | +## Consequences |
| 51 | + |
| 52 | +- Provisional projects will have some metadata that is not entirely correct, but matches with mediaflux data |
| 53 | +- Projects in Mediaflux can be seen in the front end |
| 54 | + |
0 commit comments