Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ schemas = [
'leak_detector.json',
'firmware.json',
'supported_configuration.json',
'spdm_responder.json',
]

foreach s : schemas
Expand Down
3 changes: 3 additions & 0 deletions schemas/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
{
"$ref": "satellite_controller.json#/$defs/SatelliteController"
},
{
"$ref": "spdm.json#/definitions/Responder"
},
{
"$ref": "stepwise.json#/$defs/Stepwise"
},
Expand Down
22 changes: 22 additions & 0 deletions schemas/spdm_responder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Responder": {
"title": "SPDM TCP responder configuration",
"description": "The configuration used to add remote SPDM responder to the system",
"type": "object",
"properties": {
"Hostname": {
"description": "Hostname or IP of SPDM TCP responder",
"type": "string"
},
"Port": {
"description": "Network port SPDM TCP responder is listening on per DSP0287_1.0.0",
"type": "number"
}
},
"required": ["Hostname", "Port"]
}
}
}