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

Create JSON-LD in responses #199

Closed
jdeck88 opened this issue May 30, 2024 · 2 comments
Closed

Create JSON-LD in responses #199

jdeck88 opened this issue May 30, 2024 · 2 comments

Comments

@jdeck88
Copy link
Contributor

jdeck88 commented May 30, 2024

Adding JSON-LD helps with machine interoperability. Suggestion from @pbuttigieg to add schema.org tags in JSON-LD to help contextualize labels. This should require some discussion here.

In the context of the API request, an example JSON response is, e.g. https://localcontextshub.org/api/v1/projects/35449cb1-7ae9-410d-a6c0-1d2deb874e6b/?format=json

You to Pier Luigi Buttigieg (Direct Message) (May 30, 2024, 2:32 PM)
You are saying we should add JSON-ld to the JSON output?

Pier Luigi Buttigieg (Direct Message) (May 30, 2024, 2:34 PM)
Yes, with schema.org semantics - no one is going to understand some / most of those fields without custom coding we're helping LC develop the templates in ODIS: iodepo/odis-in#11
I'm sure that can be used by the LC Hub and many other systems - there's nothing ODIS-specific about it

@arojas1
Copy link
Contributor

arojas1 commented May 30, 2024

Hi @jdeck88, yes this is on our radar for when the schema.org mappings are complete to include those fields within the project metadata that can be pulled or downloaded from the Hub based on what Notices/Labels are applied to the project. (I'll link this to our internal issue tracker for when we get to this step)

@arojas1
Copy link
Contributor

arojas1 commented Jun 3, 2024

Closing this issue to keep the conversation in the previously opened issue #198

@arojas1 arojas1 closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants