{ "protocol": "https://example.com/protocol.json", "published": true, "types": { "post": {}, "reply": {} }, "structure": { "post": { "$actions": [ { "who": "anyone", "can": ["read", "write"] } ], "reply": { "$actions": [ { "who": "anyone", "can": ["write"] }, { "who": "recipient", "of": "post", "can": ["read"] } ] } } } }