{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nittim-com/json-schema/nittim-com-reports-list-schema.json",
  "title": "ReportsList",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nittim-com-openapi.json#/components/schemas/ReportsList",
  "type": "object",
  "properties": {
    "reports": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReportListItem"
      }
    }
  },
  "$defs": {
    "ReportListItem": {
      "type": "object",
      "description": "One row of your audit history — a picker item, not a report. No findings, no evidence, no scores beyond the executive number.",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "repo": {
          "type": "string",
          "description": "Display label — an \"owner/repo\" GitHub identity, or \"source:<name>\" for a posted-source/uploaded audit."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "verdict": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "production_ready",
            "ready_with_conditions",
            "high_risk",
            "not_safe",
            "not_audited",
            null
          ]
        },
        "executiveScore": {
          "type": [
            "integer",
            "null"
          ]
        },
        "isPrivate": {
          "type": "boolean"
        }
      }
    }
  }
}