Skip to content

AIDC Toolkit / GS1 / GTINDescriptor

Interface: GTINDescriptor

Defined in: src/gtin-descriptor.ts:9

GTIN descriptor.

Extends

Properties

identifierType

readonly identifierType: "GTIN"

Defined in: src/gtin-descriptor.ts:13

Identifier type. Per the GS1 General Specifications, the identifier type determines the remaining properties.

Overrides

NumericIdentifierDescriptor.identifierType


length

readonly length: GTINBaseLength

Defined in: src/gtin-descriptor.ts:18

Length. For numeric identifier types, the length is fixed; for non-numeric identifier types, the length is the maximum.

Overrides

NumericIdentifierDescriptor.length


leaderType

readonly leaderType: "Indicator digit"

Defined in: src/gtin-descriptor.ts:23

Leader type.

Overrides

NumericIdentifierDescriptor.leaderType


referenceCharacterSet

readonly referenceCharacterSet: "Numeric"

Defined in: src/numeric-identifier-descriptor.ts:18

Reference character set.

Inherited from

NumericIdentifierDescriptor.referenceCharacterSet


prefixType

readonly prefixType: PrefixType

Defined in: src/identifier-descriptor.ts:18

Prefix type supported by the identifier type. For all identifier types except the GTIN, this is a GS1 Company Prefix. For the GTIN, the prefix type determines the length.

Inherited from

NumericIdentifierDescriptor.prefixType