-
Notifications
You must be signed in to change notification settings - Fork 56
8. EPCIS Document Templates ‐ Transaction Event
Jaewook Byun edited this page Aug 25, 2023
·
1 revision
Copyright © 2020-2023 Jaewook Byun all rights reserved.
- This page shows a concise set of transaction events in both XML and JSON formats
- Each pair of events in both formats is equivalent and produces the same automatically generated hash identifier where
- a JSON format contains GS1 Digital Link and condensed CBV
- a XML format contains EPC and full CBV
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:TransactionEvent xmlns:epcis="urn:epcglobal:epcis:xsd:2" schemaVersion="2.0" creationDate="2022-11-11T14:59:02.099+09:00">
<eventTime>2022-11-11T14:59:02.099+09:00</eventTime>
<eventTimeZoneOffset>+09:00</eventTimeZoneOffset>
<certificationInfo>https://customsauthority.example.gov/certificate/ABC12345</certificationInfo>
<bizTransactionList>
<bizTransaction type="urn:epcglobal:cbv:btt:po">urn:epc:id:gdti:0614141.00001.1618034</bizTransaction>
</bizTransactionList>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<epcList>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
<epc>urn:epc:id:sgtin:0614141.107346.2018</epc>
</epcList>
<action>ADD</action>
<quantityList>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998878</epcClass>
<quantity>20</quantity>
<uom>KGM</uom>
</quantityElement>
</quantityList>
</epcis:TransactionEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "TransactionEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"certificationInfo": "https://customsauthority.example.gov/certificate/ABC12345",
"bizTransactionList": [
{
"type": "po",
"bizTransaction": "https://id.gs1.org/253/06141410000121618034"
}
],
"parentID": "https://id.gs1.org/00/106141412345678908",
"epcList": [
"https://id.gs1.org/01/10614141073464/21/2017",
"https://id.gs1.org/01/10614141073464/21/2018"
],
"action": "ADD",
"quantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877"
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998878",
"quantity": 20,
"uom": "KGM"
}
]
}