{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ioswarm-io/json-schema/ioswarm-io-pulse-schema.json",
  "title": "Pulse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ioswarm-io-openapi.json#/components/schemas/Pulse",
  "type": "object",
  "required": [
    "as_of",
    "prices",
    "news"
  ],
  "properties": {
    "as_of": {
      "type": "string",
      "format": "date-time"
    },
    "free": {
      "type": "boolean",
      "description": "Always true."
    },
    "symbols": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "prices": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "symbol",
          "price",
          "currency",
          "source",
          "as_of"
        ],
        "properties": {
          "symbol": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "change_pct": {
            "type": [
              "number",
              "null"
            ],
            "description": "Session change in percent; null where the source has no session."
          },
          "currency": {
            "type": "string"
          },
          "source": {
            "type": "string",
            "description": "yahoo | pyth"
          },
          "as_of": {
            "type": "string"
          }
        }
      }
    },
    "prices_as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "news": {
      "type": "object",
      "properties": {
        "digest": {
          "type": [
            "object",
            "null"
          ],
          "description": "The newest published news digest, parsed: {title, as_of, report_url, stories:[{headline, link, source, excerpt}]}. Null when none ran in the last 36 hours."
        },
        "headlines": {
          "type": "array",
          "items": {
            "type": "object",
            "description": "{headline, link, publisher, published, summary}"
          }
        },
        "as_of": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "attribution": {
      "type": "string"
    },
    "next": {
      "type": "object",
      "description": "How to get the same data over MCP and how to commission a real report."
    }
  }
}