{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seiche-info/json-schema/seiche-info-task-signal-schema.json",
  "title": "TaskSignal",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seiche-info-agents-openapi.json#/components/schemas/TaskSignal",
  "properties": {
    "event_id": {
      "type": "string",
      "maxLength": 36,
      "minLength": 36,
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      "title": "Event Id"
    },
    "grant_id": {
      "type": "string",
      "maxLength": 36,
      "minLength": 36,
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      "title": "Grant Id"
    },
    "goal": {
      "type": "string",
      "enum": [
        "research",
        "compare",
        "monitor",
        "buy",
        "arbitrage"
      ],
      "title": "Goal"
    },
    "topic": {
      "type": "string",
      "enum": [
        "dollar_funding",
        "company_evidence",
        "market_liquidity",
        "china_economy",
        "science",
        "public_datasets",
        "ai_economy"
      ],
      "title": "Topic"
    },
    "stage": {
      "type": "string",
      "enum": [
        "exploring",
        "comparing",
        "decided",
        "completed",
        "abandoned"
      ],
      "title": "Stage"
    },
    "outcome": {
      "type": "string",
      "enum": [
        "unknown",
        "useful",
        "not_useful",
        "blocked"
      ],
      "title": "Outcome",
      "default": "unknown"
    },
    "traffic_class": {
      "type": "string",
      "enum": [
        "real",
        "synthetic"
      ],
      "title": "Traffic Class",
      "default": "real"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "event_id",
    "grant_id",
    "goal",
    "topic",
    "stage"
  ]
}