Open obermeier opened 7 months ago
Add reference values for example vehicles
{
"id": "d7180626-bf12-4bd7-96b9-fd5ff4b51a3d",
"name": "My Citybike",
"emissionPerKm": 0
}
{
"id": "3307a49f-d1d1-4ae8-80d9-b467936a939e",
"name": "My MTB",
"emissionPerKm": 0
}
{
"id": "0cafe6b0-8a14-11ee-b9d1-0242ac120002",
"name": "My lovely DB5",
"emissionPerKm": 250
}
{
"id": "b6eb42e9-2f55-4a99-8e2d-2812b337431f",
"name": "My allday Golf",
"emissionPerKm": 115
}
{
"id": "e09c2259-994e-40f1-8b1d-c66a55ca0bb7",
"name": "Always late train",
"emissionPerKm": 93
}
Refs to id [b6eb42e9-2f55-4a99-8e2d-2812b337431f] https://www.volkswagen.de/idhub/content/dam/onehub_pkw/importers/de/besitzer-und-nutzer/wissenswertes/wltp/WLTP_Emissionswerte_Emissionsnormen_DE_10-19.pdf (27.12.2023) [e09c2259-994e-40f1-8b1d-c66a55ca0bb7] https://www.umweltbundesamt.de/bild/vergleich-der-durchschnittlichen-emissionen-0 (27.12.2023)
Storing the characteristics of the used vehicle on the blockchain makes it easier to reproduce the calculated PCF. A chain code function should be able to write the characteristic and another function be able to read the data based on the ID.
The id should be used as key.
Example payload: