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 stable identifiers for 0.5 embedded badgeclass and issuer when possible. #232

Open
ottonomy opened this issue Mar 16, 2020 · 0 comments

Comments

@ottonomy
Copy link
Collaborator

In 0.5 assertions, the badgeclass and issuer record are embedded in the assertion. This is also possible with 2.0 assertions, except with 2.0, it is required that the issuer supply an identifier id value for these embedded objects. To make up for the lack of that identifier in 0.5, the validator synthesizes a _:<UUID> blank node identifier. This changes every run of validation of the assertion. Since this data is returned as part of the final result, it would be nice if the blank node identifier assignment could produce a regular value for multiple runs of validation of the same assertion.

An example regularized identifier might be _:<assertionId>:badge indicating that it is the badge property in the assertion object (and extending this to _:<assertionId>:badge:issuer for the issuer in the badge in the assertion.)

It may also be wise to investigate whether the _: scheme is appropriate. Maybe there is another choice that would be better for machine-assigned IDs.

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