{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Label or take down one post through atchan's labeler. A thin layer over tools.ozone.moderation.emitEvents.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "event": {
              "closed": true,
              "description": "The moderation event to emit.",
              "refs": [
                "tools.ozone.moderation.defs#modEventLabel",
                "tools.ozone.moderation.defs#modEventTakedown"
              ],
              "type": "union"
            },
            "subject": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            }
          },
          "required": [
            "event",
            "subject"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "net.atchan.moderation.emitEvent",
  "lexicon": 1
}
