SportsDataIO · Schema

Transaction

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.
Name stringnull Player's full name
FormerTeamID integernull TeamID of player's former team
FormerTeam stringnull Player's former team in abbreviated format [Key] (e.g. SD; PHI; LAD; ATL etc.)
TeamID integernull The team's unique TeamID as assigned by SportsDataIO
Team stringnull The abbreviation [Key] of the team
Type stringnull Type of Transaction. Released, Waived, Signed, Promoted, Elevated, Demoted, and Traded.
Date stringnull The date that this transaction took place
Note stringnull A summary of the transaction (e.g. "Harris has signed with the Diamondbacks.")
Created stringnull The date and time this transaction was created in US Eastern Time
Updated stringnull The date and time of the last update made to this transaction (in US Eastern Time)
View JSON Schema on GitHub

JSON Schema

sportsdataio-transaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Transaction",
  "title": "Transaction",
  "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."
    },
    "Name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Player's full name"
    },
    "FormerTeamID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "TeamID of player's former team"
    },
    "FormerTeam": {
      "type": [
        "string",
        "null"
      ],
      "description": "Player's former team in abbreviated format [Key] (e.g. SD; PHI; LAD; ATL etc.)"
    },
    "TeamID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The team's unique TeamID as assigned by SportsDataIO"
    },
    "Team": {
      "type": [
        "string",
        "null"
      ],
      "description": "The abbreviation [Key] of the team"
    },
    "Type": {
      "type": [
        "string",
        "null"
      ],
      "description": "Type of Transaction. Released, Waived, Signed, Promoted, Elevated, Demoted, and Traded."
    },
    "Date": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date that this transaction took place"
    },
    "Note": {
      "type": [
        "string",
        "null"
      ],
      "description": "A summary of the transaction (e.g. \"Harris has signed with the Diamondbacks.\")"
    },
    "Created": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date and time this transaction was created in US Eastern Time"
    },
    "Updated": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date and time of the last update made to this transaction (in US Eastern Time)"
    }
  }
}