-
Notifications
You must be signed in to change notification settings - Fork 54
8. EPCIS Document Templates ‐ Aggregation Event
Jaewook Byun edited this page Aug 22, 2023
·
1 revision
Copyright © 2020-2023 Jaewook Byun all rights reserved.
- This page shows a concise set of aggregation 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:AggregationEvent 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>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"certificationInfo": "https://customsauthority.example.gov/certificate/ABC12345",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent xmlns:epcis="urn:epcglobal:epcis:xsd:2" schemaVersion="2.0" creationDate="2022-11-11T14:59:02.099+09:00">
<eventTime>2022-11-12T14:59:02.099+09:00</eventTime>
<eventTimeZoneOffset>+09:00</eventTimeZoneOffset>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs/>
<action>DELETE</action>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-12T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"action": "DELETE"
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent xmlns:epcis="urn:epcglobal:epcis:xsd:2" schemaVersion="2.0" creationDate="2022-11-11T14:59:02.099+09:00">
<eventTime>2022-11-12T14:59:02.099+09:00</eventTime>
<eventTimeZoneOffset>+09:00</eventTimeZoneOffset>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>DELETE</action>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-12T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"action": "DELETE",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent 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>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<bizStep>urn:epcglobal:cbv:bizstep:loading</bizStep>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"bizStep" : "loading"
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent 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>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<disposition>urn:epcglobal:cbv:disp:active</disposition>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"disposition" : "active"
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent 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>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<readPoint>
<id>urn:epc:id:sgln:0012345.11111.400</id>
</readPoint>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"readPoint" : {
"id": "https://id.gs1.org/414/0012345111112/254/400"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent 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>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<bizLocation>
<id>urn:epc:id:sgln:0012345.11111.0</id>
</bizLocation>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"bizLocation" : {
"id": "https://id.gs1.org/414/0012345111112"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent 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>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<bizTransactionList>
<bizTransaction type="urn:epcglobal:cbv:btt:po">urn:epc:id:gdti:0614141.00001.1618034</bizTransaction>
</bizTransactionList>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"bizTransactionList" : [
{ "type" : "po" , "bizTransaction" : "https://id.gs1.org/253/06141410000121618034"}
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent 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>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
<sourceList>
<source type="urn:epcglobal:cbv:sdt:owning_party">urn:epc:id:pgln:4012345.00225</source>
<source type="urn:epcglobal:cbv:sdt:location">urn:epc:id:sgln:0012345.11111.400</source>
</sourceList>
<destinationList>
<destination type="urn:epcglobal:cbv:sdt:possessing_party">urn:epc:id:pgln:0614141.00777</destination>
</destinationList>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"sourceList": [
{
"type": "owning_party",
"source": "https://id.gs1.org/417/4012345002256"
},
{
"type": "location",
"source": "https://id.gs1.org/414/0012345111112/254/400"
}
],
"destinationList": [
{
"type": "possessing_party",
"destination": "https://id.gs1.org/417/0614141007776"
}
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent 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>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
<sensorElementList>
<sensorElement>
<sensorMetadata
deviceID="urn:epc:id:giai:4000001.111"
deviceMetadata="urn:epc:id:gdti:0614141.12345.006847"
bizRules="urn:epc:id:gdti:0614141.12345.006848"
rawData = "urn:epc:id:gdti:0614141.12345.006857"
dataProcessingMethod="urn:epc:id:gdti:0614141.12345.006849"
time="2022-11-11T14:00:00.000+09:00"
startTime = "2022-11-11T13:00:00.000+09:00"
endTime = "2022-11-11T15:00:00.000+09:00"
/>
<sensorReport type="gs1:Temperature" uom="CEL" time="2022-11-11T14:00:00.000+09:00"
deviceID="urn:epc:id:giai:4000001.111"
deviceMetadata="urn:epc:id:gdti:0614141.12345.006847"
rawData = "urn:epc:id:gdti:0614141.12345.006857"
dataProcessingMethod="urn:epc:id:gdti:0614141.12345.006849"
microorganism="https://www.ncbi.nlm.nih.gov/taxonomy/1126011"
value = "26.3" minValue = "26.0" maxValue = "26.8"
meanValue = "26.4" percValue = "26.8" sDev = "0.316228" />
<sensorReport exception="ALARM_CONDITION" chemicalSubstance="https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N"
stringValue = "error" booleanValue = "true" hexBinaryValue = "FEDC"
uriValue = "https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N" percRank = "63.2" />
<sensorReport type="gs1:Length" value="2477593.57" component = "cbv:Comp-easting"
coordinateReferenceSystem = "http://www.opengis.net/def/crs/EPSG/0/27700" />
</sensorElement>
</sensorElementList>
</epcis:AggregationEvent>
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"sensorElementList": [
{
"sensorMetadata": {
"time": "2022-11-11T14:00:00.000+09:00",
"deviceID": "https://id.gs1.org/8004/4000001111",
"deviceMetadata": "https://id.gs1.org/253/0614141123452006847",
"rawData": "https://id.gs1.org/253/0614141123452006857",
"startTime": "2022-11-11T13:00:00.000+09:00",
"endTime": "2022-11-11T15:00:00.000+09:00",
"dataProcessingMethod": "https://id.gs1.org/253/0614141123452006849",
"bizRules": "https://id.gs1.org/253/0614141123452006848"
},
"sensorReport": [
{
"type": "gs1:Temperature",
"uom" : "CEL",
"time": "2022-11-11T14:00:00.000+09:00",
"deviceID": "https://id.gs1.org/8004/4000001111",
"deviceMetadata": "https://id.gs1.org/253/0614141123452006847",
"rawData": "https://id.gs1.org/253/0614141123452006857",
"dataProcessingMethod": "https://id.gs1.org/253/0614141123452006849",
"microorganism": "https://www.ncbi.nlm.nih.gov/taxonomy/1126011",
"value" : 26.3,
"minValue" : 26.0,
"maxValue" : 26.8,
"meanValue" : 26.4,
"percValue" : 26.8,
"sDev" : 0.316228
},
{
"exception": "ALARM_CONDITION",
"chemicalSubstance": "https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N",
"stringValue": "error",
"booleanValue": true,
"hexBinaryValue": "FEDC",
"uriValue": "https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N",
"percRank": 63.2
},
{
"type" : "gs1:Length",
"value" : 2477593.57,
"component" : "cbv:Comp-easting",
"coordinateReferenceSystem" : "http://www.opengis.net/def/crs/EPSG/0/27700"
}
]
}
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent xmlns:epcis="urn:epcglobal:epcis:xsd:2" schemaVersion="2.0" creationDate="2022-11-11T14:59:02.099+09:00"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dfpl="http://dfpl.sejong.ac.kr/epcis/resource" xmlns:autoid="https://autoidlab.kaist.ac.kr/resource">
<eventTime>2022-11-11T14:59:02.099+09:00</eventTime>
<eventTimeZoneOffset>+09:00</eventTimeZoneOffset>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
<dfpl:default>A string extension value as a default type</dfpl:default>
<dfpl:string xsi:type="xsd:string">A string extension value (dfpl)</dfpl:string>
<autoid:string xsi:type="xsd:string">A string extension value (autoid)</autoid:string>
<dfpl:int xsi:type="xsd:int">3</dfpl:int>
<dfpl:double xsi:type="xsd:double">35.7</dfpl:double>
<dfpl:dateTimeStamp xsi:type="epcis:DateTimeStamp">2022-11-11T14:59:02.099+09:00</dfpl:dateTimeStamp>
<dfpl:array xsi:type="xsd:string">A string extension value #2</dfpl:array>
<dfpl:array xsi:type="xsd:int">4</dfpl:array>
<dfpl:object>
<inner xsi:type="xsd:string">An inner string extension value</inner>
<autoid:inner xsi:type="xsd:int">5</autoid:inner>
</dfpl:object>
</epcis:AggregationEvent>
{
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"dfpl:default" : "A string extension value as a default type",
"dfpl:string" : "A string extension value (dfpl)",
"autoid:string" : "A string extension value (autoid)",
"dfpl:int" : "3",
"dfpl:double" : "35.7",
"dfpl:dateTimeStamp" : "2022-11-11T14:59:02.099+09:00",
"dfpl:array" : ["A string extension value #2" , 4],
"dfpl:object" : {
"inner" : "An inner string extension value",
"autoid:inner" : "5"
},
"@context": [
"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
{
"dfpl": "http://dfpl.sejong.ac.kr/epcis/resource",
"autoid": "https://autoidlab.kaist.ac.kr/resource"
},
{
"dfpl:default": {
"@type": "xsd:string"
},
"dfpl:string": {
"@type": "xsd:string"
},
"autoid:string": {
"@type": "xsd:string"
},
"dfpl:int": {
"@type": "xsd:int"
},
"dfpl:double": {
"@type": "xsd:double"
},
"dfpl:dateTimeStamp": {
"@type": "xsd:dateTimeStamp"
},
"dfpl:array": {
"@type": "array"
},
"dfpl:object": {
"@type": "object"
},
"autoid:inner": {
"@type": "xsd:int"
}
}
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent xmlns:epcis="urn:epcglobal:epcis:xsd:2" schemaVersion="2.0" creationDate="2022-11-11T14:59:02.099+09:00"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dfpl="http://dfpl.sejong.ac.kr/epcis/resource" xmlns:autoid="https://autoidlab.kaist.ac.kr/resource">
<eventTime>2022-11-11T14:59:02.099+09:00</eventTime>
<eventTimeZoneOffset>+09:00</eventTimeZoneOffset>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<readPoint>
<id>urn:epc:id:sgln:0012345.11111.400</id>
<dfpl:default>A string extension value as a default type</dfpl:default>
<dfpl:string xsi:type="xsd:string">A string extension value (dfpl)</dfpl:string>
<autoid:string xsi:type="xsd:string">A string extension value (autoid)</autoid:string>
<dfpl:int xsi:type="xsd:int">3</dfpl:int>
<dfpl:double xsi:type="xsd:double">35.7</dfpl:double>
<dfpl:dateTimeStamp xsi:type="epcis:DateTimeStamp">2022-11-11T14:59:02.099+09:00</dfpl:dateTimeStamp>
<dfpl:array xsi:type="xsd:string">A string extension value #2</dfpl:array>
<dfpl:array xsi:type="xsd:int">4</dfpl:array>
<dfpl:object>
<inner xsi:type="xsd:string">An inner string extension value</inner>
<autoid:inner xsi:type="xsd:int">5</autoid:inner>
</dfpl:object>
</readPoint>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
{
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"readPoint": {
"id": "https://id.gs1.org/414/0012345111112/254/400",
"dfpl:default": "A string extension value as a default type",
"dfpl:string": "A string extension value (dfpl)",
"autoid:string": "A string extension value (autoid)",
"dfpl:int": "3",
"dfpl:double": "35.7",
"dfpl:dateTimeStamp": "2022-11-11T14:59:02.099+09:00",
"dfpl:array": [
"A string extension value #2",
4
],
"dfpl:object": {
"inner": "An inner string extension value",
"autoid:inner": "5"
}
},
"@context": [
"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
{
"dfpl": "http://dfpl.sejong.ac.kr/epcis/resource",
"autoid": "https://autoidlab.kaist.ac.kr/resource"
},
{
"dfpl:default": {
"@type": "xsd:string"
},
"dfpl:string": {
"@type": "xsd:string"
},
"autoid:string": {
"@type": "xsd:string"
},
"dfpl:int": {
"@type": "xsd:int"
},
"dfpl:double": {
"@type": "xsd:double"
},
"dfpl:dateTimeStamp": {
"@type": "xsd:dateTimeStamp"
},
"dfpl:array": {
"@type": "array"
},
"dfpl:object": {
"@type": "object"
},
"autoid:inner": {
"@type": "xsd:int"
}
}
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent xmlns:epcis="urn:epcglobal:epcis:xsd:2" schemaVersion="2.0" creationDate="2022-11-11T14:59:02.099+09:00"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dfpl="http://dfpl.sejong.ac.kr/epcis/resource" xmlns:autoid="https://autoidlab.kaist.ac.kr/resource">
<eventTime>2022-11-11T14:59:02.099+09:00</eventTime>
<eventTimeZoneOffset>+09:00</eventTimeZoneOffset>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<bizLocation>
<id>urn:epc:id:sgln:0012345.11111.0</id>
<dfpl:default>A string extension value as a default type</dfpl:default>
<dfpl:string xsi:type="xsd:string">A string extension value (dfpl)</dfpl:string>
<autoid:string xsi:type="xsd:string">A string extension value (autoid)</autoid:string>
<dfpl:int xsi:type="xsd:int">3</dfpl:int>
<dfpl:double xsi:type="xsd:double">35.7</dfpl:double>
<dfpl:dateTimeStamp xsi:type="epcis:DateTimeStamp">2022-11-11T14:59:02.099+09:00</dfpl:dateTimeStamp>
<dfpl:array xsi:type="xsd:string">A string extension value #2</dfpl:array>
<dfpl:array xsi:type="xsd:int">4</dfpl:array>
<dfpl:object>
<inner xsi:type="xsd:string">An inner string extension value</inner>
<autoid:inner xsi:type="xsd:int">5</autoid:inner>
</dfpl:object>
</bizLocation>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
{
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"bizLocation" : {
"id": "https://id.gs1.org/414/0012345111112",
"dfpl:default": "A string extension value as a default type",
"dfpl:string": "A string extension value (dfpl)",
"autoid:string": "A string extension value (autoid)",
"dfpl:int": "3",
"dfpl:double": "35.7",
"dfpl:dateTimeStamp": "2022-11-11T14:59:02.099+09:00",
"dfpl:array": [
"A string extension value #2",
4
],
"dfpl:object": {
"inner": "An inner string extension value",
"autoid:inner": "5"
}
},
"@context": [
"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
{
"dfpl": "http://dfpl.sejong.ac.kr/epcis/resource",
"autoid": "https://autoidlab.kaist.ac.kr/resource"
},
{
"dfpl:default": {
"@type": "xsd:string"
},
"dfpl:string": {
"@type": "xsd:string"
},
"autoid:string": {
"@type": "xsd:string"
},
"dfpl:int": {
"@type": "xsd:int"
},
"dfpl:double": {
"@type": "xsd:double"
},
"dfpl:dateTimeStamp": {
"@type": "xsd:dateTimeStamp"
},
"dfpl:array": {
"@type": "array"
},
"dfpl:object": {
"@type": "object"
},
"autoid:inner": {
"@type": "xsd:int"
}
}
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent xmlns:epcis="urn:epcglobal:epcis:xsd:2" schemaVersion="2.0" creationDate="2022-11-11T14:59:02.099+09:00"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dfpl="http://dfpl.sejong.ac.kr/epcis/resource" xmlns:autoid="https://autoidlab.kaist.ac.kr/resource">
<eventTime>2022-11-11T14:59:02.099+09:00</eventTime>
<eventTimeZoneOffset>+09:00</eventTimeZoneOffset>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
<sensorElementList>
<sensorElement>
<sensorMetadata
deviceID="urn:epc:id:giai:4000001.111"
deviceMetadata="urn:epc:id:gdti:0614141.12345.006847"
bizRules="urn:epc:id:gdti:0614141.12345.006848"
rawData = "urn:epc:id:gdti:0614141.12345.006857"
dataProcessingMethod="urn:epc:id:gdti:0614141.12345.006849"
time="2022-11-11T14:00:00.000+09:00"
startTime = "2022-11-11T13:00:00.000+09:00"
endTime = "2022-11-11T15:00:00.000+09:00"
dfpl:ext = "other attributes 1"
/>
<sensorReport type="gs1:Temperature" uom="CEL" time="2022-11-11T14:00:00.000+09:00"
deviceID="urn:epc:id:giai:4000001.111"
deviceMetadata="urn:epc:id:gdti:0614141.12345.006847"
rawData = "urn:epc:id:gdti:0614141.12345.006857"
dataProcessingMethod="urn:epc:id:gdti:0614141.12345.006849"
microorganism="https://www.ncbi.nlm.nih.gov/taxonomy/1126011"
value = "26.3" minValue = "26.0" maxValue = "26.8"
meanValue = "26.4" percValue = "26.8" sDev = "0.316228" />
<sensorReport exception="ALARM_CONDITION" chemicalSubstance="https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N"
stringValue = "error" booleanValue = "true" hexBinaryValue = "FEDC"
uriValue = "https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N" percRank = "63.2" />
<sensorReport type="gs1:Length" value="2477593.57" component = "cbv:Comp-easting"
coordinateReferenceSystem = "http://www.opengis.net/def/crs/EPSG/0/27700"
dfpl:ext = "other attributes 2"/>
<dfpl:default>A string extension value as a default type</dfpl:default>
<dfpl:string xsi:type="xsd:string">A string extension value (dfpl)</dfpl:string>
<autoid:string xsi:type="xsd:string">A string extension value (autoid)</autoid:string>
<dfpl:int xsi:type="xsd:int">3</dfpl:int>
<dfpl:double xsi:type="xsd:double">35.7</dfpl:double>
<dfpl:dateTimeStamp xsi:type="epcis:DateTimeStamp">2022-11-11T14:59:02.099+09:00</dfpl:dateTimeStamp>
<dfpl:array xsi:type="xsd:string">A string extension value #2</dfpl:array>
<dfpl:array xsi:type="xsd:int">4</dfpl:array>
<dfpl:object>
<inner xsi:type="xsd:string">An inner string extension value</inner>
<autoid:inner xsi:type="xsd:int">5</autoid:inner>
</dfpl:object>
</sensorElement>
</sensorElementList>
</epcis:AggregationEvent>
{
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"sensorElementList": [
{
"sensorMetadata": {
"time": "2022-11-11T14:00:00.000+09:00",
"deviceID": "https://id.gs1.org/8004/4000001111",
"deviceMetadata": "https://id.gs1.org/253/0614141123452006847",
"rawData": "https://id.gs1.org/253/0614141123452006857",
"startTime": "2022-11-11T13:00:00.000+09:00",
"endTime": "2022-11-11T15:00:00.000+09:00",
"dataProcessingMethod": "https://id.gs1.org/253/0614141123452006849",
"bizRules": "https://id.gs1.org/253/0614141123452006848",
"dfpl:ext" : "other attributes 1"
},
"sensorReport": [
{
"type": "gs1:Temperature",
"uom": "CEL",
"time": "2022-11-11T14:00:00.000+09:00",
"deviceID": "https://id.gs1.org/8004/4000001111",
"deviceMetadata": "https://id.gs1.org/253/0614141123452006847",
"rawData": "https://id.gs1.org/253/0614141123452006857",
"dataProcessingMethod": "https://id.gs1.org/253/0614141123452006849",
"microorganism": "https://www.ncbi.nlm.nih.gov/taxonomy/1126011",
"value": 26.3,
"minValue": 26.0,
"maxValue": 26.8,
"meanValue": 26.4,
"percValue": 26.8,
"sDev": 0.316228
},
{
"exception": "ALARM_CONDITION",
"chemicalSubstance": "https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N",
"stringValue": "error",
"booleanValue": true,
"hexBinaryValue": "FEDC",
"uriValue": "https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N",
"percRank": 63.2
},
{
"type": "gs1:Length",
"value": 2477593.57,
"component": "cbv:Comp-easting",
"coordinateReferenceSystem": "http://www.opengis.net/def/crs/EPSG/0/27700",
"dfpl:ext" : "other attributes 2"
}
],
"dfpl:default": "A string extension value as a default type",
"dfpl:string": "A string extension value (dfpl)",
"autoid:string": "A string extension value (autoid)",
"dfpl:int": "3",
"dfpl:double": "35.7",
"dfpl:dateTimeStamp": "2022-11-11T14:59:02.099+09:00",
"dfpl:array": [
"A string extension value #2",
4
],
"dfpl:object": {
"inner": "An inner string extension value",
"autoid:inner": "5"
}
}
],
"@context": [
"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
{
"dfpl": "http://dfpl.sejong.ac.kr/epcis/resource",
"autoid": "https://autoidlab.kaist.ac.kr/resource"
},
{
"dfpl:default": {
"@type": "xsd:string"
},
"dfpl:string": {
"@type": "xsd:string"
},
"autoid:string": {
"@type": "xsd:string"
},
"dfpl:int": {
"@type": "xsd:int"
},
"dfpl:double": {
"@type": "xsd:double"
},
"dfpl:dateTimeStamp": {
"@type": "xsd:dateTimeStamp"
},
"dfpl:array": {
"@type": "array"
},
"dfpl:object": {
"@type": "object"
},
"autoid:inner": {
"@type": "xsd:int"
}
}
]
}
- (1) Erroneous event
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent 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>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
- (2) Revised Event
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent 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>
<eventID>revisedEvent</eventID>
<certificationInfo>https://customsauthority.example.gov/certificate/ABC12345</certificationInfo>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
<epc>urn:epc:id:sgtin:0614141.107346.2018</epc>
</childEPCs>
<action>ADD</action>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
- (3) Make it correct
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent xmlns:epcis="urn:epcglobal:epcis:xsd:2" schemaVersion="2.0" creationDate="2022-11-11T14:59:02.099+09:00"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dfpl="http://dfpl.sejong.ac.kr/epcis/resource" xmlns:autoid="https://autoidlab.kaist.ac.kr/resource">
<eventTime>2022-11-11T14:59:02.099+09:00</eventTime>
<eventTimeZoneOffset>+09:00</eventTimeZoneOffset>
<errorDeclaration>
<declarationTime>2005-04-04T20:33:31.116-06:00</declarationTime>
<reason>urn:epcglobal:cbv:er:incorrect_data</reason>
<correctiveEventIDs>
<correctiveEventID>revisedEvent</correctiveEventID>
</correctiveEventIDs>
<dfpl:default>A string extension value as a default type</dfpl:default>
<dfpl:string xsi:type="xsd:string">A string extension value (dfpl)</dfpl:string>
<autoid:string xsi:type="xsd:string">A string extension value (autoid)</autoid:string>
<dfpl:int xsi:type="xsd:int">3</dfpl:int>
<dfpl:double xsi:type="xsd:double">35.7</dfpl:double>
<dfpl:dateTimeStamp xsi:type="epcis:DateTimeStamp">2022-11-11T14:59:02.099+09:00</dfpl:dateTimeStamp>
<dfpl:array xsi:type="xsd:string">A string extension value #2</dfpl:array>
<dfpl:array xsi:type="xsd:int">4</dfpl:array>
<dfpl:object>
<inner xsi:type="xsd:string">An inner string extension value</inner>
<autoid:inner xsi:type="xsd:int">5</autoid:inner>
</dfpl:object>
</errorDeclaration>
<certificationInfo>https://customsauthority.example.gov/certificate/ABC12345</certificationInfo>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
</epcis:AggregationEvent>
- (1) Erroneous Event
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"certificationInfo": "https://customsauthority.example.gov/certificate/ABC12345",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
]
}
- (2) Revised Event
{
"@context": "https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
"type": "AggregationEvent",
"eventID" : "revisedEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"certificationInfo": "https://customsauthority.example.gov/certificate/ABC12345",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017",
"https://id.gs1.org/01/10614141073464/21/2018"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
]
}
- (3) Make it correct
{
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"certificationInfo": "https://customsauthority.example.gov/certificate/ABC12345",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"errorDeclaration": {
"declarationTime": "2021-02-01T22:46:31.117000+00:00",
"reason": "urn:epcglobal:cbv:er:incorrect-data",
"correctiveEventIDs": [
"revisedEvent"
],
"dfpl:default": "A string extension value as a default type",
"dfpl:string": "A string extension value (dfpl)",
"autoid:string": "A string extension value (autoid)",
"dfpl:int": "3",
"dfpl:double": "35.7",
"dfpl:dateTimeStamp": "2022-11-11T14:59:02.099+09:00",
"dfpl:array": [
"A string extension value #2",
4
],
"dfpl:object": {
"inner": "An inner string extension value",
"autoid:inner": "5"
}
},
"@context": [
"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
{
"dfpl": "http://dfpl.sejong.ac.kr/epcis/resource",
"autoid": "https://autoidlab.kaist.ac.kr/resource"
},
{
"dfpl:default": {
"@type": "xsd:string"
},
"dfpl:string": {
"@type": "xsd:string"
},
"autoid:string": {
"@type": "xsd:string"
},
"dfpl:int": {
"@type": "xsd:int"
},
"dfpl:double": {
"@type": "xsd:double"
},
"dfpl:dateTimeStamp": {
"@type": "xsd:dateTimeStamp"
},
"dfpl:array": {
"@type": "array"
},
"dfpl:object": {
"@type": "object"
},
"autoid:inner": {
"@type": "xsd:int"
}
}
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE project>
<epcis:AggregationEvent xmlns:epcis="urn:epcglobal:epcis:xsd:2" schemaVersion="2.0" creationDate="2022-11-11T14:59:02.099+09:00"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dfpl="http://dfpl.sejong.ac.kr/epcis/resource" xmlns:autoid="https://autoidlab.kaist.ac.kr/resource">
<eventTime>2022-11-11T14:59:02.099+09:00</eventTime>
<eventTimeZoneOffset>+09:00</eventTimeZoneOffset>
<certificationInfo>https://customsauthority.example.gov/certificate/ABC12345</certificationInfo>
<parentID>urn:epc:id:sscc:0614141.1234567890</parentID>
<childEPCs>
<epc>urn:epc:id:sgtin:0614141.107346.2017</epc>
</childEPCs>
<action>ADD</action>
<bizStep>urn:epcglobal:cbv:bizstep:loading</bizStep>
<disposition>urn:epcglobal:cbv:disp:active</disposition>
<readPoint>
<id>urn:epc:id:sgln:0012345.11111.400</id>
<dfpl:default>A string extension value as a default type</dfpl:default>
<dfpl:string xsi:type="xsd:string">A string extension value (dfpl)</dfpl:string>
<autoid:string xsi:type="xsd:string">A string extension value (autoid)</autoid:string>
<dfpl:int xsi:type="xsd:int">3</dfpl:int>
<dfpl:double xsi:type="xsd:double">35.7</dfpl:double>
<dfpl:dateTimeStamp xsi:type="epcis:DateTimeStamp">2022-11-11T14:59:02.099+09:00</dfpl:dateTimeStamp>
<dfpl:array xsi:type="xsd:string">A string extension value #2</dfpl:array>
<dfpl:array xsi:type="xsd:int">4</dfpl:array>
<dfpl:object>
<inner xsi:type="xsd:string">An inner string extension value</inner>
<autoid:inner xsi:type="xsd:int">5</autoid:inner>
</dfpl:object>
</readPoint>
<bizLocation>
<id>urn:epc:id:sgln:0012345.11111.0</id>
<dfpl:default>A string extension value as a default type</dfpl:default>
<dfpl:string xsi:type="xsd:string">A string extension value (dfpl)</dfpl:string>
<autoid:string xsi:type="xsd:string">A string extension value (autoid)</autoid:string>
<dfpl:int xsi:type="xsd:int">3</dfpl:int>
<dfpl:double xsi:type="xsd:double">35.7</dfpl:double>
<dfpl:dateTimeStamp xsi:type="epcis:DateTimeStamp">2022-11-11T14:59:02.099+09:00</dfpl:dateTimeStamp>
<dfpl:array xsi:type="xsd:string">A string extension value #2</dfpl:array>
<dfpl:array xsi:type="xsd:int">4</dfpl:array>
<dfpl:object>
<inner xsi:type="xsd:string">An inner string extension value</inner>
<autoid:inner xsi:type="xsd:int">5</autoid:inner>
</dfpl:object>
</bizLocation>
<bizTransactionList>
<bizTransaction type="urn:epcglobal:cbv:btt:po">urn:epc:id:gdti:0614141.00001.1618034</bizTransaction>
</bizTransactionList>
<childQuantityList>
<quantityElement>
<epcClass>urn:epc:idpat:sgtin:4012345.098765.*</epcClass>
<quantity>10</quantity>
</quantityElement>
<quantityElement>
<epcClass>urn:epc:class:lgtin:4012345.012345.998877</epcClass>
<quantity>200.5</quantity>
<uom>KGM</uom>
</quantityElement>
</childQuantityList>
<sourceList>
<source type="urn:epcglobal:cbv:sdt:owning_party">urn:epc:id:pgln:4012345.00225</source>
<source type="urn:epcglobal:cbv:sdt:location">urn:epc:id:sgln:0012345.11111.400</source>
</sourceList>
<destinationList>
<destination type="urn:epcglobal:cbv:sdt:possessing_party">urn:epc:id:pgln:0614141.00777</destination>
</destinationList>
<sensorElementList>
<sensorElement>
<sensorMetadata
deviceID="urn:epc:id:giai:4000001.111"
deviceMetadata="urn:epc:id:gdti:0614141.12345.006847"
bizRules="urn:epc:id:gdti:0614141.12345.006848"
rawData = "urn:epc:id:gdti:0614141.12345.006857"
dataProcessingMethod="urn:epc:id:gdti:0614141.12345.006849"
time="2022-11-11T14:00:00.000+09:00"
startTime = "2022-11-11T13:00:00.000+09:00"
endTime = "2022-11-11T15:00:00.000+09:00"
dfpl:ext = "other attributes 1"
/>
<sensorReport type="gs1:Temperature" uom="CEL" time="2022-11-11T14:00:00.000+09:00"
deviceID="urn:epc:id:giai:4000001.111"
deviceMetadata="urn:epc:id:gdti:0614141.12345.006847"
rawData = "urn:epc:id:gdti:0614141.12345.006857"
dataProcessingMethod="urn:epc:id:gdti:0614141.12345.006849"
microorganism="https://www.ncbi.nlm.nih.gov/taxonomy/1126011"
value = "26.3" minValue = "26.0" maxValue = "26.8"
meanValue = "26.4" percValue = "26.8" sDev = "0.316228" />
<sensorReport exception="ALARM_CONDITION" chemicalSubstance="https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N"
stringValue = "error" booleanValue = "true" hexBinaryValue = "FEDC"
uriValue = "https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N" percRank = "63.2" />
<sensorReport type="gs1:Length" value="2477593.57" component = "cbv:Comp-easting"
coordinateReferenceSystem = "http://www.opengis.net/def/crs/EPSG/0/27700"
dfpl:ext = "other attributes 2"/>
<dfpl:default>A string extension value as a default type</dfpl:default>
<dfpl:string xsi:type="xsd:string">A string extension value (dfpl)</dfpl:string>
<autoid:string xsi:type="xsd:string">A string extension value (autoid)</autoid:string>
<dfpl:int xsi:type="xsd:int">3</dfpl:int>
<dfpl:double xsi:type="xsd:double">35.7</dfpl:double>
<dfpl:dateTimeStamp xsi:type="epcis:DateTimeStamp">2022-11-11T14:59:02.099+09:00</dfpl:dateTimeStamp>
<dfpl:array xsi:type="xsd:string">A string extension value #2</dfpl:array>
<dfpl:array xsi:type="xsd:int">4</dfpl:array>
<dfpl:object>
<inner xsi:type="xsd:string">An inner string extension value</inner>
<autoid:inner xsi:type="xsd:int">5</autoid:inner>
</dfpl:object>
</sensorElement>
</sensorElementList>
<dfpl:default>A string extension value as a default type</dfpl:default>
<dfpl:string xsi:type="xsd:string">A string extension value (dfpl)</dfpl:string>
<autoid:string xsi:type="xsd:string">A string extension value (autoid)</autoid:string>
<dfpl:int xsi:type="xsd:int">3</dfpl:int>
<dfpl:double xsi:type="xsd:double">35.7</dfpl:double>
<dfpl:dateTimeStamp xsi:type="epcis:DateTimeStamp">2022-11-11T14:59:02.099+09:00</dfpl:dateTimeStamp>
<dfpl:array xsi:type="xsd:string">A string extension value #2</dfpl:array>
<dfpl:array xsi:type="xsd:int">4</dfpl:array>
<dfpl:object>
<inner xsi:type="xsd:string">An inner string extension value</inner>
<autoid:inner xsi:type="xsd:int">5</autoid:inner>
</dfpl:object>
</epcis:AggregationEvent>
{
"type": "AggregationEvent",
"eventTime": "2022-11-11T14:59:02.099+09:00",
"eventTimeZoneOffset": "+09:00",
"certificationInfo": "https://customsauthority.example.gov/certificate/ABC12345",
"parentID": "https://id.gs1.org/00/106141412345678908",
"childEPCs": [
"https://id.gs1.org/01/10614141073464/21/2017"
],
"action": "ADD",
"childQuantityList": [
{
"epcClass": "https://id.gs1.org/01/04012345987652",
"quantity": 10
},
{
"epcClass": "https://id.gs1.org/01/04012345123456/10/998877",
"quantity": 200.5,
"uom": "KGM"
}
],
"bizStep": "loading",
"disposition": "active",
"readPoint": {
"id": "https://id.gs1.org/414/0012345111112/254/400",
"dfpl:default": "A string extension value as a default type",
"dfpl:string": "A string extension value (dfpl)",
"autoid:string": "A string extension value (autoid)",
"dfpl:int": "3",
"dfpl:double": "35.7",
"dfpl:dateTimeStamp": "2022-11-11T14:59:02.099+09:00",
"dfpl:array": [
"A string extension value #2",
4
],
"dfpl:object": {
"inner": "An inner string extension value",
"autoid:inner": "5"
}
},
"bizLocation": {
"id": "https://id.gs1.org/414/0012345111112",
"dfpl:default": "A string extension value as a default type",
"dfpl:string": "A string extension value (dfpl)",
"autoid:string": "A string extension value (autoid)",
"dfpl:int": "3",
"dfpl:double": "35.7",
"dfpl:dateTimeStamp": "2022-11-11T14:59:02.099+09:00",
"dfpl:array": [
"A string extension value #2",
4
],
"dfpl:object": {
"inner": "An inner string extension value",
"autoid:inner": "5"
}
},
"bizTransactionList": [
{
"type": "po",
"bizTransaction": "https://id.gs1.org/253/06141410000121618034"
}
],
"sourceList": [
{
"type": "owning_party",
"source": "https://id.gs1.org/417/4012345002256"
},
{
"type": "location",
"source": "https://id.gs1.org/414/0012345111112/254/400"
}
],
"destinationList": [
{
"type": "possessing_party",
"destination": "https://id.gs1.org/417/0614141007776"
}
],
"sensorElementList": [
{
"sensorMetadata": {
"time": "2022-11-11T14:00:00.000+09:00",
"deviceID": "https://id.gs1.org/8004/4000001111",
"deviceMetadata": "https://id.gs1.org/253/0614141123452006847",
"rawData": "https://id.gs1.org/253/0614141123452006857",
"startTime": "2022-11-11T13:00:00.000+09:00",
"endTime": "2022-11-11T15:00:00.000+09:00",
"dataProcessingMethod": "https://id.gs1.org/253/0614141123452006849",
"bizRules": "https://id.gs1.org/253/0614141123452006848",
"dfpl:ext": "other attributes 1"
},
"sensorReport": [
{
"type": "gs1:Temperature",
"uom": "CEL",
"time": "2022-11-11T14:00:00.000+09:00",
"deviceID": "https://id.gs1.org/8004/4000001111",
"deviceMetadata": "https://id.gs1.org/253/0614141123452006847",
"rawData": "https://id.gs1.org/253/0614141123452006857",
"dataProcessingMethod": "https://id.gs1.org/253/0614141123452006849",
"microorganism": "https://www.ncbi.nlm.nih.gov/taxonomy/1126011",
"value": 26.3,
"minValue": 26.0,
"maxValue": 26.8,
"meanValue": 26.4,
"percValue": 26.8,
"sDev": 0.316228
},
{
"exception": "ALARM_CONDITION",
"chemicalSubstance": "https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N",
"stringValue": "error",
"booleanValue": true,
"hexBinaryValue": "FEDC",
"uriValue": "https://identifiers.org/inchikey:CZMRCDWAGMRECN-UGDNZRGBSA-N",
"percRank": 63.2
},
{
"type": "gs1:Length",
"value": 2477593.57,
"component": "cbv:Comp-easting",
"coordinateReferenceSystem": "http://www.opengis.net/def/crs/EPSG/0/27700",
"dfpl:ext": "other attributes 2"
}
],
"dfpl:default": "A string extension value as a default type",
"dfpl:string": "A string extension value (dfpl)",
"autoid:string": "A string extension value (autoid)",
"dfpl:int": "3",
"dfpl:double": "35.7",
"dfpl:dateTimeStamp": "2022-11-11T14:59:02.099+09:00",
"dfpl:array": [
"A string extension value #2",
4
],
"dfpl:object": {
"inner": "An inner string extension value",
"autoid:inner": "5"
}
}
],
"dfpl:default": "A string extension value as a default type",
"dfpl:string": "A string extension value (dfpl)",
"autoid:string": "A string extension value (autoid)",
"dfpl:int": "3",
"dfpl:double": "35.7",
"dfpl:dateTimeStamp": "2022-11-11T14:59:02.099+09:00",
"dfpl:array": [
"A string extension value #2",
4
],
"dfpl:object": {
"inner": "An inner string extension value",
"autoid:inner": "5"
},
"@context": [
"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld",
{
"dfpl": "http://dfpl.sejong.ac.kr/epcis/resource",
"autoid": "https://autoidlab.kaist.ac.kr/resource"
},
{
"dfpl:default": {
"@type": "xsd:string"
},
"dfpl:string": {
"@type": "xsd:string"
},
"autoid:string": {
"@type": "xsd:string"
},
"dfpl:int": {
"@type": "xsd:int"
},
"dfpl:double": {
"@type": "xsd:double"
},
"dfpl:dateTimeStamp": {
"@type": "xsd:dateTimeStamp"
},
"dfpl:array": {
"@type": "array"
},
"dfpl:object": {
"@type": "object"
},
"autoid:inner": {
"@type": "xsd:int"
}
}
]
}