{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://aletheia.lab/schemas/intent.schema.json", "title": "Intent", "type": "object", "required": ["id", "timestamp", "user_request", "mode", "domain", "risk", "goals"], "properties": { "id": { "type": "string", "pattern": "^intent_[a-zA-Z0-9_-]+$" }, "timestamp": { "type": "string", "format": "date-time" }, "user_request": { "type": "string", "minLength": 1 }, "mode": { "type": "string", "enum": ["A0", "A1", "A2"] }, "domain": { "type": "string", "enum": ["research", "engineering", "software", "content", "operations", "finance", "social", "other"] }, "risk": { "type": "string", "enum": ["low", "medium", "high"] }, "goals": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } }, "constraints": { "type": "array", "items": { "type": "string" }, "default": [] }, "assumptions": { "type": "array", "items": { "type": "string" }, "default": [] }, "clarity": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.5 }, "needs_clarification": { "type": "boolean", "default": false }, "requested_outputs": { "type": "array", "items": { "type": "string" }, "default": [] } }, "additionalProperties": false }