Skip to content

Instantly share code, notes, and snippets.

@csuwildcat
Last active July 8, 2023 22:25
Show Gist options
  • Save csuwildcat/edf48d2c2fa41f637814fc61f0dfca49 to your computer and use it in GitHub Desktop.
Save csuwildcat/edf48d2c2fa41f637814fc61f0dfca49 to your computer and use it in GitHub Desktop.
{
"protocol":"identity.foundation/protocols/profile",
"definition":{
"types":{
"bio":{
"schema":"identity.foundation/protocols/profile/bio"
},
"image":{
"dataFormats":[
"image/png",
"image/jpeg",
"image/gif"
]
},
"address":{
"schema":"identity.foundation/protocols/profile/address"
},
"employment":{
"schema":"identity.foundation/protocols/profile/employment"
},
"education":{
"schema":"identity.foundation/protocols/profile/education"
}
},
"structure":{
"bio":{
"image":{
"$actions":[
{
"who":"anyone",
"can":"query"
},
{
"who":"anyone",
"can":"read"
}
]
},
"$actions":[
{
"who":"anyone",
"can":"query"
},
{
"who":"anyone",
"can":"read"
}
]
},
"address": {
"$encryption": {
"key": JWK
}
},
"employment": {
"$encryption": {
"key": JWK
}
},
"education": {
"$encryption": {
"key": JWK
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment