Skip to content

Commit 1a28ed6

Browse files
style(lint): Auto commit lint changes
1 parent a312cdb commit 1a28ed6

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

schemas/ingest-spans.v1.schema.json

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@
3030
"description": "The span ID is a unique identifier for a span within a trace. It is an 8 byte hexadecimal string."
3131
},
3232
"parent_span_id": {
33-
"type": [
34-
"string",
35-
"null"
36-
],
33+
"type": ["string", "null"],
3734
"description": "The parent span ID is the ID of the span that caused this span. It is an 8 byte hexadecimal string."
3835
},
3936
"start_timestamp": {
@@ -115,20 +112,11 @@
115112
},
116113
"SpanStatus": {
117114
"type": "string",
118-
"enum": [
119-
"ok",
120-
"error"
121-
]
115+
"enum": ["ok", "error"]
122116
},
123117
"SpanKind": {
124118
"type": "string",
125-
"enum": [
126-
"internal",
127-
"server",
128-
"client",
129-
"producer",
130-
"consumer"
131-
]
119+
"enum": ["internal", "server", "client", "producer", "consumer"]
132120
},
133121
"SpanLink": {
134122
"type": "object",
@@ -148,10 +136,7 @@
148136
"type": "boolean"
149137
}
150138
},
151-
"required": [
152-
"trace_id",
153-
"span_id"
154-
]
139+
"required": ["trace_id", "span_id"]
155140
},
156141
"Attributes": {
157142
"type": "object",
@@ -170,10 +155,7 @@
170155
"type": ["number", "null", "string", "boolean"]
171156
}
172157
},
173-
"required": [
174-
"type",
175-
"value"
176-
]
158+
"required": ["type", "value"]
177159
}
178160
}
179161
}

0 commit comments

Comments
 (0)