-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy path05_Pink_to_Red_shipment.xml
executable file
·139 lines (137 loc) · 6.13 KB
/
05_Pink_to_Red_shipment.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8"?>
<epcis:EPCISDocument xmlns:epcis="urn:epcglobal:epcis:xsd:1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sbdh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" schemaVersion="0" creationDate="2001-12-17T09:30:47Z" xsi:schemaLocation="urn:epcglobal:epcis:xsd:1 http://www.gs1si.org/BMS/epcis/1_2/EPCglobal-epcis-1_2.xsd">
<EPCISHeader>
<sbdh:StandardBusinessDocumentHeader>
<sbdh:HeaderVersion>1.0</sbdh:HeaderVersion>
<sbdh:Sender>
<sbdh:Identifier Authority="OriginTrail">urn:ot:object:actor:id:Company_Pink</sbdh:Identifier>
<sbdh:ContactInformation>
<sbdh:Contact>Betty Johnson</sbdh:Contact>
<sbdh:EmailAddress>betty@pink.com</sbdh:EmailAddress>
</sbdh:ContactInformation>
</sbdh:Sender>
<sbdh:Receiver>
<sbdh:Identifier Authority="OriginTrail">urn:ot:object:actor:id:Company_Red</sbdh:Identifier>
<sbdh:ContactInformation>
<sbdh:Contact>Carter Novitzki</sbdh:Contact>
<sbdh:EmailAddress>c.novitzki@red.com</sbdh:EmailAddress>
</sbdh:ContactInformation>
</sbdh:Receiver>
<sbdh:DocumentIdentification>
<sbdh:Standard>GS1</sbdh:Standard>
<sbdh:TypeVersion>V1.3</sbdh:TypeVersion> <!-- Document version-->
<sbdh:InstanceIdentifier>200002</sbdh:InstanceIdentifier> <!-- UNIQUE IDENTIFIER OF DOCUMENT - PRIMARY KEY IN ERP -->
<sbdh:Type>Shipment</sbdh:Type> <!-- DEFINED IN SCHEMA Example; order, invoice, debitCreditAdvice -->
<sbdh:CreationDateAndTime>2018-03-03T00:31:52Z</sbdh:CreationDateAndTime>
</sbdh:DocumentIdentification>
<sbdh:BusinessScope>
<sbdh:Scope>
<sbdh:Type>BusinessProcess</sbdh:Type>
<sbdh:InstanceIdentifier>Shipment/version2-251</sbdh:InstanceIdentifier>
<sbdh:Identifier>EDI-Shipment</sbdh:Identifier>
</sbdh:Scope>
</sbdh:BusinessScope>
</sbdh:StandardBusinessDocumentHeader>
<extension>
<EPCISMasterData>
<VocabularyList>
<Vocabulary type="urn:ot:object:actor">
<VocabularyElementList>
<VocabularyElement id="urn:ot:object:actor:id:Company_Red">
<attribute id="urn:ot:object:actor:name">Red</attribute>
<attribute id="urn:ot:object:actor:category">Company Retail</attribute>
<attribute id="urn:ot:object:actor:wallet">0x90398eF02389Ef85F262737b4B3aDB8eE588B43A</attribute>
</VocabularyElement>
<VocabularyElement id="urn:ot:object:actor:id:Company_Pink">
<attribute id="urn:ot:object:actor:name">Pink</attribute>
<attribute id="urn:ot:object:actor:category">Company</attribute>
<attribute id="urn:ot:object:actor:wallet">0xFfDDAd7BD40602B78C0649032D2532dEFa23A4C0</attribute>
</VocabularyElement>
</VocabularyElementList>
</Vocabulary>
<Vocabulary type="urn:ot:object:location">
<VocabularyElementList>
<VocabularyElement id="urn:epc:id:sgln:Building_Red">
<attribute id="urn:ot:object:location:category">Building</attribute>
<attribute id="urn:ot:object:location:description">Retail Store Red</attribute>
<extension>
<attribute id="urn:ot:object:location:actorId">urn:ot:object:actor:id:Company_Red</attribute>
</extension>
</VocabularyElement>
<VocabularyElement id="urn:epc:id:sgln:Building_Pink">
<attribute id="urn:ot:object:location:category">Building</attribute>
<attribute id="urn:ot:object:location:description">Pink distributor warehouse</attribute>
<children>
<id>urn:epc:id:sgln:Building_Pink_V3</id>
<id>urn:epc:id:sgln:Building_Pink_V4</id>
</children>
<extension>
<attribute id="urn:ot:object:location:actorId">urn:ot:object:actor:id:Company_Pink</attribute>
</extension>
</VocabularyElement>
</VocabularyElementList>
</Vocabulary>
<Vocabulary type="urn:ot:object:product">
<VocabularyElementList>
<VocabularyElement id="urn:ot:object:product:id:Product_1">
<attribute id="urn:ot:object:product:category">Beverage</attribute>
<attribute id="urn:ot:object:product:description">Wine Pallet</attribute>
</VocabularyElement>
</VocabularyElementList>
</Vocabulary>
<Vocabulary type="urn:ot:object:batch">
<VocabularyElementList>
<VocabularyElement id="urn:epc:id:sgtin:Batch_1_PINKSHIP2">
<attribute id="urn:ot:object:product:batch:productId">urn:ot:object:product:id:Product_1</attribute>
<attribute id="urn:ot:object:product:batch:productionDate">2017-31-12T00:01:54Z</attribute>
<attribute id="urn:ot:object:product:batch:expirationDate">2020-31-12T00:01:54Z</attribute>
</VocabularyElement>
</VocabularyElementList>
</Vocabulary>
</VocabularyList>
</EPCISMasterData>
</extension>
</EPCISHeader>
<EPCISBody>
<EventList>
<ObjectEvent>
<!-- Transport Shipment-->
<eventTime>2018-03-03T06:00:00.000-04:00</eventTime>
<eventTimeZoneOffset>-04:00</eventTimeZoneOffset>
<epcList>
<epc>urn:epc:id:sgtin:Batch_1_PINKSHIP2</epc>
</epcList>
<action>OBSERVE</action>
<bizStep>urn:epcglobal:cbv:bizstep:shipping</bizStep>
<disposition>urn:epcglobal:cbv:disp:active</disposition>
<readPoint>
<id>urn:epc:id:sgln:Building_Pink_V4</id>
</readPoint>
<bizLocation>
<id>urn:epc:id:sgln:Building_Pink</id>
</bizLocation>
<extension>
<quantityList>
<quantityElement>
<epcClass>urn:epc:id:sgtin:Batch_1_PINKSHIP2</epcClass>
<quantity>6</quantity>
<uom>KG</uom>
</quantityElement>
</quantityList>
<extension>
<documentId>1</documentId>
<OTEventClass>urn:ot:event:Transport</OTEventClass>
<OTEventClass>urn:ot:event:Ownership</OTEventClass>
<OTEventType>Sales</OTEventType>
<sourceList>
<source type="urn:epcglobal:cbv:sdt:owning_party">urn:epc:id:sgln:Building_Pink</source>
</sourceList>
<destinationList>
<destination type="urn:epcglobal:cbv:sdt:owning_party">urn:epc:id:sgln:Building_Red</destination>
</destinationList>
</extension>
</extension>
</ObjectEvent>
</EventList>
</EPCISBody>
</epcis:EPCISDocument>