12746fb48SManojkiran Eda// This JSON has the information needed to create General FRU record for FRU of
22746fb48SManojkiran Eda// type Cpu. The FRU fields are based on the PLDM specification DSP0257.
31f4df219STom Joseph{
4*3618064eSPatrick Williams    "record_details": {
52746fb48SManojkiran Eda        // FRU Record Type - General FRU Record
61f4df219STom Joseph        "fru_record_type": 1,
72746fb48SManojkiran Eda        // Encoding Type for FRU fields - ASCII
81f4df219STom Joseph        "fru_encoding_type": 1,
91f4df219STom Joseph        "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Cpu"
101f4df219STom Joseph    },
111f4df219STom Joseph    "fru_fields": [
121f4df219STom Joseph        {
132746fb48SManojkiran Eda            // FRU Field Type 3 - Part Number
141f4df219STom Joseph            "fru_field_type": 3,
152746fb48SManojkiran Eda            // D-Bus property to read and populate the FRU field
16*3618064eSPatrick Williams            "dbus": {
171f4df219STom Joseph                "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
181f4df219STom Joseph                "property_name": "PartNumber",
191f4df219STom Joseph                "property_type": "string"
201f4df219STom Joseph            }
211f4df219STom Joseph        },
221f4df219STom Joseph        {
232746fb48SManojkiran Eda            // FRU Field Type 4 - Serial Number
241f4df219STom Joseph            "fru_field_type": 4,
252746fb48SManojkiran Eda            // D-Bus property to read and populate the FRU field
26*3618064eSPatrick Williams            "dbus": {
271f4df219STom Joseph                "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
281f4df219STom Joseph                "property_name": "SerialNumber",
291f4df219STom Joseph                "property_type": "string"
301f4df219STom Joseph            }
311f4df219STom Joseph        }
321f4df219STom Joseph    ]
331f4df219STom Joseph}
34