{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/git-top/json-schema/git-top-compare-request-schema.json",
  "title": "CompareRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/git-top-compare-api-openapi.yml#/components/schemas/CompareRequest",
  "type": "object",
  "properties": {
    "project_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "projects": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "repos": {
      "oneOf": [
        {
          "type": "string",
          "description": "Comma-separated owner/repo list."
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ]
    },
    "deployment": {
      "type": "string"
    }
  }
}