@schie/epc - v0.1.0
    Preparing search index...

    Type Alias Sgtin96Result

    SGTIN-96 encoding result.

    const result: Sgtin96Result = {
    scheme: EpcScheme.SGTIN_96,
    hex: '000000000000000000000000',
    binary: '000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
    uri: 'urn:epc:tag:sgtin-96:0.0000000.000000.0',
    fields: {
    filter: 0,
    partition: 5,
    companyPrefix: '0000000',
    itemReference: '000000',
    serial: '0',
    },
    };
    result.fields.serial;
    // => '0'
    type Sgtin96Result = {
        binary: string;
        fields: {
            companyPrefix: string;
            filter: number;
            itemReference: string;
            partition: number;
            serial: string;
        };
        hex: string;
        scheme: SGTIN_96;
        uri: string;
    }
    Index

    Properties

    binary: string

    96-bit EPC represented as binary.

    fields: {
        companyPrefix: string;
        filter: number;
        itemReference: string;
        partition: number;
        serial: string;
    }

    Parsed fields decoded from the EPC.

    Type Declaration

    • companyPrefix: string

      Company prefix assigned by GS1.

    • filter: number

      Filter value encoded in the tag.

    • itemReference: string

      Item reference within the company prefix.

    • partition: number

      Partition value encoded in the tag.

    • serial: string

      Serial number for the individual item.

    hex: string

    96-bit EPC represented as hex.

    scheme: SGTIN_96

    EPC scheme for the result.

    uri: string

    Tag URI representation of the EPC.