Skip to content

Tasks JSON Format

mjw56 edited this page Nov 9, 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": [
    {
      "id": "Int",
      "title": "String",
      "notes": "String",
      "status": ["NotStarted","InProgress","Completed","RolledOver"],
      "pomodoros": "Int",
      "expanded": "Boolean"
    }
  ],
  "Important": [
    {
      "id": "Int",
      "title": "String",
      "notes": "String",
      "status": ["NotStarted","InProgress","Completed","RolledOver"],
      "pomodoros": "Int",
      "expanded": "Boolean"
    }
  ],
  "Other": [
    {
      "id": "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