- From: Kerri Lemoie <klemoie@concentricsky.com>
- Date: Thu, 10 Jun 2021 15:28:21 -0400
- To: Orie Steele <orie@transmute.industries>
- Cc: W3C Credentials CG <public-credentials@w3.org>
- Message-Id: <CEF759CA-71C6-46A6-B637-231D8DCC11B0@concentricsky.com>
This is helpful, Orie. While VC has this credentialSchema property, I assume it would still be acceptable for a context to reference schema(s) directly? Thanks! K > On Jun 10, 2021, at 10:09 AM, Orie Steele <orie@transmute.industries> wrote: > > This won't be a complete answer, but at the time of publication I believe that field was used in 2 ways. > > 1. with json schema, see this for example - https://w3c-ccg.github.io/vc-json-schemas/ <https://w3c-ccg.github.io/vc-json-schemas/> > 2. with hyperledger indy zkp-cl signature vc's > > In both cases, "credentialSchemas" was more about the VC data shape and type, whereas contexts and JSON-LD are best used only for semantics. > > There are other tools like SHACL that can help do linked data shape constraints, perhaps someone might use them with credentialSchemas in the future. > > but AFAIK, "credentialSchemas" is focused on the credential data shape. and "@context" is focused on the semantics and term definitions used in the credential. > > OS > > On Wed, Jun 9, 2021 at 5:15 PM Kerri Lemoie <klemoie@concentricsky.com <mailto:klemoie@concentricsky.com>> wrote: > Hello all, > > I’m reviewing this: https://www.w3.org/TR/vc-data-model/#data-schemas <https://www.w3.org/TR/vc-data-model/#data-schemas> > > Could folks please explain to me the uses of credentialSchemas in comparison to @context files in JSON-LD? Is it that @context files name the attributes and credentialSchemas provide the information about how to validate the data/semantics? > > Can you provide some real-world examples? Bonus points for human centered examples such as identity, education, & workforce. :) > > Thanks! > > Kerri > > > > -------- > Kerri Lemoie, PhD > Director, Digital Credentials Research & Innovation > badgr.com <https://info.badgr.com/> | concentricsky.com <https://concentricsky.com/> > she/her/hers > > > > > > > > > -- > ORIE STEELE > Chief Technical Officer > www.transmute.industries > > <https://www.transmute.industries/>
Received on Thursday, 10 June 2021 19:28:53 UTC