{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Subscribe to post alerts from an actor the viewer follows.",
      "errors": [
        {
          "name": "NotFollowing"
        },
        {
          "name": "SelfSubscribe"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "subject": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "subject"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "subscribed": {
              "type": "boolean"
            }
          },
          "required": [
            "subscribed"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.graph.subscribePosts",
  "lexicon": 1
}
