{
"id": "com.fedproxy.temp.xrpc.registration",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"key",
"nonce",
"signatures"
],
"properties": {
"key": {
"type": "string",
"description": "did:key public-key reference that signed the nonce; must match the key passed to getRegistrationNonce."
},
"nonce": {
"type": "bytes",
"description": "The 64-byte nonce issued by com.fedproxy.temp.xrpc.getRegistrationNonce that this registration signs over."
},
"signatures": {
"ref": "network.attested.signature#signatures",
"type": "ref",
"description": "badge.blue attestations (network.attested.signature) over the issued nonce, proving liveness and custody of the did:key."
}
}
},
"description": "A subscriber's signed registration. Proves custody of the did:key by carrying badge.blue attestations (network.attested.signature) over the nonce returned from com.fedproxy.temp.xrpc.getRegistrationNonce. Presented as the parameter to com.fedproxy.temp.xrpc.subscribe to open a relay channel bound to this key."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}