@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
@@ -2,140 +2,217 @@
2
2
 
3
3
  > `const` **EpcisDispositionTypes**: `object`
4
4
 
5
- EPCIS 2.0 disposition types.
5
+ Supported EPCIS 2.0 `disposition` values from the GS1 Core Business
6
+ Vocabulary (CBV).
6
7
 
7
- See EPCIS CVB for more details.
8
+ Use the union type `EpcisDispositionTypes` to restrict a field to known CBV
9
+ values.
8
10
 
9
11
  ## Type Declaration
10
12
 
11
- ### Active
13
+ ### Active {#active}
12
14
 
13
15
  > `readonly` **Active**: `"active"` = `"active"`
14
16
 
15
- ### ContainerClosed
17
+ A commissioned object has just been introduced into the supply chain.
18
+
19
+ ### ContainerClosed {#containerclosed}
16
20
 
17
21
  > `readonly` **ContainerClosed**: `"container_closed"` = `"container_closed"`
18
22
 
19
- ### Damaged
23
+ Object has been loaded onto a container, the doors closed, and the shipment
24
+ sealed.
25
+
26
+ ### Damaged {#damaged}
20
27
 
21
28
  > `readonly` **Damaged**: `"damaged"` = `"damaged"`
22
29
 
23
- ### Destroyed
30
+ Object is impaired in usefulness or value due to a defect.
31
+
32
+ ### Destroyed {#destroyed}
24
33
 
25
34
  > `readonly` **Destroyed**: `"destroyed"` = `"destroyed"`
26
35
 
27
- ### Dispensed
36
+ Object has been fully rendered non-usable.
37
+
38
+ ### Dispensed {#dispensed}
28
39
 
29
40
  > `readonly` **Dispensed**: `"dispensed"` = `"dispensed"`
30
41
 
31
- ### Disposed
42
+ A full quantity of product is distributed to a consumer.
43
+
44
+ ### Disposed {#disposed}
32
45
 
33
46
  > `readonly` **Disposed**: `"disposed"` = `"disposed"`
34
47
 
35
- ### Encoded
48
+ Object has been returned for disposal.
49
+
50
+ ### Encoded {#encoded}
36
51
 
37
52
  > `readonly` **Encoded**: `"encoded"` = `"encoded"`
38
53
 
39
- ### Expired
54
+ An instance-level identifier has been written to a barcode or RFID tag, but
55
+ not yet commissioned.
56
+
57
+ ### Expired {#expired}
40
58
 
41
59
  > `readonly` **Expired**: `"expired"` = `"expired"`
42
60
 
43
- ### InProgress
61
+ Object's expiration date is in the past.
62
+
63
+ ### InProgress {#inprogress}
44
64
 
45
65
  > `readonly` **InProgress**: `"in_progress"` = `"in_progress"`
46
66
 
47
- ### InTransit
67
+ Optional disposition for objects proceeding through points in the supply
68
+ chain.
69
+
70
+ ### InTransit {#intransit}
48
71
 
49
72
  > `readonly` **InTransit**: `"in_transit"` = `"in_transit"`
50
73
 
51
- ### Inactive
74
+ Object is being shipped between two trading partners.
75
+
76
+ ### Inactive {#inactive}
52
77
 
53
78
  > `readonly` **Inactive**: `"inactive"` = `"inactive"`
54
79
 
55
- ### NoPedigreeMatch
80
+ Decommissioned object that may be reintroduced to the supply chain.
81
+
82
+ ### NoPedigreeMatch {#nopedigreematch}
56
83
 
57
84
  > `readonly` **NoPedigreeMatch**: `"no_pedigree_match"` = `"no_pedigree_match"`
58
85
 
59
- ### NonSellableOther
86
+ No pedigree match was found during validation, so the product is quarantined
87
+ for investigation.
88
+
89
+ ### NonSellableOther {#nonsellableother}
60
90
 
61
91
  > `readonly` **NonSellableOther**: `"non_sellable_other"` = `"non_sellable_other"`
62
92
 
63
- ### PartiallyDispensed
93
+ Object cannot be sold to a customer.
94
+
95
+ ### PartiallyDispensed {#partiallydispensed}
64
96
 
