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