{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/krimskrams-xyz/json-schema/krimskrams-xyz-lint-response-schema.json",
  "title": "LintResponse",
  "description": "The full buyer-readiness report for one OpenAPI document.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/readiness-linter_krimskrams_xyz_openapi.json#/components/schemas/LintResponse",
  "properties": {
    "score": {
      "type": "integer",
      "maximum": 100.0,
      "minimum": 0.0,
      "title": "Score"
    },
    "checks": {
      "items": {
        "$ref": "#/$defs/CheckResult"
      },
      "type": "array",
      "title": "Checks"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    }
  },
  "type": "object",
  "required": [
    "score",
    "checks",
    "summary"
  ],
  "$defs": {
    "CheckResult": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "severity": {
          "type": "string",
          "enum": [
            "critical",
            "high",
            "medium",
            "low"
          ],
          "title": "Severity"
        },
        "passed": {
          "type": "boolean",
          "title": "Passed"
        },
        "message": {
          "type": "string",
          "title": "Message"
        },
        "fix": {
          "type": "string",
          "title": "Fix"
        }
      },
      "type": "object",
      "required": [
        "id",
        "severity",
        "passed",
        "message",
        "fix"
      ],
      "title": "CheckResult",
      "description": "One buyer-readiness rule and its outcome."
    }
  }
}