Closed mjfelis closed 2 months ago
Thanks @mjfelis this needs to be fixed. The schemas are currently hosted here -- https://github.com/w3c/vc-data-model/tree/main/schema but not replicated on the w3 site. Paging @iherman to suggest the best way to support the schema files being hosted properly.
@decentralgabe sorry, I missed this one, it got lost among the after-vacation mail invasion :-)
To be honest, it is the first time I see this W3C URL. Is this really where we want to store the schema? I mean, is the URL cast in concrete by now?
The reason I am asking because the VC URI landscape is fairly chaotic. Here are just some:
etc. Introducing now https://www.w3.org/2022/credentials/v2/ just adds to the mess.
Would it be possible to simply use https://www.w3.org/ns/credentials/json-schema.json (or something like that)?
Once we decide on this, I am happy to set up a redirection.
The other question: is this schema file reasonably stable? At some point we should "freeze" these files by putting them to the W3C site and not redirect to github...
cc-ing @msporny to be consistent with other URLs
This is just the schema for v2.0, IIUC. We should version it. Perhaps something like:
This is just the schema for v2.0, IIUC. We should version it. Perhaps something like:
Works for me.
https://www.w3.org/ns/credentials/json-schema/v2.json
works for me too
I have raised PR #237 to replace the URL in the spec. This issue can be closed if and when that PR is merged.
@mjfelis you are welcome to adapt your application to the new URL; it should work now.
GET https://www.w3.org/2022/credentials/v2/json-schema-credential-schema.json: not found