{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Write one attempt into the signed-in climber's logbook space, creating the space if they do not have one yet.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"record": {
"description": "A `guide.climbers.dev.attempt` record.",
"type": "unknown"
},
"rkey": {
"description": "The key the client minted for this attempt. Writing the same key twice replaces the record rather than logging a second go, which is what makes a replayed write safe.",
"format": "record-key",
"type": "string"
}
},
"required": [
"rkey",
"record"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "guide.climbers.appview.putAttempt",
"lexicon": 1
}