{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fiasignals-com/json-schema/fiasignals-com-risk-job-spec-input-schema.json",
  "title": "RiskJobSpecInput",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fiasignals-com-openapi.json#/components/schemas/RiskJobSpecInput",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name",
      "description": "wallet_risk_check or token_risk_score"
    },
    "price_usdc": {
      "type": "string",
      "title": "Price Usdc",
      "default": "0.05"
    },
    "payment_rail": {
      "type": "string",
      "title": "Payment Rail",
      "default": "x402"
    },
    "method": {
      "type": "string",
      "title": "Method",
      "default": "POST"
    },
    "endpoint": {
      "type": "string",
      "title": "Endpoint"
    },
    "inputs": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Inputs"
    },
    "outputs": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Outputs"
    },
    "source_mode": {
      "type": "string",
      "enum": [
        "no_spend",
        "mixed_no_spend_preview",
        "x402_protected"
      ],
      "title": "Source Mode",
      "default": "no_spend"
    },
    "calls_paid_upstream": {
      "type": "boolean",
      "title": "Calls Paid Upstream",
      "default": false
    },
    "requires_private_key": {
      "type": "boolean",
      "title": "Requires Private Key",
      "default": false
    },
    "places_trade": {
      "type": "boolean",
      "title": "Places Trade",
      "default": false
    },
    "moves_funds": {
      "type": "boolean",
      "title": "Moves Funds",
      "default": false
    },
    "max_runtime_seconds": {
      "type": "integer",
      "maximum": 300.0,
      "minimum": 1.0,
      "title": "Max Runtime Seconds",
      "default": 30
    }
  },
  "type": "object",
  "required": [
    "name",
    "endpoint"
  ]
}