{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-logging/json-schema/google-cloud-logging-log-entry-schema.json",
  "title": "LogEntry",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-logging-entries-list-api-openapi.yml#/components/schemas/LogEntry",
  "type": "object",
  "properties": {
    "logName": {
      "type": "string"
    },
    "resource": {
      "type": "object"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "receiveTimestamp": {
      "type": "string",
      "format": "date-time"
    },
    "severity": {
      "type": "string",
      "enum": [
        "DEFAULT",
        "DEBUG",
        "INFO",
        "NOTICE",
        "WARNING",
        "ERROR",
        "CRITICAL",
        "ALERT",
        "EMERGENCY"
      ]
    },
    "insertId": {
      "type": "string"
    },
    "httpRequest": {
      "type": "object"
    },
    "labels": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "textPayload": {
      "type": "string"
    },
    "jsonPayload": {
      "type": "object"
    },
    "protoPayload": {
      "type": "object"
    }
  }
}