Last active
July 8, 2023 22:25
-
-
Save csuwildcat/edf48d2c2fa41f637814fc61f0dfca49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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