65
97
  > `readonly` **PartiallyDispensed**: `"partially_dispensed"` = `"partially_dispensed"`
66
98
 
67
- ### Recalled
99
+ A portion of a product is distributed to a customer while additional product
100
+ is retained.
101
+
102
+ ### Recalled {#recalled}
68
103
 
69
104
  > `readonly` **Recalled**: `"recalled"` = `"recalled"`
70
105
 
71
- ### Reserved
106
+ Object is non-sellable because of public safety reasons.
107
+
108
+ ### Reserved {#reserved}
72
109
 
73
110
  > `readonly` **Reserved**: `"reserved"` = `"reserved"`
74
111
 
75
- ### RetailSold
112
+ Instance-level identifier has been allocated for a third party.
113
+
114
+ ### RetailSold {#retailsold}
76
115
 
77
116
  > `readonly` **RetailSold**: `"retail_sold"` = `"retail_sold"`
78
117
 
79
- ### Returned
118
+ Product has been purchased by a customer.
119
+
120
+ ### Returned {#returned}
80
121
 
81
122
  > `readonly` **Returned**: `"returned"` = `"returned"`
82
123
 
83
- ### SellableAccessible
124
+ Object has been sent or brought back for various reasons; it may or may not
125
+ be sellable.
126
+
127
+ ### SellableAccessible {#sellableaccessible}
84
128
 
85
129
  > `readonly` **SellableAccessible**: `"sellable_accessible"` = `"sellable_accessible"`
86
130
 
87
- ### SellableNotAccessible
131
+ Product can be sold as is and a customer can access it for purchase.
132
+
133
+ ### SellableNotAccessible {#sellablenotaccessible}
88
134
 
89
135
  > `readonly` **SellableNotAccessible**: `"sellable_not_accessible"` = `"sellable_not_accessible"`
90
136
 
91
- ### Stolen
137
+ Product can be sold as is, but a customer cannot access it for purchase.
138
+
139
+ ### Stolen {#stolen}
92
140
 
93
141
  > `readonly` **Stolen**: `"stolen"` = `"stolen"`
94
142
 
95
- ### Unknown
143
+ An object has been taken without permission or right.
144
+
145
+ ### Unknown {#unknown}
96
146
 
97
147
  > `readonly` **Unknown**: `"unknown"` = `"unknown"`
98
148
 
99
- ### Available
149
+ An object's condition is not known.
150
+
151
+ ### Available {#available}
100
152
 
101
153
  > `readonly` **Available**: `"available"` = `"available"`
102
154
 
103
- ### CompletenessVerified
155
+ Object has been returned to service or the supply chain after repair.
156
+
157
+ ### CompletenessVerified {#completenessverified}
104
158
 
105
159
  > `readonly` **CompletenessVerified**: `"completeness_verified"` = `"completeness_verified"`
106
160
 
107
- ### CompletenessInferred
161
+ Explicitly indicates verified integrity of an aggregation when children are
162
+ unpacked or verified.
163
+
164
+ ### CompletenessInferred {#completenessinferred}
108
165
 
109
166
  > `readonly` **CompletenessInferred**: `"completeness_inferred"` = `"completeness_inferred"`
110
167
 
111
- ### Conformant
168
+ Indicates inferred integrity of an aggregation based on upstream aggregation
169
+ information.
170
+
171
+ ### Conformant {#conformant}
112
172
 
113
173
  > `readonly` **Conformant**: `"conformant"` = `"conformant"`
114
174
 
115
- ### ContainerOpen
175
+ Outcome of a successful inspection in an inspecting or repairing step.
176
+
177
+ ### ContainerOpen {#containeropen}
116
178
 
117
179
  > `readonly` **ContainerOpen**: `"container_open"` = `"container_open"`
118
180
 
119
- ### MismatchInstance
181
+ Container doors have been opened or a shipment seal has been broken.
182
+
183
+ ### MismatchInstance {#mismatchinstance}
120
184
 
121
185
  > `readonly` **MismatchInstance**: `"mismatch_instance"` = `"mismatch_instance"`
122
186
 
