...so that I can easily integrate the PDS API with other APIs.
So that PDS datasets are viewed by google as datasets, see for example
📖 Additional Details
We want to be able to add a piece of javascript code in our HTML dataset landing page (bundle, collection, observational_products), which will call the registry-api with the lidvid of the current product as an argument and complete the schema.org json-ld description of the dataset (e.g. https://schema.org/Dataset) as described on this page https://developers.google.com/search/docs/appearance/structured-data/dataset#example from the registry-api response content.
The request will use a specific Accept header value application/ld+json in the content negociation.
💪 Motivation
...so that I can easily integrate the PDS API with other APIs.
So that PDS datasets are viewed by google as datasets, see for example
📖 Additional Details
We want to be able to add a piece of javascript code in our HTML dataset landing page (bundle, collection, observational_products), which will call the registry-api with the lidvid of the current product as an argument and complete the schema.org json-ld description of the dataset (e.g. https://schema.org/Dataset) as described on this page https://developers.google.com/search/docs/appearance/structured-data/dataset#example from the registry-api response content.
The request will use a specific Accept header value
application/ld+json
in the content negociation.⚖️ Acceptance Criteria
Given When I perform Then I expect
⚙️ Engineering Details
See introduction https://schema.org/docs/data-and-datasets.html
Bundle/Collection labels: https://schema.org/DataCatalog Observational product labels: https://schema.org/Dataset Data: https://schema.org/DataDownload