blob: 184d2f44b6ee0acef6bbeda8cea344fa4a12ccff [file] [log] [blame]
Brad Bishopb9809912020-05-07 17:15:31 -04001{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "Schemas for JSON representations of OpenBMC DBus interfaces",
4 "definitions": {
5 "xyz": {
6 "openbmc_project": {
7 "Inventory": {
8 "Decorator": {
9 "Asset": {
10 "additionalProperties": false,
11 "properties": {
12 "Manufacturer": {
13 "type": "string"
14 },
15 "Model": {
16 "type": "string"
17 },
18 "PartNumber": {
19 "type": "string"
20 },
21 "SerialNumber": {
22 "type": "string"
23 }
24 },
25 "required": [
26 "Manufacturer",
27 "Model",
28 "PartNumber",
29 "SerialNumber"
30 ],
31 "type": "object"
32 },
33 "AssetTag": {
34 "additionalProperties": false,
35 "properties": {
36 "AssetTag": {
37 "type": "string"
38 }
39 },
Patrick Williamsfa8ee872022-12-07 07:00:42 -060040 "required": ["AssetTag"],
Brad Bishopb9809912020-05-07 17:15:31 -040041 "type": "object"
42 }
43 },
44 "Item": {
Brad Bishop9453a682020-05-07 19:12:46 -040045 "Board": {
46 "Motherboard": {
47 "additionalProperties": false,
48 "properties": {
49 "ProductId": {
50 "type": "number"
51 }
52 },
Patrick Williamsfa8ee872022-12-07 07:00:42 -060053 "required": ["ProductId"],
Brad Bishop9453a682020-05-07 19:12:46 -040054 "type": "object"
55 }
56 },
57 "Chassis": {
58 "additionalProperties": false,
59 "type": "object"
60 },
61 "Panel": {
62 "additionalProperties": false,
63 "type": "object"
64 },
Brad Bishopb9809912020-05-07 17:15:31 -040065 "System": {
66 "additionalProperties": false,
67 "type": "object"
68 }
69 }
70 }
71 }
72 }
73 }
74}