1// This JSON has the information needed to create General FRU record for FRU of
2// type Cpu. The FRU fields are based on the PLDM specification DSP0257.
3{
4    "record_details": {
5        // FRU Record Type - General FRU Record
6        "fru_record_type": 1,
7        // Encoding Type for FRU fields - ASCII
8        "fru_encoding_type": 1,
9        "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Cpu"
10    },
11    "fru_fields": [
12        {
13            // FRU Field Type 3 - Part Number
14            "fru_field_type": 3,
15            // D-Bus property to read and populate the FRU field
16            "dbus": {
17                "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
18                "property_name": "PartNumber",
19                "property_type": "string"
20            }
21        },
22        {
23            // FRU Field Type 4 - Serial Number
24            "fru_field_type": 4,
25            // D-Bus property to read and populate the FRU field
26            "dbus": {
27                "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
28                "property_name": "SerialNumber",
29                "property_type": "string"
30            }
31        }
32    ]
33}
34