blob: e3de5ed169fde07b60d7b76d4f5d13fd7a06c07f [file] [log] [blame]
James Feist1e3e6982018-08-03 16:09:28 -07001{
Brad Bishop64d7cec2020-05-01 10:00:23 -04002 "$schema": "http://json-schema.org/draft-07/schema#",
Brad Bishop8e659b52020-05-07 17:31:04 -04003 "definitions": {
4 "EMConfig": {
Brad Bishop9453a682020-05-07 19:12:46 -04005 "additionalProperties": false,
James Feist1e3e6982018-08-03 16:09:28 -07006 "type": "object",
7 "properties": {
Brad Bishop9453a682020-05-07 19:12:46 -04008 "Bus": {
9 "type": "string"
10 },
James Feist1e3e6982018-08-03 16:09:28 -070011 "Exposes": {
12 "type": "array",
13 "items": {
Brad Bishop66665882020-05-07 17:05:18 -040014 "$ref": "legacy.json#/definitions/Aggregate"
James Feist1e3e6982018-08-03 16:09:28 -070015 }
16 },
Brad Bishop9453a682020-05-07 19:12:46 -040017 "Logging": {
18 "enum": [
19 "Off"
20 ]
21 },
James Feist1e3e6982018-08-03 16:09:28 -070022 "Name": {
23 "type": "string"
24 },
25 "Probe": {
26 "anyOf": [
27 {
28 "type": "string"
29 },
30 {
31 "type": "array",
32 "items": {
33 "type": "string"
34 }
35 }
36 ]
37 },
James Feist60d93d22019-07-10 15:08:35 -070038 "Type": {
39 "type": "string"
40 },
James Feist1e3e6982018-08-03 16:09:28 -070041 "xyz.openbmc_project.Inventory.Decorator.Asset": {
Brad Bishopb9809912020-05-07 17:15:31 -040042 "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Decorator/Asset"
James Feist1e3e6982018-08-03 16:09:28 -070043 },
James Feist60d93d22019-07-10 15:08:35 -070044 "ProductId": {
45 "type": "number"
46 },
47 "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
Brad Bishopb9809912020-05-07 17:15:31 -040048 "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Decorator/AssetTag"
James Feist60d93d22019-07-10 15:08:35 -070049 },
Brad Bishop9453a682020-05-07 19:12:46 -040050 "xyz.openbmc_project.Inventory.Item.Board.Motherboard": {
51 "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Item/Board/Motherboard"
52 },
53 "xyz.openbmc_project.Inventory.Item.Chassis": {
54 "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Item/Chassis"
55 },
56 "xyz.openbmc_project.Inventory.Item.Panel": {
57 "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Item/Panel"
58 },
James Feist60d93d22019-07-10 15:08:35 -070059 "xyz.openbmc_project.Inventory.Item.System": {
Brad Bishopb9809912020-05-07 17:15:31 -040060 "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Item/System"
James Feist1e3e6982018-08-03 16:09:28 -070061 }
62 },
63 "required": [
64 "Exposes",
65 "Name",
66 "Probe"
67 ]
68 }
Brad Bishop8e659b52020-05-07 17:31:04 -040069 },
70 "anyOf": [
71 {
72 "type": "array",
73 "items": {
74 "$ref": "#/definitions/EMConfig"
75 }
76 },
77 {
78 "$ref": "#/definitions/EMConfig"
79 }
James Feist1e3e6982018-08-03 16:09:28 -070080 ]
81}