{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/observatory_lighthouse_report",
  "title": "observatory_lighthouse_report",
  "description": "The Lighthouse report.",
  "properties": {
    "cls": {
      "description": "Cumulative Layout Shift.",
      "example": 100,
      "type": "number"
    },
    "deviceType": {
      "$ref": "#/components/schemas/observatory_device_type"
    },
    "error": {
      "properties": {
        "code": {
          "$ref": "#/components/schemas/observatory_lighthouse_error_code"
        },
        "detail": {
          "description": "Detailed error message.",
          "example": "Details: net::ERR_CONNECTION_CLOSED",
          "type": "string"
        },
        "finalDisplayedUrl": {
          "description": "The final URL displayed to the user.",
          "example": "example.com",
          "type": "string"
        }
      },
      "type": "object"
    },
    "fcp": {
      "description": "First Contentful Paint.",
      "example": 100,
      "type": "number"
    },
    "jsonReportUrl": {
      "description": "The URL to the full Lighthouse JSON report.",
      "type": "string"
    },
    "lcp": {
      "description": "Largest Contentful Paint.",
      "example": 100,
      "type": "number"
    },
    "performanceScore": {
      "description": "The Lighthouse performance score.",
      "example": 90,
      "type": "number"
    },
    "si": {
      "description": "Speed Index.",
      "example": 100,
      "type": "number"
    },
    "state": {
      "$ref": "#/components/schemas/observatory_lighthouse_state"
    },
    "tbt": {
      "description": "Total Blocking Time.",
      "example": 100,
      "type": "number"
    },
    "ttfb": {
      "description": "Time To First Byte.",
      "example": 100,
      "type": "number"
    },
    "tti": {
      "description": "Time To Interactive.",
      "example": 100,
      "type": "number"
    }
  },
  "type": "object"
}