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

Use custom JSON-LD context #472

Open
acka47 opened this issue Dec 9, 2021 · 0 comments
Open

Use custom JSON-LD context #472

acka47 opened this issue Dec 9, 2021 · 0 comments

Comments

@acka47
Copy link
Contributor

acka47 commented Dec 9, 2021

From #432 (comment):

Create and use a project-specific JSON-LD context (for now, I have added "@context": "https://schema.org" for most entries which is enough for development. In the end, we will have to take a deeper look and create a application-specific context.)

One concrete thing to address is this:

Currently, we use JSON-LD language maps for name and description. To make this valid JSON-LD we will have to adjust the context accordingly:

{
  "name": {
    "@container": "@language"
  },
  "description": {
    "@container": "@language"
  }
}
@acka47 acka47 changed the title Add language maps in context Use custom JSON-LD context Dec 16, 2021
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

1 participant