|
{
|
|
"$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
|
|
} |