@twin.org/standards-gs1 0.0.3-next.9 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/README.md +2 -2
  2. package/dist/es/dataTypes/epcisDataTypes.js +69 -0
  3. package/dist/es/dataTypes/epcisDataTypes.js.map +1 -0
  4. package/dist/es/dataTypes/gs1DataTypes.js +3 -3
  5. package/dist/es/dataTypes/gs1DataTypes.js.map +1 -1
  6. package/dist/es/entities/gs1Location.js +2 -3
  7. package/dist/es/entities/gs1Location.js.map +1 -1
  8. package/dist/es/index.js +26 -7
  9. package/dist/es/index.js.map +1 -1
  10. package/dist/es/models/epcis20/IEpcisAggregationEvent.js.map +1 -1
  11. package/dist/es/models/epcis20/IEpcisAssociationEvent.js.map +1 -1
  12. package/dist/es/models/epcis20/IEpcisAttribute.js +2 -0
  13. package/dist/es/models/epcis20/IEpcisAttribute.js.map +1 -0
  14. package/dist/es/models/epcis20/IEpcisBizTransaction.js +0 -2
  15. package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -1
  16. package/dist/es/models/epcis20/IEpcisDestination.js +0 -2
  17. package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -1
  18. package/dist/es/models/epcis20/IEpcisDocument.js.map +1 -1
  19. package/dist/es/models/epcis20/IEpcisErrorDeclaration.js +2 -0
  20. package/dist/es/models/epcis20/IEpcisErrorDeclaration.js.map +1 -0
  21. package/dist/es/models/epcis20/IEpcisEvent.js.map +1 -1
  22. package/dist/es/models/epcis20/IEpcisHeader.js +2 -0
  23. package/dist/es/models/epcis20/IEpcisHeader.js.map +1 -0
  24. package/dist/es/models/epcis20/{IEpcisSimpleLocation.js → IEpcisIlmd.js} +1 -1
  25. package/dist/es/models/epcis20/IEpcisIlmd.js.map +1 -0
  26. package/dist/es/models/epcis20/IEpcisLocation.js +4 -0
  27. package/dist/es/models/epcis20/IEpcisLocation.js.map +1 -0
  28. package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -1
  29. package/dist/es/models/epcis20/IEpcisPersistentDisposition.js +2 -0
  30. package/dist/es/models/epcis20/IEpcisPersistentDisposition.js.map +1 -0
  31. package/dist/es/models/epcis20/IEpcisQuantity.js.map +1 -1
  32. package/dist/es/models/epcis20/IEpcisQuery.js.map +1 -1
  33. package/dist/es/models/epcis20/IEpcisQueryDocument.js.map +1 -1
  34. package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js +2 -0
  35. package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js.map +1 -0
  36. package/dist/es/models/epcis20/IEpcisQueryResults.js +2 -0
  37. package/dist/es/models/epcis20/IEpcisQueryResults.js.map +1 -0
  38. package/dist/es/models/epcis20/IEpcisQueryResultsBody.js +2 -0
  39. package/dist/es/models/epcis20/IEpcisQueryResultsBody.js.map +1 -0
  40. package/dist/es/models/epcis20/IEpcisSensorElement.js.map +1 -1
  41. package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -1
  42. package/dist/es/models/epcis20/IEpcisSensorReport.js +0 -2
  43. package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -1
  44. package/dist/es/models/epcis20/IEpcisSource.js +0 -2
  45. package/dist/es/models/epcis20/IEpcisSource.js.map +1 -1
  46. package/dist/es/models/epcis20/IEpcisTransactionEvent.js +2 -0
  47. package/dist/es/models/epcis20/IEpcisTransactionEvent.js.map +1 -0
  48. package/dist/es/models/epcis20/IEpcisTransformationEvent.js +2 -0
  49. package/dist/es/models/epcis20/IEpcisTransformationEvent.js.map +1 -0
  50. package/dist/es/models/epcis20/IEpcisVocabulary.js +2 -0
  51. package/dist/es/models/epcis20/IEpcisVocabulary.js.map +1 -0
  52. package/dist/es/models/epcis20/IEpcisVocabularyElement.js +2 -0
  53. package/dist/es/models/epcis20/IEpcisVocabularyElement.js.map +1 -0
  54. package/dist/es/models/epcis20/epcisActionTypes.js +7 -4
  55. package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -1
  56. package/dist/es/models/epcis20/epcisBizStepTypes.js +140 -2
  57. package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -1
  58. package/dist/es/models/epcis20/epcisBizTransactionTypes.js +75 -0
  59. package/dist/es/models/epcis20/epcisBizTransactionTypes.js.map +1 -0
  60. package/dist/es/models/epcis20/epcisComponentTypes.js +77 -0
  61. package/dist/es/models/epcis20/epcisComponentTypes.js.map +1 -0
  62. package/dist/es/models/epcis20/epcisContextType.js +2 -0
  63. package/dist/es/models/epcis20/epcisContextType.js.map +1 -0
  64. package/dist/es/models/epcis20/epcisContexts.js +27 -0
  65. package/dist/es/models/epcis20/epcisContexts.js.map +1 -0
  66. package/dist/es/models/epcis20/epcisDispositionTypes.js +112 -2
  67. package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -1
  68. package/dist/es/models/epcis20/epcisErrorReasonTypes.js +20 -0
  69. package/dist/es/models/epcis20/epcisErrorReasonTypes.js.map +1 -0
  70. package/dist/es/models/epcis20/epcisEventTypes.js +6 -6
  71. package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -1
  72. package/dist/es/models/epcis20/epcisEvents.js +2 -0
  73. package/dist/es/models/epcis20/epcisEvents.js.map +1 -0
  74. package/dist/es/models/epcis20/epcisMeasurementTypes.js +301 -0
  75. package/dist/es/models/epcis20/epcisMeasurementTypes.js.map +1 -0
  76. package/dist/es/models/epcis20/epcisSensorAlertTypes.js +19 -0
  77. package/dist/es/models/epcis20/epcisSensorAlertTypes.js.map +1 -0
  78. package/dist/es/models/epcis20/epcisSourceDestTypes.js +26 -0
  79. package/dist/es/models/epcis20/epcisSourceDestTypes.js.map +1 -0
  80. package/dist/es/models/epcis20/epcisTypes.js +37 -0
  81. package/dist/es/models/epcis20/epcisTypes.js.map +1 -0
  82. package/dist/es/models/gs1/gs1Contexts.js +8 -2
  83. package/dist/es/models/gs1/gs1Contexts.js.map +1 -1
  84. package/dist/es/schemas/EpcisAggregationEvent.json +102 -0
  85. package/dist/es/schemas/EpcisAssociationEvent.json +103 -0
  86. package/dist/es/schemas/EpcisContextType.json +30 -0
  87. package/dist/es/schemas/EpcisDocument.json +68 -0
  88. package/dist/es/schemas/EpcisObjectEvent.json +106 -0
  89. package/dist/es/schemas/EpcisQueryDocument.json +38 -0
  90. package/dist/es/schemas/EpcisTransactionEvent.json +103 -0
  91. package/dist/es/schemas/EpcisTransformationEvent.json +119 -0
  92. package/dist/es/utils/gs1Is.js +3 -2
  93. package/dist/es/utils/gs1Is.js.map +1 -1
  94. package/dist/types/dataTypes/epcisDataTypes.d.ts +13 -0
  95. package/dist/types/dataTypes/gs1DataTypes.d.ts +1 -1
  96. package/dist/types/entities/gs1Location.d.ts +2 -3
  97. package/dist/types/index.d.ts +26 -7
  98. package/dist/types/models/epcis20/IEpcisAggregationEvent.d.ts +75 -4
  99. package/dist/types/models/epcis20/IEpcisAssociationEvent.d.ts +74 -4
  100. package/dist/types/models/epcis20/IEpcisAttribute.d.ts +15 -0
  101. package/dist/types/models/epcis20/IEpcisBizTransaction.d.ts +11 -5
  102. package/dist/types/models/epcis20/IEpcisDestination.d.ts +12 -5
  103. package/dist/types/models/epcis20/IEpcisDocument.d.ts +33 -6
  104. package/dist/types/models/epcis20/IEpcisErrorDeclaration.d.ts +24 -0
  105. package/dist/types/models/epcis20/IEpcisEvent.d.ts +22 -21
  106. package/dist/types/models/epcis20/IEpcisHeader.d.ts +17 -0
  107. package/dist/types/models/epcis20/IEpcisIlmd.d.ts +7 -0
  108. package/dist/types/models/epcis20/IEpcisLocation.d.ts +11 -0
  109. package/dist/types/models/epcis20/IEpcisObjectEvent.d.ts +72 -12
  110. package/dist/types/models/epcis20/IEpcisPersistentDisposition.d.ts +16 -0
  111. package/dist/types/models/epcis20/IEpcisQuantity.d.ts +13 -5
  112. package/dist/types/models/epcis20/IEpcisQuery.d.ts +2 -1
  113. package/dist/types/models/epcis20/IEpcisQueryDocument.d.ts +8 -29
  114. package/dist/types/models/epcis20/IEpcisQueryDocumentBody.d.ts +11 -0
  115. package/dist/types/models/epcis20/IEpcisQueryResults.d.ts +19 -0
  116. package/dist/types/models/epcis20/IEpcisQueryResultsBody.d.ts +16 -0
  117. package/dist/types/models/epcis20/IEpcisSensorElement.d.ts +12 -8
  118. package/dist/types/models/epcis20/IEpcisSensorMetadata.d.ts +36 -10
  119. package/dist/types/models/epcis20/IEpcisSensorReport.d.ts +121 -8
  120. package/dist/types/models/epcis20/IEpcisSource.d.ts +11 -5
  121. package/dist/types/models/epcis20/IEpcisTransactionEvent.d.ts +78 -0
  122. package/dist/types/models/epcis20/IEpcisTransformationEvent.d.ts +96 -0
  123. package/dist/types/models/epcis20/IEpcisVocabulary.d.ts +15 -0
  124. package/dist/types/models/epcis20/IEpcisVocabularyElement.d.ts +20 -0
  125. package/dist/types/models/epcis20/epcisActionTypes.d.ts +9 -5
  126. package/dist/types/models/epcis20/epcisBizStepTypes.d.ts +144 -3
  127. package/dist/types/models/epcis20/epcisBizTransactionTypes.d.ts +74 -0
  128. package/dist/types/models/epcis20/epcisComponentTypes.d.ts +76 -0
  129. package/dist/types/models/epcis20/epcisContextType.d.ts +8 -0
  130. package/dist/types/models/epcis20/epcisContexts.d.ts +27 -0
  131. package/dist/types/models/epcis20/epcisDispositionTypes.d.ts +117 -3
  132. package/dist/types/models/epcis20/epcisErrorReasonTypes.d.ts +19 -0
  133. package/dist/types/models/epcis20/epcisEventTypes.d.ts +7 -7
  134. package/dist/types/models/epcis20/epcisEvents.d.ts +11 -0
  135. package/dist/types/models/epcis20/epcisMeasurementTypes.d.ts +303 -0
  136. package/dist/types/models/epcis20/epcisSensorAlertTypes.d.ts +19 -0
  137. package/dist/types/models/epcis20/epcisSourceDestTypes.d.ts +26 -0
  138. package/dist/types/models/epcis20/epcisTypes.d.ts +37 -0
  139. package/dist/types/models/gs1/gs1Contexts.d.ts +8 -2
  140. package/dist/types/utils/gs1Is.d.ts +3 -2
  141. package/docs/changelog.md +535 -60
  142. package/docs/examples.md +58 -1
  143. package/docs/reference/classes/EpcisDataTypes.md +37 -0
  144. package/docs/reference/classes/Gs1DataTypes.md +5 -2
  145. package/docs/reference/classes/Gs1Identifiers.md +1 -1
  146. package/docs/reference/classes/Gs1IdentifiersValidation.md +7 -7
  147. package/docs/reference/classes/Gs1Is.md +8 -4
  148. package/docs/reference/classes/Gs1Location.md +34 -32
  149. package/docs/reference/classes/Gs1Validation.md +1 -1
  150. package/docs/reference/index.md +40 -15
  151. package/docs/reference/interfaces/IEPCClassUri.md +3 -3
  152. package/docs/reference/interfaces/IEpcisAggregationEvent.md +219 -0
  153. package/docs/reference/interfaces/IEpcisAssociationEvent.md +218 -0
  154. package/docs/reference/interfaces/IEpcisAttribute.md +23 -0
  155. package/docs/reference/interfaces/IEpcisBizTransaction.md +27 -0
  156. package/docs/reference/interfaces/IEpcisDestination.md +28 -0
  157. package/docs/reference/interfaces/IEpcisDocument.md +60 -8
  158. package/docs/reference/interfaces/IEpcisErrorDeclaration.md +36 -0
  159. package/docs/reference/interfaces/IEpcisEvent.md +37 -33
  160. package/docs/reference/interfaces/IEpcisHeader.md +23 -0
  161. package/docs/reference/interfaces/IEpcisIlmd.md +8 -0
  162. package/docs/reference/interfaces/IEpcisLocation.md +16 -0
  163. package/docs/reference/interfaces/IEpcisObjectEvent.md +224 -0
  164. package/docs/reference/interfaces/IEpcisPersistentDisposition.md +24 -0
  165. package/docs/reference/interfaces/IEpcisQuantity.md +34 -0
  166. package/docs/reference/interfaces/IEpcisQuery.md +6 -2
  167. package/docs/reference/interfaces/IEpcisQueryDocument.md +17 -43
  168. package/docs/reference/interfaces/IEpcisQueryDocumentBody.md +15 -0
  169. package/docs/reference/interfaces/IEpcisQueryResults.md +31 -0
  170. package/docs/reference/interfaces/IEpcisQueryResultsBody.md +23 -0
  171. package/docs/reference/interfaces/IEpcisSensorElement.md +26 -0
  172. package/docs/reference/interfaces/IEpcisSensorMetadata.md +80 -0
  173. package/docs/reference/interfaces/IEpcisSensorReport.md +224 -0
  174. package/docs/reference/interfaces/IEpcisSource.md +27 -0
  175. package/docs/reference/interfaces/IEpcisTransactionEvent.md +216 -0
  176. package/docs/reference/interfaces/IEpcisTransformationEvent.md +245 -0
  177. package/docs/reference/interfaces/IEpcisVocabulary.md +23 -0
  178. package/docs/reference/interfaces/IEpcisVocabularyElement.md +32 -0
  179. package/docs/reference/type-aliases/EpcisActionTypes.md +2 -1
  180. package/docs/reference/type-aliases/EpcisBizStepTypes.md +4 -1
  181. package/docs/reference/type-aliases/EpcisBizTransactionTypes.md +5 -0
  182. package/docs/reference/type-aliases/EpcisComponentTypes.md +5 -0
  183. package/docs/reference/type-aliases/EpcisContextType.md +6 -0
  184. package/docs/reference/type-aliases/EpcisContexts.md +5 -0
  185. package/docs/reference/type-aliases/EpcisDispositionTypes.md +5 -1
  186. package/docs/reference/type-aliases/EpcisErrorReasonTypes.md +5 -0
  187. package/docs/reference/type-aliases/EpcisEventTypes.md +1 -1
  188. package/docs/reference/type-aliases/EpcisEvents.md +6 -0
  189. package/docs/reference/type-aliases/EpcisMeasurementTypes.md +8 -0
  190. package/docs/reference/type-aliases/EpcisSensorAlertTypes.md +6 -0
  191. package/docs/reference/type-aliases/EpcisSourceDestTypes.md +6 -0
  192. package/docs/reference/variables/EpcisActionTypes.md +10 -7
  193. package/docs/reference/variables/EpcisBizStepTypes.md +140 -43
  194. package/docs/reference/variables/EpcisBizTransactionTypes.md +98 -0
  195. package/docs/reference/variables/EpcisComponentTypes.md +102 -0
  196. package/docs/reference/variables/EpcisContexts.md +33 -0
  197. package/docs/reference/variables/EpcisDispositionTypes.md +112 -35
  198. package/docs/reference/variables/EpcisErrorReasonTypes.md +21 -0
  199. package/docs/reference/variables/EpcisEventTypes.md +11 -11
  200. package/docs/reference/variables/EpcisMeasurementTypes.md +442 -0
  201. package/docs/reference/variables/EpcisSensorAlertTypes.md +20 -0
  202. package/docs/reference/variables/EpcisSourceDestTypes.md +29 -0
  203. package/docs/reference/variables/GS1Contexts.md +11 -3
  204. package/docs/reference/variables/Gs1IdTypes.md +20 -20
  205. package/docs/reference/variables/Gs1IdentifierTypes.md +4 -4
  206. package/docs/reference/variables/Gs1SubSiteAttributes.md +33 -33
  207. package/docs/reference/variables/Gs1SubSiteTypes.md +16 -16
  208. package/docs/reference/variables/Gs1Types.md +1 -1
  209. package/package.json +9 -9
  210. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js +0 -2
  211. package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js.map +0 -1
  212. package/dist/es/models/epcis20/IEpcisEventDetails.js +0 -2
  213. package/dist/es/models/epcis20/IEpcisEventDetails.js.map +0 -1
  214. package/dist/es/models/epcis20/IEpcisSimpleLocation.js.map +0 -1
  215. package/dist/es/models/epcis20/epcisErrorTypes.js +0 -11
  216. package/dist/es/models/epcis20/epcisErrorTypes.js.map +0 -1
  217. package/dist/es/models/epcis20/epcisEventUnionType.js +0 -2
  218. package/dist/es/models/epcis20/epcisEventUnionType.js.map +0 -1
  219. package/dist/types/models/epcis20/IEpcisBaseAggregationEvent.d.ts +0 -19
  220. package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +0 -35
  221. package/dist/types/models/epcis20/IEpcisSimpleLocation.d.ts +0 -9
  222. package/dist/types/models/epcis20/epcisErrorTypes.d.ts +0 -11
  223. package/dist/types/models/epcis20/epcisEventUnionType.d.ts +0 -7
  224. package/docs/reference/interfaces/IAggregationEvent.md +0 -223
  225. package/docs/reference/interfaces/IAssociationEvent.md +0 -223
  226. package/docs/reference/interfaces/IBizTransaction.md +0 -19
  227. package/docs/reference/interfaces/IDestination.md +0 -19
  228. package/docs/reference/interfaces/IEpcisEventDetails.md +0 -167
  229. package/docs/reference/interfaces/IObjectEvent.md +0 -211
  230. package/docs/reference/interfaces/IQuantity.md +0 -19
  231. package/docs/reference/interfaces/ISensorElement.md +0 -19
  232. package/docs/reference/interfaces/ISensorMetadata.md +0 -35
  233. package/docs/reference/interfaces/ISensorReport.md +0 -27
  234. package/docs/reference/interfaces/ISimpleLocation.md +0 -11
  235. package/docs/reference/interfaces/ISource.md +0 -19
  236. package/docs/reference/type-aliases/EpcisErrorTypes.md +0 -5
  237. package/docs/reference/type-aliases/EpcisEventUnionType.md +0 -5
  238. package/docs/reference/variables/EpcisErrorTypes.md +0 -15
