Files
codex/codex-rs/app-server-protocol/schema/json/v2/LogEntryNotification.json
2026-03-23 23:50:10 -07:00

69 lines
1.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"LogEntryLevel": {
"enum": [
"trace",
"debug",
"info",
"warn",
"error"
],
"type": "string"
},
"LogSpanContext": {
"properties": {
"fields": {
"additionalProperties": true,
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"fields",
"name"
],
"type": "object"
}
},
"properties": {
"fields": {
"additionalProperties": true,
"type": "object"
},
"level": {
"$ref": "#/definitions/LogEntryLevel"
},
"message": {
"type": "string"
},
"span": {
"anyOf": [
{
"$ref": "#/definitions/LogSpanContext"
},
{
"type": "null"
}
]
},
"target": {
"type": "string"
},
"timestamp": {
"format": "int64",
"type": "integer"
}
},
"required": [
"fields",
"level",
"message",
"target",
"timestamp"
],
"title": "LogEntryNotification",
"type": "object"
}