2021-02-23 07:58:22 -05:00
|
|
|
{
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"suspension": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"suspend_reason": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"full_suspend_reason": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"suspended_till": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"suspended_at": {
|
|
|
|
"type": "string"
|
2022-06-01 08:54:23 -04:00
|
|
|
},
|
|
|
|
"suspended_by": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"avatar_template": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["id", "username", "name", "avatar_template"]
|
2021-02-23 07:58:22 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"suspend_reason",
|
|
|
|
"full_suspend_reason",
|
|
|
|
"suspended_till",
|
2022-06-01 08:54:23 -04:00
|
|
|
"suspended_at",
|
|
|
|
"suspended_by"
|
2021-02-23 07:58:22 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"suspension"
|
|
|
|
]
|
|
|
|
}
|