{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Tear down a compute resource identified by its receipt. Gateway submits a market.event with a compute.events.vm.delete payload to the winning bidder.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "AuthRequired"
        },
        {
          "name": "NotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "receiptCid": {
              "description": "CID of the receipt record.",
              "format": "cid",
              "type": "string"
            },
            "receiptUri": {
              "description": "AT-URI of the receipt record from the winning bidder.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "receiptUri",
            "receiptCid"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "error": {
              "type": "string"
            },
            "ok": {
              "type": "boolean"
            }
          },
          "required": [
            "ok"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.publicdomainrelay.temp.gateway.deleteCompute",
  "lexicon": 1
}
