{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Re-sync BookHive book records from the signed-in user's PDS. Requires a live OAuth session; service auth is not sufficient. Completes before returning success. Accepts only an empty JSON object.",
      "errors": [
        {
          "description": "Re-sync failed; retry manually.",
          "name": "ResyncFailed"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "success": {
              "const": true,
              "type": "boolean"
            }
          },
          "required": [
            "success"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "buzz.bookhive.resyncAccount",
  "lexicon": 1
}
