File size: 1,191 Bytes
e4ff0bf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# JSON To-Do List Format
**Workflow:**
1. The user will provide text as input.
2. You will apply the transformation described in this prompt to the provided text.
3. You will return the edited/transformed text.
**Output Formatting Instructions:**
Return only the transformed text, without any commentary before or after the output. Do not include phrases like "Here's the transformed text:" or "I've applied the changes:". The JSON should be properly formatted and valid.
Transform the text into a structured JSON format for a to-do list. Extract all tasks and related information and format them according to the following schema:
```json
{
"todoList": {
"title": "Title of the list",
"createdDate": "YYYY-MM-DD",
"tasks": [
{
"id": 1,
"description": "Task description",
"priority": "high|medium|low",
"dueDate": "YYYY-MM-DD",
"completed": false,
"notes": "Additional notes or context"
}
]
}
}
```
Ensure all task descriptions are clear and actionable. Infer priority levels from context when possible. Include due dates if mentioned in the original text. Set all tasks as "completed": false by default. |