2019-10-12 21:52:04 +05:30
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required" : [
|
|
|
|
"id",
|
|
|
|
"notes",
|
|
|
|
"individual_note"
|
|
|
|
],
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "string" },
|
|
|
|
"individual_note": { "type": "boolean" },
|
|
|
|
"notes": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "string" },
|
|
|
|
"type": { "type": ["string", "null"] },
|
|
|
|
"body": { "type": "string" },
|
|
|
|
"attachment": { "type": ["string", "null"]},
|
|
|
|
"award_emoji": { "type": "array" },
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"state": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" },
|
|
|
|
"web_url": { "type": "uri" },
|
|
|
|
"status_tooltip_html": { "type": ["string", "null"] },
|
|
|
|
"path": { "type": "string" }
|
2021-06-08 01:23:25 +05:30
|
|
|
},
|
2020-05-24 23:13:21 +05:30
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"state",
|
|
|
|
"avatar_url",
|
|
|
|
"path",
|
|
|
|
"name",
|
|
|
|
"username"
|
|
|
|
]
|
2019-10-12 21:52:04 +05:30
|
|
|
},
|
2021-06-08 01:23:25 +05:30
|
|
|
"created_at": { "type": "string", "format": "date-time" },
|
|
|
|
"updated_at": { "type": "string", "format": "date-time" },
|
2019-10-12 21:52:04 +05:30
|
|
|
"system": { "type": "boolean" },
|
|
|
|
"noteable_id": { "type": "integer" },
|
2020-04-22 19:07:51 +05:30
|
|
|
"noteable_iid": { "type": ["integer", "null"] },
|
2019-10-12 21:52:04 +05:30
|
|
|
"noteable_type": { "type": "string" },
|
|
|
|
"resolved": { "type": "boolean" },
|
|
|
|
"resolvable": { "type": "boolean" },
|
|
|
|
"resolved_by": { "type": ["string", "null"] },
|
2021-06-08 01:23:25 +05:30
|
|
|
"resolved_at": { "type": ["string", "null"], "format": "date-time" },
|
2019-10-12 21:52:04 +05:30
|
|
|
"note": { "type": "string" },
|
|
|
|
"note_html": { "type": "string" },
|
|
|
|
"current_user": { "type": "object" },
|
|
|
|
"suggestions": { "type": "array" },
|
|
|
|
"discussion_id": { "type": "string" },
|
|
|
|
"emoji_awardable": { "type": "boolean" },
|
|
|
|
"report_abuse_path": { "type": "string" },
|
|
|
|
"noteable_note_url": { "type": "string" },
|
|
|
|
"resolve_path": { "type": "string" },
|
|
|
|
"resolve_with_issue_path": { "type": "string" },
|
|
|
|
"cached_markdown_version": { "type": "integer" },
|
|
|
|
"human_access": { "type": ["string", "null"] },
|
2020-11-24 15:15:51 +05:30
|
|
|
"is_noteable_author": { "type": "boolean" },
|
|
|
|
"is_contributor": { "type": "boolean" },
|
|
|
|
"project_name": { "type": "string" },
|
2019-10-12 21:52:04 +05:30
|
|
|
"toggle_award_path": { "type": "string" },
|
2020-04-22 19:07:51 +05:30
|
|
|
"path": { "type": "string" },
|
|
|
|
"commands_changes": { "type": "object", "additionalProperties": true },
|
2022-08-27 11:52:29 +05:30
|
|
|
"confidential": { "type": ["boolean", "null"] },
|
|
|
|
"internal": { "type": ["boolean", "null"] }
|
2019-10-12 21:52:04 +05:30
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id", "attachment", "author", "created_at", "updated_at",
|
|
|
|
"system", "noteable_id", "noteable_type"
|
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|