addedInput schema / examples
Added value: +[
+ {
+ "markets": "h2h",
+ "regions": "us",
+ "sport_key": "americanfootball_nfl"
+ },
+ {
+ "bookmakers": "draftkings,fanduel",
+ "markets": "spreads,totals",
+ "odds_format": "decimal",
+ "regions": "us,uk",
+ "sport_key": "basketball_nba"
+ }
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "count": {
+ "description": "Number of items returned.",
+ "type": "integer"
+ },
+ "items": {
+ "items": {
+ "properties": {
+ "away_team": {
+ "description": "Away team name",
+ "type": "string"
+ },
+ "bookmakers": {
+ "items": {
+ "properties": {
+ "key": {
+ "description": "Bookmaker key",
+ "type": "string"
+ },
+ "last_update": {
+ "description": "Last odds update time",
+ "type": "string"
+ },
+ "markets": {
+ "items": {
+ "properties": {
+ "key": {
+ "description": "Market type (h2h, spreads, totals)",
+ "type": "string"
+ },
+ "last_update": {
+ "description": "Market last update time",
+ "type": "string"
+ },
+ "outcomes": {
+ "items": {
+ "properties": {
+ "name": {
+ "description": "Outcome name (team/option)",
+ "type": "string"
+ },
+ "point": {
+ "description": "Spread/total point (if applicable)",
+ "type": "number"
+ },
+ "price": {
+ "description": "Odds (american or decimal)",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "title": {
+ "description": "Bookmaker name",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "commence_time": {
+ "description": "Event start time (ISO 8601 or unix)",
+ "type": "string"
+ },
+ "home_team": {
+ "description": "Home team name",
+ "type": "string"
+ },
+ "id": {
+ "description": "Event ID",
+ "type": "string"
+ },
+ "sport_key": {
+ "description": "Sport key",
+ "type": "string"
+ },
+ "sport_title": {
+ "description": "Sport title",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "items",
+ "count"
+ ],
+ "type": "object"
+}