Changes between Version 10 and Version 11 of json-annotation-format


Ignore:
Timestamp:
Feb 5, 2014, 1:03:29 PM (10 years ago)
Author:
casties
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • json-annotation-format

    v10 v11  
    1414  uri:: identifies the annotation target, i.e. the annotated page, required for retrieving annotations from the store.
    1515  ranges:: the selected text (see below) that was annotated, required for text.
    16   shapes:: the selected image region (see below) that was annotated, required for images.
     16  regions:: the selected image region (see below) that was annotated, required for images.
    1717  resource:: identifies the broader annotation target, e.g. the whole book if only one page was annotated as '''uri''', optional, provided by MPIWG viewer.
    1818  user:: user that created the annotation, optional, provided by the Annotator Permissions plugin.
     
    4646== Image selection ==
    4747
    48 Annotations of images have a "shapes" member, specifying a list of shapes on the image. The shape definitions are based on the [[http://www.w3.org/TR/SVG/shapes.html|SVG shape definitions]].
     48Annotations of images have a "regions" member, specifying a list of regions on the image. The region definitions are based on the [[http://geojson.org/geojson-spec.html|GeoJSON format]] and the [[http://www.w3.org/TR/SVG/shapes.html|SVG shape definitions]].
    4949
    50 The possible shape forms are
     50The possible region forms are
    5151  * point
     52  * line
    5253  * rectangle
    5354  * polygon (not yet implemented)
     
    6061Example of an image area specification:
    6162{{{
    62 "shapes" : [{
    63   "type" : "rectangle",
    64   "geometry" : {
    65     "units" : "fraction",
    66     "x" : 0.0123,
    67     "y": 0.345,
    68     "width" : 0.567,
    69     "height": 0.389
    70   }
    71 }]
    72 }}}
    73 
    74 '''New idea, inspired by GeoJSON (http://geojson.org/geojson-spec.html)'''
    75 
    76 {{{
    77 "shapes" : [{
     63"regions" : [{
    7864  "geometry" : {
    7965    "type" : "Rectangle",