Skip to content
rgrp edited this page Jun 27, 2011 · 12 revisions

The best way to think of an annotation is in its json serialization. In that form a standard annotation looks like:

    {
      "account_id": null, 
      "created": "2011-05-24T18:52:08.036814", 
      "text": "A note I wrote", 
      "tags": [
        "a-tag"
      ], 
      "uri": null, 
      "ranges": [
        {
          "start": "/p[69]/font/font", 
          "end": "/p[70]/font/font", 
          "startOffset": 0, 
          "endOffset": 120
        }
      ], 
      "annotator_schema_version": "v1.0", 
      "user": {
        "id": "the-user-id"
      }, 
      "quote": null, 
      "id": "39fc339cf058bd22176771b3e3187329", 
      "permissions": {
        "read": [], 
        "admin": [], 
        "update": [], 
        "delete": []
      }

Other Formats

Clone this wiki locally