Re: Adding a JSON Web Key to a schema Person?

On Wed, 21 Oct 2020 at 11:37, Dan Brickley <danbri@google.com> wrote:

> This seems adequate for exploring and evaluating proofs of concept. With
> something like this, 99.99% of the work and complexity in getting to
> something usable is not in the schema design but elsewhere. If the approach
> works out, making a prettier schema would be relatively straightforward.
> Melvin - keep us posted if something is being built!
>

Pragmatic approach.  I like it, thanks!


>
> cheers,
>
> Dan
>
> On Wed, 21 Oct 2020 at 10:31, Elias Kaerle <elias.kaerle@sti2.at> wrote:
>
>>
>>
>> On 21.10.20 11:12, Melvin Carvalho wrote:
>> > I've been thinking recently about the idea of a social network based on
>> > schema.org
>> >
>> > What would be useful would be to add a public key to the JSON for a
>> schema
>> > Person
>> >
>> > https://tools.ietf.org/html/rfc7517
>> >
>> > Example key:
>> >
>> >       {"kty":"EC",
>> >        "crv":"P-256",
>> >        "x":"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU",
>> >        "y":"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0",
>> >        "kid":"Public key used in JWS spec Appendix A.3 example"
>> >       }
>> >
>> > I was wondering if there already exists a practical way to do this?
>>
>> schema:Person has, like all thigs in schema, a property called
>> schema:identifier. The range is schema:PropertyValue.
>>
>> so the annotation could look like that:
>>
>> {
>>    "@context": "https://schema.org/",
>>    "@type": "Person",
>>    "name": "John Doe",
>>    "identifier": [
>>      {
>>        "@type": "PropertyValue",
>>        "name": "kty",
>>        "value": "EC"
>>      },
>>      {
>>        "@type": "PropertyValue",
>>        "name": "crv",
>>        "value": "P-256"
>>      },
>>      {
>>        "@type": "PropertyValue",
>>        "name": "x",
>>        "value": "f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU"
>>      }
>>    ]
>> }
>>
>> >
>> >
>> > ______________________________________________________________________
>> > This email has been scanned by the Symantec Email Security.cloud
>> service.
>> > For more information please visit http://www.symanteccloud.com
>> > ______________________________________________________________________
>> >
>>
>> --
>> Elias Kärle, MSc
>> Semantic Technology Institute
>> University of Innsbruck
>>
>> ICT - Technologie Park Innsbruck
>> 2nd Floor, Room 3S02
>> Technikerstrasse, 21a
>> 6020 Innsbruck
>> Austria
>>
>> Tel.: +43 (0) 512 507 53738 <+43%20512%2050753738>
>> Skype: elias.kaerle
>>
>>

Received on Wednesday, 21 October 2020 10:42:39 UTC