SportsDataIO · Schema

Lineup

Sports DataStatisticsLive ScoresFantasy SportsOddsNFLNBAMLBNHLSoccer

Properties

Name Type Description
PlayerID integer The player's unique PlayerID as assigned by SportsDataIO Note: this ID will stay with the player throughout their MLB career
TeamID integer The team's unique TeamID as assigned by SportsDataIO
Team stringnull The abbreviation [Key] of the team
FirstName stringnull The player's first name
LastName stringnull The player's last name
BattingOrder integernull Where the player batted in the lineup for the game (1;2;3; etc.)
Position stringnull Player's position in the starting lineup (if started); otherwise the position he substituted for
Starting booleannull Indicates if this player is starting. Note: started = 1 and non starting= 0
Confirmed booleannull Indicates if batting order has been confirmed (true/false)
View JSON Schema on GitHub

JSON Schema

sportsdataio-lineup-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Lineup",
  "title": "Lineup",
  "properties": {
    "PlayerID": {
      "type": "integer",
      "description": "The player's unique PlayerID as assigned by SportsDataIO Note: this ID will stay with the player throughout their MLB career"
    },
    "TeamID": {
      "type": "integer",
      "description": "The team's unique TeamID as assigned by SportsDataIO"
    },
    "Team": {
      "type": [
        "string",
        "null"
      ],
      "description": "The abbreviation [Key] of the team"
    },
    "FirstName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The player's first name"
    },
    "LastName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The player's last name"
    },
    "BattingOrder": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Where the player batted in the lineup for the game (1;2;3; etc.)"
    },
    "Position": {
      "type": [
        "string",
        "null"
      ],
      "description": "Player's position in the starting lineup (if started); otherwise the position he substituted for"
    },
    "Starting": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Indicates if this player is starting. Note: started = 1 and non starting= 0"
    },
    "Confirmed": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Indicates if batting order has been confirmed (true/false)"
    }
  }
}

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/sportsdataio-lineup"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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