-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sbJson 2.0 provenance #61
Comments
The createdBy and lastUpdatedBy roles are converted to ISO standard roles 'originator' and 'editor' in 'responsibleParty' respectively. The ScienceBase names for these roles are preserved in 'contact[n].contactType' providing an additional means of linking. |
I think the |
Well, then that was a big waste of time. I guess I need to stop thinking of sbJson as metadata about the resource - item. |
Sorry. The definition in the docs is confusing. It indicates that it is akin to lineage, but I've never seen it used that way. sbJSON is about the resource - some of it anyway. It's not super clear what's what from just looking at the raw JSON though. |
I guess we should try and get some clarification from Lei Ann. |
These are about the metadata more than the record. Capture the creationDate, updateDate, ignore other fields |
When writing sbJson createdBy will be written from [metadataInfo][metadataContact][party][n] when [roleName] = one of [ originator author resourceProvider coAuthor ] in that order and sbJson lastUpdatedBy will be written from [metadataInfo][metadataContact][party][n] when [roleName] = [ custodian ]. When reading sbJson createdBy and lastUpdatedBy will be ignored since there is not enough or even consistent information to create a contact. |
Mapping of sbJson provenance to mdTranslator internal data structure:
Definition...
Set to 'generated using ADIwg mdTranslator 2.0.0'
Map to metadata metadataInfo metadataDate:
[schema][metadata][metadataInfo][metadataDate][n].date
view mdTools
[schema][metadata][metadataInfo][metadataDate][n].dateType
view mdTools
lastUpdated: The date and time the item was last updated.
Map to metadata metadataInfo metadataDate:
[schema][metadata][metadataInfo][metadataDate][n].date
view mdTools
[schema][metadata][metadataInfo][metadataDate][n].dateType
view mdTools
createdBy: The person or organization who created the item.
Reading sbJson: ignore
Writing sbJson:
[schema][metadata][metadataInfo][metadatacontact][n].role when in list
[ originator author resourceProvider coAuthor ]. All [party][contactId] > [contact][n][name] will be concatenated.
view mdTools
lastUpdatedBy: The last person or organization to update the item.
Reading sbJson: ignore
Writing sbJson:
[schema][metadata][metadataInfo][metadatacontact][n].role when in list
[ custodian ]. All [party][contactId] > [contact][n][name] will be concatenated.
view mdTools
Not Mapped:
Mapping to mdTranslator from sbJson
The text was updated successfully, but these errors were encountered: