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

More idiomatic JSON #18

Open
JDziurlaj opened this issue Feb 2, 2023 · 0 comments
Open

More idiomatic JSON #18

JDziurlaj opened this issue Feb 2, 2023 · 0 comments

Comments

@JDziurlaj
Copy link
Collaborator

Right now the JSON schemas developed produce JSON that somewhat verbose. In large JSON files, it's clear this is coming from two areas:

  1. @type key is always required, even when it can be inferred
  2. InternationalizedText typed properties use an overly complicated structure

The solution to (1) might be to allow this key to be omitted when the usage is clear (e.g. when the object's type does not have subtypes). For (2), we could look at the structure in JSON-LD for RDF language tags.

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