{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getcheapgames-com/json-schema/getcheapgames-com-gcg-routers-steam-public-friends-out-schema.json",
  "title": "FriendsOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getcheapgames-com-steam-api-openapi.yml#/components/schemas/gcg__routers__steam_public__FriendsOut",
  "properties": {
    "state": {
      "type": "string",
      "enum": [
        "ok",
        "private"
      ],
      "title": "State"
    },
    "friends": {
      "items": {
        "$ref": "#/$defs/gcg__routers__steam_public__FriendOut"
      },
      "type": "array",
      "title": "Friends",
      "default": []
    }
  },
  "type": "object",
  "required": [
    "state"
  ],
  "$defs": {
    "gcg__routers__steam_public__FriendOut": {
      "properties": {
        "steamid": {
          "type": "string",
          "title": "Steamid"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "avatar": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Avatar"
        },
        "state": {
          "type": "string",
          "enum": [
            "online",
            "busy",
            "away",
            "snooze",
            "offline"
          ],
          "title": "State"
        },
        "game": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Game"
        },
        "gameId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Gameid"
        },
        "lastOnline": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lastonline"
        }
      },
      "type": "object",
      "required": [
        "steamid",
        "name",
        "state"
      ],
      "title": "FriendOut"
    }
  }
}