diff --git a/meson.build b/meson.build index 0d549e9..385ea42 100644 --- a/meson.build +++ b/meson.build @@ -105,6 +105,7 @@ schemas = [ 'leak_detector.json', 'firmware.json', 'supported_configuration.json', + 'spdm_responder.json', ] foreach s : schemas diff --git a/schemas/global.json b/schemas/global.json index 5ac74a8..80a00fd 100644 --- a/schemas/global.json +++ b/schemas/global.json @@ -31,6 +31,9 @@ { "$ref": "satellite_controller.json#/$defs/SatelliteController" }, + { + "$ref": "spdm.json#/definitions/Responder" + }, { "$ref": "stepwise.json#/$defs/Stepwise" }, diff --git a/schemas/spdm_responder.json b/schemas/spdm_responder.json new file mode 100644 index 0000000..7cb3e0b --- /dev/null +++ b/schemas/spdm_responder.json @@ -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"] + } + } +} +