2018-03-17 18:26:18 +05:30
|
|
|
{
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
2023-03-04 22:38:38 +05:30
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"attachment": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
]
|
|
|
|
},
|
2018-03-17 18:26:18 +05:30
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-03-04 22:38:38 +05:30
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"state": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"avatar_url": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "uri"
|
|
|
|
},
|
|
|
|
"web_url": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "uri"
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
2023-03-04 22:38:38 +05:30
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"name",
|
|
|
|
"username",
|
|
|
|
"state",
|
|
|
|
"avatar_url",
|
|
|
|
"web_url"
|
2020-05-24 23:13:21 +05:30
|
|
|
]
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
2023-03-04 22:38:38 +05:30
|
|
|
"commands_changes": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": true
|
|
|
|
},
|
|
|
|
"created_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"updated_at": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"system": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"noteable_id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"noteable_iid": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"noteable_type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"resolved": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"resolvable": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"resolved_by": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"resolved_at": {
|
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"confidential": {
|
|
|
|
"type": [
|
|
|
|
"boolean",
|
|
|
|
"null"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"internal": {
|
|
|
|
"type": [
|
|
|
|
"boolean",
|
|
|
|
"null"
|
|
|
|
]
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
|
|
|
"required": [
|
2023-03-04 22:38:38 +05:30
|
|
|
"id",
|
|
|
|
"body",
|
|
|
|
"attachment",
|
|
|
|
"author",
|
|
|
|
"created_at",
|
|
|
|
"updated_at",
|
|
|
|
"system",
|
|
|
|
"noteable_id",
|
|
|
|
"noteable_type"
|
2018-03-17 18:26:18 +05:30
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
2023-03-04 22:38:38 +05:30
|
|
|
}
|