2018-01-31 09:59:59 -05:00
|
|
|
{
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "integer" },
|
2018-02-28 02:48:23 -05:00
|
|
|
"type": { "type": ["string", "null"] },
|
2018-01-31 09:59:59 -05:00
|
|
|
"body": { "type": "string" },
|
|
|
|
"attachment": { "type": ["string", "null"] },
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"state": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" },
|
|
|
|
"web_url": { "type": "uri" }
|
|
|
|
},
|
2020-05-12 08:09:47 -04:00
|
|
|
"required" : [
|
|
|
|
"id", "name", "username", "state", "avatar_url", "web_url"
|
|
|
|
]
|
2018-01-31 09:59:59 -05:00
|
|
|
},
|
2020-03-23 08:09:47 -04:00
|
|
|
"commands_changes": { "type": "object", "additionalProperties": true },
|
2018-01-31 09:59:59 -05:00
|
|
|
"created_at": { "type": "date" },
|
|
|
|
"updated_at": { "type": "date" },
|
|
|
|
"system": { "type": "boolean" },
|
|
|
|
"noteable_id": { "type": "integer" },
|
|
|
|
"noteable_iid": { "type": "integer" },
|
2018-05-01 08:39:44 -04:00
|
|
|
"noteable_type": { "type": "string" },
|
|
|
|
"resolved": { "type": "boolean" },
|
|
|
|
"resolvable": { "type": "boolean" },
|
2020-03-30 14:08:07 -04:00
|
|
|
"resolved_by": { "type": ["string", "null"] },
|
|
|
|
"confidential": { "type": ["boolean", "null"] }
|
2018-01-31 09:59:59 -05:00
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id", "body", "attachment", "author", "created_at", "updated_at",
|
|
|
|
"system", "noteable_id", "noteable_type"
|
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
}
|