File size: 1,686 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/goal.json",
  "title": "Goal",
  "description": "A high-level objective shared within the Mesh, typically decomposed into tasks.",
  "version": "1.0",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the goal."
    },
    "title": {
      "type": "string",
      "description": "Short, human-readable name of the goal."
    },
    "description": {
      "type": "string",
      "description": "Detailed explanation of the goal's purpose."
    },
    "created_by": {
      "type": "string",
      "description": "Agent ID of the goal’s creator."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the goal was created (ISO 8601 format)."
    },
    "status": {
      "type": "string",
      "description": "Current lifecycle state of the goal.",
      "enum": ["proposed", "active", "completed", "rejected"]
    },
    "tasks": {
      "type": "array",
      "description": "List of task IDs linked to this goal.",
      "items": { "type": "string" }
    },
    "participants": {
      "type": "array",
      "description": "List of agent IDs contributing to the goal.",
      "items": { "type": "string" }
    },
    "tags": {
      "type": "array",
      "description": "Optional tags for semantic classification of the goal.",
      "items": { "type": "string" }
    }
  },
  "required": ["id", "title", "description", "created_by", "created_at", "status"],
  "additionalProperties": false
}