{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The immutable author-opt-in reply policy bound to one exact root admission.",
      "key": "any",
      "record": {
        "properties": {
          "actor": {
            "format": "did",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "discussion": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "mode": {
            "knownValues": [
              "authorOptIn"
            ],
            "type": "string"
          }
        },
        "required": [
          "discussion",
          "mode",
          "actor",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.phlogiston.community.replyPolicy",
  "lexicon": 1
}
