Last active
June 3, 2019 21:53
-
-
Save MikeLuDev/526d41ba313392470622d9cd75af8820 to your computer and use it in GitHub Desktop.
Example .xml file for a bio-tagging operation pre-populated with data. For use with an Eden endpoint.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:48230AA</sbdh:Identifier> | |
<sbdh:ContactInformation> | |
<sbdh:Contact>Firstname Lastname</sbdh:Contact> | |
<sbdh:EmailAddress>[email protected]</sbdh:EmailAddress> | |
</sbdh:ContactInformation> | |
</sbdh:Sender> | |
<sbdh:Receiver> | |
<sbdh:Identifier Authority="OriginTrail">urn:ot:object:actor:id:48230AA</sbdh:Identifier> | |
<sbdh:ContactInformation> | |
<sbdh:Contact>Firstname Lastname</sbdh:Contact> | |
<sbdh:EmailAddress>[email protected]</sbdh:EmailAddress> | |
</sbdh:ContactInformation> | |
</sbdh:Receiver> | |
<sbdh:DocumentIdentification> | |
<sbdh:Standard>GS1</sbdh:Standard> | |
<sbdh:TypeVersion>V1.3</sbdh:TypeVersion> | |
<sbdh:InstanceIdentifier>408876.0000001.L1</sbdh:InstanceIdentifier> | |
<sbdh:Type>Tagging</sbdh:Type> | |
<sbdh:CreationDateAndTime>2019-05-31T20:33:31.116</sbdh:CreationDateAndTime> | |
</sbdh:DocumentIdentification> | |
</sbdh:StandardBusinessDocumentHeader> | |
<extension> | |
<EPCISMasterData> | |
<VocabularyList> | |
<Vocabulary type="urn:ot:object:actor"> | |
<VocabularyElementList> | |
<VocabularyElement id="urn:ot:object:actor:id:48230AA"> | |
<attribute id="urn:ot:object:actor:name">PharmaCanna</attribute> | |
<attribute id="urn:ot:object:actor:category">Company</attribute> | |
<attribute id="urn:ot:object:actor:wallet">0x22Ae86800ebE1C105d4312f57D28Cf12B729cE37</attribute> | |
</VocabularyElement> | |
</VocabularyElementList> | |
</Vocabulary> | |
<Vocabulary type="urn:ot:object:location"> | |
<VocabularyElementList> | |
<VocabularyElement id="urn:epc:id:sgln:0614141.12345.0"> | |
<attribute id="urn:ot:object:location:category">Building</attribute> | |
<attribute id="urn:ot:object:location:description">${TAGGING_LOCATION_DESCRIPTION}</attribute> | |
<attribute id="urn:ot:object:location:actorId">urn:ot:object:actor:id:48230AA</attribute> | |
</VocabularyElement> | |
</VocabularyElementList> | |
</Vocabulary> | |
<Vocabulary type="urn:ot:object:product"> | |
<VocabularyElementList> | |
<VocabularyElement id="urn:ot:object:product:id:986547A"> | |
<attribute id="urn:ot:object:product:category">986547A</attribute> | |
<attribute id="urn:ot:object:product:description">a psychoactive drug from the Cannabis plant used for medical or recreational purposes. </attribute> | |
</VocabularyElement> | |
</VocabularyElementList> | |
</Vocabulary> | |
<Vocabulary type="urn:ot:object:batch"> | |
<VocabularyElementList> | |
<VocabularyElement id="urn:epc:id:sgtin:986547A"> | |
<attribute id="urn:ot:object:product:batch:productId">urn:ot:object:product:id:986547A</attribute> | |
<attribute id="urn:ot:object:product:batch:productionDate">2019-04-31T09:33:31.116</attribute> | |
<attribute id="urn:ot:object:product:batch:expirationDate">2024-04-31T09:33:31.116</attribute> | |
</VocabularyElement> | |
</VocabularyElementList> | |
</Vocabulary> | |
</VocabularyList> | |
</EPCISMasterData> | |
</extension> | |
</EPCISHeader> | |
<EPCISBody> | |
<EventList> | |
<ObjectEvent> | |
<eventTime>2019-04-27T20:33:31.116</eventTime> | |
<eventTimeZoneOffset>-06:00:00</eventTimeZoneOffset> | |
<epcList> | |
<epc>urn:epc:id:sgtin:986547A</epc> | |
</epcList> | |
<action>ADD</action> | |
<bizStep>urn:epcglobal:cbv:bizstep:commissioning</bizStep> | |
<disposition>urn:epcglobal:cbv:disp:active</disposition> | |
<readPoint> | |
<id>urn:epc:id:sgln:0614141.12345.0</id> | |
</readPoint> | |
<bizLocation> | |
<id>urn:epc:id:sgln:0614141.12345.0</id> | |
</bizLocation> | |
<extension> | |
<extension> | |
<documentId>855894-19</documentId> | |
<OTEventClass>urn:ot:event:transformation</OTEventClass> | |
<OTEventType>Tagging</OTEventType> | |
<sourceList> | |
<source type="urn:epcglobal:cbv:sdt:owning_party">urn:epc:id:sgln:0614141.12345.0</source> | |
</sourceList> | |
</extension> | |
</extension> | |
</ObjectEvent> | |
</EventList> | |
</EPCISBody> | |
</epcis:EPCISDocument> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment