{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/canonical/main/json-schema/canonical-logs-schema.json",
  "title": "logs",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canonical-logs-api-openapi.yml#/components/schemas/logs",
  "type": "object",
  "properties": {
    "time": {
      "type": "string",
      "format": "date-time",
      "description": "[Time](#time) of the log entry in RFC3339 format."
    },
    "service": {
      "type": "string",
      "description": "Name of the service that generated the log."
    },
    "message": {
      "type": "string",
      "description": "Log message content (trailing newline characters are trimmed)."
    }
  },
  "required": [
    "time",
    "service",
    "message"
  ]
}