@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.
- package/README.md +2 -2
- package/dist/es/dataTypes/epcisDataTypes.js +69 -0
- package/dist/es/dataTypes/epcisDataTypes.js.map +1 -0
- package/dist/es/dataTypes/gs1DataTypes.js +3 -3
- package/dist/es/dataTypes/gs1DataTypes.js.map +1 -1
- package/dist/es/entities/gs1Location.js +2 -3
- package/dist/es/entities/gs1Location.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/{IEpcisSimpleLocation.js → IEpcisIlmd.js} +1 -1
- package/dist/es/models/epcis20/IEpcisIlmd.js.map +1 -0
- package/dist/es/models/epcis20/IEpcisLocation.js +4 -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.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.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 +27 -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 +8 -2
- package/dist/es/models/gs1/gs1Contexts.js.map +1 -1
- package/dist/es/schemas/EpcisAggregationEvent.json +102 -0
- package/dist/es/schemas/EpcisAssociationEvent.json +103 -0
- package/dist/es/schemas/EpcisContextType.json +30 -0
- package/dist/es/schemas/EpcisDocument.json +68 -0
- package/dist/es/schemas/EpcisObjectEvent.json +106 -0
- package/dist/es/schemas/EpcisQueryDocument.json +38 -0
- package/dist/es/schemas/EpcisTransactionEvent.json +103 -0
- package/dist/es/schemas/EpcisTransformationEvent.json +119 -0
- package/dist/es/utils/gs1Is.js +3 -2
- package/dist/es/utils/gs1Is.js.map +1 -1
- package/dist/types/dataTypes/epcisDataTypes.d.ts +13 -0
- package/dist/types/dataTypes/gs1DataTypes.d.ts +1 -1
- package/dist/types/entities/gs1Location.d.ts +2 -3
- 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 +11 -5
- package/dist/types/models/epcis20/IEpcisDestination.d.ts +12 -5
- package/dist/types/models/epcis20/IEpcisDocument.d.ts +33 -6
- package/dist/types/models/epcis20/IEpcisErrorDeclaration.d.ts +24 -0
- package/dist/types/models/epcis20/IEpcisEvent.d.ts +22 -21
- package/dist/types/models/epcis20/IEpcisHeader.d.ts +17 -0
- package/dist/types/models/epcis20/IEpcisIlmd.d.ts +7 -0
- package/dist/types/models/epcis20/IEpcisLocation.d.ts +11 -0
- package/dist/types/models/epcis20/IEpcisObjectEvent.d.ts +72 -12
- package/dist/types/models/epcis20/IEpcisPersistentDisposition.d.ts +16 -0
- package/dist/types/models/epcis20/IEpcisQuantity.d.ts +13 -5
- package/dist/types/models/epcis20/IEpcisQuery.d.ts +2 -1
- package/dist/types/models/epcis20/IEpcisQueryDocument.d.ts +8 -29
- package/dist/types/models/epcis20/IEpcisQueryDocumentBody.d.ts +11 -0
- package/dist/types/models/epcis20/IEpcisQueryResults.d.ts +19 -0
- package/dist/types/models/epcis20/IEpcisQueryResultsBody.d.ts +16 -0
- package/dist/types/models/epcis20/IEpcisSensorElement.d.ts +12 -8
- package/dist/types/models/epcis20/IEpcisSensorMetadata.d.ts +36 -10
- package/dist/types/models/epcis20/IEpcisSensorReport.d.ts +121 -8
- package/dist/types/models/epcis20/IEpcisSource.d.ts +11 -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 +15 -0
- package/dist/types/models/epcis20/IEpcisVocabularyElement.d.ts +20 -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 +8 -0
- package/dist/types/models/epcis20/epcisContexts.d.ts +27 -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 +8 -2
- package/dist/types/utils/gs1Is.d.ts +3 -2
- package/docs/changelog.md +535 -60
- package/docs/examples.md +58 -1
- package/docs/reference/classes/EpcisDataTypes.md +37 -0
- package/docs/reference/classes/Gs1DataTypes.md +5 -2
- package/docs/reference/classes/Gs1Identifiers.md +1 -1
- package/docs/reference/classes/Gs1IdentifiersValidation.md +7 -7
- package/docs/reference/classes/Gs1Is.md +8 -4
- package/docs/reference/classes/Gs1Location.md +34 -32
- package/docs/reference/classes/Gs1Validation.md +1 -1
- package/docs/reference/index.md +40 -15
- package/docs/reference/interfaces/IEPCClassUri.md +3 -3
- package/docs/reference/interfaces/IEpcisAggregationEvent.md +219 -0
- package/docs/reference/interfaces/IEpcisAssociationEvent.md +218 -0
- package/docs/reference/interfaces/IEpcisAttribute.md +23 -0
- package/docs/reference/interfaces/IEpcisBizTransaction.md +27 -0
- package/docs/reference/interfaces/IEpcisDestination.md +28 -0
- package/docs/reference/interfaces/IEpcisDocument.md +60 -8
- package/docs/reference/interfaces/IEpcisErrorDeclaration.md +36 -0
- package/docs/reference/interfaces/IEpcisEvent.md +37 -33
- package/docs/reference/interfaces/IEpcisHeader.md +23 -0
- package/docs/reference/interfaces/IEpcisIlmd.md +8 -0
- package/docs/reference/interfaces/IEpcisLocation.md +16 -0
- package/docs/reference/interfaces/IEpcisObjectEvent.md +224 -0
- package/docs/reference/interfaces/IEpcisPersistentDisposition.md +24 -0
- package/docs/reference/interfaces/IEpcisQuantity.md +34 -0
- package/docs/reference/interfaces/IEpcisQuery.md +6 -2
- package/docs/reference/interfaces/IEpcisQueryDocument.md +17 -43
- package/docs/reference/interfaces/IEpcisQueryDocumentBody.md +15 -0
- package/docs/reference/interfaces/IEpcisQueryResults.md +31 -0
- package/docs/reference/interfaces/IEpcisQueryResultsBody.md +23 -0
- package/docs/reference/interfaces/IEpcisSensorElement.md +26 -0
- package/docs/reference/interfaces/IEpcisSensorMetadata.md +80 -0
- package/docs/reference/interfaces/IEpcisSensorReport.md +224 -0
- package/docs/reference/interfaces/IEpcisSource.md +27 -0
- package/docs/reference/interfaces/IEpcisTransactionEvent.md +216 -0
- package/docs/reference/interfaces/IEpcisTransformationEvent.md +245 -0
- package/docs/reference/interfaces/IEpcisVocabulary.md +23 -0
- package/docs/reference/interfaces/IEpcisVocabularyElement.md +32 -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 +10 -7
- package/docs/reference/variables/EpcisBizStepTypes.md +140 -43
- package/docs/reference/variables/EpcisBizTransactionTypes.md +98 -0
- package/docs/reference/variables/EpcisComponentTypes.md +102 -0
- package/docs/reference/variables/EpcisContexts.md +33 -0
- package/docs/reference/variables/EpcisDispositionTypes.md +112 -35
- package/docs/reference/variables/EpcisErrorReasonTypes.md +21 -0
- package/docs/reference/variables/EpcisEventTypes.md +11 -11
- 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 +11 -3
- package/docs/reference/variables/Gs1IdTypes.md +20 -20
- package/docs/reference/variables/Gs1IdentifierTypes.md +4 -4
- package/docs/reference/variables/Gs1SubSiteAttributes.md +33 -33
- package/docs/reference/variables/Gs1SubSiteTypes.md +16 -16
- package/docs/reference/variables/Gs1Types.md +1 -1
- package/package.json +9 -9
- 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.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"epcisDispositionTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisDispositionTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB
|
|
1
|
+
{"version":3,"file":"epcisDispositionTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisDispositionTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB;;;;;;GAMG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;;OAGG;IACH,eAAe,EAAE,kBAAkB;IAEnC;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;;OAGG;IACH,UAAU,EAAE,aAAa;IAEzB;;OAEG;IACH,SAAS,EAAE,YAAY;IAEvB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;;OAGG;IACH,eAAe,EAAE,mBAAmB;IAEpC;;OAEG;IACH,gBAAgB,EAAE,oBAAoB;IAEtC;;;OAGG;IACH,kBAAkB,EAAE,qBAAqB;IAEzC;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,UAAU,EAAE,aAAa;IAEzB;;;OAGG;IACH,QAAQ,EAAE,UAAU;IAEpB;;OAEG;IACH,kBAAkB,EAAE,qBAAqB;IAEzC;;OAEG;IACH,qBAAqB,EAAE,yBAAyB;IAEhD;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;;OAGG;IACH,oBAAoB,EAAE,uBAAuB;IAE7C;;;OAGG;IACH,oBAAoB,EAAE,uBAAuB;IAE7C;;OAEG;IACH,UAAU,EAAE,YAAY;IAExB;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;OAEG;IACH,gBAAgB,EAAE,mBAAmB;IAErC;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;OAEG;IACH,gBAAgB,EAAE,mBAAmB;IAErC;;OAEG;IACH,gBAAgB,EAAE,mBAAmB;IAErC;;OAEG;IACH,aAAa,EAAE,gBAAgB;IAE/B;;;OAGG;IACH,WAAW,EAAE,aAAa;CACjB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * Supported EPCIS 2.0 `disposition` values from the GS1 Core Business\n * Vocabulary (CBV).\n *\n * Use the union type `EpcisDispositionTypes` to restrict a field to known CBV\n * values.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisDispositionTypes = {\n\t/**\n\t * A commissioned object has just been introduced into the supply chain.\n\t */\n\tActive: \"active\",\n\n\t/**\n\t * Object has been loaded onto a container, the doors closed, and the shipment\n\t * sealed.\n\t */\n\tContainerClosed: \"container_closed\",\n\n\t/**\n\t * Object is impaired in usefulness or value due to a defect.\n\t */\n\tDamaged: \"damaged\",\n\n\t/**\n\t * Object has been fully rendered non-usable.\n\t */\n\tDestroyed: \"destroyed\",\n\n\t/**\n\t * A full quantity of product is distributed to a consumer.\n\t */\n\tDispensed: \"dispensed\",\n\n\t/**\n\t * Object has been returned for disposal.\n\t */\n\tDisposed: \"disposed\",\n\n\t/**\n\t * An instance-level identifier has been written to a barcode or RFID tag, but\n\t * not yet commissioned.\n\t */\n\tEncoded: \"encoded\",\n\n\t/**\n\t * Object's expiration date is in the past.\n\t */\n\tExpired: \"expired\",\n\n\t/**\n\t * Optional disposition for objects proceeding through points in the supply\n\t * chain.\n\t */\n\tInProgress: \"in_progress\",\n\n\t/**\n\t * Object is being shipped between two trading partners.\n\t */\n\tInTransit: \"in_transit\",\n\n\t/**\n\t * Decommissioned object that may be reintroduced to the supply chain.\n\t */\n\tInactive: \"inactive\",\n\n\t/**\n\t * No pedigree match was found during validation, so the product is quarantined\n\t * for investigation.\n\t */\n\tNoPedigreeMatch: \"no_pedigree_match\",\n\n\t/**\n\t * Object cannot be sold to a customer.\n\t */\n\tNonSellableOther: \"non_sellable_other\",\n\n\t/**\n\t * A portion of a product is distributed to a customer while additional product\n\t * is retained.\n\t */\n\tPartiallyDispensed: \"partially_dispensed\",\n\n\t/**\n\t * Object is non-sellable because of public safety reasons.\n\t */\n\tRecalled: \"recalled\",\n\n\t/**\n\t * Instance-level identifier has been allocated for a third party.\n\t */\n\tReserved: \"reserved\",\n\n\t/**\n\t * Product has been purchased by a customer.\n\t */\n\tRetailSold: \"retail_sold\",\n\n\t/**\n\t * Object has been sent or brought back for various reasons; it may or may not\n\t * be sellable.\n\t */\n\tReturned: \"returned\",\n\n\t/**\n\t * Product can be sold as is and a customer can access it for purchase.\n\t */\n\tSellableAccessible: \"sellable_accessible\",\n\n\t/**\n\t * Product can be sold as is, but a customer cannot access it for purchase.\n\t */\n\tSellableNotAccessible: \"sellable_not_accessible\",\n\n\t/**\n\t * An object has been taken without permission or right.\n\t */\n\tStolen: \"stolen\",\n\n\t/**\n\t * An object's condition is not known.\n\t */\n\tUnknown: \"unknown\",\n\n\t/**\n\t * Object has been returned to service or the supply chain after repair.\n\t */\n\tAvailable: \"available\",\n\n\t/**\n\t * Explicitly indicates verified integrity of an aggregation when children are\n\t * unpacked or verified.\n\t */\n\tCompletenessVerified: \"completeness_verified\",\n\n\t/**\n\t * Indicates inferred integrity of an aggregation based on upstream aggregation\n\t * information.\n\t */\n\tCompletenessInferred: \"completeness_inferred\",\n\n\t/**\n\t * Outcome of a successful inspection in an inspecting or repairing step.\n\t */\n\tConformant: \"conformant\",\n\n\t/**\n\t * Container doors have been opened or a shipment seal has been broken.\n\t */\n\tContainerOpen: \"container_open\",\n\n\t/**\n\t * Instance-level identifiers do not match what was expected.\n\t */\n\tMismatchInstance: \"mismatch_instance\",\n\n\t/**\n\t * Class-level identifiers do not match what was expected.\n\t */\n\tMismatchClass: \"mismatch_class\",\n\n\t/**\n\t * Quantities do not match what was expected.\n\t */\n\tMismatchQuantity: \"mismatch_quantity\",\n\n\t/**\n\t * Components or assets must be replaced to ensure functional requirements.\n\t */\n\tNeedsReplacement: \"needs_replacement\",\n\n\t/**\n\t * Outcome of an unsuccessful inspection in an inspecting or repairing step.\n\t */\n\tNonConformant: \"non_conformant\",\n\n\t/**\n\t * Object has been removed from service or the supply chain, for example pending\n\t * repair.\n\t */\n\tUnavailable: \"unavailable\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `disposition` values from the GS1 Core Business\n * Vocabulary (CBV).\n *\n * Use the union type `EpcisDispositionTypes` to restrict a field to known CBV\n * values.\n */\nexport type EpcisDispositionTypes =\n\t(typeof EpcisDispositionTypes)[keyof typeof EpcisDispositionTypes];\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/* cSpell:disable */
|
|
4
|
+
/**
|
|
5
|
+
* Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.
|
|
6
|
+
*/
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
+
export const EpcisErrorReasonTypes = {
|
|
9
|
+
/**
|
|
10
|
+
* Prior event is erroneous because it did not actually occur; no corrective
|
|
11
|
+
* events exist.
|
|
12
|
+
*/
|
|
13
|
+
DidNotOccur: "did_not_occur",
|
|
14
|
+
/**
|
|
15
|
+
* Prior event has incorrect data and may be corrected by subsequent linked
|
|
16
|
+
* events.
|
|
17
|
+
*/
|
|
18
|
+
IncorrectData: "incorrect_data"
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=epcisErrorReasonTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisErrorReasonTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisErrorReasonTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC;;;OAGG;IACH,WAAW,EAAE,eAAe;IAE5B;;;OAGG;IACH,aAAa,EAAE,gBAAgB;CACtB,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisErrorReasonTypes = {\n\t/**\n\t * Prior event is erroneous because it did not actually occur; no corrective\n\t * events exist.\n\t */\n\tDidNotOccur: \"did_not_occur\",\n\n\t/**\n\t * Prior event has incorrect data and may be corrected by subsequent linked\n\t * events.\n\t */\n\tIncorrectData: \"incorrect_data\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `error-reason` values from the GS1 EPCIS JSON Schema.\n */\nexport type EpcisErrorReasonTypes =\n\t(typeof EpcisErrorReasonTypes)[keyof typeof EpcisErrorReasonTypes];\n"]}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
// Copyright 2024 IOTA Stiftung.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0.
|
|
3
3
|
/**
|
|
4
|
-
* EPCIS 2.0 event
|
|
4
|
+
* EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.
|
|
5
5
|
*/
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
7
|
export const EpcisEventTypes = {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Event that observes one or more instance- or class-level objects.
|
|
10
10
|
*/
|
|
11
11
|
ObjectEvent: "ObjectEvent",
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Event recording child objects aggregated under a parent identifier.
|
|
14
14
|
*/
|
|
15
15
|
AggregationEvent: "AggregationEvent",
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Event recording parent/child associations without implying containment.
|
|
18
18
|
*/
|
|
19
19
|
AssociationEvent: "AssociationEvent",
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Event recording how inputs are transformed into outputs.
|
|
22
22
|
*/
|
|
23
23
|
TransformationEvent: "TransformationEvent",
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Event linking objects or quantities to business transactions.
|
|
26
26
|
*/
|
|
27
27
|
TransactionEvent: "TransactionEvent"
|
|
28
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"epcisEventTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisEventTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B;;OAEG;IACH,WAAW,EAAE,aAAa;IAE1B;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;CAC3B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS 2.0 event
|
|
1
|
+
{"version":3,"file":"epcisEventTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisEventTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B;;OAEG;IACH,WAAW,EAAE,aAAa;IAE1B;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;CAC3B,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisEventTypes = {\n\t/**\n\t * Event that observes one or more instance- or class-level objects.\n\t */\n\tObjectEvent: \"ObjectEvent\",\n\n\t/**\n\t * Event recording child objects aggregated under a parent identifier.\n\t */\n\tAggregationEvent: \"AggregationEvent\",\n\n\t/**\n\t * Event recording parent/child associations without implying containment.\n\t */\n\tAssociationEvent: \"AssociationEvent\",\n\n\t/**\n\t * Event recording how inputs are transformed into outputs.\n\t */\n\tTransformationEvent: \"TransformationEvent\",\n\n\t/**\n\t * Event linking objects or quantities to business transactions.\n\t */\n\tTransactionEvent: \"TransactionEvent\"\n} as const;\n\n/**\n * EPCIS 2.0 event type identifiers used in EPCIS JSON and XML documents.\n */\nexport type EpcisEventTypes = (typeof EpcisEventTypes)[keyof typeof EpcisEventTypes];\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisEvents.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisEvents.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IEpcisAggregationEvent } from \"./IEpcisAggregationEvent.js\";\nimport type { IEpcisAssociationEvent } from \"./IEpcisAssociationEvent.js\";\nimport type { IEpcisEvent } from \"./IEpcisEvent.js\";\nimport type { IEpcisObjectEvent } from \"./IEpcisObjectEvent.js\";\nimport type { IEpcisTransactionEvent } from \"./IEpcisTransactionEvent.js\";\nimport type { IEpcisTransformationEvent } from \"./IEpcisTransformationEvent.js\";\n\n/**\n * Discriminated union covering all EPCIS 2.0 event interfaces used in this\n * package.\n */\nexport type EpcisEvents =\n\t| IEpcisObjectEvent\n\t| IEpcisAssociationEvent\n\t| IEpcisAggregationEvent\n\t| IEpcisTransactionEvent\n\t| IEpcisTransformationEvent\n\t| IEpcisEvent;\n"]}
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/* cSpell:disable */
|
|
4
|
+
/**
|
|
5
|
+
* Supported EPCIS 2.0 `measurementType` values.
|
|
6
|
+
*
|
|
7
|
+
* These values come from the GS1 EPCIS JSON Schema enumeration.
|
|
8
|
+
* Use the union type `EpcisMeasurementTypes` when you want to restrict a field to known values.
|
|
9
|
+
*/
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
11
|
+
export const EpcisMeasurementTypes = {
|
|
12
|
+
/**
|
|
13
|
+
* Measurement type "AbsoluteHumidity".
|
|
14
|
+
*/
|
|
15
|
+
AbsoluteHumidity: "AbsoluteHumidity",
|
|
16
|
+
/**
|
|
17
|
+
* Measurement type "AbsorbedDose".
|
|
18
|
+
*/
|
|
19
|
+
AbsorbedDose: "AbsorbedDose",
|
|
20
|
+
/**
|
|
21
|
+
* Measurement type "AbsorbedDoseRate".
|
|
22
|
+
*/
|
|
23
|
+
AbsorbedDoseRate: "AbsorbedDoseRate",
|
|
24
|
+
/**
|
|
25
|
+
* Measurement type "Acceleration".
|
|
26
|
+
*/
|
|
27
|
+
Acceleration: "Acceleration",
|
|
28
|
+
/**
|
|
29
|
+
* Measurement type "Radioactivity".
|
|
30
|
+
*/
|
|
31
|
+
Radioactivity: "Radioactivity",
|
|
32
|
+
/**
|
|
33
|
+
* Measurement type "Altitude".
|
|
34
|
+
*/
|
|
35
|
+
Altitude: "Altitude",
|
|
36
|
+
/**
|
|
37
|
+
* Measurement type "AmountOfSubstance".
|
|
38
|
+
*/
|
|
39
|
+
AmountOfSubstance: "AmountOfSubstance",
|
|
40
|
+
/**
|
|
41
|
+
* Measurement type "AmountOfSubstancePerUnitVolume".
|
|
42
|
+
*/
|
|
43
|
+
AmountOfSubstancePerUnitVolume: "AmountOfSubstancePerUnitVolume",
|
|
44
|
+
/**
|
|
45
|
+
* Measurement type "Angle".
|
|
46
|
+
*/
|
|
47
|
+
Angle: "Angle",
|
|
48
|
+
/**
|
|
49
|
+
* Measurement type "AngularAcceleration".
|
|
50
|
+
*/
|
|
51
|
+
AngularAcceleration: "AngularAcceleration",
|
|
52
|
+
/**
|
|
53
|
+
* Measurement type "AngularMomentum".
|
|
54
|
+
*/
|
|
55
|
+
AngularMomentum: "AngularMomentum",
|
|
56
|
+
/**
|
|
57
|
+
* Measurement type "AngularVelocity".
|
|
58
|
+
*/
|
|
59
|
+
AngularVelocity: "AngularVelocity",
|
|
60
|
+
/**
|
|
61
|
+
* Measurement type "Area".
|
|
62
|
+
*/
|
|
63
|
+
Area: "Area",
|
|
64
|
+
/**
|
|
65
|
+
* Measurement type "Capacitance".
|
|
66
|
+
*/
|
|
67
|
+
Capacitance: "Capacitance",
|
|
68
|
+
/**
|
|
69
|
+
* Measurement type "Conductance".
|
|
70
|
+
*/
|
|
71
|
+
Conductance: "Conductance",
|
|
72
|
+
/**
|
|
73
|
+
* Measurement type "Conductivity".
|
|
74
|
+
*/
|
|
75
|
+
Conductivity: "Conductivity",
|
|
76
|
+
/**
|
|
77
|
+
* Measurement type "Count".
|
|
78
|
+
*/
|
|
79
|
+
Count: "Count",
|
|
80
|
+
/**
|
|
81
|
+
* Measurement type "Density".
|
|
82
|
+
*/
|
|
83
|
+
Density: "Density",
|
|
84
|
+
/**
|
|
85
|
+
* Measurement type "Dimensionless".
|
|
86
|
+
*/
|
|
87
|
+
Dimensionless: "Dimensionless",
|
|
88
|
+
/**
|
|
89
|
+
* Measurement type "DoseEquivalent".
|
|
90
|
+
*/
|
|
91
|
+
DoseEquivalent: "DoseEquivalent",
|
|
92
|
+
/**
|
|
93
|
+
* Measurement type "DoseEquivalentRate".
|
|
94
|
+
*/
|
|
95
|
+
DoseEquivalentRate: "DoseEquivalentRate",
|
|
96
|
+
/**
|
|
97
|
+
* Measurement type "DynamicViscosity".
|
|
98
|
+
*/
|
|
99
|
+
DynamicViscosity: "DynamicViscosity",
|
|
100
|
+
/**
|
|
101
|
+
* Measurement type "ElectricCharge".
|
|
102
|
+
*/
|
|
103
|
+
ElectricCharge: "ElectricCharge",
|
|
104
|
+
/**
|
|
105
|
+
* Measurement type "ElectricCurrent".
|
|
106
|
+
*/
|
|
107
|
+
ElectricCurrent: "ElectricCurrent",
|
|
108
|
+
/**
|
|
109
|
+
* Measurement type "ElectricCurrentDensity".
|
|
110
|
+
*/
|
|
111
|
+
ElectricCurrentDensity: "ElectricCurrentDensity",
|
|
112
|
+
/**
|
|
113
|
+
* Measurement type "ElectricFieldStrength".
|
|
114
|
+
*/
|
|
115
|
+
ElectricFieldStrength: "ElectricFieldStrength",
|
|
116
|
+
/**
|
|
117
|
+
* Measurement type "Energy".
|
|
118
|
+
*/
|
|
119
|
+
Energy: "Energy",
|
|
120
|
+
/**
|
|
121
|
+
* Measurement type "Exposure".
|
|
122
|
+
*/
|
|
123
|
+
Exposure: "Exposure",
|
|
124
|
+
/**
|
|
125
|
+
* Measurement type "Force".
|
|
126
|
+
*/
|
|
127
|
+
Force: "Force",
|
|
128
|
+
/**
|
|
129
|
+
* Measurement type "Frequency".
|
|
130
|
+
*/
|
|
131
|
+
Frequency: "Frequency",
|
|
132
|
+
/**
|
|
133
|
+
* Measurement type "Illuminance".
|
|
134
|
+
*/
|
|
135
|
+
Illuminance: "Illuminance",
|
|
136
|
+
/**
|
|
137
|
+
* Measurement type "Inductance".
|
|
138
|
+
*/
|
|
139
|
+
Inductance: "Inductance",
|
|
140
|
+
/**
|
|
141
|
+
* Measurement type "Irradiance".
|
|
142
|
+
*/
|
|
143
|
+
Irradiance: "Irradiance",
|
|
144
|
+
/**
|
|
145
|
+
* Measurement type "KinematicViscosity".
|
|
146
|
+
*/
|
|
147
|
+
KinematicViscosity: "KinematicViscosity",
|
|
148
|
+
/**
|
|
149
|
+
* Measurement type "Length".
|
|
150
|
+
*/
|
|
151
|
+
Length: "Length",
|
|
152
|
+
/**
|
|
153
|
+
* Measurement type "LinearMomentum".
|
|
154
|
+
*/
|
|
155
|
+
LinearMomentum: "LinearMomentum",
|
|
156
|
+
/**
|
|
157
|
+
* Measurement type "Luminance".
|
|
158
|
+
*/
|
|
159
|
+
Luminance: "Luminance",
|
|
160
|
+
/**
|
|
161
|
+
* Measurement type "LuminousFlux".
|
|
162
|
+
*/
|
|
163
|
+
LuminousFlux: "LuminousFlux",
|
|
164
|
+
/**
|
|
165
|
+
* Measurement type "LuminousIntensity".
|
|
166
|
+
*/
|
|
167
|
+
LuminousIntensity: "LuminousIntensity",
|
|
168
|
+
/**
|
|
169
|
+
* Measurement type "MagneticFlux".
|
|
170
|
+
*/
|
|
171
|
+
MagneticFlux: "MagneticFlux",
|
|
172
|
+
/**
|
|
173
|
+
* Measurement type "MagneticFluxDensity".
|
|
174
|
+
*/
|
|
175
|
+
MagneticFluxDensity: "MagneticFluxDensity",
|
|
176
|
+
/**
|
|
177
|
+
* Measurement type "MagneticVectorPotential".
|
|
178
|
+
*/
|
|
179
|
+
MagneticVectorPotential: "MagneticVectorPotential",
|
|
180
|
+
/**
|
|
181
|
+
* Measurement type "Mass".
|
|
182
|
+
*/
|
|
183
|
+
Mass: "Mass",
|
|
184
|
+
/**
|
|
185
|
+
* Measurement type "MassConcentration".
|
|
186
|
+
*/
|
|
187
|
+
MassConcentration: "MassConcentration",
|
|
188
|
+
/**
|
|
189
|
+
* Measurement type "MassFlowRate".
|
|
190
|
+
*/
|
|
191
|
+
MassFlowRate: "MassFlowRate",
|
|
192
|
+
/**
|
|
193
|
+
* Measurement type "MassPerAreaTime".
|
|
194
|
+
*/
|
|
195
|
+
MassPerAreaTime: "MassPerAreaTime",
|
|
196
|
+
/**
|
|
197
|
+
* Measurement type "MemoryCapacity".
|
|
198
|
+
*/
|
|
199
|
+
MemoryCapacity: "MemoryCapacity",
|
|
200
|
+
/**
|
|
201
|
+
* Measurement type "MolalityOfSolute".
|
|
202
|
+
*/
|
|
203
|
+
MolalityOfSolute: "MolalityOfSolute",
|
|
204
|
+
/**
|
|
205
|
+
* Measurement type "MolarEnergy".
|
|
206
|
+
*/
|
|
207
|
+
MolarEnergy: "MolarEnergy",
|
|
208
|
+
/**
|
|
209
|
+
* Measurement type "MolarMass".
|
|
210
|
+
*/
|
|
211
|
+
MolarMass: "MolarMass",
|
|
212
|
+
/**
|
|
213
|
+
* Measurement type "MolarVolume".
|
|
214
|
+
*/
|
|
215
|
+
MolarVolume: "MolarVolume",
|
|
216
|
+
/**
|
|
217
|
+
* Measurement type "Power".
|
|
218
|
+
*/
|
|
219
|
+
Power: "Power",
|
|
220
|
+
/**
|
|
221
|
+
* Measurement type "Pressure".
|
|
222
|
+
*/
|
|
223
|
+
Pressure: "Pressure",
|
|
224
|
+
/**
|
|
225
|
+
* Measurement type "RadiantFlux".
|
|
226
|
+
*/
|
|
227
|
+
RadiantFlux: "RadiantFlux",
|
|
228
|
+
/**
|
|
229
|
+
* Measurement type "RadiantIntensity".
|
|
230
|
+
*/
|
|
231
|
+
RadiantIntensity: "RadiantIntensity",
|
|
232
|
+
/**
|
|
233
|
+
* Measurement type "RelativeHumidity".
|
|
234
|
+
*/
|
|
235
|
+
RelativeHumidity: "RelativeHumidity",
|
|
236
|
+
/**
|
|
237
|
+
* Measurement type "Resistance".
|
|
238
|
+
*/
|
|
239
|
+
Resistance: "Resistance",
|
|
240
|
+
/**
|
|
241
|
+
* Measurement type "Resistivity".
|
|
242
|
+
*/
|
|
243
|
+
Resistivity: "Resistivity",
|
|
244
|
+
/**
|
|
245
|
+
* Measurement type "SolidAngle".
|
|
246
|
+
*/
|
|
247
|
+
SolidAngle: "SolidAngle",
|
|
248
|
+
/**
|
|
249
|
+
* Measurement type "SpecificVolume".
|
|
250
|
+
*/
|
|
251
|
+
SpecificVolume: "SpecificVolume",
|
|
252
|
+
/**
|
|
253
|
+
* Measurement type "Speed".
|
|
254
|
+
*/
|
|
255
|
+
Speed: "Speed",
|
|
256
|
+
/**
|
|
257
|
+
* Measurement type "SurfaceDensity".
|
|
258
|
+
*/
|
|
259
|
+
SurfaceDensity: "SurfaceDensity",
|
|
260
|
+
/**
|
|
261
|
+
* Measurement type "SurfaceTension".
|
|
262
|
+
*/
|
|
263
|
+
SurfaceTension: "SurfaceTension",
|
|
264
|
+
/**
|
|
265
|
+
* Measurement type "Temperature".
|
|
266
|
+
*/
|
|
267
|
+
Temperature: "Temperature",
|
|
268
|
+
/**
|
|
269
|
+
* Measurement type "Time".
|
|
270
|
+
*/
|
|
271
|
+
Time: "Time",
|
|
272
|
+
/**
|
|
273
|
+
* Measurement type "Torque".
|
|
274
|
+
*/
|
|
275
|
+
Torque: "Torque",
|
|
276
|
+
/**
|
|
277
|
+
* Measurement type "Voltage".
|
|
278
|
+
*/
|
|
279
|
+
Voltage: "Voltage",
|
|
280
|
+
/**
|
|
281
|
+
* Measurement type "Volume".
|
|
282
|
+
*/
|
|
283
|
+
Volume: "Volume",
|
|
284
|
+
/**
|
|
285
|
+
* Measurement type "VolumeFlowRate".
|
|
286
|
+
*/
|
|
287
|
+
VolumeFlowRate: "VolumeFlowRate",
|
|
288
|
+
/**
|
|
289
|
+
* Measurement type "VolumeFraction".
|
|
290
|
+
*/
|
|
291
|
+
VolumeFraction: "VolumeFraction",
|
|
292
|
+
/**
|
|
293
|
+
* Measurement type "VolumetricFlux".
|
|
294
|
+
*/
|
|
295
|
+
VolumetricFlux: "VolumetricFlux",
|
|
296
|
+
/**
|
|
297
|
+
* Measurement type "Wavenumber".
|
|
298
|
+
*/
|
|
299
|
+
Wavenumber: "Wavenumber"
|
|
300
|
+
};
|
|
301
|
+
//# sourceMappingURL=epcisMeasurementTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisMeasurementTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisMeasurementTypes.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * Supported EPCIS 2.0 `measurementType` values.\n *\n * These values come from the GS1 EPCIS JSON Schema enumeration.\n * Use the union type `EpcisMeasurementTypes` when you want to restrict a field to known values.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisMeasurementTypes = {\n\t/**\n\t * Measurement type \"AbsoluteHumidity\".\n\t */\n\tAbsoluteHumidity: \"AbsoluteHumidity\",\n\n\t/**\n\t * Measurement type \"AbsorbedDose\".\n\t */\n\tAbsorbedDose: \"AbsorbedDose\",\n\n\t/**\n\t * Measurement type \"AbsorbedDoseRate\".\n\t */\n\tAbsorbedDoseRate: \"AbsorbedDoseRate\",\n\n\t/**\n\t * Measurement type \"Acceleration\".\n\t */\n\tAcceleration: \"Acceleration\",\n\n\t/**\n\t * Measurement type \"Radioactivity\".\n\t */\n\tRadioactivity: \"Radioactivity\",\n\n\t/**\n\t * Measurement type \"Altitude\".\n\t */\n\tAltitude: \"Altitude\",\n\n\t/**\n\t * Measurement type \"AmountOfSubstance\".\n\t */\n\tAmountOfSubstance: \"AmountOfSubstance\",\n\n\t/**\n\t * Measurement type \"AmountOfSubstancePerUnitVolume\".\n\t */\n\tAmountOfSubstancePerUnitVolume: \"AmountOfSubstancePerUnitVolume\",\n\n\t/**\n\t * Measurement type \"Angle\".\n\t */\n\tAngle: \"Angle\",\n\n\t/**\n\t * Measurement type \"AngularAcceleration\".\n\t */\n\tAngularAcceleration: \"AngularAcceleration\",\n\n\t/**\n\t * Measurement type \"AngularMomentum\".\n\t */\n\tAngularMomentum: \"AngularMomentum\",\n\n\t/**\n\t * Measurement type \"AngularVelocity\".\n\t */\n\tAngularVelocity: \"AngularVelocity\",\n\n\t/**\n\t * Measurement type \"Area\".\n\t */\n\tArea: \"Area\",\n\n\t/**\n\t * Measurement type \"Capacitance\".\n\t */\n\tCapacitance: \"Capacitance\",\n\n\t/**\n\t * Measurement type \"Conductance\".\n\t */\n\tConductance: \"Conductance\",\n\n\t/**\n\t * Measurement type \"Conductivity\".\n\t */\n\tConductivity: \"Conductivity\",\n\n\t/**\n\t * Measurement type \"Count\".\n\t */\n\tCount: \"Count\",\n\n\t/**\n\t * Measurement type \"Density\".\n\t */\n\tDensity: \"Density\",\n\n\t/**\n\t * Measurement type \"Dimensionless\".\n\t */\n\tDimensionless: \"Dimensionless\",\n\n\t/**\n\t * Measurement type \"DoseEquivalent\".\n\t */\n\tDoseEquivalent: \"DoseEquivalent\",\n\n\t/**\n\t * Measurement type \"DoseEquivalentRate\".\n\t */\n\tDoseEquivalentRate: \"DoseEquivalentRate\",\n\n\t/**\n\t * Measurement type \"DynamicViscosity\".\n\t */\n\tDynamicViscosity: \"DynamicViscosity\",\n\n\t/**\n\t * Measurement type \"ElectricCharge\".\n\t */\n\tElectricCharge: \"ElectricCharge\",\n\n\t/**\n\t * Measurement type \"ElectricCurrent\".\n\t */\n\tElectricCurrent: \"ElectricCurrent\",\n\n\t/**\n\t * Measurement type \"ElectricCurrentDensity\".\n\t */\n\tElectricCurrentDensity: \"ElectricCurrentDensity\",\n\n\t/**\n\t * Measurement type \"ElectricFieldStrength\".\n\t */\n\tElectricFieldStrength: \"ElectricFieldStrength\",\n\n\t/**\n\t * Measurement type \"Energy\".\n\t */\n\tEnergy: \"Energy\",\n\n\t/**\n\t * Measurement type \"Exposure\".\n\t */\n\tExposure: \"Exposure\",\n\n\t/**\n\t * Measurement type \"Force\".\n\t */\n\tForce: \"Force\",\n\n\t/**\n\t * Measurement type \"Frequency\".\n\t */\n\tFrequency: \"Frequency\",\n\n\t/**\n\t * Measurement type \"Illuminance\".\n\t */\n\tIlluminance: \"Illuminance\",\n\n\t/**\n\t * Measurement type \"Inductance\".\n\t */\n\tInductance: \"Inductance\",\n\n\t/**\n\t * Measurement type \"Irradiance\".\n\t */\n\tIrradiance: \"Irradiance\",\n\n\t/**\n\t * Measurement type \"KinematicViscosity\".\n\t */\n\tKinematicViscosity: \"KinematicViscosity\",\n\n\t/**\n\t * Measurement type \"Length\".\n\t */\n\tLength: \"Length\",\n\n\t/**\n\t * Measurement type \"LinearMomentum\".\n\t */\n\tLinearMomentum: \"LinearMomentum\",\n\n\t/**\n\t * Measurement type \"Luminance\".\n\t */\n\tLuminance: \"Luminance\",\n\n\t/**\n\t * Measurement type \"LuminousFlux\".\n\t */\n\tLuminousFlux: \"LuminousFlux\",\n\n\t/**\n\t * Measurement type \"LuminousIntensity\".\n\t */\n\tLuminousIntensity: \"LuminousIntensity\",\n\n\t/**\n\t * Measurement type \"MagneticFlux\".\n\t */\n\tMagneticFlux: \"MagneticFlux\",\n\n\t/**\n\t * Measurement type \"MagneticFluxDensity\".\n\t */\n\tMagneticFluxDensity: \"MagneticFluxDensity\",\n\n\t/**\n\t * Measurement type \"MagneticVectorPotential\".\n\t */\n\tMagneticVectorPotential: \"MagneticVectorPotential\",\n\n\t/**\n\t * Measurement type \"Mass\".\n\t */\n\tMass: \"Mass\",\n\n\t/**\n\t * Measurement type \"MassConcentration\".\n\t */\n\tMassConcentration: \"MassConcentration\",\n\n\t/**\n\t * Measurement type \"MassFlowRate\".\n\t */\n\tMassFlowRate: \"MassFlowRate\",\n\n\t/**\n\t * Measurement type \"MassPerAreaTime\".\n\t */\n\tMassPerAreaTime: \"MassPerAreaTime\",\n\n\t/**\n\t * Measurement type \"MemoryCapacity\".\n\t */\n\tMemoryCapacity: \"MemoryCapacity\",\n\n\t/**\n\t * Measurement type \"MolalityOfSolute\".\n\t */\n\tMolalityOfSolute: \"MolalityOfSolute\",\n\n\t/**\n\t * Measurement type \"MolarEnergy\".\n\t */\n\tMolarEnergy: \"MolarEnergy\",\n\n\t/**\n\t * Measurement type \"MolarMass\".\n\t */\n\tMolarMass: \"MolarMass\",\n\n\t/**\n\t * Measurement type \"MolarVolume\".\n\t */\n\tMolarVolume: \"MolarVolume\",\n\n\t/**\n\t * Measurement type \"Power\".\n\t */\n\tPower: \"Power\",\n\n\t/**\n\t * Measurement type \"Pressure\".\n\t */\n\tPressure: \"Pressure\",\n\n\t/**\n\t * Measurement type \"RadiantFlux\".\n\t */\n\tRadiantFlux: \"RadiantFlux\",\n\n\t/**\n\t * Measurement type \"RadiantIntensity\".\n\t */\n\tRadiantIntensity: \"RadiantIntensity\",\n\n\t/**\n\t * Measurement type \"RelativeHumidity\".\n\t */\n\tRelativeHumidity: \"RelativeHumidity\",\n\n\t/**\n\t * Measurement type \"Resistance\".\n\t */\n\tResistance: \"Resistance\",\n\n\t/**\n\t * Measurement type \"Resistivity\".\n\t */\n\tResistivity: \"Resistivity\",\n\n\t/**\n\t * Measurement type \"SolidAngle\".\n\t */\n\tSolidAngle: \"SolidAngle\",\n\n\t/**\n\t * Measurement type \"SpecificVolume\".\n\t */\n\tSpecificVolume: \"SpecificVolume\",\n\n\t/**\n\t * Measurement type \"Speed\".\n\t */\n\tSpeed: \"Speed\",\n\n\t/**\n\t * Measurement type \"SurfaceDensity\".\n\t */\n\tSurfaceDensity: \"SurfaceDensity\",\n\n\t/**\n\t * Measurement type \"SurfaceTension\".\n\t */\n\tSurfaceTension: \"SurfaceTension\",\n\n\t/**\n\t * Measurement type \"Temperature\".\n\t */\n\tTemperature: \"Temperature\",\n\n\t/**\n\t * Measurement type \"Time\".\n\t */\n\tTime: \"Time\",\n\n\t/**\n\t * Measurement type \"Torque\".\n\t */\n\tTorque: \"Torque\",\n\n\t/**\n\t * Measurement type \"Voltage\".\n\t */\n\tVoltage: \"Voltage\",\n\n\t/**\n\t * Measurement type \"Volume\".\n\t */\n\tVolume: \"Volume\",\n\n\t/**\n\t * Measurement type \"VolumeFlowRate\".\n\t */\n\tVolumeFlowRate: \"VolumeFlowRate\",\n\n\t/**\n\t * Measurement type \"VolumeFraction\".\n\t */\n\tVolumeFraction: \"VolumeFraction\",\n\n\t/**\n\t * Measurement type \"VolumetricFlux\".\n\t */\n\tVolumetricFlux: \"VolumetricFlux\",\n\n\t/**\n\t * Measurement type \"Wavenumber\".\n\t */\n\tWavenumber: \"Wavenumber\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `measurementType` values.\n *\n * These values come from the GS1 EPCIS JSON Schema enumeration.\n * Use the union type `EpcisMeasurementTypes` when you want to restrict a field to known values.\n */\nexport type EpcisMeasurementTypes =\n\t(typeof EpcisMeasurementTypes)[keyof typeof EpcisMeasurementTypes];\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/* cSpell:disable */
|
|
4
|
+
/**
|
|
5
|
+
* Supported EPCIS 2.0 `sensorAlertType` values for sensor-generated alarms or
|
|
6
|
+
* errors.
|
|
7
|
+
*/
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9
|
+
export const EpcisSensorAlertTypes = {
|
|
10
|
+
/**
|
|
11
|
+
* Sensor alert indicating an alarm condition.
|
|
12
|
+
*/
|
|
13
|
+
AlarmCondition: "ALARM_CONDITION",
|
|
14
|
+
/**
|
|
15
|
+
* Sensor alert indicating an error condition.
|
|
16
|
+
*/
|
|
17
|
+
ErrorCondition: "ERROR_CONDITION"
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=epcisSensorAlertTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisSensorAlertTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisSensorAlertTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC;;OAEG;IACH,cAAc,EAAE,iBAAiB;IAEjC;;OAEG;IACH,cAAc,EAAE,iBAAiB;CACxB,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * Supported EPCIS 2.0 `sensorAlertType` values for sensor-generated alarms or\n * errors.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisSensorAlertTypes = {\n\t/**\n\t * Sensor alert indicating an alarm condition.\n\t */\n\tAlarmCondition: \"ALARM_CONDITION\",\n\n\t/**\n\t * Sensor alert indicating an error condition.\n\t */\n\tErrorCondition: \"ERROR_CONDITION\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `sensorAlertType` values for sensor-generated alarms or\n * errors.\n */\nexport type EpcisSensorAlertTypes =\n\t(typeof EpcisSensorAlertTypes)[keyof typeof EpcisSensorAlertTypes];\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Copyright 2026 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/* cSpell:disable */
|
|
4
|
+
/**
|
|
5
|
+
* Supported EPCIS 2.0 `source-dest-type` values describing the role of a party
|
|
6
|
+
* or location in a transfer.
|
|
7
|
+
*/
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9
|
+
export const EpcisSourceDestTypes = {
|
|
10
|
+
/**
|
|
11
|
+
* Identifier denotes the party who owns (or will own) the objects at the
|
|
12
|
+
* business transfer endpoint.
|
|
13
|
+
*/
|
|
14
|
+
OwningParty: "owning_party",
|
|
15
|
+
/**
|
|
16
|
+
* Identifier denotes the party who has (or will have) physical possession of
|
|
17
|
+
* the objects at the endpoint.
|
|
18
|
+
*/
|
|
19
|
+
PossessingParty: "possessing_party",
|
|
20
|
+
/**
|
|
21
|
+
* Identifier denotes the physical location of the originating or terminating
|
|
22
|
+
* endpoint of the business transfer.
|
|
23
|
+
*/
|
|
24
|
+
Location: "location"
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=epcisSourceDestTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisSourceDestTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisSourceDestTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,oBAAoB;AAEpB;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oBAAoB,GAAG;IACnC;;;OAGG;IACH,WAAW,EAAE,cAAc;IAE3B;;;OAGG;IACH,eAAe,EAAE,kBAAkB;IAEnC;;;OAGG;IACH,QAAQ,EAAE,UAAU;CACX,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n/* cSpell:disable */\n\n/**\n * Supported EPCIS 2.0 `source-dest-type` values describing the role of a party\n * or location in a transfer.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisSourceDestTypes = {\n\t/**\n\t * Identifier denotes the party who owns (or will own) the objects at the\n\t * business transfer endpoint.\n\t */\n\tOwningParty: \"owning_party\",\n\n\t/**\n\t * Identifier denotes the party who has (or will have) physical possession of\n\t * the objects at the endpoint.\n\t */\n\tPossessingParty: \"possessing_party\",\n\n\t/**\n\t * Identifier denotes the physical location of the originating or terminating\n\t * endpoint of the business transfer.\n\t */\n\tLocation: \"location\"\n} as const;\n\n/**\n * Supported EPCIS 2.0 `source-dest-type` values describing the role of a party\n * or location in a transfer.\n */\nexport type EpcisSourceDestTypes = (typeof EpcisSourceDestTypes)[keyof typeof EpcisSourceDestTypes];\n"]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Copyright 2025 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* JSON-LD type IRIs used across EPCIS 2.0 documents and events.
|
|
5
|
+
*/
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
export const EpcisTypes = {
|
|
8
|
+
/**
|
|
9
|
+
* EPCISDocument root type for capture payloads.
|
|
10
|
+
*/
|
|
11
|
+
EPCISDocument: "EPCISDocument",
|
|
12
|
+
/**
|
|
13
|
+
* EPCISQueryDocument root type for query requests.
|
|
14
|
+
*/
|
|
15
|
+
EPCISQueryDocument: "EPCISQueryDocument",
|
|
16
|
+
/**
|
|
17
|
+
* ObjectEvent type identifier.
|
|
18
|
+
*/
|
|
19
|
+
ObjectEvent: "ObjectEvent",
|
|
20
|
+
/**
|
|
21
|
+
* AssociationEvent type identifier.
|
|
22
|
+
*/
|
|
23
|
+
AssociationEvent: "AssociationEvent",
|
|
24
|
+
/**
|
|
25
|
+
* AggregationEvent type identifier.
|
|
26
|
+
*/
|
|
27
|
+
AggregationEvent: "AggregationEvent",
|
|
28
|
+
/**
|
|
29
|
+
* TransactionEvent type identifier.
|
|
30
|
+
*/
|
|
31
|
+
TransactionEvent: "TransactionEvent",
|
|
32
|
+
/**
|
|
33
|
+
* TransformationEvent type identifier.
|
|
34
|
+
*/
|
|
35
|
+
TransformationEvent: "TransformationEvent"
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=epcisTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"epcisTypes.js","sourceRoot":"","sources":["../../../../src/models/epcis20/epcisTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB;;OAEG;IACH,aAAa,EAAE,eAAe;IAE9B;;OAEG;IACH,kBAAkB,EAAE,oBAAoB;IAExC;;OAEG;IACH,WAAW,EAAE,aAAa;IAE1B;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,mBAAmB,EAAE,qBAAqB;CACjC,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * JSON-LD type IRIs used across EPCIS 2.0 documents and events.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const EpcisTypes = {\n\t/**\n\t * EPCISDocument root type for capture payloads.\n\t */\n\tEPCISDocument: \"EPCISDocument\",\n\n\t/**\n\t * EPCISQueryDocument root type for query requests.\n\t */\n\tEPCISQueryDocument: \"EPCISQueryDocument\",\n\n\t/**\n\t * ObjectEvent type identifier.\n\t */\n\tObjectEvent: \"ObjectEvent\",\n\n\t/**\n\t * AssociationEvent type identifier.\n\t */\n\tAssociationEvent: \"AssociationEvent\",\n\n\t/**\n\t * AggregationEvent type identifier.\n\t */\n\tAggregationEvent: \"AggregationEvent\",\n\n\t/**\n\t * TransactionEvent type identifier.\n\t */\n\tTransactionEvent: \"TransactionEvent\",\n\n\t/**\n\t * TransformationEvent type identifier.\n\t */\n\tTransformationEvent: \"TransformationEvent\"\n} as const;\n\n/**\n * JSON-LD type IRIs used across EPCIS 2.0 documents and events.\n */\nexport type EpcisTypes = (typeof EpcisTypes)[keyof typeof EpcisTypes];\n"]}
|
|
@@ -6,8 +6,14 @@
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
7
|
export const GS1Contexts = {
|
|
8
8
|
/**
|
|
9
|
-
* The
|
|
9
|
+
* The canonical RDF namespace URI.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
Namespace: "https://gs1.org/voc/",
|
|
12
|
+
/**
|
|
13
|
+
* The value to use in JSON-LD context.
|
|
14
|
+
* Note: Context differs from Namespace (no trailing slash) as per GS1 standard specification.
|
|
15
|
+
* The GS1 JSON-LD context URL format does not include a trailing slash.
|
|
16
|
+
*/
|
|
17
|
+
Context: "https://gs1.org/voc"
|
|
12
18
|
};
|
|
13
19
|
//# sourceMappingURL=gs1Contexts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gs1Contexts.js","sourceRoot":"","sources":["../../../../src/models/gs1/gs1Contexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"gs1Contexts.js","sourceRoot":"","sources":["../../../../src/models/gs1/gs1Contexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,WAAW,GAAG;IAC1B;;OAEG;IACH,SAAS,EAAE,sBAAsB;IAEjC;;;;OAIG;IACH,OAAO,EAAE,qBAAqB;CACrB,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts of GS1.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const GS1Contexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"https://gs1.org/voc/\",\n\n\t/**\n\t * The value to use in JSON-LD context.\n\t * Note: Context differs from Namespace (no trailing slash) as per GS1 standard specification.\n\t * The GS1 JSON-LD context URL format does not include a trailing slash.\n\t */\n\tContext: \"https://gs1.org/voc\"\n} as const;\n\n/**\n * The contexts of GS1.\n */\nexport type GS1Contexts = (typeof GS1Contexts)[keyof typeof GS1Contexts];\n"]}
|