{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evalgate-com/json-schema/evalgate-com-post-api-benchmarks-response201-application-json-schema.json",
  "title": "PostApiBenchmarksResponse201ApplicationJson",
  "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/PostApiBenchmarksResponse201ApplicationJson",
  "type": "object",
  "properties": {
    "id": {
      "type": "number"
    },
    "name": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "organizationId": {
      "$ref": "#/$defs/OrganizationId"
    },
    "description": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "string"
        }
      ]
    },
    "createdBy": {
      "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
          ]
        }
      ]
    },
    "taskType": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "id",
    "name",
    "createdAt",
    "updatedAt",
    "organizationId",
    "description",
    "createdBy",
    "dataset",
    "metrics",
    "isPublic",
    "taskType"
  ],
  "$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"
    }
  }
}