Skip to content

Commit

Permalink
add protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnonni committed Jul 18, 2024
1 parent 58a3f3a commit d7a6e8f
Show file tree
Hide file tree
Showing 3 changed files with 305 additions and 0 deletions.
73 changes: 73 additions & 0 deletions .well-known/protocols/dvcx/credential-applicant.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"protocol": "https://formfree.github.io/.well-known/protocols/dvcx/credential-applicant.json",
"published": false,
"types": {
"application": {
"schema": "applicationSchema.$id",
"dataFormats": [
"application/json"
]
},
"invoice": {
"schema": "invoiceSchema.$id",
"dataFormats": [
"application/json"
]
},
"manifest": {
"schema": "manifestSchema.$id",
"dataFormats": [
"application/json"
]
},
"response": {
"schema": "responseSchema.$id",
"dataFormats": [
"application/json"
]
}
},
"structure": {
"manifest": {},
"application": {
"response": {
"$actions": [
{
"who": "recipient",
"of": "application",
"can": [
"create",
"update"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
]
},
"invoice": {
"$actions": [
{
"who": "recipient",
"of": "application",
"can": [
"create",
"update"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
]
}
}
}
}
135 changes: 135 additions & 0 deletions .well-known/protocols/dvcx/credential-exchange.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"protocol": "https://formfree.github.io/.well-known/protocols/dvcx/credential-exchange.json",
"published": false,
"types": {
"application": {
"schema": "presentationSchema.$id",
"dataFormats": [
"application/json"
]
},
"invoice": {
"schema": "invoiceSchema.$id",
"dataFormats": [
"application/json"
]
},
"manifest": {
"schema": "manifestSchema.$id",
"dataFormats": [
"application/json"
]
},
"response": {
"schema": "responseSchema.$id",
"dataFormats": [
"application/json"
]
}
},
"structure": {
"manifest": {
"$actions": [
{
"who": "anyone",
"can": [
"read"
]
}
]
},
"response": {
"$actions": [
{
"who": "recipient",
"of": "application",
"can": [
"create",
"update"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
]
},
"invoice": {
"$actions": [
{
"who": "recipient",
"of": "application",
"can": [
"create",
"update"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
]
},
"application": {
"$actions": [
{
"who": "anyone",
"can": [
"create"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
],
"response": {
"$actions": [
{
"who": "recipient",
"of": "application",
"can": [
"create",
"update"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
]
},
"invoice": {
"$actions": [
{
"who": "recipient",
"of": "application",
"can": [
"create",
"update"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
]
}
}
}
}
97 changes: 97 additions & 0 deletions .well-known/protocols/dvcx/credential-issuer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"protocol": "https://formfree.github.io/.well-known/protocols/dvcx/credential-issuer.json",
"published": false,
"types": {
"application": {
"schema": "presentationSchema.$id",
"dataFormats": [
"application/json"
]
},
"invoice": {
"schema": "invoiceSchema.$id",
"dataFormats": [
"application/json"
]
},
"manifest": {
"schema": "manifestSchema.$id",
"dataFormats": [
"application/json"
]
},
"response": {
"schema": "responseSchema.$id",
"dataFormats": [
"application/json"
]
}
},
"structure": {
"manifest": {
"$actions": [
{
"who": "anyone",
"can": [
"read"
]
}
]
},
"application": {
"$actions": [
{
"who": "anyone",
"can": [
"create"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
],
"response": {
"$actions": [
{
"who": "recipient",
"of": "application",
"can": [
"create",
"update"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
]
},
"invoice": {
"$actions": [
{
"who": "recipient",
"of": "application",
"can": [
"create",
"update"
]
},
{
"who": "author",
"of": "application",
"can": [
"read"
]
}
]
}
}
}
}

0 comments on commit d7a6e8f

Please sign in to comment.