Re: Schema for VCs

Hi David,

Sure, we'd be happy to add a credentialSchema property to the JFF VC. Do
you have a schema handy (or could your team create the JSON schema, based
on that sample VC)?

On Thu, Sep 15, 2022 at 5:10 AM David Chadwick <
david.chadwick@crosswordcybersecurity.com> wrote:

> Hi Dmitri
>
> I notice that the JFF Plugfest VC that has been defined does not contain a
> credentialSchema property. Thus in order to pass Plugfest 1 we had to write
> a hack into our code to know which JSON string properties were not really
> strings but were pictures (or URLs to pictures) and should be displayed as
> such, rather than as a long string of ASCII characters.
>
> I think that a better more open solution is for the JFF VC to contain the
> credentialSchema property, and for the schema to tell the wallet what the
> contents of each property are. In this way the wallet will know which
> string properties are pictures, movies, voice, URLs, dates, booleans etc.
>
> What are your thoughts on this?
>
> Kind regards
>
> David
>
>
>

Received on Thursday, 15 September 2022 14:39:38 UTC