> For the complete documentation index, see [llms.txt](https://docs.annostation.orni.co.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.annostation.orni.co.jp/resources/json.md).

# JSON format

## Data format

```
{
  "filename": STRING,
  "id": STRING,
  "status": STRING,
  "width": INTEGER,
  "height": INTEGER,
  "labels": [
    {
      "name": STRING,
      "type": STRING,
      "color": STRING,
      "annotations": [RLE] or [vectors]
    },
    ...
  ]
}
```

* **filename**: Name of the image, pathname included.
* **id**: ID of the annotation data in Annostation.
* **status**: Status of the image, the possible values are: `new`, `in_progress`, `waiting_for_review`, `waiting_for_collaborator_review`, `waiting_for_owner_review`, `waiting_for_change`, `done` and `skipped`
  * When to use `waiting_for_review`, `waiting_for_collaborator_review` or `waiting_for_owner_review`:
    * If the project of the image is not being collaborated, simply use `waiting_for_review`
    * If the project of the image is being collaborated and you want the image to be reviewed by project collaborator, use `waiting_for_collaborator_review`
    * If the project of the image is being collaborated and you want the image to be reviewed by the project owner, use `waiting_for_owner_review`
* **width**: Width of the image.
* **height**: Height of the image.
* **labels**: Array of objects, each object represents a label in AnnoStation.
  * **name**: Name of the label.
  * **type**: Type of the label, the possible values are: `segmentation` and `vector`
  * **color**: Color of the label.
  * [**annotations**](/resources/json/json-annotation.md): Array of RLE (run-length encoding) objects for `segmentation` type or vector objects for `vector` type, depends on `type`.&#x20;
