Skip to content

Commit a059244

Browse files
authored
fix(spans): Fix anyOf syntax for nullable timestamps (#447)
1 parent 322b88c commit a059244

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

schemas/ingest-spans.v1.schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@
3333
"description": "The parent span ID is the ID of the span that caused this span. It is an 8 byte hexadecimal string."
3434
},
3535
"start_timestamp": {
36-
"$anyOf": [
36+
"anyOf": [
3737
{
3838
"$ref": "file://ingest-spans.v1.schema.json#/definitions/PositiveFloat"
3939
},
40-
null
40+
{ "type": "null" }
4141
],
4242
"description": "UNIX timestamp in seconds with fractional part up to microsecond precision."
4343
},
4444
"end_timestamp": {
45-
"$anyOf": [
45+
"anyOf": [
4646
{
4747
"$ref": "file://ingest-spans.v1.schema.json#/definitions/PositiveFloat"
4848
},
49-
null
49+
{ "type": "null" }
5050
],
5151
"description": "UNIX timestamp in seconds with fractional part up to microsecond precision."
5252
},

0 commit comments

Comments
 (0)