{
  "type": "object",
  "required": [
    "notes",
    "last_fetched_at"
  ],
  "properties": {
    "notes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "type",
          "attachment",
          "author",
          "created_at",
          "updated_at",
          "system",
          "noteable_id",
          "noteable_type",
          "resolvable",
          "noteable_iid",
          "note",
          "note_html",
          "current_user",
          "suggestions",
          "resolved",
          "resolved_by",
          "discussion_id",
          "emoji_awardable",
          "award_emoji",
          "report_abuse_path",
          "noteable_note_url",
          "cached_markdown_version",
          "toggle_award_path"
        ],
        "properties": {
          "id": { "type": "string" },
          "author": {
            "$ref": "../../../../../spec/fixtures/api/schemas/entities/note_user_entity.json",
            "required": [
              "id",
              "state",
              "avatar_url",
              "path",
              "name",
              "username"
            ]
          },
          "created_at": { "type": "string" },
          "updated_at": { "type": "string" },
          "system": { "type": "boolean" },
          "noteable_id": { "type": "integer" },
          "noteable_type": { "type": "string" },
          "resolvable": { "type": "boolean" },
          "note": { "type": "string" },
          "note_html": { "type": "string" },
          "current_user": {
            "type": "object",
            "required": [
              "can_edit",
              "can_award_emoji",
              "can_resolve"
            ],
            "properties": {
              "can_edit": { "type": "boolean" },
              "can_award_emoji": { "type": "boolean" },
              "can_resolve": { "type": "boolean" }
            }
          },
          "suggestions": { "type": "array" },
          "resolved": { "type": "boolean" },
          "discussion_id": { "type": "string" },
          "emoji_awardable": { "type": "boolean" },
          "award_emoji": { "type": "array" },
          "report_abuse_path": { "type": "string" },
          "noteable_note_url": { "type": "string" },
          "cached_markdown_version": { "type": "integer" },
          "toggle_award_path": { "type": "string" }
        }
      }
    },
    "last_fetched_at": { "type": "integer" },
    "more": { "type": "boolean" }
  },
  "additionalProperties": false
}
