{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-list-evals-response-schema.json",
  "title": "ListEvalsResponse",
  "description": "Response from listing evaluations",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-evals-api-openapi.yml#/components/schemas/ListEvalsResponse",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/Eval"
      },
      "title": "Data",
      "type": "array"
    },
    "first_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "First Id"
    },
    "has_more": {
      "default": false,
      "title": "Has More",
      "type": "boolean"
    },
    "last_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Id"
    },
    "object": {
      "default": "list",
      "title": "Object",
      "type": "string"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "Eval": {
      "description": "Represents an evaluation from the OpenAI Evals API",
      "properties": {
        "created_at": {
          "title": "Created At",
          "type": "integer"
        },
        "data_source_config": {
          "additionalProperties": true,
          "title": "Data Source Config",
          "type": "object"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "metadata": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Metadata"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name"
        },
        "object": {
          "default": "eval",
          "title": "Object",
          "type": "string"
        },
        "testing_criteria": {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "title": "Testing Criteria",
          "type": "array"
        },
        "updated_at": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updated At"
        }
      },
      "required": [
        "id",
        "created_at",
        "data_source_config",
        "testing_criteria"
      ],
      "title": "Eval",
      "type": "object"
    }
  }
}