Skip to content

Commit e71f266

Browse files
fix: adj validator
1 parent 09187f7 commit e71f266

3 files changed

Lines changed: 56 additions & 112 deletions

File tree

.github/workflows/scripts/adj-tester/schema/socket.schema.json

Lines changed: 56 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -13,60 +13,62 @@
1313
],
1414
"properties": {
1515
"type": {
16-
"type": "string",
17-
"enum": [
18-
"ServerSocket",
19-
"DatagramSocket",
20-
"Socket"
21-
],
22-
"properties": {
23-
"type": {
24-
"type": "string",
25-
"enum": [
26-
"ServerSocket",
27-
"DatagramSocket",
28-
"Socket"
29-
],
30-
"description": "Socket type"
31-
},
32-
"name": {
33-
"type": "string",
34-
"minLength": 1,
35-
"description": "Socket name"
36-
},
37-
"port": {
38-
"type": "integer",
39-
"minimum": 1,
40-
"maximum": 65535,
41-
"description": "Port number for ServerSocket or DatagramSocket"
42-
},
43-
"local_port": {
44-
"type": "integer",
45-
"minimum": 1,
46-
"maximum": 65535,
47-
"description": "Local port number for Socket"
48-
},
49-
"remote_ip": {
50-
"type": "string",
51-
"description": "Remote IPv4 address"
52-
},
53-
"remote_port": {
54-
"oneOf": [
55-
{
56-
"type": "integer",
57-
"minimum": 1,
58-
"maximum": 65535
59-
},
60-
{
61-
"type": "string",
62-
"enum": [
63-
"backend"
64-
]
65-
}
66-
],
67-
"description": "Remote port number for Socket or the string \"backend\""
68-
}
16+
"type": "string",
17+
"enum": [
18+
"ServerSocket",
19+
"DatagramSocket",
20+
"Socket"
21+
],
22+
"properties": {
23+
"type": {
24+
"type": "string",
25+
"enum": [
26+
"ServerSocket",
27+
"DatagramSocket",
28+
"Socket"
29+
],
30+
"description": "Socket type"
31+
},
32+
"name": {
33+
"type": "string",
34+
"minLength": 1,
35+
"description": "Socket name"
36+
},
37+
"port": {
38+
"type": "integer",
39+
"minimum": 1,
40+
"maximum": 65535,
41+
"description": "Port number for ServerSocket or DatagramSocket"
42+
},
43+
"local_port": {
44+
"type": "integer",
45+
"minimum": 1,
46+
"maximum": 65535,
47+
"description": "Local port number for Socket"
48+
},
49+
"remote_ip": {
50+
"type": "string",
51+
"description": "Remote IPv4 address"
52+
},
53+
"remote_port": {
54+
"oneOf": [
55+
{
56+
"type": "integer",
57+
"minimum": 1,
58+
"maximum": 65535
59+
},
60+
{
61+
"type": "string",
62+
"enum": [
63+
"backend"
64+
]
65+
}
66+
],
67+
"description": "Remote port number for Socket or the string \"backend\""
68+
}
6969
}
70+
}
7071
}
71-
}
72+
}
73+
7274
}

boards/VCU/VCU.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@
77
"packets": [
88
"orders.json",
99
"packets.json"
10-
],
11-
"sockets": [
12-
"sockets.json"
1310
]
1411
}

boards/VCU/sockets.json

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)