Andrew Jeffery | e501cb7 | 2024-02-20 16:27:58 +1030 | [diff] [blame] | 1 | { |
| 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 Tsai | 2639e56 | 2025-02-13 13:34:32 +0800 | [diff] [blame] | 25 | }, |
| 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 Jeffery | e501cb7 | 2024-02-20 16:27:58 +1030 | [diff] [blame] | 47 | } |
| 48 | } |
| 49 | } |