xref: /openbmc/entity-manager/schemas/spdm_endpoint.json (revision 6ef32964a39c5147e6cb72a6c3d31d05b409f9f4)
1{
2    "$schema": "http://json-schema.org/draft-07/schema#",
3    "$defs": {
4        "SpdmTcpEndpoint": {
5            "title": "SPDM TCP responder configuration",
6            "description": "The configuration used to add remote SPDM responder to the system",
7            "type": "object",
8            "additionalProperties": false,
9            "properties": {
10                "Hostname": {
11                    "description": "Hostname or IP of remote SPDM TCP responder",
12                    "type": "string"
13                },
14                "Port": {
15                    "description": "Network port SPDM TCP responder is listening on per DSP0287_1.0.0",
16                    "type": "number"
17                },
18                "TrustedComponentType": {
19                    "description": "Type of the Root of Trust",
20                    "enum": ["discrete", "integrated"]
21                },
22                "Name": {
23                    "description": "The name of the object",
24                    "type": "string"
25                },
26                "Type": {
27                    "description": "The type of object",
28                    "type": "string",
29                    "enum": ["SpdmTcpResponder"]
30                }
31            },
32            "required": [
33                "Hostname",
34                "Port",
35                "TrustedComponentType",
36                "Name",
37                "Type"
38            ]
39        }
40    }
41}
42