{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/repowise-dev/json-schema/repowise-dev-git-metadata-response-schema.json",
  "title": "GitMetadataResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/repowise-dev-openapi.json#/components/schemas/GitMetadataResponse",
  "properties": {
    "file_path": {
      "type": "string",
      "title": "File Path"
    },
    "commit_count_total": {
      "type": "integer",
      "title": "Commit Count Total"
    },
    "commit_count_90d": {
      "type": "integer",
      "title": "Commit Count 90D"
    },
    "commit_count_30d": {
      "type": "integer",
      "title": "Commit Count 30D"
    },
    "first_commit_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "First Commit At"
    },
    "last_commit_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Commit At"
    },
    "primary_owner_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Primary Owner Name"
    },
    "primary_owner_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Primary Owner Email"
    },
    "primary_owner_commit_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Primary Owner Commit Pct"
    },
    "primary_owner_line_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Primary Owner Line Pct"
    },
    "recent_owner_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recent Owner Name"
    },
    "recent_owner_commit_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recent Owner Commit Pct"
    },
    "top_authors": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Top Authors"
    },
    "significant_commits": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Significant Commits"
    },
    "co_change_partners": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Co Change Partners"
    },
    "is_hotspot": {
      "type": "boolean",
      "title": "Is Hotspot"
    },
    "is_stable": {
      "type": "boolean",
      "title": "Is Stable"
    },
    "churn_percentile": {
      "type": "number",
      "title": "Churn Percentile"
    },
    "age_days": {
      "type": "integer",
      "title": "Age Days"
    },
    "bus_factor": {
      "type": "integer",
      "title": "Bus Factor"
    },
    "contributor_count": {
      "type": "integer",
      "title": "Contributor Count"
    },
    "lines_added_90d": {
      "type": "integer",
      "title": "Lines Added 90D"
    },
    "lines_deleted_90d": {
      "type": "integer",
      "title": "Lines Deleted 90D"
    },
    "avg_commit_size": {
      "type": "number",
      "title": "Avg Commit Size"
    },
    "commit_categories": {
      "additionalProperties": true,
      "type": "object",
      "title": "Commit Categories"
    },
    "merge_commit_count_90d": {
      "type": "integer",
      "title": "Merge Commit Count 90D"
    },
    "change_entropy": {
      "type": "number",
      "title": "Change Entropy",
      "default": 0.0
    },
    "change_entropy_pct": {
      "type": "number",
      "title": "Change Entropy Pct",
      "default": 0.0
    },
    "prior_defect_count": {
      "type": "integer",
      "title": "Prior Defect Count",
      "default": 0
    },
    "fix_symbol_counts": {
      "additionalProperties": true,
      "type": "object",
      "title": "Fix Symbol Counts",
      "default": {}
    },
    "bug_magnet": {
      "type": "boolean",
      "title": "Bug Magnet",
      "default": false
    },
    "last_fix_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Fix At"
    },
    "temporal_hotspot_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Temporal Hotspot Score"
    },
    "commit_count_capped": {
      "type": "boolean",
      "title": "Commit Count Capped",
      "default": false
    },
    "original_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Original Path"
    },
    "test_gap": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Test Gap"
    },
    "agent_commit_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Commit Count"
    },
    "agent_authored_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Authored Pct"
    },
    "agent_tier_counts": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Tier Counts"
    },
    "attribution_coverage": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Attribution Coverage"
    },
    "agent_share_suppressed": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Share Suppressed"
    }
  },
  "type": "object",
  "required": [
    "file_path",
    "commit_count_total",
    "commit_count_90d",
    "commit_count_30d",
    "first_commit_at",
    "last_commit_at",
    "primary_owner_name",
    "primary_owner_email",
    "primary_owner_commit_pct",
    "recent_owner_name",
    "recent_owner_commit_pct",
    "top_authors",
    "significant_commits",
    "co_change_partners",
    "is_hotspot",
    "is_stable",
    "churn_percentile",
    "age_days",
    "bus_factor",
    "contributor_count",
    "lines_added_90d",
    "lines_deleted_90d",
    "avg_commit_size",
    "commit_categories",
    "merge_commit_count_90d"
  ]
}