{ "lexicon": 1, "id": "com.publicdomainrelay.temp.market.association", "description": "The grant: the repository that holds this record (the principal) trusts the agent DID as its agent, beside the link.ident.endorsement at the same record key. The pair without the grant is attribution only. Record key: the agent DID.", "defs": { "main": { "type": "record", "key": "any", "record": { "type": "object", "required": ["agent", "createdAt"], "properties": { "agent": { "type": "string", "format": "did", "description": "The agent DID; equal to the record key." }, "expiresAt": { "type": "string", "format": "datetime", "description": "The grant is dead after this time; required with contract." }, "contract": { "type": "ref", "ref": "com.atproto.repo.strongRef", "description": "The market.accept of the contract this grant is scoped to; dead once the contract is not Held." }, "createdAt": { "type": "string", "format": "datetime" } } } } } }