Skip to content

Tasks JSON Format

Ryan Eaton edited this page Nov 6, 2023 · 3 revisions

Using the tasks table and the taskList Json structure

The Tasks table expects the date in the format "YYYY-MM-DD"

The taskList Json should be structured like the following

{
  "Top Priority": [
    {
      "position": "Int",
      "title": "String",
      "notes": "String",
      "status": ["NotStarted","InProgress","Completed","RolledOver"],
      "pomodoros": "Int",
      "expanded": "Boolean"
    }
  ],
  "Important": [
    {
      "position": "Int",
      "title": "String",
      "notes": "String",
      "status": ["NotStarted","InProgress","Completed","RolledOver"],
      "pomodoros": "Int",
      "expanded": "Boolean"
    }
  ],
  "Other": [
    {
      "position": "Int",
      "title": "String",
      "notes": "String",
      "status": ["NotStarted","InProgress","Completed","RolledOver"],
      "pomodoros": "Int",
      "expanded": "Boolean"
    }
  ]
}

and just to be clear where it says "status": ["NotStarted","InProgress","Completed","RolledOver"], that means it should be one of the values contained inside the brackets, not a list of those values.

Clone this wiki locally