diff --git a/packages/mock-app/src/templates/v0.5.0/te.hbs b/packages/mock-app/src/templates/v0.5.0/te.hbs new file mode 100644 index 00000000..36cef60b --- /dev/null +++ b/packages/mock-app/src/templates/v0.5.0/te.hbs @@ -0,0 +1,2789 @@ + + + + + + + + + + + + +
+
+
+
DIGITAL TRACEABILITY EVENT
+
+ +
+ {{#each credentialSubject}} +
+
+
{{processType}}
+
{{bizStep}} {{eventTime}}
+
+
+
+
Transformation
+
+ +
+ +
+
Output
+
+ {{#each outputEPCList}} +
+
{{name}}
+ +
View
+
+
+ {{/each}} + {{#each outputQuantityList}} +
+
{{quantity}}{{uom}} {{productName}}
+ +
View
+
+
+ {{/each}} +
+
+ +
+
+ + + +
+

Transformed

+
+ +
+
Input
+
+ {{#each inputEPCList}} +
+
{{name}}
+ +
View
+
+
+ {{/each}} + {{#each inputQuantityList}} +
+
{{quantity}}{{uom}} {{productName}}
+ +
View
+
+
+ {{/each}} +
+
+ +
+
+ +
+
+
Event sensor information
+
+ + {{#each sensorElementList}} +
+
+
{{sensorMetadata.device.name}}
+ +
+ {{#each sensorReport}} +
+
+
Captured at
+
+
{{time}}
+
+
+
+
Sensor type
+ +
+
+
Reading
+
+
{{value}}{{uom}}
+
+
+
+ {{/each}} + +
+ + + +
+
Integrity proof
+
+
+ + + +
+
+ {{/each}} +
+ +
+
+ {{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} + {{!-- being assumed --}} + Event location information +
+
+
+ +
+
+
{{processType}}
+
{{bizStep}} {{eventTime}}
+
+
+
+
Transaction
+
+ +
+
+
+
+
Source
+ {{!-- TODO: to be confirmed, since the navigation link wasn't provided --}} + {{!-- being assumed --}} + +
View
+
+
+
+
Destination
+ {{!-- TODO: to be confirmed, since the navigation link wasn't provided --}} + {{!-- being assumed --}} + +
View
+
+
+
+
+
+ +
+
Object list
+
+ {{#each epcList}} +
+
{{name}}
+ +
View
+
+
+ {{/each}} + {{#each quantityList}} +
+
{{quantity}}{{uom}} {{productName}}
+ +
View
+
+
+ {{/each}} +
+
+
+ +
+
+
Event sensor information
+
+ + {{#each sensorElementList}} +
+
+
{{sensorMetadata.device.name}}
+ +
+ {{#each sensorReport}} +
+
+
Captured at
+
+
{{time}}
+
+
+
+
Sensor type
+ +
+
+
Reading
+
+
{{value}}{{uom}}
+
+
+
+ {{/each}} + +
+ + + +
+
Integrity proof
+
+
+ + + +
+
+ {{/each}} +
+ +
+
+ {{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} + {{!-- being assumed --}} + Event location information +
+
+
+ +
+
+
{{processType}}
+
{{bizStep}} {{eventTime}}
+
+ +
+
+
Object event
+
+ +
+
Object list
+
+ {{#each epcList}} +
+
{{name}}
+ +
View
+
+
+ {{/each}} + {{#each quantityList}} +
+
{{quantity}}{{uom}} {{productName}}
+ +
View
+
+
+ {{/each}} +
+
+ +
+ +
+
+
Event sensor information
+
+ + {{#each sensorElementList}} +
+
+
{{sensorMetadata.device.name}}
+ +
+ {{#each sensorReport}} +
+
+
Captured at
+
+
{{time}}
+
+
+
+
Sensor type
+ +
+
+
Reading
+
+
{{value}}{{uom}}
+
+
+
+ {{/each}} + +
+ + + +
+
Integrity proof
+
+
+ + + +
+
+ {{/each}} +
+ +
+
+ {{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} + {{!-- being assumed --}} + Event location information +
+
+
+ +
+
+
{{processType}}
+
{{bizStep}} {{eventTime}}
+
+ +
+
+
Aggregation
+
+
+ +
+
+
+
{{parentEPC.name}}
+ +
View
+
+
+
+
+ +
+
+ + + +
+

Aggregated

+
+ +
+
Child list
+
+ {{#each childEPCList}} +
+
{{name}}
+ +
View
+
+
+ {{/each}} + {{#each childQuantityList}} +
+
{{quantity}}{{uom}} {{productName}}
+ +
View
+
+
+ {{/each}} +
+
+ +
+
+ +
+
+
Event sensor information
+
+ + {{#each sensorElementList}} +
+
+
{{sensorMetadata.device.name}}
+ +
+ {{#each sensorReport}} +
+
+
Captured at
+
+
{{time}}
+
+
+
+
Sensor type
+ +
+
+
Reading
+
+
{{value}}{{uom}}
+
+
+
+ {{/each}} + +
+ + + +
+
Integrity proof
+
+
+ + + +
+
+ {{/each}} +
+ +
+
+ {{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} + {{!-- being assumed --}} + Event location information +
+
+
+ +
+
+
{{processType}}
+
{{bizStep}} {{eventTime}}
+
+ +
+
+
Association
+
+
+ +
+
+
+
{{parentEPC.name}}
+ +
View
+
+
+
+
+ +
+
+ + + +
+

Assembled

+
+ +
+
Child list
+
+ {{#each childEPCList}} +
+
{{name}}
+ +
View
+
+
+ {{/each}} + {{#each childQuantityList}} +
+
{{quantity}}{{uom}} {{productName}}
+ +
View
+
+
+ {{/each}} +
+
+ +
+
+ +
+
+
Event sensor information
+
+ + {{#each sensorElementList}} +
+
+
{{sensorMetadata.device.name}}
+ +
+ {{#each sensorReport}} +
+
+
Captured at
+
+
{{time}}
+
+
+
+
Sensor type
+ +
+
+
Reading
+
+
{{value}}{{uom}}
+
+
+
+ {{/each}} + +
+ + + +
+
Integrity proof
+
+
+ + + +
+
+ {{/each}} +
+ +
+
+ {{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} + {{!-- being assumed --}} + Event location information +
+
+ +
+ {{/each}} +
+ +
+ +
+
+
Issuing details
+
+
+
+
Issued by
+ +
+
+
Valid from
+
+
{{validFrom}}
+
+
+
+
+
+ + + \ No newline at end of file