123
- ### MismatchClass
187
+ Instance-level identifiers do not match what was expected.
188
+
189
+ ### MismatchClass {#mismatchclass}
124
190
 
125
191
  > `readonly` **MismatchClass**: `"mismatch_class"` = `"mismatch_class"`
126
192
 
127
- ### MismatchQuantity
193
+ Class-level identifiers do not match what was expected.
194
+
195
+ ### MismatchQuantity {#mismatchquantity}
128
196
 
129
197
  > `readonly` **MismatchQuantity**: `"mismatch_quantity"` = `"mismatch_quantity"`
130
198
 
131
- ### NeedsReplacement
199
+ Quantities do not match what was expected.
200
+
201
+ ### NeedsReplacement {#needsreplacement}
132
202
 
133
203
  > `readonly` **NeedsReplacement**: `"needs_replacement"` = `"needs_replacement"`
134
204
 
135
- ### NonConformant
205
+ Components or assets must be replaced to ensure functional requirements.
206
+
207
+ ### NonConformant {#nonconformant}
136
208
 
137
209
  > `readonly` **NonConformant**: `"non_conformant"` = `"non_conformant"`
138
210
 
139
- ### Unavailable
211
+ Outcome of an unsuccessful inspection in an inspecting or repairing step.
212
+
213
+ ### Unavailable {#unavailable}
140
214
 
141
215
  > `readonly` **Unavailable**: `"unavailable"` = `"unavailable"`
216
+
217
+ Object has been removed from service or the supply chain, for example pending
218
+ repair.
@@ -0,0 +1,21 @@
1
+ # Variable: EpcisErrorReasonTypes
2
+
3
+ > `const` **EpcisErrorReasonTypes**: `object`
4
+
5
+ Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.
6
+
7
+ ## Type Declaration
8
+
9
+ ### DidNotOccur {#didnotoccur}
10
+
11
+ > `readonly` **DidNotOccur**: `"did_not_occur"` = `"did_not_occur"`
12
+
13
+ Prior event is erroneous because it did not actually occur; no corrective
14
+ events exist.
15
+
16
+ ### IncorrectData {#incorrectdata}
17
+
18
+ > `readonly` **IncorrectData**: `"incorrect_data"` = `"incorrect_data"`
19
+
20
+ Prior event has incorrect data and may be corrected by subsequent linked
21
+ events.
@@ -2,36 +2,36 @@
2
2
 
3
3
  > `const` **EpcisEventTypes**: `object`
4
4
 
5
- EPCIS 2.0 event types.
5
+ EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### ObjectEvent
9
+ ### ObjectEvent {#objectevent}
10
10
 
11
11
  > `readonly` **ObjectEvent**: `"ObjectEvent"` = `"ObjectEvent"`
12
12
 
13
- ObjectEvent.
13
+ Event that observes one or more instance- or class-level objects.
14
14
 
15
- ### AggregationEvent
15
+ ### AggregationEvent {#aggregationevent}
16
16
 
17
17
  > `readonly` **AggregationEvent**: `"AggregationEvent"` = `"AggregationEvent"`
18
18
 
19
- Aggregation Event.
19
+ Event recording child objects aggregated under a parent identifier.
20
20
 
21
- ### AssociationEvent
21
+ ### AssociationEvent {#associationevent}
22
22
 
23
23
  > `readonly` **AssociationEvent**: `"AssociationEvent"` = `"AssociationEvent"`
24
24
 
25
- Association Event.
25
+ Event recording parent/child associations without implying containment.
26
26
 
27
- ### TransformationEvent
27
+ ### TransformationEvent {#transformationevent}
28
28
 
29
29
  > `readonly` **TransformationEvent**: `"TransformationEvent"` = `"TransformationEvent"`
30
30
 
31
- Transformation Event.
31
+ Event recording how inputs are transformed into outputs.
32
32
 
33
- ### TransactionEvent
33
+ ### TransactionEvent {#transactionevent}
34
34
 
35
35
  > `readonly` **TransactionEvent**: `"TransactionEvent"` = `"TransactionEvent"`
36
36
 
37
- Transaction Event.
37
+ Event linking objects or quantities to business transactions.