1*2746fb48SManojkiran Eda// This JSON has the information needed to create General FRU record for FRU of
2*2746fb48SManojkiran Eda// type Cpu. The FRU fields are based on the PLDM specification DSP0257.
31f4df219STom Joseph{
41f4df219STom Joseph   "record_details":
51f4df219STom Joseph   {
6*2746fb48SManojkiran Eda        // FRU Record Type - General FRU Record
71f4df219STom Joseph        "fru_record_type" : 1,
8*2746fb48SManojkiran Eda        // Encoding Type for FRU fields - ASCII
91f4df219STom Joseph        "fru_encoding_type": 1,
101f4df219STom Joseph        "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Cpu"
111f4df219STom Joseph   },
121f4df219STom Joseph   "fru_fields":[
131f4df219STom Joseph      {
14*2746fb48SManojkiran Eda         // FRU Field Type 3 - Part Number
151f4df219STom Joseph         "fru_field_type" : 3,
16*2746fb48SManojkiran Eda         // D-Bus property to read and populate the FRU field
171f4df219STom Joseph         "dbus":
181f4df219STom Joseph            {
191f4df219STom Joseph               "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
201f4df219STom Joseph               "property_name" : "PartNumber",
211f4df219STom Joseph               "property_type" : "string"
221f4df219STom Joseph            }
231f4df219STom Joseph      },
241f4df219STom Joseph      {
25*2746fb48SManojkiran Eda         // FRU Field Type 4 - Serial Number
261f4df219STom Joseph         "fru_field_type" : 4,
27*2746fb48SManojkiran Eda         // D-Bus property to read and populate the FRU field
281f4df219STom Joseph         "dbus":
291f4df219STom Joseph            {
301f4df219STom Joseph               "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
311f4df219STom Joseph               "property_name" : "SerialNumber",
321f4df219STom Joseph               "property_type" : "string"
331f4df219STom Joseph            }
341f4df219STom Joseph      }
351f4df219STom Joseph    ]
361f4df219STom Joseph}
37