A badge earned by a user, awarded by the postgame system based on activity
Record Key
any
Any valid record key
Properties
badgeId
string
Required
Unique identifier for the badge type, used as the record key. Badge types and their criteria are defined by the postgame system
maxLength: 128 bytescreatedAt
string
datetime
Required
When the badge was earned
subject
string
at-uri
Optional
Optional AT-URI of the record that triggered this badge (e.g. the game entry)
View raw schema
{
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"badgeId",
"createdAt"
],
"properties": {
"badgeId": {
"type": "string",
"maxLength": 128,
"description": "Unique identifier for the badge type, used as the record key. Badge types and their criteria are defined by the postgame system"
},
"subject": {
"type": "string",
"format": "at-uri",
"description": "Optional AT-URI of the record that triggered this badge (e.g. the game entry)"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When the badge was earned"
}
}
},
"description": "A badge earned by a user, awarded by the postgame system based on activity"
}