{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/steamgpt-net/json-schema/steamgpt-net-compare-schema.json",
  "title": "Compare",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/steamgpt-net-openapi.json#/components/schemas/Compare",
  "type": "object",
  "properties": {
    "result": {
      "type": "string",
      "enum": [
        "success"
      ]
    },
    "data": {
      "type": "object",
      "properties": {
        "a": {
          "type": "object",
          "description": "full summary data of the first player"
        },
        "b": {
          "type": "object",
          "description": "full summary data of the second player"
        },
        "shared_friends": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer"
            },
            "friends": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "steamid64": {
                    "type": "string"
                  },
                  "personaname": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}