Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kieftrav committed Oct 16, 2024
1 parent 7ed0c4d commit 32db068
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/source/includes/_data_fetching.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@ Fetching Caesar data, particularly a reduction, on subject load in the Classifie

The base structure required by Caesar in the `data` field of the csv is an object - denoted as `{}` in JSON. The `data` attribute on this root object is an array of annotation objects that will be displayed on a subject. Below is the core structure shared by them all.

```json
```js
{
// which step in the workflow, usually S0
"stepKey" : "S0",
"stepKey": "S0",
// index of task in the workflow, usually 0
"taskIndex" : 0,
"taskIndex": 0,
// correlates with taskIndex, usually T0
"taskKey" : "T0",
"taskKey": "T0",
// all supported taskTypes are drawing
"taskType" : "drawing",
"taskType": "drawing",
// index of tool in the task, usually 0
"toolIndex" : 0,
"toolIndex": 0,
// usually 0 unless in multi-frame view
"frame" : 0,
"frame": 0,
// alphanumeric string that must be unique across all annotations in the array
"markId" : "clhhuqm9",
"markId": "clhhuqm9",
// supported toolType values are listed in the examples below
"toolType" : "<tool-from-below>",
};
"toolType": "<tool-from-below>",
}
```

## Drawing Tools
Expand Down

0 comments on commit 32db068

Please sign in to comment.