contentstack · Schema

LogEntry

A single log line entry.

Properties

Name Type Description
timestamp string ISO 8601 timestamp of the log entry.
level string Log level.
message string The log message content.
View JSON Schema on GitHub

JSON Schema

contentstack-logentry-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LogEntry",
  "title": "LogEntry",
  "type": "object",
  "description": "A single log line entry.",
  "properties": {
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp of the log entry."
    },
    "level": {
      "type": "string",
      "description": "Log level.",
      "enum": [
        "info",
        "warn",
        "error",
        "debug"
      ]
    },
    "message": {
      "type": "string",
      "description": "The log message content."
    }
  }
}