Skip to content
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

updated virtualcollections schema, align with LatimerCore #81

Merged
merged 9 commits into from
Mar 15, 2024

Conversation

sharifX
Copy link
Contributor

@sharifX sharifX commented Feb 5, 2024

This updated virtual collection JSON schema has specific additions aligned with the LatimerCore (ltc) schema. The schema now incorporates the ltc:ObjectGroup class, encompassing properties: ltc:conditionsOfAccess, ltc:collectionName, ltc:description, and ltc:isKnownToContainTypes. The descriptions included in the schema are taken from the LatimerCore documentation. The comments from #61 has been addressed. The "capabilities" attributes suggest by RDA has been removed. Ltc also has ltc:RecordLevel based on RDA recommendation "The machine-actionable information profile for the collection description digital object." ods:type should be able map to that.

This updated virtual collection JSON schema is with specific additions aligned with the LatimerCore (ltc). The schema now incorporates the ltc:ObjectGroup class, encompassing properties: ltc:conditionsOfAccess, ltc:collectionName, ltc:description, and ltc:isKnownToContainTypes.  The descriptions included in the schema are taken from the LatimerCore documentation. The comments from DiSSCo#61 has been addressed. The "capabilities" attributes suggest by RDA has been removed. Ltc also has ltc:RecordLevel based on RDA recommendation "The machine-actionable information profile for the collection description digital object.". ods:type should be able map to that.
@sharifX sharifX added the data model issues related to data model subtasks label Feb 5, 2024
Copy link
Contributor

@southeo southeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tackling this. It's good to have latimer core linked to this data model.
In the future, it might be easier to work with a clone the repo on a branch rather than a fork on your own github, so it's easier to keep your version up to-date :)

Replaced Handle/DOI mention with PID; make VirtualCollections type const; add desc link to the standards; delete filterName (desc/name is enough).
Copy link
Contributor

@samleeflang samleeflang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost there, got a couple of additional things too look at.

Fix const value. change isKnownToContainTypes to boolean. leave ltc:conditionsOfAccess as it is for now. add dwc:measurementUnit. make rdf:type required. fix missing quotation. add example object for validation.
Remove examples (will add to the example folder). Add TDWG link and desc. move them next to type for consistency. remove ltc:isKnownToContainTypes as it will be difficult to capture this during ingestion.
@sharifX sharifX requested a review from samleeflang February 22, 2024 15:40
Copy link
Contributor

@samleeflang samleeflang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you take a look at the required fields?
Also the example for the filter doesn't look great.
I think we make it a bit more reusable and less specific by storing it as key-value pairs.

@sharifX sharifX requested a review from samleeflang March 5, 2024 09:35
Copy link
Contributor

@samleeflang samleeflang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think my last comments are still relevant. They were mainly about missing required fields and about the structure of the filter field. Could you check if you pushed all changes?

changes made: make creator, searchFilters required. Also add required items inside creator and measturementorFacts. Change searchFilter structure with separating key and value.
@sharifX sharifX requested a review from samleeflang March 6, 2024 11:21
Copy link
Contributor

@samleeflang samleeflang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had some minor comments but will approve as well so it can go through

Remove ltc:collectionName as it is not required by ltc:ObjectGroup
@sharifX sharifX merged commit cc0706f into DiSSCo:master Mar 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data model issues related to data model subtasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants