CricAPI · Schema
CricAPI Series
A cricket series object as returned by the CricAPI series and series_info endpoints
CricketSportsLive ScoresPlayer StatisticsMatch DataFantasy CricketBall-by-BallTeam RankingsSchedulesSports Data
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique GUID identifier for this series |
| name | string | Name and year of the series |
| startDate | string | Start date of the series (Month Day format) |
| endDate | string | End date of the series (Month Day format) |
| odi | integer | Number of ODI matches in this series |
| t20 | integer | Number of T20 matches in this series |
| test | integer | Number of Test matches in this series |
| squads | integer | Number of squads loaded (may be fewer than total if data is pending) |
| matches | integer | Number of matches loaded (may be fewer than total if data is pending) |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/cricapi/main/json-schema/cricapi-series-schema.json",
"title": "CricAPI Series",
"description": "A cricket series object as returned by the CricAPI series and series_info endpoints",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Unique GUID identifier for this series"
},
"name": {
"type": "string",
"description": "Name and year of the series",
"example": "Indian Premier League 2022"
},
"startDate": {
"type": "string",
"description": "Start date of the series (Month Day format)",
"example": "Mar 26"
},
"endDate": {
"type": "string",
"description": "End date of the series (Month Day format)",
"example": "May 29"
},
"odi": {
"type": "integer",
"description": "Number of ODI matches in this series",
"minimum": 0
},
"t20": {
"type": "integer",
"description": "Number of T20 matches in this series",
"minimum": 0
},
"test": {
"type": "integer",
"description": "Number of Test matches in this series",
"minimum": 0
},
"squads": {
"type": "integer",
"description": "Number of squads loaded (may be fewer than total if data is pending)",
"minimum": 0
},
"matches": {
"type": "integer",
"description": "Number of matches loaded (may be fewer than total if data is pending)",
"minimum": 0
}
},
"required": ["id", "name"]
}