{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 200,
      "description": "Keywords (all must match); quote exact phrases, e.g. \"stablecoin\" or \"\\\"interest rates\\\"\"."
    },
    "timespan": {
      "description": "How far back to look (default 3d).",
      "type": "string",
      "enum": [
        "1h",
        "6h",
        "1d",
        "3d",
        "1w"
      ]
    },
    "sort": {
      "description": "Default latest.",
      "type": "string",
      "enum": [
        "latest",
        "relevance"
      ]
    },
    "limit": {
      "description": "Articles to return (default 15).",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}