Skip to content

Commit a7f58bd

Browse files
chore(adj-validator): copy ADJ-Validator from test-adj
1 parent fdafcbe commit a7f58bd

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
"additionalProperties": true,
77
"required": [
88
"board_id",
9-
"board_ip",
10-
"measurements",
11-
"packets"
9+
"board_ip"
1210
],
1311
"properties": {
1412
"board_id": {

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

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,20 @@
4343
"description": "Remote IPv4 address"
4444
},
4545
"remote_port": {
46-
"type": "integer",
47-
"minimum": 1,
48-
"maximum": 65535,
49-
"description": "Remote port number for Socket"
46+
"oneOf": [
47+
{
48+
"type": "integer",
49+
"minimum": 1,
50+
"maximum": 65535
51+
},
52+
{
53+
"type": "string",
54+
"enum": [
55+
"backend"
56+
]
57+
}
58+
],
59+
"description": "Remote port number for Socket or the string \"backend\""
5060
}
5161
}
5262
}

0 commit comments

Comments
 (0)