Stats Perform · Schema

Stats Perform Team

Schema for a Stats Perform sports team including metadata and categorization.

SportsSports DataFootballBaseballBasketballHockeySoccerGolfTennisLive ScoresStatisticsSports Analytics

Properties

Name Type Description
teamId string Unique team identifier.
name string Full team name.
abbreviation stringnull Team abbreviation.
city stringnull Team city.
conference stringnull Conference the team belongs to.
division stringnull Division the team belongs to.
sport string Sport the team competes in.
league string League identifier.
logoUrl stringnull URL to the team logo.
founded integernull Year the team was founded.
venue stringnull Name of the team's home venue.
View JSON Schema on GitHub

JSON Schema

stats-perform-team-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stats-perform/main/json-schema/stats-perform-team-schema.json",
  "title": "Stats Perform Team",
  "description": "Schema for a Stats Perform sports team including metadata and categorization.",
  "type": "object",
  "properties": {
    "teamId": {
      "type": "string",
      "description": "Unique team identifier."
    },
    "name": {
      "type": "string",
      "description": "Full team name."
    },
    "abbreviation": {
      "type": ["string", "null"],
      "description": "Team abbreviation."
    },
    "city": {
      "type": ["string", "null"],
      "description": "Team city."
    },
    "conference": {
      "type": ["string", "null"],
      "description": "Conference the team belongs to."
    },
    "division": {
      "type": ["string", "null"],
      "description": "Division the team belongs to."
    },
    "sport": {
      "type": "string",
      "enum": ["football", "baseball", "basketball", "hockey", "soccer", "golf", "tennis"],
      "description": "Sport the team competes in."
    },
    "league": {
      "type": "string",
      "description": "League identifier."
    },
    "logoUrl": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "URL to the team logo."
    },
    "founded": {
      "type": ["integer", "null"],
      "description": "Year the team was founded."
    },
    "venue": {
      "type": ["string", "null"],
      "description": "Name of the team's home venue."
    }
  },
  "required": ["teamId", "name", "sport", "league"]
}