{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://hwlab.pikastech.local/protocol/schemas/agent-session.schema.json", "title": "HWLAB Agent Session", "type": "object", "required": [ "agentSessionId", "projectId", "serviceId", "status", "environment", "startedAt", "updatedAt" ], "properties": { "agentSessionId": { "$ref": "common.json#/$defs/id" }, "projectId": { "$ref": "common.json#/$defs/id" }, "serviceId": { "const": "hwlab-agent-mgr" }, "status": { "type": "string", "enum": ["starting", "active", "waiting", "completed", "failed", "canceled"] }, "environment": { "$ref": "common.json#/$defs/environment" }, "requestedBy": { "$ref": "common.json#/$defs/id" }, "goal": { "type": "string", "maxLength": 4000 }, "startedAt": { "$ref": "common.json#/$defs/timestamp" }, "completedAt": { "$ref": "common.json#/$defs/timestamp" }, "updatedAt": { "$ref": "common.json#/$defs/timestamp" }, "metadata": { "$ref": "common.json#/$defs/jsonObject" } }, "additionalProperties": false }