> 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/json-examples.md).

# Examples

## One segmentation label

```
{
  "filename": "PoC/001.jpg",
  "id": "8051d7cf-ef7f-481e-8ef6-17d77c97fbe4",
  "status": "waiting_for_review",
  "width": 1920,
  "height": 1080,
  "labels": [
    {
      "name": "Dog",
      "type": "segmentation",
      "color": "#ff0000",
      "annotations": [
        {
          "type": "rle",
          "segmentation": [
            [827, 1209, 5],
            [826, 1210, 7],
            [825, 1211, 9]
          ]
        }
      ]
    }
  ]
}
```

### Two segmentation labels

```
{
  "filename": "DCIM001.jpg",
  "id": "8051d7cf-ef7f-481e-8ef6-17d77c97fbe4",
  "status": "in_progress",
  "width": 1920,
  "height": 1080,
  "labels": [
    {
      "name": "Dog",
      "type": "segmentation",
      "color": "#ff0000",
      "annotations": [
        {
          "type": "rle",
          "segmentation": [
            [827, 1209, 5],
            [826, 1210, 7],
            [825, 1211, 9]
          ]
        }
      ]
    },
    {
      "name": "Cat",
      "type": "segmentation",
      "color": "#91FF00",
      "annotations": [
        {
          "type": "rle",
          "segmentation": [
            [846, 1273, 11],
            [846, 1274, 11],
            [847, 1275, 10]
          ]
        }
      ]
    }
  ]
}
```

### One vector label with two shapes

```
{
  "filename": "/POC/RAW/DCIM001.jpg",
  "id": "8051d7cf-ef7f-481e-8ef6-17d77c97fbe4",
  "status": "in_progress",
  "width": 1920,
  "height": 1080,
  "labels": [
    {
      "name": "Car",
      "type": "vector",
      "color": "#ff0000",
      "annotations": [
        {
          "type": "boundingBox",
          "segmentation": [
            2039, 535,
            2649, 535,
            2649, 917,
            2039, 917
          ]
          "attributes": [
            {
              "name": "status"
              "values": ["scratch", "dent", ...]
            }
          ]
        },
        {
          "type": "polygon",
          "segmentation": [85, 48, 74, 85, 15, 59, 73, 17],
          "attributes": [
            {
              "name": "size"
              "values": ["medium"]
            },
            {
              "name": "type"
              "values": ["SUV"]
            }
          ]
        }
      ]
    }
  ]
}
```

### One segmentation label and one vector label

```
{
  "filename": "DCIM001.jpg",
  "id": "8051d7cf-ef7f-481e-8ef6-17d77c97fbe4",
  "status": "skipped",
  "width": 1920,
  "height": 1080,
  "labels": [
    {
      "name": "Dog",
      "type": "segmentation",
      "color": "#ff0000",
      "annotations": [
        {
          "type": "rle",
          "segmentation": [
            [827, 1209, 5],
            [826, 1210, 7],
            [825, 1211, 9]
          ]
        }
      ]
    },
    {
      "name": "Car",
      "type": "vector",
      "color": "#ff0000",
      "annotations": [
        {
          "type": "boundingBox",
          "segmentation": [
            2039, 535,
            2649, 535,
            2649, 917,
            2039, 917
          ]
          "attributes": [
            {
              "name": "status"
              "values": ["scratch", "dent", ...]
            }
          ]
        },
        {
          "type": "polygon",
          "segmentation": [85, 48, 74, 85, 15, 59, 73, 17],
          "attributes": [
            {
              "name": "size"
              "values": ["medium"]
            },
            {
              "name": "type"
              "values": ["SUV"]
            }
          ]
        }
      ]
    }
  ]
}
```
