{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Permission overrides for the feature-requests module of an Exosphere Sphere. Published on the Sphere owner's PDS. Only non-default roles need to be specified — absent keys use the module's built-in defaults.",
      "key": "literal:self",
      "record": {
        "properties": {
          "changeStatus": {
            "description": "Minimum role to change feature request status.",
            "ref": "#role",
            "type": "ref"
          },
          "comment": {
            "description": "Minimum role to comment on feature requests.",
            "ref": "#role",
            "type": "ref"
          },
          "create": {
            "description": "Minimum role to create feature requests.",
            "ref": "#role",
            "type": "ref"
          },
          "markDuplicate": {
            "description": "Minimum role to mark feature requests as duplicate.",
            "ref": "#role",
            "type": "ref"
          },
          "moderate": {
            "description": "Minimum role to hide/unhide content.",
            "ref": "#role",
            "type": "ref"
          },
          "vote": {
            "description": "Minimum role to vote on feature requests.",
            "ref": "#role",
            "type": "ref"
          }
        },
        "type": "object"
      },
      "type": "record"
    },
    "role": {
      "description": "Minimum role required to perform an action.",
      "knownValues": [
        "owner",
        "admin",
        "member",
        "authenticated"
      ],
      "maxLength": 64,
      "type": "string"
    }
  },
  "id": "site.exosphere.featureRequest.permissions",
  "lexicon": 1
}
