File size: 1,671 Bytes
2c3dd0c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://hypercortex.org/schemas/task.json",
  "title": "Task",
  "description": "An actionable step contributing to a goal within the Mesh.",
  "version": "1.0",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the task."
    },
    "goal_id": {
      "type": "string",
      "description": "ID of the parent goal this task is associated with."
    },
    "title": {
      "type": "string",
      "description": "Short, human-readable title of the task."
    },
    "description": {
      "type": "string",
      "description": "Detailed explanation of the task's objective."
    },
    "assigned_to": {
      "type": "array",
      "description": "List of agent IDs assigned to execute the task.",
      "items": { "type": "string" }
    },
    "status": {
      "type": "string",
      "description": "Current state of the task.",
      "enum": ["proposed", "in-progress", "completed", "failed"]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the task was created (ISO 8601 format)."
    },
    "deadline": {
      "type": "string",
      "format": "date-time",
      "description": "Optional task completion deadline (ISO 8601 format)."
    },
    "tags": {
      "type": "array",
      "description": "Optional tags for task classification.",
      "items": { "type": "string" }
    }
  },
  "required": ["id", "goal_id", "title", "description", "created_at", "status"],
  "additionalProperties": false
}