blob: 844f79a2264c9b326eb03a752295574de4793b1c [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": {
James Feist1e3e6982018-08-03 16:09:28 -07005 "type": "object",
6 "properties": {
7 "Exposes": {
8 "type": "array",
9 "items": {
Brad Bishop66665882020-05-07 17:05:18 -040010 "$ref": "legacy.json#/definitions/Aggregate"
James Feist1e3e6982018-08-03 16:09:28 -070011 }
12 },
13 "Name": {
14 "type": "string"
15 },
16 "Probe": {
17 "anyOf": [
18 {
19 "type": "string"
20 },
21 {
22 "type": "array",
23 "items": {
24 "type": "string"
25 }
26 }
27 ]
28 },
James Feist60d93d22019-07-10 15:08:35 -070029 "Type": {
30 "type": "string"
31 },
James Feist1e3e6982018-08-03 16:09:28 -070032 "xyz.openbmc_project.Inventory.Decorator.Asset": {
Brad Bishopb9809912020-05-07 17:15:31 -040033 "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Decorator/Asset"
James Feist1e3e6982018-08-03 16:09:28 -070034 },
James Feist60d93d22019-07-10 15:08:35 -070035 "ProductId": {
36 "type": "number"
37 },
38 "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
Brad Bishopb9809912020-05-07 17:15:31 -040039 "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Decorator/AssetTag"
James Feist60d93d22019-07-10 15:08:35 -070040 },
41 "xyz.openbmc_project.Inventory.Item.System": {
Brad Bishopb9809912020-05-07 17:15:31 -040042 "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Item/System"
James Feist1e3e6982018-08-03 16:09:28 -070043 }
44 },
45 "required": [
46 "Exposes",
47 "Name",
48 "Probe"
49 ]
50 }
Brad Bishop8e659b52020-05-07 17:31:04 -040051 },
52 "anyOf": [
53 {
54 "type": "array",
55 "items": {
56 "$ref": "#/definitions/EMConfig"
57 }
58 },
59 {
60 "$ref": "#/definitions/EMConfig"
61 }
James Feist1e3e6982018-08-03 16:09:28 -070062 ]
63}