Skip to content

Instantly share code, notes, and snippets.

@csuwildcat
Last active November 6, 2023 16:52
Show Gist options
  • Save csuwildcat/6ca344810ba99bbf3b80ab1dd5a05ddf to your computer and use it in GitHub Desktop.
Save csuwildcat/6ca344810ba99bbf3b80ab1dd5a05ddf to your computer and use it in GitHub Desktop.
{
"method": "ProtocolsConfigure",
"definition": {
"protocol": "https://identity.foundation/protocols/credentials",
"types": {
"manifest": {
"schema": "https://identity.foundation/credential-manifest/manifest",
"dataFormat": [
"application/json"
]
},
"application": {
"schema": "https://identity.foundation/credential-manifest/application",
"dataFormat": [
"application/json"
]
},
"delivery": {
"schema": "https://identity.foundation/credential-manifest/delivery",
"dataFormat": [
"application/json"
]
}
},
"structure": {
"manifest": {
"allow": {
"anyone": {
"to": ["read"]
}
},
},
"application": {
"encryption": "required",
"allow": {
"anyone": {
"to": ["create"]
}
},
"delivery": {
"encryption": "required",
"allow": {
"recipient": {
"of": "application",
"to": ["create"]
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment