{
"id": "dev.herisson.test.trust.grade",
"defs": {
"main": {
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"subject",
"createdAt",
"grade"
],
"properties": {
"grade": {
"type": "integer",
"maximum": 100,
"minimum": 0,
"description": "The reputation the account is give. 0 means no trust at all, 100 means complete trust."
},
"comment": {
"type": "string",
"maxLength": 1000,
"description": "Optional context for the trust grade."
},
"subject": {
"type": "string",
"format": "did",
"description": "The account that is being graded."
},
"createdAt": {
"type": "string",
"format": "datetime"
}
}
},
"description": "Record declaring a 'grade of trust' a user has for a given identity"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}