Closed datadavev closed 3 years ago
Amend the indexer rule for populating serviceEndpoint to add an entry for the contentUrl if present in a distribution entry of type DataDownload in schema.org/Dataset JSON-LD metadata.
serviceEndpoint
contentUrl
distribution
DataDownload
schema.org/Dataset
For example:
distribution: { "@type": "DataDownload", "contentUrl": "http://datadryad.org/api/v2/datasets/doi%253A10.5061%252Fdryad.5qb78/download", "encodingFormat": "application/zip" },
(from https://so.test.dataone.org/mnTestDRYAD/v2/object/sha256:a90d598d491ecc47051387ff5bd58042dff128064ef74358c7e3318bdf3a25fe )
The URL http://datadryad.org/api/v2/datasets/doi%253A10.5061%252Fdryad.5qb78/download should be added to the list of values for serviceEndpoint.
http://datadryad.org/api/v2/datasets/doi%253A10.5061%252Fdryad.5qb78/download
The query that populates serviceEndpoint has been updated as described above.
Amend the indexer rule for populating
serviceEndpoint
to add an entry for thecontentUrl
if present in adistribution
entry of typeDataDownload
inschema.org/Dataset
JSON-LD metadata.For example:
(from https://so.test.dataone.org/mnTestDRYAD/v2/object/sha256:a90d598d491ecc47051387ff5bd58042dff128064ef74358c7e3318bdf3a25fe )
The URL
http://datadryad.org/api/v2/datasets/doi%253A10.5061%252Fdryad.5qb78/download
should be added to the list of values forserviceEndpoint
.