{
"id": "app.certified.badge.award",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"badge",
"subject",
"createdAt"
],
"properties": {
"note": {
"type": "string",
"description": "Optional statement explaining the reason for this badge award."
},
"badge": {
"ref": "app.certified.badge.definition",
"type": "ref",
"description": "Reference to the badge definition for this award."
},
"subject": {
"refs": [
"app.certified.defs#did",
"com.atproto.repo.strongRef"
],
"type": "union",
"description": "Entity the badge award is for (either an account DID or any specific AT Protocol record), e.g. a user, a project, or a specific activity claim."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when this record was originally created"
}
}
},
"description": "Records a badge award to a user, project, or activity claim."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}