@twin.org/standards-gs1 0.0.3-next.10 → 0.0.3-next.11
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.
- package/dist/es/dataTypes/epcisDataTypes.js +61 -0
- package/dist/es/dataTypes/epcisDataTypes.js.map +1 -0
- package/dist/es/dataTypes/gs1DataTypes.js +2 -2
- package/dist/es/dataTypes/gs1DataTypes.js.map +1 -1
- package/dist/es/index.js +26 -7
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisAggregationEvent.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisAssociationEvent.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisAttribute.js +2 -0
- package/dist/es/models/epcis20/IEpcisAttribute.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisBizTransaction.js +0 -2
- package/dist/es/models/epcis20/IEpcisBizTransaction.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisDestination.js +0 -2
- package/dist/es/models/epcis20/IEpcisDestination.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisDocument.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisErrorDeclaration.js +2 -0
- package/dist/es/models/epcis20/IEpcisErrorDeclaration.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisEvent.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisHeader.js +2 -0
- package/dist/es/models/epcis20/IEpcisHeader.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisIlmd.js +2 -0
- package/dist/es/models/epcis20/IEpcisIlmd.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisLocation.js +2 -0
- package/dist/es/models/epcis20/IEpcisLocation.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisObjectEvent.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisPersistentDisposition.js +2 -0
- package/dist/es/models/epcis20/IEpcisPersistentDisposition.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisQuantity.js +0 -2
- package/dist/es/models/epcis20/IEpcisQuantity.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisQuery.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisQueryDocument.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js +2 -0
- package/dist/es/models/epcis20/IEpcisQueryDocumentBody.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisQueryResults.js +2 -0
- package/dist/es/models/epcis20/IEpcisQueryResults.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisQueryResultsBody.js +2 -0
- package/dist/es/models/epcis20/IEpcisQueryResultsBody.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisSensorElement.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisSensorMetadata.js +0 -2
- package/dist/es/models/epcis20/IEpcisSensorMetadata.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisSensorReport.js +0 -2
- package/dist/es/models/epcis20/IEpcisSensorReport.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisSource.js +0 -2
- package/dist/es/models/epcis20/IEpcisSource.js.map +1 -1
- package/dist/es/models/epcis20/IEpcisTransactionEvent.js +2 -0
- package/dist/es/models/epcis20/IEpcisTransactionEvent.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisTransformationEvent.js +2 -0
- package/dist/es/models/epcis20/IEpcisTransformationEvent.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisVocabulary.js +2 -0
- package/dist/es/models/epcis20/IEpcisVocabulary.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisVocabularyElement.js +2 -0
- package/dist/es/models/epcis20/IEpcisVocabularyElement.js.map +1 -0
- package/dist/es/models/epcis20/epcisActionTypes.js +7 -4
- package/dist/es/models/epcis20/epcisActionTypes.js.map +1 -1
- package/dist/es/models/epcis20/epcisBizStepTypes.js +140 -2
- package/dist/es/models/epcis20/epcisBizStepTypes.js.map +1 -1
- package/dist/es/models/epcis20/epcisBizTransactionTypes.js +75 -0
- package/dist/es/models/epcis20/epcisBizTransactionTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisComponentTypes.js +77 -0
- package/dist/es/models/epcis20/epcisComponentTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisContextType.js +2 -0
- package/dist/es/models/epcis20/epcisContextType.js.map +1 -0
- package/dist/es/models/epcis20/epcisContexts.js +17 -0
- package/dist/es/models/epcis20/epcisContexts.js.map +1 -0
- package/dist/es/models/epcis20/epcisDispositionTypes.js +112 -2
- package/dist/es/models/epcis20/epcisDispositionTypes.js.map +1 -1
- package/dist/es/models/epcis20/epcisErrorReasonTypes.js +20 -0
- package/dist/es/models/epcis20/epcisErrorReasonTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisEventTypes.js +6 -6
- package/dist/es/models/epcis20/epcisEventTypes.js.map +1 -1
- package/dist/es/models/epcis20/epcisEvents.js +2 -0
- package/dist/es/models/epcis20/epcisEvents.js.map +1 -0
- package/dist/es/models/epcis20/epcisMeasurementTypes.js +301 -0
- package/dist/es/models/epcis20/epcisMeasurementTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisSensorAlertTypes.js +19 -0
- package/dist/es/models/epcis20/epcisSensorAlertTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisSourceDestTypes.js +26 -0
- package/dist/es/models/epcis20/epcisSourceDestTypes.js.map +1 -0
- package/dist/es/models/epcis20/epcisTypes.js +37 -0
- package/dist/es/models/epcis20/epcisTypes.js.map +1 -0
- package/dist/es/models/gs1/gs1Contexts.js +2 -2
- package/dist/es/models/gs1/gs1Contexts.js.map +1 -1
- package/dist/es/schemas/EpcisAggregationEvent.json +273 -0
- package/dist/es/schemas/EpcisAssociationEvent.json +274 -0
- package/dist/es/schemas/EpcisDocument.json +204 -0
- package/dist/es/schemas/EpcisObjectEvent.json +277 -0
- package/dist/es/schemas/EpcisQueryDocument.json +173 -0
- package/dist/es/schemas/EpcisTransactionEvent.json +274 -0
- package/dist/es/schemas/EpcisTransformationEvent.json +290 -0
- package/dist/types/dataTypes/epcisDataTypes.d.ts +13 -0
- package/dist/types/index.d.ts +26 -7
- package/dist/types/models/epcis20/IEpcisAggregationEvent.d.ts +75 -4
- package/dist/types/models/epcis20/IEpcisAssociationEvent.d.ts +74 -4
- package/dist/types/models/epcis20/IEpcisAttribute.d.ts +15 -0
- package/dist/types/models/epcis20/IEpcisBizTransaction.d.ts +12 -5
- package/dist/types/models/epcis20/IEpcisDestination.d.ts +13 -5
- package/dist/types/models/epcis20/IEpcisDocument.d.ts +35 -7
- package/dist/types/models/epcis20/IEpcisErrorDeclaration.d.ts +25 -0
- package/dist/types/models/epcis20/IEpcisEvent.d.ts +23 -22
- package/dist/types/models/epcis20/IEpcisHeader.d.ts +17 -0
- package/dist/types/models/epcis20/IEpcisIlmd.d.ts +8 -0
- package/dist/types/models/epcis20/IEpcisLocation.d.ts +12 -0
- package/dist/types/models/epcis20/IEpcisObjectEvent.d.ts +72 -12
- package/dist/types/models/epcis20/IEpcisPersistentDisposition.d.ts +17 -0
- package/dist/types/models/epcis20/IEpcisQuantity.d.ts +14 -5
- package/dist/types/models/epcis20/IEpcisQuery.d.ts +2 -1
- package/dist/types/models/epcis20/IEpcisQueryDocument.d.ts +10 -30
- package/dist/types/models/epcis20/IEpcisQueryDocumentBody.d.ts +12 -0
- package/dist/types/models/epcis20/IEpcisQueryResults.d.ts +20 -0
- package/dist/types/models/epcis20/IEpcisQueryResultsBody.d.ts +17 -0
- package/dist/types/models/epcis20/IEpcisSensorElement.d.ts +13 -8
- package/dist/types/models/epcis20/IEpcisSensorMetadata.d.ts +37 -10
- package/dist/types/models/epcis20/IEpcisSensorReport.d.ts +122 -8
- package/dist/types/models/epcis20/IEpcisSource.d.ts +12 -5
- package/dist/types/models/epcis20/IEpcisTransactionEvent.d.ts +78 -0
- package/dist/types/models/epcis20/IEpcisTransformationEvent.d.ts +96 -0
- package/dist/types/models/epcis20/IEpcisVocabulary.d.ts +16 -0
- package/dist/types/models/epcis20/IEpcisVocabularyElement.d.ts +21 -0
- package/dist/types/models/epcis20/epcisActionTypes.d.ts +9 -5
- package/dist/types/models/epcis20/epcisBizStepTypes.d.ts +144 -3
- package/dist/types/models/epcis20/epcisBizTransactionTypes.d.ts +74 -0
- package/dist/types/models/epcis20/epcisComponentTypes.d.ts +76 -0
- package/dist/types/models/epcis20/epcisContextType.d.ts +15 -0
- package/dist/types/models/epcis20/epcisContexts.d.ts +17 -0
- package/dist/types/models/epcis20/epcisDispositionTypes.d.ts +117 -3
- package/dist/types/models/epcis20/epcisErrorReasonTypes.d.ts +19 -0
- package/dist/types/models/epcis20/epcisEventTypes.d.ts +7 -7
- package/dist/types/models/epcis20/epcisEvents.d.ts +11 -0
- package/dist/types/models/epcis20/epcisMeasurementTypes.d.ts +303 -0
- package/dist/types/models/epcis20/epcisSensorAlertTypes.d.ts +19 -0
- package/dist/types/models/epcis20/epcisSourceDestTypes.d.ts +26 -0
- package/dist/types/models/epcis20/epcisTypes.d.ts +37 -0
- package/dist/types/models/gs1/gs1Contexts.d.ts +2 -2
- package/docs/changelog.md +8 -0
- package/docs/reference/classes/EpcisDataTypes.md +37 -0
- package/docs/reference/index.md +40 -15
- package/docs/reference/interfaces/IEpcisAggregationEvent.md +223 -0
- package/docs/reference/interfaces/IEpcisAssociationEvent.md +222 -0
- package/docs/reference/interfaces/IEpcisAttribute.md +31 -0
- package/docs/reference/interfaces/IEpcisBizTransaction.md +35 -0
- package/docs/reference/interfaces/IEpcisDestination.md +36 -0
- package/docs/reference/interfaces/IEpcisDocument.md +67 -3
- package/docs/reference/interfaces/IEpcisErrorDeclaration.md +44 -0
- package/docs/reference/interfaces/IEpcisEvent.md +46 -30
- package/docs/reference/interfaces/IEpcisHeader.md +31 -0
- package/docs/reference/interfaces/IEpcisIlmd.md +16 -0
- package/docs/reference/interfaces/IEpcisLocation.md +24 -0
- package/docs/reference/interfaces/IEpcisObjectEvent.md +228 -0
- package/docs/reference/interfaces/IEpcisPersistentDisposition.md +32 -0
- package/docs/reference/interfaces/IEpcisQuantity.md +42 -0
- package/docs/reference/interfaces/IEpcisQuery.md +5 -1
- package/docs/reference/interfaces/IEpcisQueryDocument.md +20 -34
- package/docs/reference/interfaces/IEpcisQueryDocumentBody.md +23 -0
- package/docs/reference/interfaces/IEpcisQueryResults.md +39 -0
- package/docs/reference/interfaces/IEpcisQueryResultsBody.md +31 -0
- package/docs/reference/interfaces/IEpcisSensorElement.md +34 -0
- package/docs/reference/interfaces/IEpcisSensorMetadata.md +88 -0
- package/docs/reference/interfaces/IEpcisSensorReport.md +232 -0
- package/docs/reference/interfaces/IEpcisSource.md +35 -0
- package/docs/reference/interfaces/IEpcisTransactionEvent.md +220 -0
- package/docs/reference/interfaces/IEpcisTransformationEvent.md +249 -0
- package/docs/reference/interfaces/IEpcisVocabulary.md +31 -0
- package/docs/reference/interfaces/IEpcisVocabularyElement.md +40 -0
- package/docs/reference/type-aliases/EpcisActionTypes.md +2 -1
- package/docs/reference/type-aliases/EpcisBizStepTypes.md +4 -1
- package/docs/reference/type-aliases/EpcisBizTransactionTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisComponentTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisContextType.md +6 -0
- package/docs/reference/type-aliases/EpcisContexts.md +5 -0
- package/docs/reference/type-aliases/EpcisDispositionTypes.md +5 -1
- package/docs/reference/type-aliases/EpcisErrorReasonTypes.md +5 -0
- package/docs/reference/type-aliases/EpcisEventTypes.md +1 -1
- package/docs/reference/type-aliases/EpcisEvents.md +6 -0
- package/docs/reference/type-aliases/EpcisMeasurementTypes.md +8 -0
- package/docs/reference/type-aliases/EpcisSensorAlertTypes.md +6 -0
- package/docs/reference/type-aliases/EpcisSourceDestTypes.md +6 -0
- package/docs/reference/variables/EpcisActionTypes.md +7 -4
- package/docs/reference/variables/EpcisBizStepTypes.md +99 -2
- package/docs/reference/variables/EpcisBizTransactionTypes.md +98 -0
- package/docs/reference/variables/EpcisComponentTypes.md +102 -0
- package/docs/reference/variables/EpcisContexts.md +19 -0
- package/docs/reference/variables/EpcisDispositionTypes.md +79 -2
- package/docs/reference/variables/EpcisErrorReasonTypes.md +21 -0
- package/docs/reference/variables/EpcisEventTypes.md +6 -6
- package/docs/reference/variables/EpcisMeasurementTypes.md +442 -0
- package/docs/reference/variables/EpcisSensorAlertTypes.md +20 -0
- package/docs/reference/variables/EpcisSourceDestTypes.md +29 -0
- package/docs/reference/variables/GS1Contexts.md +3 -3
- package/package.json +1 -1
- package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js +0 -2
- package/dist/es/models/epcis20/IEpcisBaseAggregationEvent.js.map +0 -1
- package/dist/es/models/epcis20/IEpcisEventDetails.js +0 -2
- package/dist/es/models/epcis20/IEpcisEventDetails.js.map +0 -1
- package/dist/es/models/epcis20/IEpcisSimpleLocation.js +0 -4
- package/dist/es/models/epcis20/IEpcisSimpleLocation.js.map +0 -1
- package/dist/es/models/epcis20/epcisErrorTypes.js +0 -11
- package/dist/es/models/epcis20/epcisErrorTypes.js.map +0 -1
- package/dist/es/models/epcis20/epcisEventUnionType.js +0 -2
- package/dist/es/models/epcis20/epcisEventUnionType.js.map +0 -1
- package/dist/types/models/epcis20/IEpcisBaseAggregationEvent.d.ts +0 -19
- package/dist/types/models/epcis20/IEpcisEventDetails.d.ts +0 -35
- package/dist/types/models/epcis20/IEpcisSimpleLocation.d.ts +0 -9
- package/dist/types/models/epcis20/epcisErrorTypes.d.ts +0 -11
- package/dist/types/models/epcis20/epcisEventUnionType.d.ts +0 -7
- package/docs/reference/interfaces/IAggregationEvent.md +0 -223
- package/docs/reference/interfaces/IAssociationEvent.md +0 -223
- package/docs/reference/interfaces/IBizTransaction.md +0 -19
- package/docs/reference/interfaces/IDestination.md +0 -19
- package/docs/reference/interfaces/IEpcisEventDetails.md +0 -167
- package/docs/reference/interfaces/IObjectEvent.md +0 -211
- package/docs/reference/interfaces/IQuantity.md +0 -19
- package/docs/reference/interfaces/ISensorElement.md +0 -19
- package/docs/reference/interfaces/ISensorMetadata.md +0 -35
- package/docs/reference/interfaces/ISensorReport.md +0 -27
- package/docs/reference/interfaces/ISimpleLocation.md +0 -11
- package/docs/reference/interfaces/ISource.md +0 -19
- package/docs/reference/type-aliases/EpcisErrorTypes.md +0 -5
- package/docs/reference/type-aliases/EpcisEventUnionType.md +0 -5
- package/docs/reference/variables/EpcisErrorTypes.md +0 -15
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Interface: IEpcisSensorElement
|
|
2
|
+
|
|
3
|
+
EPCIS 2.0 SensorElement grouping metadata and one or more SensorReport
|
|
4
|
+
entries.
|
|
5
|
+
|
|
6
|
+
## See
|
|
7
|
+
|
|
8
|
+
https://ref.gs1.org/epcis/SensorElement
|
|
9
|
+
|
|
10
|
+
## Extends
|
|
11
|
+
|
|
12
|
+
- `IJsonLdNodeObject`
|
|
13
|
+
|
|
14
|
+
## Indexable
|
|
15
|
+
|
|
16
|
+
\[`key`: `string`\]: `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \} \| `null` \| `undefined`
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
### sensorMetadata?
|
|
21
|
+
|
|
22
|
+
> `optional` **sensorMetadata**: [`IEpcisSensorMetadata`](IEpcisSensorMetadata.md)
|
|
23
|
+
|
|
24
|
+
(Optional) Element containing metadata attributes applicable to all
|
|
25
|
+
sensorReport entries within this sensorElement.
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### sensorReport
|
|
30
|
+
|
|
31
|
+
> **sensorReport**: [`IEpcisSensorReport`](IEpcisSensorReport.md)[]
|
|
32
|
+
|
|
33
|
+
An element containing one or several attributes that pertain to a specific
|
|
34
|
+
sensor observation.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Interface: IEpcisSensorMetadata
|
|
2
|
+
|
|
3
|
+
EPCIS 2.0 SensorMetadata describing timing, device, and processing details for
|
|
4
|
+
sensor observations.
|
|
5
|
+
|
|
6
|
+
## See
|
|
7
|
+
|
|
8
|
+
https://ref.gs1.org/epcis/SensorMetadata
|
|
9
|
+
|
|
10
|
+
## Extends
|
|
11
|
+
|
|
12
|
+
- `IJsonLdNodeObject`
|
|
13
|
+
|
|
14
|
+
## Indexable
|
|
15
|
+
|
|
16
|
+
\[`key`: `string`\]: `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \} \| `null` \| `undefined`
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
### time?
|
|
21
|
+
|
|
22
|
+
> `optional` **time**: `string`
|
|
23
|
+
|
|
24
|
+
(Optional) The actual point in time of an observation as transmitted by a
|
|
25
|
+
sensor device.
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### deviceID?
|
|
30
|
+
|
|
31
|
+
> `optional` **deviceID**: `string`
|
|
32
|
+
|
|
33
|
+
(Optional) Device from which the sensor data originates.
|
|
34
|
+
|
|
35
|
+
***
|
|
36
|
+
|
|
37
|
+
### deviceMetadata?
|
|
38
|
+
|
|
39
|
+
> `optional` **deviceMetadata**: `string`
|
|
40
|
+
|
|
41
|
+
(Optional) Storage location of an electronic document accommodating metadata
|
|
42
|
+
of the device from which the sensor data originates.
|
|
43
|
+
|
|
44
|
+
***
|
|
45
|
+
|
|
46
|
+
### rawData?
|
|
47
|
+
|
|
48
|
+
> `optional` **rawData**: `string`
|
|
49
|
+
|
|
50
|
+
(Optional) Storage/service location of the raw sensor data on which the
|
|
51
|
+
aggregated/business-oriented data contained in the sensorElement is based.
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
### startTime?
|
|
56
|
+
|
|
57
|
+
> `optional` **startTime**: `string`
|
|
58
|
+
|
|
59
|
+
(Optional) The lowest (earliest) value of a given observation period as
|
|
60
|
+
transmitted by a sensor device.
|
|
61
|
+
|
|
62
|
+
***
|
|
63
|
+
|
|
64
|
+
### endTime?
|
|
65
|
+
|
|
66
|
+
> `optional` **endTime**: `string`
|
|
67
|
+
|
|
68
|
+
(Optional) The highest (most recent) value of a given observation period, as
|
|
69
|
+
transmitted by a sensor device.
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### dataProcessingMethod?
|
|
74
|
+
|
|
75
|
+
> `optional` **dataProcessingMethod**: `string`
|
|
76
|
+
|
|
77
|
+
(Optional) Storage location of an electronic document accommodating the data
|
|
78
|
+
processing method of the contained sensor data, if applicable.
|
|
79
|
+
|
|
80
|
+
***
|
|
81
|
+
|
|
82
|
+
### bizRules?
|
|
83
|
+
|
|
84
|
+
> `optional` **bizRules**: `string`
|
|
85
|
+
|
|
86
|
+
(Optional) Storage location of an electronic document accommodating product- or
|
|
87
|
+
application-specific business rules on which basis the EPCIS event was
|
|
88
|
+
triggered.
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# Interface: IEpcisSensorReport
|
|
2
|
+
|
|
3
|
+
EPCIS 2.0 SensorReport containing measurement values and related sensor
|
|
4
|
+
observation details.
|
|
5
|
+
|
|
6
|
+
## See
|
|
7
|
+
|
|
8
|
+
https://ref.gs1.org/epcis/SensorReport
|
|
9
|
+
|
|
10
|
+
## Extends
|
|
11
|
+
|
|
12
|
+
- `IJsonLdNodeObject`
|
|
13
|
+
|
|
14
|
+
## Indexable
|
|
15
|
+
|
|
16
|
+
\[`key`: `string`\]: `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \} \| `null` \| `undefined`
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
### type
|
|
21
|
+
|
|
22
|
+
> **type**: `string`
|
|
23
|
+
|
|
24
|
+
Identifier indicating what kind of measurement the SensorReport pertains to
|
|
25
|
+
(e.g. Length, Mass, Temperature).
|
|
26
|
+
|
|
27
|
+
Use [EpcisMeasurementTypes](../variables/EpcisMeasurementTypes.md) for known values.
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### exception?
|
|
32
|
+
|
|
33
|
+
> `optional` **exception**: `string`
|
|
34
|
+
|
|
35
|
+
A sensor alert value (alarm condition or error condition); extra details may
|
|
36
|
+
be provided via booleanValue or uriValue.
|
|
37
|
+
|
|
38
|
+
Use [EpcisSensorAlertTypes](../variables/EpcisSensorAlertTypes.md) for known values.
|
|
39
|
+
|
|
40
|
+
***
|
|
41
|
+
|
|
42
|
+
### deviceID?
|
|
43
|
+
|
|
44
|
+
> `optional` **deviceID**: `string`
|
|
45
|
+
|
|
46
|
+
(Optional) Device from which the sensor data originates.
|
|
47
|
+
|
|
48
|
+
***
|
|
49
|
+
|
|
50
|
+
### deviceMetadata?
|
|
51
|
+
|
|
52
|
+
> `optional` **deviceMetadata**: `string`
|
|
53
|
+
|
|
54
|
+
(Optional) Storage location of an electronic document accommodating metadata
|
|
55
|
+
of the device from which the sensor data originates.
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### rawData?
|
|
60
|
+
|
|
61
|
+
> `optional` **rawData**: `string`
|
|
62
|
+
|
|
63
|
+
(Optional) Storage/service location of the raw sensor data on which the
|
|
64
|
+
aggregated/business-oriented data contained in the sensorElement is based.
|
|
65
|
+
|
|
66
|
+
***
|
|
67
|
+
|
|
68
|
+
### dataProcessingMethod?
|
|
69
|
+
|
|
70
|
+
> `optional` **dataProcessingMethod**: `string`
|
|
71
|
+
|
|
72
|
+
(Optional) Storage location of an electronic document accommodating the data
|
|
73
|
+
processing method of the contained sensor data, if applicable.
|
|
74
|
+
|
|
75
|
+
***
|
|
76
|
+
|
|
77
|
+
### bizRules?
|
|
78
|
+
|
|
79
|
+
> `optional` **bizRules**: `string`
|
|
80
|
+
|
|
81
|
+
(Optional) Storage location of an electronic document accommodating product- or
|
|
82
|
+
application-specific business rules on which basis the EPCIS event was
|
|
83
|
+
triggered.
|
|
84
|
+
|
|
85
|
+
***
|
|
86
|
+
|
|
87
|
+
### time?
|
|
88
|
+
|
|
89
|
+
> `optional` **time**: `string`
|
|
90
|
+
|
|
91
|
+
(Optional) The actual point in time of an observation as transmitted by a
|
|
92
|
+
sensor device.
|
|
93
|
+
|
|
94
|
+
***
|
|
95
|
+
|
|
96
|
+
### microorganism?
|
|
97
|
+
|
|
98
|
+
> `optional` **microorganism**: `string`
|
|
99
|
+
|
|
100
|
+
(Optional) Identifies a specific microorganism species; SHALL NOT be present
|
|
101
|
+
if chemicalSubstance is included.
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
### chemicalSubstance?
|
|
106
|
+
|
|
107
|
+
> `optional` **chemicalSubstance**: `string`
|
|
108
|
+
|
|
109
|
+
(Optional) Identifies a specific chemical substance; SHALL NOT be present
|
|
110
|
+
together with microorganism.
|
|
111
|
+
|
|
112
|
+
***
|
|
113
|
+
|
|
114
|
+
### coordinateReferenceSystem?
|
|
115
|
+
|
|
116
|
+
> `optional` **coordinateReferenceSystem**: `string`
|
|
117
|
+
|
|
118
|
+
(Optional) A URI identifying the Coordinate Reference System; if omitted,
|
|
119
|
+
WGS-84 is assumed.
|
|
120
|
+
|
|
121
|
+
***
|
|
122
|
+
|
|
123
|
+
### value?
|
|
124
|
+
|
|
125
|
+
> `optional` **value**: `number`
|
|
126
|
+
|
|
127
|
+
(Optional) Value of the property specified by the type; if a time field is
|
|
128
|
+
present, it pertains to that time, otherwise to the eventTime.
|
|
129
|
+
|
|
130
|
+
***
|
|
131
|
+
|
|
132
|
+
### component?
|
|
133
|
+
|
|
134
|
+
> `optional` **component**: `string`
|
|
135
|
+
|
|
136
|
+
(Optional) Vector component identifier for measurements with magnitude and
|
|
137
|
+
direction (e.g. force, pressure); repeat SensorReport per component.
|
|
138
|
+
|
|
139
|
+
***
|
|
140
|
+
|
|
141
|
+
### stringValue?
|
|
142
|
+
|
|
143
|
+
> `optional` **stringValue**: `string`
|
|
144
|
+
|
|
145
|
+
(Optional) The String value of the property specified by the type as part of
|
|
146
|
+
the sensorReport element.
|
|
147
|
+
|
|
148
|
+
***
|
|
149
|
+
|
|
150
|
+
### booleanValue?
|
|
151
|
+
|
|
152
|
+
> `optional` **booleanValue**: `boolean`
|
|
153
|
+
|
|
154
|
+
(Optional) Similar to stringValue, for Boolean value.
|
|
155
|
+
|
|
156
|
+
***
|
|
157
|
+
|
|
158
|
+
### hexBinaryValue?
|
|
159
|
+
|
|
160
|
+
> `optional` **hexBinaryValue**: `string`
|
|
161
|
+
|
|
162
|
+
(Optional) Similar to stringValue, for HexBinary value.
|
|
163
|
+
|
|
164
|
+
***
|
|
165
|
+
|
|
166
|
+
### uriValue?
|
|
167
|
+
|
|
168
|
+
> `optional` **uriValue**: `string`
|
|
169
|
+
|
|
170
|
+
(Optional) Similar to stringValue, for a URI value.
|
|
171
|
+
|
|
172
|
+
***
|
|
173
|
+
|
|
174
|
+
### minValue?
|
|
175
|
+
|
|
176
|
+
> `optional` **minValue**: `number`
|
|
177
|
+
|
|
178
|
+
(Optional) Minimum quantitative value of the property specified by type, as
|
|
179
|
+
part of the sensorReport element.
|
|
180
|
+
|
|
181
|
+
***
|
|
182
|
+
|
|
183
|
+
### maxValue?
|
|
184
|
+
|
|
185
|
+
> `optional` **maxValue**: `number`
|
|
186
|
+
|
|
187
|
+
(Optional) Similar to minValue, for the maximum quantitative value.
|
|
188
|
+
|
|
189
|
+
***
|
|
190
|
+
|
|
191
|
+
### meanValue?
|
|
192
|
+
|
|
193
|
+
> `optional` **meanValue**: `number`
|
|
194
|
+
|
|
195
|
+
(Optional) The arithmetic mean of the values of the property specified by the
|
|
196
|
+
type as part of the sensorReport element.
|
|
197
|
+
|
|
198
|
+
***
|
|
199
|
+
|
|
200
|
+
### sDev?
|
|
201
|
+
|
|
202
|
+
> `optional` **sDev**: `number`
|
|
203
|
+
|
|
204
|
+
(Optional) Standard deviation of the values of the property specified by type,
|
|
205
|
+
as part of the sensorReport element.
|
|
206
|
+
|
|
207
|
+
***
|
|
208
|
+
|
|
209
|
+
### percRank?
|
|
210
|
+
|
|
211
|
+
> `optional` **percRank**: `number`
|
|
212
|
+
|
|
213
|
+
(Optional) Percentile rank, signifying the percentage of observations in a
|
|
214
|
+
frequency distribution that are equal to or lower than it.
|
|
215
|
+
|
|
216
|
+
***
|
|
217
|
+
|
|
218
|
+
### percValue?
|
|
219
|
+
|
|
220
|
+
> `optional` **percValue**: `number`
|
|
221
|
+
|
|
222
|
+
(Optional) The percentile value, at or below which a given percentage of
|
|
223
|
+
observations may be found.
|
|
224
|
+
|
|
225
|
+
***
|
|
226
|
+
|
|
227
|
+
### uom?
|
|
228
|
+
|
|
229
|
+
> `optional` **uom**: `string`
|
|
230
|
+
|
|
231
|
+
(Optional) Unit of measure by which the specified value(s) of the property
|
|
232
|
+
specified by type should be interpreted.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Interface: IEpcisSource
|
|
2
|
+
|
|
3
|
+
EPCIS 2.0 Source element identifying the origin of a business transfer.
|
|
4
|
+
|
|
5
|
+
## See
|
|
6
|
+
|
|
7
|
+
https://ref.gs1.org/epcis/SourceOrDestination
|
|
8
|
+
|
|
9
|
+
## Extends
|
|
10
|
+
|
|
11
|
+
- `IJsonLdNodeObject`
|
|
12
|
+
|
|
13
|
+
## Indexable
|
|
14
|
+
|
|
15
|
+
\[`key`: `string`\]: `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \} \| `null` \| `undefined`
|
|
16
|
+
|
|
17
|
+
## Properties
|
|
18
|
+
|
|
19
|
+
### type
|
|
20
|
+
|
|
21
|
+
> **type**: `string`
|
|
22
|
+
|
|
23
|
+
Identifier indicating the role of SourceOrDestination in a transfer (Owning
|
|
24
|
+
Party, Possessing Party, or Location).
|
|
25
|
+
|
|
26
|
+
Use [EpcisSourceDestTypes](../variables/EpcisSourceDestTypes.md) for known values.
|
|
27
|
+
|
|
28
|
+
***
|
|
29
|
+
|
|
30
|
+
### source
|
|
31
|
+
|
|
32
|
+
> **source**: `string`
|
|
33
|
+
|
|
34
|
+
Identifier that denotes the specific source or destination of a business
|
|
35
|
+
transfer; must correlate with the selected type.
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
# Interface: IEpcisTransactionEvent
|
|
2
|
+
|
|
3
|
+
EPCIS 2.0 TransactionEvent relating objects or quantities to one or more
|
|
4
|
+
business transactions, optionally with a parent identifier.
|
|
5
|
+
|
|
6
|
+
## See
|
|
7
|
+
|
|
8
|
+
https://ref.gs1.org/epcis/TransactionEvent
|
|
9
|
+
|
|
10
|
+
## Extends
|
|
11
|
+
|
|
12
|
+
- [`IEpcisEvent`](IEpcisEvent.md)
|
|
13
|
+
|
|
14
|
+
## Indexable
|
|
15
|
+
|
|
16
|
+
\[`key`: `string`\]: `string` \| `number` \| `boolean` \| `string`[] \| `IJsonLdContextDefinition` \| `IJsonLdNodeObject` \| `IJsonLdGraphObject` \| `object` & `object` \| `object` & `object` \| `object` & `object` \| `IJsonLdListObject` \| `IJsonLdSetObject` \| `IJsonLdNodePrimitive`[] \| `IJsonLdLanguageMap` \| `IJsonLdIndexMap` \| `IJsonLdNodeObject`[] \| `IJsonLdIdMap` \| `IJsonLdTypeMap` \| `IJsonLdContextDefinitionElement`[] \| `IJsonLdJsonObject` \| `IJsonLdJsonObject`[] \| \{\[`key`: `string`\]: `string`; \} \| `null` \| `undefined`
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
### @context
|
|
21
|
+
|
|
22
|
+
> **@context**: [`EpcisContextType`](../type-aliases/EpcisContextType.md)
|
|
23
|
+
|
|
24
|
+
JSON-LD @context.
|
|
25
|
+
|
|
26
|
+
#### Inherited from
|
|
27
|
+
|
|
28
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`@context`](IEpcisEvent.md#context)
|
|
29
|
+
|
|
30
|
+
***
|
|
31
|
+
|
|
32
|
+
### eventID?
|
|
33
|
+
|
|
34
|
+
> `optional` **eventID**: `string`
|
|
35
|
+
|
|
36
|
+
URI identifier of a specific EPCIS event (alias of id in JSON or XML).
|
|
37
|
+
|
|
38
|
+
#### Inherited from
|
|
39
|
+
|
|
40
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`eventID`](IEpcisEvent.md#eventid)
|
|
41
|
+
|
|
42
|
+
***
|
|
43
|
+
|
|
44
|
+
### certificationInfo?
|
|
45
|
+
|
|
46
|
+
> `optional` **certificationInfo**: `string` \| `string`[]
|
|
47
|
+
|
|
48
|
+
(Optional) CertificationDetails relevant for Objects, Places and/or
|
|
49
|
+
Organizations mentioned in this Event.
|
|
50
|
+
|
|
51
|
+
#### Inherited from
|
|
52
|
+
|
|
53
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`certificationInfo`](IEpcisEvent.md#certificationinfo)
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### errorDeclaration?
|
|
58
|
+
|
|
59
|
+
> `optional` **errorDeclaration**: [`IEpcisErrorDeclaration`](IEpcisErrorDeclaration.md)
|
|
60
|
+
|
|
61
|
+
Error declaration.
|
|
62
|
+
|
|
63
|
+
#### Inherited from
|
|
64
|
+
|
|
65
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`errorDeclaration`](IEpcisEvent.md#errordeclaration)
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
69
|
+
### eventTime
|
|
70
|
+
|
|
71
|
+
> **eventTime**: `string`
|
|
72
|
+
|
|
73
|
+
The date and time at which the EPCIS Capturing Applications asserts the event
|
|
74
|
+
occurred.
|
|
75
|
+
|
|
76
|
+
#### Inherited from
|
|
77
|
+
|
|
78
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`eventTime`](IEpcisEvent.md#eventtime)
|
|
79
|
+
|
|
80
|
+
***
|
|
81
|
+
|
|
82
|
+
### eventTimeZoneOffset
|
|
83
|
+
|
|
84
|
+
> **eventTimeZoneOffset**: `string`
|
|
85
|
+
|
|
86
|
+
The time zone offset in effect at the time and place the event occurred,
|
|
87
|
+
expressed as an offset from UTC.
|
|
88
|
+
|
|
89
|
+
#### Inherited from
|
|
90
|
+
|
|
91
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`eventTimeZoneOffset`](IEpcisEvent.md#eventtimezoneoffset)
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### recordTime?
|
|
96
|
+
|
|
97
|
+
> `optional` **recordTime**: `string`
|
|
98
|
+
|
|
99
|
+
(Optional) The date and time at which this event was recorded by an EPCIS
|
|
100
|
+
Repository; ignored at capture and present on query results.
|
|
101
|
+
|
|
102
|
+
#### Inherited from
|
|
103
|
+
|
|
104
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`recordTime`](IEpcisEvent.md#recordtime)
|
|
105
|
+
|
|
106
|
+
***
|
|
107
|
+
|
|
108
|
+
### type
|
|
109
|
+
|
|
110
|
+
> **type**: `"TransactionEvent"`
|
|
111
|
+
|
|
112
|
+
Fixed to TransactionEvent.
|
|
113
|
+
|
|
114
|
+
#### Overrides
|
|
115
|
+
|
|
116
|
+
[`IEpcisEvent`](IEpcisEvent.md).[`type`](IEpcisEvent.md#type)
|
|
117
|
+
|
|
118
|
+
***
|
|
119
|
+
|
|
120
|
+
### bizTransactionList
|
|
121
|
+
|
|
122
|
+
> **bizTransactionList**: [`IEpcisBizTransaction`](IEpcisBizTransaction.md)[]
|
|
123
|
+
|
|
124
|
+
Business transaction list (required by schema).
|
|
125
|
+
|
|
126
|
+
***
|
|
127
|
+
|
|
128
|
+
### parentID?
|
|
129
|
+
|
|
130
|
+
> `optional` **parentID**: `string`
|
|
131
|
+
|
|
132
|
+
(Optional when action is OBSERVE, required otherwise) Identifier of the parent
|
|
133
|
+
of the aggregation or association; use the pure identity URI when the parent is
|
|
134
|
+
an EPC.
|
|
135
|
+
|
|
136
|
+
***
|
|
137
|
+
|
|
138
|
+
### epcList?
|
|
139
|
+
|
|
140
|
+
> `optional` **epcList**: `string`[]
|
|
141
|
+
|
|
142
|
+
(Optional) An unordered list of one or more EPCs naming specific objects to
|
|
143
|
+
which the event pertained.
|
|
144
|
+
|
|
145
|
+
***
|
|
146
|
+
|
|
147
|
+
### quantityList?
|
|
148
|
+
|
|
149
|
+
> `optional` **quantityList**: [`IEpcisQuantity`](IEpcisQuantity.md)[]
|
|
150
|
+
|
|
151
|
+
An unordered list of one or more QuantityElements identifying (at the class
|
|
152
|
+
level) contained objects.
|
|
153
|
+
|
|
154
|
+
***
|
|
155
|
+
|
|
156
|
+
### action
|
|
157
|
+
|
|
158
|
+
> **action**: [`EpcisActionTypes`](../type-aliases/EpcisActionTypes.md)
|
|
159
|
+
|
|
160
|
+
How this event relates to the lifecycle of the EPCs named in this event.
|
|
161
|
+
|
|
162
|
+
***
|
|
163
|
+
|
|
164
|
+
### bizStep?
|
|
165
|
+
|
|
166
|
+
> `optional` **bizStep**: `string`
|
|
167
|
+
|
|
168
|
+
(Optional) The business step of which this event was a part.
|
|
169
|
+
|
|
170
|
+
***
|
|
171
|
+
|
|
172
|
+
### disposition?
|
|
173
|
+
|
|
174
|
+
> `optional` **disposition**: `string`
|
|
175
|
+
|
|
176
|
+
(Optional) The business condition of the objects associated with the EPCs,
|
|
177
|
+
presumed to hold true until contradicted by a subsequent event.
|
|
178
|
+
|
|
179
|
+
***
|
|
180
|
+
|
|
181
|
+
### readPoint?
|
|
182
|
+
|
|
183
|
+
> `optional` **readPoint**: [`IEpcisLocation`](IEpcisLocation.md)
|
|
184
|
+
|
|
185
|
+
(Optional) The read point at which the event took place.
|
|
186
|
+
|
|
187
|
+
***
|
|
188
|
+
|
|
189
|
+
### bizLocation?
|
|
190
|
+
|
|
191
|
+
> `optional` **bizLocation**: [`IEpcisLocation`](IEpcisLocation.md)
|
|
192
|
+
|
|
193
|
+
(Optional) The business location where the objects associated with the EPCs
|
|
194
|
+
may be found, until contradicted by a subsequent event.
|
|
195
|
+
|
|
196
|
+
***
|
|
197
|
+
|
|
198
|
+
### sourceList?
|
|
199
|
+
|
|
200
|
+
> `optional` **sourceList**: [`IEpcisSource`](IEpcisSource.md)[]
|
|
201
|
+
|
|
202
|
+
(Optional) Unordered list of Source elements that provide context about the
|
|
203
|
+
originating endpoint of a business transfer of which this event is a part.
|
|
204
|
+
|
|
205
|
+
***
|
|
206
|
+
|
|
207
|
+
### destinationList?
|
|
208
|
+
|
|
209
|
+
> `optional` **destinationList**: [`IEpcisDestination`](IEpcisDestination.md)[]
|
|
210
|
+
|
|
211
|
+
(Optional) Unordered list of Destination elements that provide context about the
|
|
212
|
+
terminating endpoint of a business transfer of which this event is a part.
|
|
213
|
+
|
|
214
|
+
***
|
|
215
|
+
|
|
216
|
+
### sensorElementList?
|
|
217
|
+
|
|
218
|
+
> `optional` **sensorElementList**: [`IEpcisSensorElement`](IEpcisSensorElement.md)[]
|
|
219
|
+
|
|
220
|
+
(Optional) Connects event to one or more SensorElements.
|