0
0
{
"lexicon": 1,
"id": "com.publicdomainrelay.temp.market.associationRequest",
"description": "The repository that holds this record asks the principal to endorse and grant it for one contract: the proof that the subject DID of a com.publicdomainrelay.temp.compute.events.guest.requesterDid event controls this repository. Record key: the principal DID.",
"defs": {
"main": {
"type": "record",
"key": "any",
"record": {
"type": "object",
"required": ["principal", "contract", "nonce", "createdAt"],
"properties": {
"principal": { "type": "string", "format": "did", "description": "The DID asked to write the endorsement and the grant." },
"contract": { "type": "string", "format": "at-uri", "description": "The principal's market.accept of the contract whose guest runs this repository's requester." },
"nonce": { "type": "string", "maxLength": 128, "description": "The nonce the principal put into that contract's secrets bundle." },
"accounts": { "type": "array", "maxLength": 16, "items": { "type": "string", "format": "did" }, "description": "The DIDs of the co-located accounts this repository's requester created for the contract, each with the principal's rotation key first, so the principal can tombstone them when the guest is gone." },
"createdAt": { "type": "string", "format": "datetime" }
}
}
}
}
}