{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/repowise-dev/json-schema/repowise-dev-period-health-summary-response-schema.json",
  "title": "PeriodHealthSummaryResponse",
  "description": "A period headline: items that made health better first, then worse.\n\nItems are changes on ``/changes/summary`` and commits on\n``/commits/health-summary``. ``unscanned`` items have no delta from the\ncurrent analyzer (\"not yet analysed\") and are in none of the four kinds;\nrecent commits refill as updates rescan them.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/repowise-dev-changes-api-openapi.yml#/components/schemas/PeriodHealthSummaryResponse",
  "properties": {
    "since": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Since"
    },
    "until": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Until"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    },
    "improved": {
      "type": "integer",
      "title": "Improved"
    },
    "mixed": {
      "type": "integer",
      "title": "Mixed"
    },
    "worsened": {
      "type": "integer",
      "title": "Worsened"
    },
    "neutral": {
      "type": "integer",
      "title": "Neutral"
    },
    "unscanned": {
      "type": "integer",
      "title": "Unscanned"
    },
    "findings_resolved": {
      "type": "integer",
      "title": "Findings Resolved"
    },
    "findings_improved": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Findings Improved"
    },
    "findings_introduced": {
      "type": "integer",
      "title": "Findings Introduced"
    },
    "findings_worsened": {
      "type": "integer",
      "title": "Findings Worsened"
    },
    "net_findings": {
      "type": "integer",
      "title": "Net Findings"
    }
  },
  "type": "object",
  "required": [
    "total",
    "improved",
    "mixed",
    "worsened",
    "neutral",
    "unscanned",
    "findings_resolved",
    "findings_introduced",
    "findings_worsened",
    "net_findings"
  ]
}