{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/OTELTrace", "title": "OTELTrace", "properties": { "resourceSpans": { "items": { "properties": { "scopeSpans": { "items": { "properties": { "spans": { "items": { "properties": { "droppedLinksCount": { "type": "number", "format": "double" }, "links": { "items": {}, "type": "array" }, "status": { "properties": { "code": { "type": "number", "format": "double" } }, "required": [ "code" ], "type": "object" }, "droppedEventsCount": { "type": "number", "format": "double" }, "events": { "items": {}, "type": "array" }, "droppedAttributesCount": { "type": "number", "format": "double" }, "attributes": { "items": { "properties": { "value": { "properties": { "intValue": { "type": "number", "format": "double" }, "stringValue": { "type": "string" } }, "type": "object" }, "key": { "type": "string" } }, "required": [ "value", "key" ], "type": "object" }, "type": "array" }, "endTimeUnixNano": { "type": "string" }, "startTimeUnixNano": { "type": "string" }, "kind": { "type": "number", "format": "double" }, "name": { "type": "string" }, "spanId": { "type": "string" }, "traceId": { "type": "string" } }, "required": [ "droppedLinksCount", "links", "status", "droppedEventsCount", "events", "droppedAttributesCount", "attributes", "endTimeUnixNano", "startTimeUnixNano", "kind", "name", "spanId", "traceId" ], "type": "object" }, "type": "array" }, "scope": { "properties": { "version": { "type": "string" }, "name": { "type": "string" } }, "required": [ "version", "name" ], "type": "object" } }, "required": [ "spans", "scope" ], "type": "object" }, "type": "array" }, "resource": { "properties": { "droppedAttributesCount": { "type": "number", "format": "double" }, "attributes": { "items": { "properties": { "value": { "properties": { "arrayValue": { "properties": { "values": { "items": { "properties": { "stringValue": { "type": "string" } }, "required": [ "stringValue" ], "type": "object" }, "type": "array" } }, "required": [ "values" ], "type": "object" }, "intValue": { "type": "number", "format": "double" }, "stringValue": { "type": "string" } }, "type": "object" }, "key": { "type": "string" } }, "required": [ "value", "key" ], "type": "object" }, "type": "array" } }, "required": [ "droppedAttributesCount", "attributes" ], "type": "object" } }, "required": [ "scopeSpans", "resource" ], "type": "object" }, "type": "array" } }, "required": [ "resourceSpans" ], "type": "object" }