# Use Cases for DPP-CRC
## Use Case #0: Initial EPD Demo
goal: demonstrate (a) basic structure of EPD and (b) DISP & Wallet building blocks
due: June 15
### Tasks
- [ ] define data structure for an ConcreteMixture, EPD, DPP
- [ ] define all stakeholders and products + representation as DID
- [ ] create EPD as Verifiable Credential and sign with Sphereon Wallet
(EPD is Credential Subject in VC)
- [ ] create all relevant records to be stored in Data Intermediary or private data store
- [ ] formulate ZKP and include in Credentials/Presentations
- [ ] create DID acting as DPP for concrete that includes serviceEndpoints for VC and ZKP
### Sequence
```plantuml
@startuml
actor "Concrete\nProducer" as cp
participant "Mobile\nWallet" as wallet
database "Data\nIntermediary" as disp
database "Private\nStore" as store
collections "EPD\nCalculator" as epd
actor "Building\nOwner" as owner
cp -> store: enter Concrete Mixture
cp --> store: trigger EPD calculation
store -> epd: send Concrete Mixture
epd -> disp: store EPD (incl. ZKP)
cp --> disp: trigger DPP creation
disp -> wallet: request signature
cp --> wallet: confirm signature
wallet -> disp: provide signature
disp -> disp: create DPP from EPD\nsigned by CP
owner -> disp: read DPP
@enduml
```
### Documentation
- [ ] create HackMD with walk through
* describe actors and input data
* describe technical prerequisites: private store, DISP, wallet
* Sequence
1. create private record with mixture
2. prepare EPD with ZKP
3. create VC by signing with Sphereon Wallet
4. access DPP represented as DID
5. verify DPP content with ZKP
## Use Case #1: Self-generated EPD in EU
goal: demonstrate (a) self-generated EPD, (b) use of Sphereon online wallet, and introduce (c) Sequello as additional Stakeholder
due: Sept 15
### Tasks
- [ ] login to Data Intermediary with ID Austria
- [ ] Sphereon DPP / Online wallet deployed on OYD K8s
- [ ] EPD managed in Sphereon DPP platform
- [ ] Stakeholders created as contacts
- [ ] records created and linked as assets
- [ ] supporting evidence (delivery notes) created as documents
- [ ] EPD as Verifiable Credential
### Documentation
- [ ] create HackMD with walk through
* describe actors (concrete producer, sequello, auditor) and building blocks (private store, DISP, mobile & online wallet)
* Sequence
1. login with ID Austria to DISP
2. login to Online Wallet - with Sphereon Wallet?
3. create records in DISP and demonstrate sync to online wallet
4. create VC for EPD with ZKP - most probably in DISP and sign with mobile wallet
5. show VC in online wallet
6. show DPP in online wallet
7. verify DPP content with ZKP
## Use Case #2: EPD flexibility in Canada
goal: quantify carbon footprint reduction with flexibility of Canadian EPDs
due: Sept 25
### Documentation
* describes governance in Austria / EU / Canada
* Sequence
1. describe setting for building with different concrete
2. describe available EPDs in Austria / Canada
3. demonstrate different outcome and impact of flexible EPDs
## Use Case #3: EPDs for Carbon-Reduced Concrete with Heated Formwork
goal: demonstrate EPDs covering A1-A5 from the building life-cycle by including heated formwork
due: Nov 30
### Tasks
- [ ] additional stakeholder from construction site
- [ ] provide evidence of carbon footprint for heated formwork
- [ ] cascading EPDs
- [ ] A1 - provision of raw materials (cement EPD)
- [ ] A2 - transport to concrete factory (EPD: A1 EPD + Sequello delivery note)
- [ ] A3 - concrete production (EPD: A2 EPD + ConcreteMixture)
- [ ] A4 - transport to construction site (EPD: A3 EPD + from Sequello delivery note)
- [ ] A5 - use of heated formwork (EPD: A4 EPD + heated formwork evidence)
### Documentation
- [ ] create HackMD with walk through
* describe actors (concrete producer, sequello, auditor) and building blocks (private store, DISP, mobile & online wallet)
* Sequence: full description with summary of all functionalities from other UCs
## *Infos*
