Skip to content

Commit

Permalink
update world-registry protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed May 6, 2024
1 parent eb0cf39 commit 6034a3c
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions social/dwn/protocols/world-registry.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"protocol": "https://wired-protocol.org/v0/protocols/world-registry.json",
"published": true,
"types": {
"instance": {
"schema": "https://wired-protocol.org/v0/schemas/instance.json",
Expand All @@ -8,26 +9,41 @@
"instance-info": {
"schema": "https://wired-protocol.org/v0/schemas/instance-info.json",
"dataFormat": ["application/json"]
},
"host-url": {
"dataFormat": ["application/json"]
}
},
"structure": {
"instance": {
"host-url": {
"$actions": [
{
"who": "anyone",
"can": "read"
"can": ["read"]
},
{
"who": "recipient",
"can": ["write"]
}
]
},
"instance": {
"$actions": [
{
"who": "anyone",
"can": "write"
"can": ["read", "write"]
}
],
"instance-info": {
"$actions": [
{
"who": "anyone",
"can": ["read"]
},
{
"who": "recipient",
"of": "instance",
"can": "write"
"can": ["write"]
}
]
}
Expand Down

0 comments on commit 6034a3c

Please sign in to comment.