TheRundown Data MCP
Six Product API tools require authentication; protocol metadata discovery is keyless.
我該用這個嗎
品質與安全性
發現項目(2)
- HIGH
- LOW在 list_events 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"data": {
"url": "https://mcp.therundown.io/mcp"
}
}
}遠端端點
https://mcp.therundown.io/mcpstreamable-http它能做什麼
工具清單
工具(6)
🟢list_sports
List current canonical sport IDs and names. Do not use a catalog row as evidence of current events, prices, or plan access.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"source_url": {
"type": "string",
"format": "uri"
},
"retrieved_at": {
"type": "string"
},
"usage": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"data": {
"type": "object",
"properties": {
"sports": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sport_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"sport_name": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
}
},
"required": [
"sports"
],
"additionalProperties": false
},
"empty": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"page_out_of_range",
"no_results"
]
},
"message": {
"type": "string"
},
"scope": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"scope"
],
"additionalProperties": false
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"plan": {
"type": [
"string",
"null"
]
},
"missing_entitlement": {
"type": [
"string",
"null"
]
},
"required_plan": {
"type": [
"string",
"null"
]
},
"retry_after": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"monthly_remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"limit_reason": {
"type": [
"string",
"null"
]
},
"event_id": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_affiliates
List currently published affiliate IDs and names, excluding retired affiliates. Do not use a catalog row as proof of plan access or an open offer for a sport or market.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"source_url": {
"type": "string",
"format": "uri"
},
"retrieved_at": {
"type": "string"
},
"usage": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"data": {
"type": "object",
"properties": {
"affiliates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"affiliate_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
"affiliate_name": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
}
},
"required": [
"affiliates"
],
"additionalProperties": false
},
"empty": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"page_out_of_range",
"no_results"
]
},
"message": {
"type": "string"
},
"scope": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"scope"
],
"additionalProperties": false
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"plan": {
"type": [
"string",
"null"
]
},
"missing_entitlement": {
"type": [
"string",
"null"
]
},
"required_plan": {
"type": [
"string",
"null"
]
},
"retry_after": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"monthly_remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"limit_reason": {
"type": [
"string",
"null"
]
},
"event_id": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_markets(sport_id, date, offset, live, page, ...)
Discover market definitions, or available markets for one sport and date. Do not use definitions as price quotes or combine live with date-based discovery. Catalog sport/live filters use catalog metadata.
輸入結構描述
{
"type": "object",
"properties": {
"sport_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"offset": {
"default": 0,
"description": "Date-boundary offset in minutes; used only with date-based discovery.",
"type": "integer",
"minimum": -840,
"maximum": 840
},
"live": {
"type": "boolean"
},
"page": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"limit": {
"default": 50,
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"source_url": {
"type": "string",
"format": "uri"
},
"retrieved_at": {
"type": "string"
},
"usage": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"data": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"period_id": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"live": {
"type": [
"boolean",
"null"
]
},
"live_variant_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"sports": {
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
}
},
"additionalProperties": false
}
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next_page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"items",
"total",
"page",
"limit",
"next_page"
],
"additionalProperties": false
},
"empty": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"page_out_of_range",
"no_results"
]
},
"message": {
"type": "string"
},
"scope": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"scope"
],
"additionalProperties": false
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"plan": {
"type": [
"string",
"null"
]
},
"missing_entitlement": {
"type": [
"string",
"null"
]
},
"required_plan": {
"type": [
"string",
"null"
]
},
"retry_after": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"monthly_remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"limit_reason": {
"type": [
"string",
"null"
]
},
"event_id": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_events(sport_id, date, offset, market_ids, affiliate_ids, ...)
Find event IDs and summaries for one sport and date. Do not use this tool for futures or as a price quote; use the returned exact event ID with get_main_lines. Defaults to open main lines for prematch markets 1/2/3 and affiliates 19/23. Each local page refetches a metered snapshot.
輸入結構描述
{
"type": "object",
"properties": {
"sport_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Calendar date. Without offset, the day starts at midnight UTC."
},
"offset": {
"default": 0,
"description": "Date-boundary offset in minutes; default UTC.",
"type": "integer",
"minimum": -840,
"maximum": 840
},
"market_ids": {
"default": [
1,
2,
3
],
"description": "Canonical market IDs. Prematch 1/2/3; live 41/42/43. Discover with list_markets.",
"minItems": 1,
"maxItems": 12,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
},
"affiliate_ids": {
"default": [
19,
23
],
"description": "Canonical affiliate IDs; defaults to 19 and 23. Discover current IDs with list_affiliates.",
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
},
"page": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"limit": {
"default": 50,
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"sport_id",
"date"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"source_url": {
"type": "string",
"format": "uri"
},
"retrieved_at": {
"type": "string"
},
"usage": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"data": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"event_id": {
"type": [
"string",
"null"
]
},
"sport_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"event_date": {
"type": [
"string",
"null"
]
},
"score": {
"anyOf": [
{
"type": "object",
"properties": {
"event_status": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"score_away": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"score_home": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"game_clock": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"display_clock": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"game_period": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"event_status_detail": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"updated_at": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"teams": {
"type": "array",
"items": {
"type": "object",
"properties": {
"team_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"mascot": {
"type": [
"string",
"null"
]
},
"is_home": {
"type": [
"boolean",
"null"
]
},
"is_away": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}
},
"market_ids": {
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
}
},
"required": [
"teams",
"market_ids"
],
"additionalProperties": false
}
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next_page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"items",
"total",
"page",
"limit",
"next_page"
],
"additionalProperties": false
},
"empty": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"page_out_of_range",
"no_results"
]
},
"message": {
"type": "string"
},
"scope": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"scope"
],
"additionalProperties": false
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"plan": {
"type": [
"string",
"null"
]
},
"missing_entitlement": {
"type": [
"string",
"null"
]
},
"required_plan": {
"type": [
"string",
"null"
]
},
"retry_after": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"monthly_remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"limit_reason": {
"type": [
"string",
"null"
]
},
"event_id": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_main_lines(event_id, market_ids, affiliate_ids, page, limit)
Fetch open per-affiliate main lines for one event_id. Do not call until list_events returned that exact ID, and do not treat retrieved_at as price freshness. Preserves participant identity, line value and price updated_at. Request live markets 41/42/43 explicitly; each local page is metered.
輸入結構描述
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,80}$",
"description": "Exact event_id from list_events; never a URL."
},
"market_ids": {
"default": [
1,
2,
3
],
"description": "Canonical market IDs. Prematch 1/2/3; live 41/42/43. Discover with list_markets.",
"minItems": 1,
"maxItems": 12,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
},
"affiliate_ids": {
"default": [
19,
23
],
"description": "Canonical affiliate IDs; defaults to 19 and 23. Discover current IDs with list_affiliates.",
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
},
"page": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"limit": {
"default": 50,
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"required": [
"event_id"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"source_url": {
"type": "string",
"format": "uri"
},
"retrieved_at": {
"type": "string"
},
"usage": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"data": {
"type": "object",
"properties": {
"event": {
"type": "object",
"properties": {
"event_id": {
"type": [
"string",
"null"
]
},
"sport_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"event_date": {
"type": [
"string",
"null"
]
},
"score": {
"anyOf": [
{
"type": "object",
"properties": {
"event_status": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"score_away": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"score_home": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"game_clock": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"display_clock": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"game_period": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"event_status_detail": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"updated_at": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"teams": {
"type": "array",
"items": {
"type": "object",
"properties": {
"team_id": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"mascot": {
"type": [
"string",
"null"
]
},
"is_home": {
"type": [
"boolean",
"null"
]
},
"is_away": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": false
}
},
"market_ids": {
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
}
},
"required": [
"teams",
"market_ids"
],
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"market_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
"market_name": {
"type": [
"string",
"null"
]
},
"period_id": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"participant": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"type": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"line_id": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"line_value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"affiliate_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
"price": {
"type": "number"
},
"is_main_line": {
"type": "boolean",
"const": true
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"participant",
"line_value",
"affiliate_id",
"price",
"is_main_line"
],
"additionalProperties": false
}
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next_page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"event",
"items",
"total",
"page",
"limit",
"next_page"
],
"additionalProperties": false
},
"empty": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"page_out_of_range",
"no_results"
]
},
"message": {
"type": "string"
},
"scope": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"scope"
],
"additionalProperties": false
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"plan": {
"type": [
"string",
"null"
]
},
"missing_entitlement": {
"type": [
"string",
"null"
]
},
"required_plan": {
"type": [
"string",
"null"
]
},
"retry_after": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"monthly_remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"limit_reason": {
"type": [
"string",
"null"
]
},
"event_id": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_futures(sport_id, market_ids, affiliate_ids, limit, cursor, ...)
Read one sport's scoped futures competition page. Do not use this for dated event discovery or treat a partial page as a complete listing. Futures require an eligible Ultra plan or higher and use opaque cursor pagination.
輸入結構描述
{
"type": "object",
"properties": {
"sport_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
"market_ids": {
"default": [
1141
],
"description": "Canonical futures market IDs; defaults to 1141. Discover with list_markets.",
"minItems": 1,
"maxItems": 12,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
},
"affiliate_ids": {
"default": [
19,
23
],
"description": "Canonical affiliate IDs; defaults to 19 and 23. Discover current IDs with list_affiliates.",
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
},
"limit": {
"default": 50,
"type": "integer",
"minimum": 1,
"maximum": 200
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"include_settled": {
"default": false,
"type": "boolean"
}
},
"required": [
"sport_id"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"source_url": {
"type": "string",
"format": "uri"
},
"retrieved_at": {
"type": "string"
},
"usage": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"data": {
"type": "object",
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"event_id": {
"type": [
"string",
"null"
]
},
"sport_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
"event_date": {
"type": [
"string",
"null"
]
},
"settle_by": {
"type": [
"string",
"null"
]
},
"event_status": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"schedule": {
"type": "object",
"properties": {
"event_name": {
"type": [
"string",
"null"
]
},
"league_name": {
"type": [
"string",
"null"
]
},
"season_year": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"additionalProperties": false
},
"settlement": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"status": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"settled_at": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"winning_line": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"winning_participant_id": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"additionalProperties": false
}
},
"market_ids": {
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
}
},
"main_lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"market_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
"market_name": {
"type": [
"string",
"null"
]
},
"period_id": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"participant": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"type": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"line_value": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"affiliate_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
"price": {
"type": "number"
},
"is_main_line": {
"type": "boolean",
"const": true
},
"updated_at": {
"type": [
"string",
"null"
]
}
},
"required": [
"participant",
"line_value",
"affiliate_id",
"price",
"is_main_line"
],
"additionalProperties": false
}
}
},
"required": [
"market_ids",
"main_lines"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"count": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"total": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"has_more": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"next_cursor": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"additionalProperties": false
}
},
"required": [
"events",
"meta"
],
"additionalProperties": false
},
"empty": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"page_out_of_range",
"no_results"
]
},
"message": {
"type": "string"
},
"scope": {
"type": "object",
"properties": {},
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"scope"
],
"additionalProperties": false
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"plan": {
"type": [
"string",
"null"
]
},
"missing_entitlement": {
"type": [
"string",
"null"
]
},
"required_plan": {
"type": [
"string",
"null"
]
},
"retry_after": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"monthly_remaining_points": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"limit_reason": {
"type": [
"string",
"null"
]
},
"event_id": {
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}社群
證據