{
"id": "dev.pcvera.temp.badge.grant",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"issuerDid",
"recipientDid",
"defUri",
"createdAt"
],
"properties": {
"defUri": {
"type": "string",
"format": "at-uri",
"description": "AT URI of the dev.pcvera.temp.badge.def record this grant references."
},
"message": {
"type": "string",
"maxLength": 2000,
"description": "Optional short note from the issuer to the recipient.",
"maxGraphemes": 500
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When the grant record was created."
},
"issuerDid": {
"type": "string",
"format": "did",
"description": "DID of the account that created the grant (issuer)."
},
"moreInfoUrl": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Optional HTTPS URL for context; clients MUST restrict to https in application validation."
},
"recipientDid": {
"type": "string",
"format": "did",
"description": "DID of the recipient who may accept or reject."
}
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "Issuer grants a badge definition to a recipient; may include an optional HTTPS more-info link."
}