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

Make credential-context resolvable #26

Closed
1 of 2 tasks
arnoweiss opened this issue Mar 27, 2024 · 7 comments
Closed
1 of 2 tasks

Make credential-context resolvable #26

arnoweiss opened this issue Mar 27, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@arnoweiss
Copy link
Contributor

arnoweiss commented Mar 27, 2024

Description

As Operator or Enablement Service Provider for a CX-0018 compliant service,
I want to read the expanded JSON-LD of VCs,
so that I can reliably process and understand their content.

Acceptance Criteria

  • https://w3id.org/catenax/credentials/v1.0.0 is resolvable to a JSON-LD context.
  • The versioning between the context and the namespace is aligned.

Additional Information

Currently, the samples' @context in the credentials-folder rely on the https://w3id.org/catenax/credentials/v1.0.0 context. It currently resolves to the default path specified in the redirects. The credential-context included in this repository is already in v1.1 so I'm unsure whether it's an appropriate target. Its content would be affected if issue #25 is accepted with further implications for versioning.

I'd be willing to contribute if there's an aligned concept.

@arnoweiss arnoweiss added the enhancement New feature or request label Mar 27, 2024
@arnoweiss
Copy link
Contributor Author

arnoweiss commented Apr 18, 2024

@jimmarino - is this on your roadmap? If no, I could pick this up. EDC doesn't need it but I think there's value in it.

Note: The original issue mentions https://w3id.org/catenax/... while there's consensus now that the contexts should reside in the https://w3id.org/tractusx/... namespace.

@jimmarino
Copy link
Contributor

@arnoweiss If you could pick this up it would be much appreciated.

@arnoweiss arnoweiss self-assigned this Apr 18, 2024
@arnoweiss
Copy link
Contributor Author

Created a PR in the https://w3id.org/catenax/ namespace for the credentials [1] and one to register https://w3id.org/tractusx and populate it with a redirect to the policy-jsonld-context [2].

[1] perma-id/w3id.org#4059
[2] perma-id/w3id.org#4060

@wolf4ood
Copy link
Contributor

Hey @arnoweiss thanks!

Just a small comment for the links. I would use the published on in GH pages,
since they will be updated automatically in when changed and also GH pages preserve the content type, some libraries complain about the raw.* of GH since the content type i think it's plain/text

You can find the published one here:

Policy Context
https://eclipse-tractusx.github.io/tractusx-profiles/cx/context/policy.context.json

Credentials Context
https://eclipse-tractusx.github.io/tractusx-profiles/cx/context/credentials.context.json

@arnoweiss
Copy link
Contributor Author

arnoweiss commented Apr 19, 2024

Thanks, I wasn't aware that exists.

As the documents you linked mirror main, it may become an issue that they are mutable. Fetching the context from remote may yield varying results. I think it's good enough for now but this may become an issue further down the road. I'll adjust the linked PRs.

@arnoweiss
Copy link
Contributor Author

The respective PRs are merged and resolve correctly AFAICT. Please check and close if confirmed.

@wolf4ood
Copy link
Contributor

Thanks @arnoweiss

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants