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

Discussion of JSON representation for objects returned by API #126

Open
matthewhorridge opened this issue Oct 29, 2024 · 1 comment
Open

Comments

@matthewhorridge
Copy link
Contributor

With reference to: https://github.com/who-icatx/icatx-project/blob/main/docs/jsonForAPISpec.md

Could we make the key names for IRIs more uniform? e.g. we have entityURI and termId. Could these just be replaced with iri? (URI was superseded by IRI in 2012)

Cc @tudorache

@tudorache
Copy link
Contributor

Yes, I know, we had a discussion with @cannn about this. This is the preference to use URI instead of IRI (they don't use the international part of the URIs). We use the termId, because we return terms, and it is part of the domain vocabulary, and known by the users.

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