{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/activision-blizzard/refs/heads/main/json-schema/activision-blizzard-battle-net-profile-schema.json",
  "title": "BattleNetProfile",
  "description": "Battle.net account profile",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Account ID",
      "example": 12345678
    },
    "battletag": {
      "type": "string",
      "description": "Battle.net BattleTag",
      "example": "Player#1234"
    },
    "sub": {
      "type": "string",
      "description": "OAuth2 subject identifier"
    }
  }
}