-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
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.
There was a problem hiding this 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 :)
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
Replaced Handle/DOI mention with PID; make VirtualCollections type const; add desc link to the standards; delete filterName (desc/name is enough).
There was a problem hiding this 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.
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
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.
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
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.
There was a problem hiding this 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.
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
There was a problem hiding this 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
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
data-model/virtualcollections/v.0.1.0/schemas/virtualcollections.json
Outdated
Show resolved
Hide resolved
Remove ltc:collectionName as it is not required by ltc:ObjectGroup
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.