{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/novence-ai/json-schema/novence-ai-checks-results-schema.json",
  "title": "ChecksResults",
  "description": "Quality-gate payload. When `skipped` is true (unverified accounts),\n`passed` is null — do not treat that as checks having passed.\n",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/novence-ai-openapi.yml#/components/schemas/ChecksResults",
  "type": "object",
  "properties": {
    "passed": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "skipped": {
      "type": "boolean"
    },
    "reason": {
      "type": "string"
    },
    "deploymentId": {
      "type": "string",
      "format": "uuid",
      "description": "The deployment these results were measured from."
    },
    "measurementError": {
      "type": "string",
      "description": "Why Lighthouse could not score the page. The deploy fails and `lighthouse` is null."
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Non-blocking findings, e.g. Lighthouse performance below threshold while `enforcePerformance` is false."
    },
    "lighthouse": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "performance": {
          "type": "number"
        },
        "accessibility": {
          "type": "number"
        },
        "bestPractices": {
          "type": "number"
        },
        "seo": {
          "type": "number"
        }
      }
    }
  }
}