blob: 7dc16292b8bdb2825e3d65e45042bae123796cd0 [file] [log] [blame]
Andrew Jefferye501cb72024-02-20 16:27:58 +10301{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "$defs": {
4 "MCTPI2CTarget": {
5 "properties": {
6 "Address": {
7 "description": "The physical address for the device on the I2C bus.",
8 "type": "string"
9 },
10 "Bus": {
11 "description": "The bus index to which the device is attached",
12 "type": "string"
13 },
14 "Name": {
15 "description": "A recognisable name for the device",
16 "type": "string"
17 },
18 "Type": {
19 "type": "string",
20 "enum": ["MCTPI2CTarget"]
21 }
22 },
23 "required": ["Address", "Bus", "Name", "Type"],
24 "type": "object"
Yikai Tsai2639e562025-02-13 13:34:32 +080025 },
26 "MCTPI3CTarget": {
27 "properties": {
28 "Address": {
29 "description": "The 6-byte PID for the device on the I3C bus",
30 "type": ["string", "array"]
31 },
32 "Bus": {
33 "description": "The bus index to which the device is attached",
34 "type": "string"
35 },
36 "Name": {
37 "description": "A recognisable name for the device",
38 "type": "string"
39 },
40 "Type": {
41 "type": "string",
42 "enum": ["MCTPI3CTarget"]
43 }
44 },
45 "required": ["Address", "Bus", "Name", "Type"],
46 "type": "object"
Andrew Jefferye501cb72024-02-20 16:27:58 +103047 }
48 }
49}