We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
credentialSchema.id
JsonSchemaCredential
The spec suggests that credentialSchema of JsonSchemaCredential VC doc be of this predefined value:
credentialSchema
{ "id": "https://www.w3.org/ns/credentials/json-schema/v2.json", "type": "JsonSchema", "digestSRI": "sha384-S57yQDg1MTzF56Oi9DbSQ14u7jBy0RDdx0YbeV7shwhCS88G8SCXeFq82PafhCrW" }
Fetching https://www.w3.org/ns/credentials/json-schema/v2.json gives the following schema for the credentialSchema field
https://www.w3.org/ns/credentials/json-schema/v2.json
"credentialSchema": { "type": "object", "properties": { "id": { "type": "string", "const": "https://www.w3.org/2022/credentials/v2/json-schema-credential-schema.json" }, "type": { "type": "string", "const": "JsonSchema" }, "digestSRI": { "type": "string" } }, "required": [ "id", "type", "digestSRI" ] }
This makes the schema itself invalid, namely:
id
digestSRI
The text was updated successfully, but these errors were encountered:
Thanks @antonio-ivanovski are you able to open a PR addressing this?
Sorry, something went wrong.
No branches or pull requests
The spec suggests that
credentialSchema
ofJsonSchemaCredential
VC doc be of this predefined value:Fetching
https://www.w3.org/ns/credentials/json-schema/v2.json
gives the following schema for thecredentialSchema
fieldThis makes the schema itself invalid, namely:
id
is expected to have value of "https://www.w3.org/2022/credentials/v2/json-schema-credential-schema.json"digestSRI
is set as requiredThe text was updated successfully, but these errors were encountered: