{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "For group-DID sessions.",
      "detail": "Review reports and moderation history, and label members.",
      "permissions": [
        {
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "authority": "self",
          "collection": [
            "fyi.opensocial.label"
          ],
          "resource": "space",
          "skey": "self",
          "spaceType": "fyi.opensocial.meta",
          "type": "permission"
        },
        {
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "authority": "self",
          "collection": [
            "fyi.opensocial.label"
          ],
          "resource": "space",
          "skey": "self",
          "spaceType": "fyi.opensocial.members",
          "type": "permission"
        },
        {
          "aud": "*",
          "lxm": [
            "fyi.opensocial.listSubjects",
            "fyi.opensocial.getSubjectHistory",
            "fyi.opensocial.resolveSubject"
          ],
          "resource": "rpc",
          "type": "permission"
        }
      ],
      "title": "Group moderation",
      "type": "permission-set"
    }
  },
  "id": "fyi.opensocial.moderate",
  "lexicon": 1
}
