{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/UserWithStats.json",
"title": "UserWithStats",
"allOf": [
{
"$ref": "#/components/schemas/User"
},
{
"properties": {
"videosCount": {
"type": "integer",
"description": "Count of videos published"
},
"abusesCount": {
"type": "integer",
"description": "Count of reports/abuses of which the user is a target"
},
"abusesAcceptedCount": {
"type": "integer",
"description": "Count of reports/abuses created by the user and accepted/acted upon by the moderation team"
},
"abusesCreatedCount": {
"type": "integer",
"description": "Count of reports/abuses created by the user"
},
"videoCommentsCount": {
"type": "integer",
"description": "Count of comments published"
}
}
}
]
}