Closed nitro-neal closed 2 months ago
@decentralgabe in practice when credentialSchema.type === JsonSchema
then does the value of credentialSchema.id
need to point to the URL of an actual JSON schema file like https://intrewebs.com/person.json
?
@decentralgabe in practice when
credentialSchema.type === JsonSchema
then does the value ofcredentialSchema.id
need to point to the URL of an actual JSON schema file likehttps://intrewebs.com/person.json
?
yes the spec here goes into it https://w3c.github.io/vc-json-schema/
yes the spec here goes into it https://w3c.github.io/vc-json-schema/
thanks for confirming!
@nitro-neal in our tests do you think we should demonstrate legit usage by pointing to a (pretend) JSON schema file instead of a (pretend) schema.org term?
LGTM! (no issue with snakeCase here)
@kirahsapong will update the tests to point to this file now basically and be for real for real https://raw.githubusercontent.com/TBD54566975/known-customer-credential/e4affed4b0017fab260b1995d54604a6cbfe6fe9/kcc-schema.json
(hash will be removed when I merge)
Adding schema that complies to this chart: