2018-03-17 18:26:18 +05:30
|
|
|
{
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "integer" },
|
2018-03-27 19:54:05 +05:30
|
|
|
"type": { "type": ["string", "null"] },
|
2018-03-17 18:26:18 +05:30
|
|
|
"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" }
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"created_at": { "type": "date" },
|
|
|
|
"updated_at": { "type": "date" },
|
|
|
|
"system": { "type": "boolean" },
|
|
|
|
"noteable_id": { "type": "integer" },
|
|
|
|
"noteable_iid": { "type": "integer" },
|
|
|
|
"noteable_type": { "type": "string" }
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id", "body", "attachment", "author", "created_at", "updated_at",
|
|
|
|
"system", "noteable_id", "noteable_type"
|
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
}
|