idnumbers
    Preparing search index...

    Interface IdFormat

    Format information for a country's ID. Aligned with getCountryIdFormat() return shape.

    interface IdFormat {
        checksumAlgorithm?: string;
        countryCode: string;
        countryName: string;
        example?: string;
        format?: string;
        hasChecksum: boolean;
        idType: string;
        isParsable: boolean;
        length: { max: number; min: number };
        metadata: IdMetadata;
        officialName?: string;
    }
    Index
    checksumAlgorithm?: string
    countryCode: string
    countryName: string
    example?: string
    format?: string
    hasChecksum: boolean
    idType: string
    isParsable: boolean
    length: { max: number; min: number }
    metadata: IdMetadata

    A copy of the registered METADATA: changing it does not affect validation.

    officialName?: string