James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 1 | { |
Brad Bishop | 64d7cec | 2020-05-01 10:00:23 -0400 | [diff] [blame] | 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
Brad Bishop | 8e659b5 | 2020-05-07 17:31:04 -0400 | [diff] [blame] | 3 | "definitions": { |
| 4 | "EMConfig": { |
Brad Bishop | 9453a68 | 2020-05-07 19:12:46 -0400 | [diff] [blame^] | 5 | "additionalProperties": false, |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 6 | "type": "object", |
| 7 | "properties": { |
Brad Bishop | 9453a68 | 2020-05-07 19:12:46 -0400 | [diff] [blame^] | 8 | "Bus": { |
| 9 | "type": "string" |
| 10 | }, |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 11 | "Exposes": { |
| 12 | "type": "array", |
| 13 | "items": { |
Brad Bishop | 6666588 | 2020-05-07 17:05:18 -0400 | [diff] [blame] | 14 | "$ref": "legacy.json#/definitions/Aggregate" |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 15 | } |
| 16 | }, |
Brad Bishop | 9453a68 | 2020-05-07 19:12:46 -0400 | [diff] [blame^] | 17 | "Logging": { |
| 18 | "enum": [ |
| 19 | "Off" |
| 20 | ] |
| 21 | }, |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 22 | "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 Feist | 60d93d2 | 2019-07-10 15:08:35 -0700 | [diff] [blame] | 38 | "Type": { |
| 39 | "type": "string" |
| 40 | }, |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 41 | "xyz.openbmc_project.Inventory.Decorator.Asset": { |
Brad Bishop | b980991 | 2020-05-07 17:15:31 -0400 | [diff] [blame] | 42 | "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Decorator/Asset" |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 43 | }, |
James Feist | 60d93d2 | 2019-07-10 15:08:35 -0700 | [diff] [blame] | 44 | "ProductId": { |
| 45 | "type": "number" |
| 46 | }, |
| 47 | "xyz.openbmc_project.Inventory.Decorator.AssetTag": { |
Brad Bishop | b980991 | 2020-05-07 17:15:31 -0400 | [diff] [blame] | 48 | "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Decorator/AssetTag" |
James Feist | 60d93d2 | 2019-07-10 15:08:35 -0700 | [diff] [blame] | 49 | }, |
Brad Bishop | 9453a68 | 2020-05-07 19:12:46 -0400 | [diff] [blame^] | 50 | "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 Feist | 60d93d2 | 2019-07-10 15:08:35 -0700 | [diff] [blame] | 59 | "xyz.openbmc_project.Inventory.Item.System": { |
Brad Bishop | b980991 | 2020-05-07 17:15:31 -0400 | [diff] [blame] | 60 | "$ref": "openbmc-dbus.json#/definitions/xyz/openbmc_project/Inventory/Item/System" |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 61 | } |
| 62 | }, |
| 63 | "required": [ |
| 64 | "Exposes", |
| 65 | "Name", |
| 66 | "Probe" |
| 67 | ] |
| 68 | } |
Brad Bishop | 8e659b5 | 2020-05-07 17:31:04 -0400 | [diff] [blame] | 69 | }, |
| 70 | "anyOf": [ |
| 71 | { |
| 72 | "type": "array", |
| 73 | "items": { |
| 74 | "$ref": "#/definitions/EMConfig" |
| 75 | } |
| 76 | }, |
| 77 | { |
| 78 | "$ref": "#/definitions/EMConfig" |
| 79 | } |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 80 | ] |
| 81 | } |