{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptosocials-net/json-schema/cryptosocials-net-post-market-history-request-schema.json",
  "title": "PostMarketHistoryRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/cryptosocials-net-openapi-generated.yml#/components/schemas/PostMarketHistoryRequest",
  "type": "object",
  "properties": {
    "asset_id": {
      "type": "string",
      "description": "UUID of the asset"
    },
    "series_id": {
      "type": "string",
      "description": "UUID of the price series"
    },
    "date_from": {
      "type": "string",
      "description": "Inclusive UTC start"
    },
    "date_to": {
      "type": "string",
      "description": "Exclusive UTC end"
    },
    "interval": {
      "type": "integer",
      "description": "Candle interval (60,300,900,3600,86400)"
    },
    "limit": {
      "type": "integer",
      "description": "Page size (1‑50)"
    },
    "cursor": {
      "type": "string",
      "description": "Paging cursor"
    },
    "point_limit": {
      "type": "integer",
      "description": "Max raw points per page (1‑250)"
    },
    "point_cursor": {
      "type": "string",
      "description": "Raw points paging cursor"
    },
    "point_only": {
      "type": "boolean",
      "description": "Return only raw points"
    }
  },
  "required": [
    "asset_id",
    "series_id",
    "date_from",
    "date_to"
  ]
}