{
  "lexicon": 1,
  "id": "space.polymodel.graph.deleteSave",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Delete the authenticated actor's save by subject or save record URI, then eagerly project viewer/count state.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "properties": {
            "subject": { "type": "ref", "ref": "com.atproto.repo.strongRef" },
            "uri": { "type": "string", "format": "at-uri" }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["deleted"],
          "properties": {
            "deleted": { "type": "boolean" },
            "uri": { "type": "string", "format": "at-uri" }
          }
        }
      }
    }
  }
}
