{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/circleci/main/json-schema/circleci-test-list-schema.json",
  "title": "TestList",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/circleci-job-api-openapi.yml#/components/schemas/TestList",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TestMetadata"
      },
      "description": "List of test metadata"
    },
    "next_page_token": {
      "type": "string",
      "description": "Token for retrieving the next page"
    }
  },
  "$defs": {
    "TestMetadata": {
      "type": "object",
      "properties": {
        "message": {
          "type": "string",
          "description": "The test message"
        },
        "source": {
          "type": "string",
          "description": "The source of the test"
        },
        "run_time": {
          "type": "string",
          "description": "The run time of the test"
        },
        "file": {
          "type": "string",
          "description": "The file containing the test"
        },
        "result": {
          "type": "string",
          "description": "The result of the test"
        },
        "name": {
          "type": "string",
          "description": "The name of the test"
        },
        "classname": {
          "type": "string",
          "description": "The class name of the test"
        }
      }
    }
  }
}