Statshawk · Schema

ApiResponseStandingsEntryList

Successful response envelope: resource data and request metadata.

CompanySportsStatisticsMCPArtificial Intelligence

Properties

Name Type Description
data object Resource payload returned by this endpoint, inside the success envelope.
meta object Request identifier, source attribution, fetch timestamp and response cache state.
View JSON Schema on GitHub

JSON Schema

statshawk-ai-api-response-standings-entry-list-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/statshawk-ai/json-schema/statshawk-ai-api-response-standings-entry-list-schema.json",
  "title": "ApiResponseStandingsEntryList",
  "description": "Successful response envelope: resource data and request metadata.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/statshawk-ai-openapi.json#/components/schemas/ApiResponseStandingsEntryList",
  "type": "object",
  "required": [
    "data",
    "meta"
  ],
  "properties": {
    "data": {
      "$ref": "#/$defs/StandingsEntryListResponse",
      "description": "Resource payload returned by this endpoint, inside the success envelope."
    },
    "meta": {
      "$ref": "#/$defs/ResponseMeta",
      "description": "Request identifier, source attribution, fetch timestamp and response cache state."
    }
  },
  "$defs": {
    "CacheStatus": {
      "type": "string",
      "description": "Response cache status, serialized as an uppercase token.\n`HIT` means a relevant store read or handler response cache returned a cached payload; `MISS` means a cache miss or an uncached read.\n`STALE` means a cached payload passed its fresh TTL but remains inside the allowed stale interval. It does not guarantee a refresh has started. Current entity-store caching records HIT or MISS.\nComposite reads report the last store-call outcome; this does not prove every nested resource shares one fetch time.",
      "enum": [
        "HIT",
        "MISS",
        "STALE"
      ]
    },
    "CompetitionId": {
      "type": "string",
      "description": "Canonical competition identifier (`comp_…`); competition URL paths generally use the human-readable slug instead.\nCanonical entity identifier (`comp_<base32>`). The suffix is exactly 26 Crockford base32 symbols encoding a UUID. Output uses lowercase without padding. The prefix is case-sensitive; another entity type’s prefix and bare UUID/source identifiers are rejected. Treat the full identifier as opaque."
    },
    "Country": {
      "type": "string",
      "description": "Recognized three-letter country code, serialized as uppercase ASCII. Input trims surrounding spaces and normalizes case. Uses ISO 3166-1 alpha-3 plus accepted FIFA/IOC codes, such as ENG (England), SCO (Scotland), WAL (Wales), NIR (Northern Ireland), TPE (Chinese Taipei), GER (Germany), NED (Netherlands), POR (Portugal), SUI (Switzerland), CRO (Croatia), DEN (Denmark), URU (Uruguay), PAR (Paraguay), CHI (Chile), ALG (Algeria), RSA (South Africa), KSA (Saudi Arabia), HON (Honduras), GUA (Guatemala), and CRC (Costa Rica). Codes are not converted between FIFA/IOC and ISO aliases. Unknown codes are rejected."
    },
    "EntityTrait": {
      "oneOf": [
        {
          "type": "object",
          "description": "Country representation (`kind = \"represents_country\"`), not club location or person nationality.",
          "required": [
            "country",
            "kind"
          ],
          "properties": {
            "country": {
              "$ref": "#/$defs/Country",
              "description": "Represented country as an uppercase three-letter country code."
            },
            "kind": {
              "type": "string",
              "description": "Union discriminator `kind`: the literal \"represents_country\" selects this member. Country representation (`kind = \"represents_country\"`), not club location or person nationality.",
              "enum": [
                "represents_country"
              ]
            }
          }
        }
      ],
      "description": "A typed fact attached to a canonical entity (a [`Team`], or an\n[`Entrant`](crate::domain::entrant::Entrant)).\n\nThe `kind` discriminator is `represents_country` for a represented country.\nThis fact identifies country representation, not a team location or a person nationality."
    },
    "EntrantId": {
      "type": "string",
      "description": "Canonical entrant identifier (`ent_…`): the competitor backed by a team, person, pair, or animal, not the contest-entry edge.\nCanonical entity identifier (`ent_<base32>`). The suffix is exactly 26 Crockford base32 symbols encoding a UUID. Output uses lowercase without padding. The prefix is case-sensitive; another entity type’s prefix and bare UUID/source identifiers are rejected. Treat the full identifier as opaque."
    },
    "ResponseMeta": {
      "type": "object",
      "description": "Metadata block included in every API response envelope.\n\nReports the request identifier, read source label, response timestamp, cache outcome, and API version.\nThese fields do not report the upstream observation time or guarantee complete data coverage.",
      "required": [
        "request_id",
        "fetched_at",
        "cache",
        "version"
      ],
      "properties": {
        "cache": {
          "$ref": "#/$defs/CacheStatus",
          "description": "Uppercase response cache token: HIT (cached), MISS (uncached/cache miss), or STALE (accepted stale cache)."
        },
        "fetched_at": {
          "type": "string",
          "format": "date-time",
          "description": "RFC 3339 UTC timestamp of response assembly, or the cached store-fetch time when a read path propagates it.\nHandler caches such as the stat board retain response assembly time even on HIT or STALE.\nThis field cannot reliably measure payload age and is not the upstream observation/update time.\nComposite reads use the last store-call cache outcome unless the handler supplies its own cache status."
        },
        "request_id": {
          "type": "string",
          "format": "uuid",
          "description": "Unique identifier for this request; quote this when filing support tickets."
        },
        "source": {
          "type": [
            "string",
            "null"
          ],
          "description": "Optional label for where the handler served data, such as `postgres` or `registry`.\nNull when the handler supplied no label. This is not necessarily an upstream provider identifier."
        },
        "version": {
          "type": "string",
          "description": "API version string, currently always `\"v1\"`."
        }
      }
    },
    "SportId": {
      "type": "string",
      "description": "The sport categories the API understands. Every league belongs\nto exactly one sport. Sport carries the data shape and capability\nmatrix; league carries identity and provider routing.\nCanonical sport identifiers select data shape, not guaranteed source coverage.\n`basketball`: basketball; `football`: American football; `baseball`: baseball; `hockey`: ice hockey; `soccer`: association football.\n`golf`: golf; `tennis`: tennis; `racing`: motor racing; `mma`: mixed martial arts; `lacrosse`: lacrosse.\n`rugby`: rugby union; `rugby_league`: rugby league; `volleyball`: volleyball; `australian_football`: Australian rules football.\n`water_polo`: water polo; `field_hockey`: field hockey. Discover registered competitions through GET /v1/competitions.",
      "enum": [
        "basketball",
        "football",
        "baseball",
        "hockey",
        "soccer",
        "golf",
        "tennis",
        "racing",
        "mma",
        "lacrosse",
        "rugby",
        "volleyball",
        "australian_football",
        "rugby_league",
        "water_polo",
        "field_hockey"
      ]
    },
    "StandingsEntry": {
      "type": "object",
      "description": "One `(edition, entrant)` standings record (Workflow-1 task A3). The stored\ntallies are additive classifications (wins/losses/ties + points for/against).\nOne-sided scored results use placement without the overtime/shootout decision.\nFor baseball and basketball, the current fold excludes paired 0-0 finals and one-sided zero\nresults without position after conversion to integer scores. These placeholders add no tallies.\nOne-sided zero results with position remain eligible, as do soccer/hockey paired 0-0 finals.\n`games_played` and `pct` are **derived** (pure functions of the\ntallies) and computed on read — never stored, mirroring the season\nratio-of-sums. `pct` counts a tie as half a win (`(w + t/2) / games_played`);\na team with no counted games has `games_played = 0` and `pct = 0.0`.\n\nThe record is keyed by its `entrant`; `team` is the backing team when the\nentrant is team-backed and `None` for an individual/pair/animal competitor, so\na non-team entrant appears in the standings rather than being dropped.",
      "required": [
        "entrant",
        "wins",
        "losses",
        "ties",
        "points_for",
        "points_against",
        "games_played",
        "pct"
      ],
      "properties": {
        "entrant": {
          "$ref": "#/$defs/EntrantId",
          "description": "Canonical entrant ID whose final scored contests in regular or unknown stages contribute to this edition record."
        },
        "games_played": {
          "type": "integer",
          "format": "int32",
          "description": "Derived: `wins + losses + ties` (+ `otl` for hockey).\nExcluded scoreless placeholders contribute no games; the current fold exclusions are described in ties."
        },
        "losses": {
          "type": "integer",
          "format": "int32",
          "description": "Final scored contests lost by score or a non-first one-sided position in regular or unknown stages. A one-sided hockey OT/SO loss stays here."
        },
        "otl": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Overtime/shootout losses from paired scores — hockey standings only.\nOne-sided OT/SO losses remain in `losses`. Absent for every other sport\n(sport-scoped field: never `null`, simply omitted)."
        },
        "pct": {
          "type": "number",
          "format": "double",
          "description": "Win fraction from 0 to 1: (wins + ties / 2) / games_played; zero with no games. Hockey ranks by standings points, not this fraction."
        },
        "points": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Standings points — the table-ranking dimension where one exists:\nhockey `2·wins + otl`, soccer `3·wins + ties`. Absent for sports\nranked by win pct (sport-scoped field: never `null`, simply omitted)."
        },
        "points_against": {
          "type": "integer",
          "format": "int32",
          "description": "Sum of available opponent scores, in the same sport-specific units as points_for. A counted\none-sided result contributes no opponent score when that score is unavailable."
        },
        "points_for": {
          "type": "integer",
          "format": "int32",
          "description": "Sum of the entrant scores across counted contests; score units follow the sport (runs, goals, or points)."
        },
        "team": {
          "oneOf": [
            {
              "type": "null",
              "description": "Accepts the JSON null value."
            },
            {
              "$ref": "#/$defs/Team",
              "description": "Backing canonical team object; null for a non-team entrant or an unavailable team."
            }
          ],
          "description": "Backing canonical team object; null for a non-team entrant or an unavailable team."
        },
        "ties": {
          "type": "integer",
          "format": "int32",
          "description": "Final scored contests with equal paired scores in regular or unknown stages; a one-sided result without position can also count as a tie.\nFor baseball and basketball, the current fold excludes paired 0-0 finals and one-sided zero\nresults without position after conversion to integer scores."
        },
        "wins": {
          "type": "integer",
          "format": "int32",
          "description": "Final scored contests won by score, or by first-place position for a one-sided result, in regular or unknown stages."
        }
      }
    },
    "StandingsEntryListResponse": {
      "type": "object",
      "description": "List payload with returned items, a handler-supplied count, and optional page metadata.\nA limit/offset endpoint can return a bounded list without page metadata.",
      "required": [
        "items",
        "total"
      ],
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StandingsEntry"
          },
          "description": "Resource items returned in this response; absent page metadata does not imply a complete collection."
        },
        "page": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Optional one-based page number; omitted when the handler supplies no page metadata.",
          "minimum": 0
        },
        "per_page": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Optional maximum items per page; omitted when the handler supplies no page metadata.",
          "minimum": 0
        },
        "total": {
          "type": "integer",
          "description": "Handler-supplied count. The default is returned items length, including limit/offset reads;\na handler can separately supply a wider match count.",
          "minimum": 0
        }
      }
    },
    "Team": {
      "type": "object",
      "description": "A team, scoped to a single [`SportId`] (not a league).\n\nA national side is still just a team; country representation is attached as a\ntyped trait instead of being baked into the base atom. `home_competition` is\na denormalized routing hint (which domestic competition a club plays in);\nit is explicitly **not** part of identity.",
      "required": [
        "id",
        "sport",
        "name"
      ],
      "properties": {
        "home_competition": {
          "oneOf": [
            {
              "type": "null",
              "description": "Accepts the JSON null value."
            },
            {
              "$ref": "#/$defs/CompetitionId",
              "description": "Canonical home competition identifier (`comp_` prefix), a routing hint rather than team identity.\nNull for national teams or when no home competition is recorded."
            }
          ],
          "description": "Canonical home competition identifier (`comp_` prefix), a routing hint rather than team identity.\nNull for national teams or when no home competition is recorded."
        },
        "id": {
          "$ref": "#/$defs/TeamId",
          "description": "Canonical team identifier (`team_` prefix), stable across competitions for the same sport-scoped team."
        },
        "name": {
          "type": "string",
          "description": "Team display name, suitable for labels."
        },
        "sport": {
          "$ref": "#/$defs/SportId",
          "description": "Canonical sport token that scopes this team identity."
        },
        "traits": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EntityTrait"
          },
          "description": "Typed facts about this team. An empty array means no recorded traits."
        }
      }
    },
    "TeamId": {
      "type": "string",
      "description": "Sport-scoped team id (`team_...`).\nCanonical entity identifier (`team_<base32>`). The suffix is exactly 26 Crockford base32 symbols encoding a UUID. Output uses lowercase without padding. The prefix is case-sensitive; another entity type’s prefix and bare UUID/source identifiers are rejected. Treat the full identifier as opaque."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/statshawk-ai-api-response-standings-entry-list"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.