Skip to content

Commit ec1a68f

Browse files
style(lint): Auto commit lint changes
1 parent 810c0df commit ec1a68f

File tree

1 file changed

+47
-51
lines changed

1 file changed

+47
-51
lines changed
Lines changed: 47 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,53 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"title": "snuba_uptime_result",
4-
"definitions": {
5-
"CheckStatus": {
6-
"$ref": "uptime-results.v1.schema.json#/definitions/CheckStatus"
7-
},
8-
"CheckStatusReason": {
9-
"$ref": "uptime-results.v1.schema.json#/definitions/CheckStatusReason"
10-
},
11-
"CheckStatusReasonType": {
12-
"$ref": "uptime-results.v1.schema.json#/definitions/CheckStatusReasonType"
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "snuba_uptime_result",
4+
"definitions": {
5+
"CheckStatus": {
6+
"$ref": "uptime-results.v1.schema.json#/definitions/CheckStatus"
7+
},
8+
"CheckStatusReason": {
9+
"$ref": "uptime-results.v1.schema.json#/definitions/CheckStatusReason"
10+
},
11+
"CheckStatusReasonType": {
12+
"$ref": "uptime-results.v1.schema.json#/definitions/CheckStatusReasonType"
13+
},
14+
"RequestInfo": {
15+
"$ref": "uptime-results.v1.schema.json#/definitions/RequestInfo"
16+
},
17+
"RequestType": {
18+
"$ref": "uptime-results.v1.schema.json#/definitions/RequestType"
19+
}
20+
},
21+
"allOf": [
22+
{
23+
"$ref": "uptime-results.v1.schema.json#/definitions/CheckResult"
24+
},
25+
{
26+
"type": "object",
27+
"properties": {
28+
"organization_id": {
29+
"type": "integer",
30+
"description": "The organization ID associated with this check",
31+
"minimum": 0
1332
},
14-
"RequestInfo": {
15-
"$ref": "uptime-results.v1.schema.json#/definitions/RequestInfo"
33+
"project_id": {
34+
"type": "integer",
35+
"description": "The project ID associated with this check",
36+
"minimum": 0
1637
},
17-
"RequestType": {
18-
"$ref": "uptime-results.v1.schema.json#/definitions/RequestType"
19-
}
20-
},
21-
"allOf": [
22-
{
23-
"$ref": "uptime-results.v1.schema.json#/definitions/CheckResult"
38+
"retention_days": {
39+
"type": "integer",
40+
"description": "Number of days to retain this data",
41+
"minimum": 0,
42+
"maximum": 65535
2443
},
25-
{
26-
"type": "object",
27-
"properties": {
28-
"organization_id": {
29-
"type": "integer",
30-
"description": "The organization ID associated with this check",
31-
"minimum": 0
32-
},
33-
"project_id": {
34-
"type": "integer",
35-
"description": "The project ID associated with this check",
36-
"minimum": 0
37-
},
38-
"retention_days": {
39-
"type": "integer",
40-
"description": "Number of days to retain this data",
41-
"minimum": 0,
42-
"maximum": 65535
43-
},
44-
"region_slug": {
45-
"type": ["string", "null"],
46-
"description": "The region identifier where this check was performed"
47-
}
48-
},
49-
"required": [
50-
"organization_id",
51-
"project_id",
52-
"retention_days"
53-
]
44+
"region_slug": {
45+
"type": ["string", "null"],
46+
"description": "The region identifier where this check was performed"
5447
}
55-
],
56-
"description": "A message containing the result of the uptime check for Snuba ingestion."
48+
},
49+
"required": ["organization_id", "project_id", "retention_days"]
50+
}
51+
],
52+
"description": "A message containing the result of the uptime check for Snuba ingestion."
5753
}

0 commit comments

Comments
 (0)