blob: a34c3da301e6c27e448001a8cabee07974c82537 [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"
Kumar Thangavele5c473f2023-01-27 15:09:45 +053042 },
43 "Replaceable": {
44 "additionalProperties": false,
45 "properties": {
46 "FieldReplaceable": {
47 "type": "boolean"
48 }
49 },
50 "required": ["FieldReplaceable"],
51 "type": "object"
Brad Bishopb9809912020-05-07 17:15:31 -040052 }
53 },
54 "Item": {
Brad Bishop9453a682020-05-07 19:12:46 -040055 "Board": {
56 "Motherboard": {
57 "additionalProperties": false,
58 "properties": {
59 "ProductId": {
60 "type": "number"
61 }
62 },
Patrick Williamsfa8ee872022-12-07 07:00:42 -060063 "required": ["ProductId"],
Brad Bishop9453a682020-05-07 19:12:46 -040064 "type": "object"
65 }
66 },
67 "Chassis": {
68 "additionalProperties": false,
69 "type": "object"
70 },
71 "Panel": {
72 "additionalProperties": false,
73 "type": "object"
74 },
Brad Bishopb9809912020-05-07 17:15:31 -040075 "System": {
76 "additionalProperties": false,
77 "type": "object"
78 }
79 }
80 }
81 }
82 }
83 }
84}