{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/readwise/json-schema/readwise-post-api-v2-highlights-response-schema.json",
  "title": "PostApiV2HighlightsResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/readwise-openapi-generated.yml#/components/schemas/PostApiV2HighlightsResponse",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    },
    "nextPageCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "user_book_id": {
            "type": "integer"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          },
          "author": {
            "type": "string"
          },
          "readable_title": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "cover_image_url": {
            "type": "string"
          },
          "unique_url": {
            "type": "string"
          },
          "book_tags": {
            "type": "array",
            "items": {}
          },
          "category": {
            "type": "string"
          },
          "document_note": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "readwise_url": {
            "type": "string"
          },
          "source_url": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "asin": {
            "type": [
              "string",
              "null"
            ]
          },
          "highlights": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "is_deleted": {
                  "type": "boolean"
                },
                "text": {
                  "type": "string"
                },
                "location": {
                  "type": "integer"
                },
                "location_type": {
                  "type": "string"
                },
                "note": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "color": {
                  "type": "string"
                },
                "highlighted_at": {
                  "type": "string",
                  "format": "date-time"
                },
                "created_at": {
                  "type": "string",
                  "format": "date-time"
                },
                "updated_at": {
                  "type": "string",
                  "format": "date-time"
                },
                "external_id": {
                  "type": "string"
                },
                "end_location": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "book_id": {
                  "type": "integer"
                },
                "tags": {
                  "type": "array",
                  "items": {}
                },
                "is_favorite": {
                  "type": "boolean"
                },
                "is_discard": {
                  "type": "boolean"
                },
                "readwise_url": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}