Open glenrobson opened 4 years ago
See OCLC example which uses ordered collection: https://researchworks.oclc.org/digital/discovery-index/1
Discussed in discovery call (1st April 2020):
nameMap
now that it is an OrderedCollection, this supports languages. Example with the above changes incorporated:
{
"@context": "http://iiif.io/api/discovery/1/context.json",
"id": "https://registry.iiif.io/page-0",
"type": "OrderedCollectionPage",
"partOf": {
"id": "https://registry.iiif.io/index.json",
"type": "OrderedCollection"
},
"orderedItems": [
{
"type": "Update",
"object": {
"id": "http://institutiony.ac.yy/activity_stream.json",
"type": "OrderedCollection",
"nameMap": {
"en": [
"Top level collection"
]
}
}
},
{
"type": "Update",
"object": {
"id": "http://institutionx.ac.xx/activity_stream.json",
"type": "OrderedCollection",
"nameMap": {
"en": [
"Top level collection"
]
}
}
},
{
"type": "Update",
"object": {
"id": "http://www.getty.edu/museum.json",
"type": "OrderedCollection",
"nameMap": {
"en": [
"Museum collections"
]
}
}
},
{
"type": "Update",
"object": {
"id": "http://www.getty.edu/library.json",
"type": "OrderedCollection",
"nameMap": {
"en": [
"Library collections"
]
}
}
},
{
"type": "Update",
"object": {
"id": "http://www.getty.edu/research.json",
"type": "OrderedCollection",
"nameMap": {
"en": [
"Research Center"
]
}
}
}
]
}
Still need to:
For institution would it be:
"actor": {
"id": "http://www.getty.edu/",
"type": "Organization",
'nameMap': {
"en": [ "Getty"]
}
}
Is provider just another actor?
Relevant links:
At https://docs.google.com/document/d/186cruvISgtx1zEAP9w2Mr191PQIbzUh3Ds8n8uGHQhk/ we had said we wanted to have institution
and provider
in the data. If we represent them as actor
we'll miss the distinction, no?
Yes thats true. Here is an example:
{
"type": "Update",
"object": {
"id": "http://institutiony.ac.yy/activity_stream.json",
"type": "OrderedCollection",
"nameMap": {
"en": [
"Top level collection"
]
}
},
"actor": [
{
"en": [
"University Library of Y"
],
"type": "Organization"
},
{
"id": "https://www.oclc.org/en/home.html",
"label": {
"en": [
"OCLC"
]
},
"type": "Organization"
}
]
}
but there is no way to tell which is a provider and which is the institution.
Config:
streams
it items
@context
Here is an example of an early version of the registry AS generated from the test data in the repository:
Questions:
"type": "ActivityStream"
"label": "Research Center"
Note this would change to :after discussion in the last discovery meeting.
"endTime": "TBD"
is this the last modification of the ActivityStream or the date the change was made in Github?