Properties
| Name | Type | Description |
|---|---|---|
| user_id | string | The user's ID. |
| counter_user_id | string | The counter user's ID. |
| label_user | object | The user's label. |
| counter_label_user | object | The counter user's label. |
| relationship | string | The requested relation type. |
| status | string | The request's status, only for UPDATE. |
| user_status | string | The account status of a user |
| counter_user_status | string | The account status of a user |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/RelationUser",
"title": "RelationUser",
"type": "object",
"properties": {
"user_id": {
"type": "string",
"description": "The user's ID.",
"readOnly": true,
"writeOnly": false
},
"counter_user_id": {
"type": "string",
"description": "The counter user's ID.",
"readOnly": true,
"writeOnly": false
},
"label_user": {
"type": "object",
"description": "The user's label.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/LabelUser"
},
"counter_label_user": {
"type": "object",
"description": "The counter user's label.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/LabelUser"
},
"relationship": {
"type": "string",
"description": "The requested relation type.",
"readOnly": true,
"writeOnly": false
},
"status": {
"type": "string",
"description": "The request's status, only for UPDATE.",
"readOnly": true,
"writeOnly": false
},
"user_status": {
"type": "string",
"description": "The account status of a user",
"readOnly": true,
"writeOnly": false
},
"counter_user_status": {
"type": "string",
"description": "The account status of a user",
"readOnly": true,
"writeOnly": false
}
}
}