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

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
Skype: elias.kaerle

Received on Wednesday, 21 October 2020 09:29:02 UTC