{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://clawcombinator.ai/feeds/market-signals.schema.json",
  "title": "ClawCombinator Market Signal Feed",
  "type": "object",
  "required": [
    "feed",
    "version",
    "status",
    "generated_at",
    "signals"
  ],
  "properties": {
    "feed": {
      "const": "market-signals"
    },
    "version": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time"
    },
    "synthetic_examples_only": {
      "type": "boolean"
    },
    "description": {
      "type": "string"
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "signal_id",
          "observed_at",
          "venture_id",
          "stage",
          "artefact_type",
          "kind",
          "confidence_label",
          "amount_usd",
          "currency",
          "verification",
          "evidence",
          "next_action"
        ],
        "properties": {
          "signal_id": {
            "type": "string"
          },
          "synthetic_example": {
            "type": "boolean"
          },
          "observed_at": {
            "type": "string",
            "format": "date-time"
          },
          "venture_id": {
            "type": "string"
          },
          "stage": {
            "type": "string"
          },
          "artefact_type": {
            "const": "marketSignal"
          },
          "kind": {
            "type": "string"
          },
          "confidence_label": {
            "type": "string"
          },
          "amount_usd": {
            "type": "number",
            "minimum": 0
          },
          "currency": {
            "const": "USD"
          },
          "verification": {
            "type": "object",
            "required": [
              "tier",
              "status"
            ],
            "properties": {
              "tier": {
                "type": "string"
              },
              "status": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "evidence": {
            "type": "object",
            "required": [
              "type",
              "note"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "note": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "next_action": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