@@ -0,0 +1,219 @@
1
+ # Interface: IEpcisAggregationEvent
2
+
3
+ EPCIS 2.0 AggregationEvent describing how child objects are associated with or
4
+ disassociated from a parent object.
5
+
6
+ ## See
7
+
8
+ https://ref.gs1.org/epcis/AggregationEvent
9
+
10
+ ## Extends
11
+
12
+ - [`IEpcisEvent`](IEpcisEvent.md)
13
+
14
+ ## Properties
15
+
16
+ ### type {#type}
17
+
18
+ > **type**: `"AggregationEvent"`
19
+
20
+ The type.
21
+
22
+ #### Overrides
23
+
24
+ [`IEpcisEvent`](IEpcisEvent.md).[`type`](IEpcisEvent.md#type)
25
+
26
+ ***
27
+
28
+ ### parentID? {#parentid}
29
+
30
+ > `optional` **parentID?**: `string`
31
+
32
+ (Optional when action is OBSERVE, required otherwise) Identifier of the parent
33
+ of the aggregation or association; use the pure identity URI when the parent is
34
+ an EPC.
35
+
36
+ ***
37
+
38
+ ### childEPCs? {#childepcs}
39
+
40
+ > `optional` **childEPCs?**: `string`[]
41
+
42
+ (Optional) Unordered list of contained objects identified at the instance
43
+ level; AggregationEvents normally include childEPCs or childQuantityList unless
44
+ action is DELETE.
45
+
46
+ ***
47
+
48
+ ### childQuantityList? {#childquantitylist}
49
+
50
+ > `optional` **childQuantityList?**: [`IEpcisQuantity`](IEpcisQuantity.md)[]
51
+
52
+ Unordered list of one or more QuantityElements identifying contained objects
53
+ at the class level; may be empty only with action DELETE when disaggregating
54
+ all children.
55
+
56
+ ***
57
+
58
+ ### action {#action}
59
+
60
+ > **action**: [`EpcisActionTypes`](../type-aliases/EpcisActionTypes.md)
61
+
62
+ How this event relates to the lifecycle of the EPCs named in this event.
63
+
64
+ ***
65
+
66
+ ### bizStep? {#bizstep}
67
+
68
+ > `optional` **bizStep?**: `string`
69
+
70
+ (Optional) The business step of which this event was a part.
71
+
72
+ ***
73
+
74
+ ### disposition? {#disposition}
75
+
76
+ > `optional` **disposition?**: `string`
77
+
78
+ (Optional) The business condition of the objects associated with the EPCs,
79
+ presumed to hold true until contradicted by a subsequent event.
80
+
81
+ ***
82
+
83
+ ### readPoint? {#readpoint}
84
+
85
+ > `optional` **readPoint?**: [`IEpcisLocation`](IEpcisLocation.md)
86
+
87
+ (Optional) The read point at which the event took place.
88
+
89
+ ***
90
+
91
+ ### bizLocation? {#bizlocation}
92
+
93
+ > `optional` **bizLocation?**: [`IEpcisLocation`](IEpcisLocation.md)
94
+
95
+ (Optional) The business location where the objects associated with the EPCs
96
+ may be found, until contradicted by a subsequent event.
97
+
98
+ ***
99
+
100
+ ### bizTransactionList? {#biztransactionlist}
101
+
102
+ > `optional` **bizTransactionList?**: [`IEpcisBizTransaction`](IEpcisBizTransaction.md)[]
103
+
104
+ (Optional) An unordered list of business transactions that define the context
105
+ of this event.
106
+
107
+ ***
108
+
109
+ ### sourceList? {#sourcelist}
110
+
111
+ > `optional` **sourceList?**: [`IEpcisSource`](IEpcisSource.md)[]
112
+
113
+ (Optional) Unordered list of Source elements that provide context about the
114
+ originating endpoint of a business transfer of which this event is a part.
115
+
116
+ ***
117
+
118
+ ### destinationList? {#destinationlist}
119
+
120
+ > `optional` **destinationList?**: [`IEpcisDestination`](IEpcisDestination.md)[]
121
+
122
+ (Optional) Unordered list of Destination elements that provide context about the
123
+ terminating endpoint of a business transfer of which this event is a part.
124
+
125
+ ***
126
+
127
+ ### sensorElementList? {#sensorelementlist}
128
+
129
+ > `optional` **sensorElementList?**: [`IEpcisSensorElement`](IEpcisSensorElement.md)[]
130
+
131
+ (Optional) Connects event to one or more SensorElements.
132
+
133
+ ***
134
+
135
+ ### @context {#context}
136
+
137
+ > **@context**: [`EpcisContextType`](../type-aliases/EpcisContextType.md)
138
+
139
+ JSON-LD @context.
140
+
141
+ #### Inherited from
142
+
143
+ [`IEpcisEvent`](IEpcisEvent.md).[`@context`](IEpcisEvent.md#context)
144
+
145
+ ***
146
+
147
+ ### eventID? {#eventid}
148
+
149
+ > `optional` **eventID?**: `string`
150
+
151
+ URI identifier of a specific EPCIS event (alias of id in JSON or XML).
152
+
153
+ #### Inherited from
154
+
155
+ [`IEpcisEvent`](IEpcisEvent.md).[`eventID`](IEpcisEvent.md#eventid)
156
+
157
+ ***
158
+
159
+ ### certificationInfo? {#certificationinfo}
160
+
161
+ > `optional` **certificationInfo?**: `ObjectOrArray`\<`string`\>
162
+
163
+ (Optional) CertificationDetails relevant for Objects, Places and/or
164
+ Organizations mentioned in this Event.
165
+
166
+ #### Inherited from
167
+
168
+ [`IEpcisEvent`](IEpcisEvent.md).[`certificationInfo`](IEpcisEvent.md#certificationinfo)
169
+
170
+ ***
171
+
172
+ ### errorDeclaration? {#errordeclaration}
173
+
174
+ > `optional` **errorDeclaration?**: [`IEpcisErrorDeclaration`](IEpcisErrorDeclaration.md)
175
+
176
+ Error declaration.
177
+
178
+ #### Inherited from
179
+
180
+ [`IEpcisEvent`](IEpcisEvent.md).[`errorDeclaration`](IEpcisEvent.md#errordeclaration)
181
+
182
+ ***
183
+
184
+ ### eventTime {#eventtime}
185
+
186
+ > **eventTime**: `string`
187
+
188
+ The date and time at which the EPCIS Capturing Applications asserts the event
189
+ occurred.
190
+
191
+ #### Inherited from
192
+
193
+ [`IEpcisEvent`](IEpcisEvent.md).[`eventTime`](IEpcisEvent.md#eventtime)
194
+
195
+ ***
196
+
197
+ ### eventTimeZoneOffset {#eventtimezoneoffset}
198
+
199
+ > **eventTimeZoneOffset**: `string`
200
+
201
+ The time zone offset in effect at the time and place the event occurred,
202
+ expressed as an offset from UTC.
203
+
204
+ #### Inherited from
205
+
206
+ [`IEpcisEvent`](IEpcisEvent.md).[`eventTimeZoneOffset`](IEpcisEvent.md#eventtimezoneoffset)
207
+
208
+ ***
209
+
210
+ ### recordTime? {#recordtime}
211
+
212
+ > `optional` **recordTime?**: `string`
213
+
214
+ (Optional) The date and time at which this event was recorded by an EPCIS
215
+ Repository; ignored at capture and present on query results.
216
+
217
+ #### Inherited from
218
+
219
+ [`IEpcisEvent`](IEpcisEvent.md).[`recordTime`](IEpcisEvent.md#recordtime)
@@ -0,0 +1,218 @@
1
+ # Interface: IEpcisAssociationEvent
2
+
3
+ EPCIS 2.0 AssociationEvent describing membership relationships between parent
4
+ and child objects without implying physical containment.
5
+
6
+ ## See
7
+
8
+ https://ref.gs1.org/epcis/AssociationEvent
9
+
10
+ ## Extends
11
+
12
+ - [`IEpcisEvent`](IEpcisEvent.md)
13
+
14
+ ## Properties
15
+
16
+ ### type {#type}
17
+
18
+ > **type**: `"AssociationEvent"`
19
+
20
+ Type.
21
+
22
+ #### Overrides
23
+
24
+ [`IEpcisEvent`](IEpcisEvent.md).[`type`](IEpcisEvent.md#type)
25
+
26
+ ***
27
+
28
+ ### parentID {#parentid}
29
+
30
+ > **parentID**: `string`
31
+
32
+ Identifier of the parent of the aggregation or association; use the pure
33
+ identity URI when the parent is an EPC.
34
+
35
+ ***
36
+
37
+ ### childEPCs? {#childepcs}
38
+
39
+ > `optional` **childEPCs?**: `string`[]
40
+
41
+ (Optional) Unordered list of contained objects identified at the instance
42
+ level; AssociationEvents normally include childEPCs or childQuantityList
43
+ unless action is DELETE.
44
+
45
+ ***
46
+
47
+ ### childQuantityList? {#childquantitylist}
48
+
49
+ > `optional` **childQuantityList?**: [`IEpcisQuantity`](IEpcisQuantity.md)[]
50
+
51
+ Unordered list of one or more QuantityElements identifying contained objects
52
+ at the class level; may be empty only with action DELETE when disassociating
53
+ all children.
54
+
55
+ ***
56
+
57
+ ### action {#action}
58
+
59
+ > **action**: [`EpcisActionTypes`](../type-aliases/EpcisActionTypes.md)
60
+
61
+ How this event relates to the lifecycle of the EPCs named in this event.
62
+
63
+ ***
64
+
65
+ ### bizStep? {#bizstep}
66
+
67
+ > `optional` **bizStep?**: `string`
68
+
69
+ (Optional) The business step of which this event was a part.
70
+
71
+ ***
72
+
73
+ ### disposition? {#disposition}
74
+
75
+ > `optional` **disposition?**: `string`
76
+
77
+ (Optional) The business condition of the objects associated with the EPCs,
78
+ presumed to hold true until contradicted by a subsequent event.
79
+
80
+ ***
81
+
82
+ ### readPoint? {#readpoint}
83
+
84
+ > `optional` **readPoint?**: [`IEpcisLocation`](IEpcisLocation.md)
85
+
86
+ (Optional) The read point at which the event took place.
87
+
88
+ ***
89
+
90
+ ### bizLocation? {#bizlocation}
91
+
92
+ > `optional` **bizLocation?**: [`IEpcisLocation`](IEpcisLocation.md)
93
+
94
+ (Optional) The business location where the objects associated with the EPCs
95
+ may be found, until contradicted by a subsequent event.
96
+
97
+ ***
98
+
99
+ ### bizTransactionList? {#biztransactionlist}
100
+
101
+ > `optional` **bizTransactionList?**: [`IEpcisBizTransaction`](IEpcisBizTransaction.md)[]
102
+
103
+ (Optional) An unordered list of business transactions that define the context
104
+ of this event.
105
+
106
+ ***
107
+
108
+ ### sourceList? {#sourcelist}
109
+
110
+ > `optional` **sourceList?**: [`IEpcisSource`](IEpcisSource.md)[]
111
+
112
+ (Optional) Unordered list of Source elements that provide context about the
113
+ originating endpoint of a business transfer of which this event is a part.
114
+
115
+ ***
116
+
117
+ ### destinationList? {#destinationlist}
118
+
119
+ > `optional` **destinationList?**: [`IEpcisDestination`](IEpcisDestination.md)[]
120
+
121
+ (Optional) Unordered list of Destination elements that provide context about
122
+ the terminating endpoint of a business transfer of which this event is a part.
123
+
124
+ ***
125
+
126
+ ### sensorElementList? {#sensorelementlist}
127
+
128
+ > `optional` **sensorElementList?**: [`IEpcisSensorElement`](IEpcisSensorElement.md)[]
129
+
130
+ (Optional) Connects event to one or more SensorElements.
131
+
132
+ ***
133
+
134
+ ### @context {#context}
135
+
136
+ > **@context**: [`EpcisContextType`](../type-aliases/EpcisContextType.md)
137
+
138
+ JSON-LD @context.
139
+
140
+ #### Inherited from
141
+
142
+ [`IEpcisEvent`](IEpcisEvent.md).[`@context`](IEpcisEvent.md#context)
143
+
144
+ ***
145
+
146
+ ### eventID? {#eventid}
147
+
148
+ > `optional` **eventID?**: `string`
149
+
150
+ URI identifier of a specific EPCIS event (alias of id in JSON or XML).
151
+
152
+ #### Inherited from
153
+
154
+ [`IEpcisEvent`](IEpcisEvent.md).[`eventID`](IEpcisEvent.md#eventid)
155
+
156
+ ***
157
+
158
+ ### certificationInfo? {#certificationinfo}
159
+
160
+ > `optional` **certificationInfo?**: `ObjectOrArray`\<`string`\>
161
+
162
+ (Optional) CertificationDetails relevant for Objects, Places and/or
163
+ Organizations mentioned in this Event.
164
+
165
+ #### Inherited from
166
+
167
+ [`IEpcisEvent`](IEpcisEvent.md).[`certificationInfo`](IEpcisEvent.md#certificationinfo)
168
+
169
+ ***
170
+
171
+ ### errorDeclaration? {#errordeclaration}
172
+
173
+ > `optional` **errorDeclaration?**: [`IEpcisErrorDeclaration`](IEpcisErrorDeclaration.md)
174
+
175
+ Error declaration.
176
+
177
+ #### Inherited from
178
+
179
+ [`IEpcisEvent`](IEpcisEvent.md).[`errorDeclaration`](IEpcisEvent.md#errordeclaration)
180
+
181
+ ***
182
+
183
+ ### eventTime {#eventtime}
184
+
185
+ > **eventTime**: `string`
186
+
187
+ The date and time at which the EPCIS Capturing Applications asserts the event
188
+ occurred.
189
+
190
+ #### Inherited from
191
+
192
+ [`IEpcisEvent`](IEpcisEvent.md).[`eventTime`](IEpcisEvent.md#eventtime)
193
+
194
+ ***
195
+
196
+ ### eventTimeZoneOffset {#eventtimezoneoffset}
197
+
198
+ > **eventTimeZoneOffset**: `string`
199
+
200
+ The time zone offset in effect at the time and place the event occurred,
201
+ expressed as an offset from UTC.
202
+
203
+ #### Inherited from
204
+
205
+ [`IEpcisEvent`](IEpcisEvent.md).[`eventTimeZoneOffset`](IEpcisEvent.md#eventtimezoneoffset)
206
+
207
+ ***
208
+
209
+ ### recordTime? {#recordtime}
210
+
211
+ > `optional` **recordTime?**: `string`
212
+
213
+ (Optional) The date and time at which this event was recorded by an EPCIS
214
+ Repository; ignored at capture and present on query results.
215
+
216
+ #### Inherited from
217
+
218
+ [`IEpcisEvent`](IEpcisEvent.md).[`recordTime`](IEpcisEvent.md#recordtime)
@@ -0,0 +1,23 @@
1
+ # Interface: IEpcisAttribute
2
+
3
+ EPCIS 2.0 Vocabulary Attribute describing metadata on vocabulary elements.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/Attribute
8
+
9
+ ## Properties
10
+
11
+ ### id {#id}
12
+
13
+ > **id**: `string`
14
+
15
+ Attribute id.
16
+
17
+ ***
18
+
19
+ ### attribute? {#attribute}
20
+
21
+ > `optional` **attribute?**: `IJsonLdNodePrimitive`
22
+
23
+ Attribute value.
@@ -0,0 +1,27 @@
1
+ # Interface: IEpcisBizTransaction
2
+
3
+ EPCIS 2.0 BizTransaction element identifying a business document and its type.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/BizTransaction
8
+
9
+ ## Properties
10
+
11
+ ### type? {#type}
12
+
13
+ > `optional` **type?**: `string`
14
+
15
+ Identifier that indicates the type of BizTransaction document (e.g. Purchase
16
+ Order, Despatch Advice).
17
+
18
+ Use [EpcisBizTransactionTypes](../variables/EpcisBizTransactionTypes.md) for known values.
19
+
20
+ ***
21
+
22
+ ### bizTransaction {#biztransaction}
23
+
24
+ > **bizTransaction**: `string`
25
+
26
+ URI identifier of the specific business transaction document (alias of id in
27
+ JSON or XML).
@@ -0,0 +1,28 @@
1
+ # Interface: IEpcisDestination
2
+
3
+ EPCIS 2.0 Destination element identifying the terminating endpoint of a
4
+ business transfer.
5
+
6
+ ## See
7
+
8
+ https://ref.gs1.org/epcis/SourceOrDestination
9
+
10
+ ## Properties
11
+
12
+ ### type {#type}
13
+
14
+ > **type**: `string`
15
+
16
+ Identifier indicating the role of SourceOrDestination in a transfer (Owning
17
+ Party, Possessing Party, or Location).
18
+
19
+ Use [EpcisSourceDestTypes](../variables/EpcisSourceDestTypes.md) for known values.
20
+
21
+ ***
22
+
23
+ ### destination {#destination}
24
+
25
+ > **destination**: `string`
26
+
27
+ Identifier that denotes the specific source or destination of a business
28
+ transfer; must correlate with the selected type.
@@ -1,26 +1,30 @@
1
1
  # Interface: IEpcisDocument
2
2
 
3
- EPCIS Document.
3
+ EPCIS 2.0 capture document containing header metadata and an event list.
4
+
5
+ ## See
6
+
7
+ https://ref.gs1.org/epcis/EPCISDocument
4
8
 
5
9
  ## Properties
6
10
 
7
- ### @context
11
+ ### @context {#context}
8
12
 
9
- > **@context**: `IJsonLdContextDefinition`
13
+ > **@context**: [`EpcisContextType`](../type-aliases/EpcisContextType.md)
10
14
 
11
15
  The @context.
12
16
 
13
17
  ***
14
18
 
15
- ### id?
19
+ ### id? {#id}
16
20
 
17
- > `optional` **id**: `string`
21
+ > `optional` **id?**: `string`
18
22
 
19
23
  The JSON-LD document id.
20
24
 
21
25
  ***
22
26
 
23
- ### type
27
+ ### type {#type}
24
28
 
25
29
  > **type**: `"EPCISDocument"`
26
30
 
@@ -28,7 +32,55 @@ JSON-LD Type.
28
32
 
29
33
  ***
30
34
 
31
- ### epcisBody
35
+ ### schemaVersion {#schemaversion}
36
+
37
+ > **schemaVersion**: `string`
38
+
39
+ Schema version.
40
+
41
+ ***
42
+
43
+ ### creationDate {#creationdate}
44
+
45
+ > **creationDate**: `string`
46
+
47
+ Creation Date.
48
+
49
+ ***
50
+
51
+ ### instanceIdentifier? {#instanceidentifier}
52
+
53
+ > `optional` **instanceIdentifier?**: `string`
54
+
55
+ (Optional) The instance identifier of an EPCISDocument.
56
+
57
+ ***
58
+
59
+ ### sender? {#sender}
60
+
61
+ > `optional` **sender?**: `string`
62
+
63
+ (Optional) The sender of an EPCISDocument.
64
+
65
+ ***
66
+
67
+ ### receiver? {#receiver}
68
+
69
+ > `optional` **receiver?**: `string`
70
+
71
+ (Optional) The intended receiver of an EPCISDocument.
72
+
73
+ ***
74
+
75
+ ### epcisHeader? {#epcisheader}
76
+
77
+ > `optional` **epcisHeader?**: [`IEpcisHeader`](IEpcisHeader.md)
78
+
79
+ EPCIS Header.
80
+
81
+ ***
82
+
83
+ ### epcisBody {#epcisbody}
32
84
 
33
85
  > **epcisBody**: `object`
34
86
 
@@ -36,6 +88,6 @@ The EPCIS Body.
36
88
 
37
89
  #### eventList
38
90
 
39
- > **eventList**: [`IEpcisEvent`](IEpcisEvent.md)[]
91
+ > **eventList**: [`EpcisEvents`](../type-aliases/EpcisEvents.md)[]
40
92
 
41
93
  The list of events.
@@ -0,0 +1,36 @@
1
+ # Interface: IEpcisErrorDeclaration
2
+
3
+ EPCIS 2.0 ErrorDeclaration describing corrections to previously captured
4
+ events.
5
+
6
+ ## See
7
+
8
+ https://ref.gs1.org/epcis/ErrorDeclaration
9
+
10
+ ## Properties
11
+
12
+ ### declarationTime {#declarationtime}
13
+
14
+ > **declarationTime**: `string`
15
+
16
+ The date and time at which the declaration of error is made.
17
+
18
+ ***
19
+
20
+ ### reason? {#reason}
21
+
22
+ > `optional` **reason?**: `string`
23
+
24
+ Reason for the error.
25
+
26
+ Use [EpcisErrorReasonTypes](../variables/EpcisErrorReasonTypes.md) for known values.
27
+
28
+ ***
29
+
30
+ ### correctiveEventIDs? {#correctiveeventids}
31
+
32
+ > `optional` **correctiveEventIDs?**: `string`[]
33
+
34
+ (Optional) If present, indicates that the events having the specified URIs as
35
+ the value of their eventID fields are to be considered as "corrections" to
36
+ the event declared erroneous by this event.