{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evalgate-com/json-schema/evalgate-com-get-api-arena-matches-leaderboard-response200-application-json-schema.json",
  "title": "GetApiArenaMatchesLeaderboardResponse200ApplicationJson",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evalgate-com-arena-matches-api-openapi.yml#/components/schemas/GetApiArenaMatchesLeaderboardResponse200ApplicationJson",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "modelId": {
        "type": "string"
      },
      "modelLabel": {
        "type": "string"
      },
      "totalMatches": {
        "type": "number"
      },
      "wins": {
        "type": "number"
      },
      "losses": {
        "type": "number"
      },
      "draws": {
        "type": "number"
      },
      "winRate": {
        "type": "number"
      },
      "averageScore": {
        "type": "number"
      },
      "averageResponseTime": {
        "type": "number"
      },
      "totalCost": {
        "type": "number"
      },
      "costSummary": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "enum": [
              "USD"
            ]
          },
          "decimalPlaces": {
            "type": "number",
            "enum": [
              8
            ]
          },
          "totalUsd": {
            "type": "string"
          },
          "verifiedUsd": {
            "type": "string"
          },
          "estimatedUsd": {
            "type": "string"
          },
          "verifiedCount": {
            "type": "number"
          },
          "estimatedCount": {
            "type": "number"
          },
          "unknownCount": {
            "type": "number"
          },
          "recordCount": {
            "type": "number"
          },
          "attribution": {
            "type": "object",
            "properties": {
              "retryCount": {
                "type": "number"
              },
              "retryUsd": {
                "type": "string"
              },
              "fallbackCount": {
                "type": "number"
              },
              "fallbackUsd": {
                "type": "string"
              },
              "cachedCallCount": {
                "type": "number"
              },
              "cachedInputTokens": {
                "type": "number"
              },
              "cancelledCount": {
                "type": "number"
              },
              "cancelledUsd": {
                "type": "string"
              },
              "streamedCount": {
                "type": "number"
              },
              "streamedUsd": {
                "type": "string"
              },
              "duplicateRecordsIgnored": {
                "type": "number"
              }
            },
            "additionalProperties": false,
            "required": [
              "retryCount",
              "retryUsd",
              "fallbackCount",
              "fallbackUsd",
              "cachedCallCount",
              "cachedInputTokens",
              "cancelledCount",
              "cancelledUsd",
              "streamedCount",
              "streamedUsd",
              "duplicateRecordsIgnored"
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "currency",
          "decimalPlaces",
          "totalUsd",
          "verifiedUsd",
          "estimatedUsd",
          "verifiedCount",
          "estimatedCount",
          "unknownCount",
          "recordCount",
          "attribution"
        ]
      },
      "lastMatchAt": {
        "type": "string"
      },
      "streak": {
        "type": "number"
      }
    },
    "additionalProperties": false,
    "required": [
      "modelId",
      "modelLabel",
      "totalMatches",
      "wins",
      "losses",
      "draws",
      "winRate",
      "averageScore",
      "averageResponseTime",
      "totalCost",
      "costSummary",
      "lastMatchAt",
      "streak"
    ]
  }
}