{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evalgate-com/json-schema/evalgate-com-get-api-benchmarks-response200-application-json-schema.json",
  "title": "GetApiBenchmarksResponse200ApplicationJson",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evalgate-com-benchmarks-api-openapi.yml#/components/schemas/GetApiBenchmarksResponse200ApplicationJson",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "number"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "oneOf": [
          {
            "type": "null"
          },
          {
            "type": "string"
          }
        ]
      },
      "organizationId": {
        "$ref": "#/$defs/OrganizationId"
      },
      "taskType": {
        "type": "string"
      },
      "dataset": {
        "oneOf": [
          {
            "type": "null"
          },
          {
            "type": "object",
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "input": {
                      "type": "string"
                    },
                    "expectedOutput": {
                      "type": "string"
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": {
                        "$ref": "#/$defs/JsonValue"
                      }
                    }
                  },
                  "additionalProperties": false,
                  "required": [
                    "input"
                  ]
                }
              }
            },
            "additionalProperties": false,
            "required": [
              "items"
            ]
          }
        ]
      },
      "metrics": {
        "type": "object",
        "properties": {
          "accuracy": {
            "oneOf": [
              {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              {
                "type": "boolean",
                "enum": [
                  true
                ]
              }
            ]
          },
          "latency": {
            "oneOf": [
              {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              {
                "type": "boolean",
                "enum": [
                  true
                ]
              }
            ]
          },
          "cost": {
            "oneOf": [
              {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              {
                "type": "boolean",
                "enum": [
                  true
                ]
              }
            ]
          },
          "successRate": {
            "oneOf": [
              {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              {
                "type": "boolean",
                "enum": [
                  true
                ]
              }
            ]
          },
          "toolUseEfficiency": {
            "oneOf": [
              {
                "type": "boolean",
                "enum": [
                  false
                ]
              },
              {
                "type": "boolean",
                "enum": [
                  true
                ]
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "isPublic": {
        "oneOf": [
          {
            "type": "null"
          },
          {
            "type": "boolean",
            "enum": [
              false
            ]
          },
          {
            "type": "boolean",
            "enum": [
              true
            ]
          }
        ]
      },
      "createdBy": {
        "type": "string"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "additionalProperties": false,
    "required": [
      "id",
      "name",
      "description",
      "organizationId",
      "taskType",
      "dataset",
      "metrics",
      "isPublic",
      "createdBy",
      "createdAt",
      "updatedAt"
    ]
  },
  "$defs": {
    "JsonValue": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JsonValue"
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          }
        }
      ]
    },
    "OrganizationId": {
      "type": "string",
      "format": "uuid"
    }
  }
}