Interface EORI

EORI number

interface EORI {
    bbox?: Bbox;
    confidence?: number;
    display?: boolean;
    errors?: ErrorModel[];
    input?: string;
    lastChangedBy?: string;
    modifiedAt?: number;
    modifiedBy?: {
        displayName?: string;
        id?: string;
    };
    nationality?: string;
    options?: string[];
    reason?: any;
    required?: boolean;
    reviewNeeded?: boolean;
    searchValue?: string;
    source?: string;
    templateValue?: string;
    userEdited?: boolean;
    valid?: boolean;
    validationInformation?: {
        address?: string;
        city?: string;
        country?: string;
        name?: string;
        postalCode?: string;
        requestDate?: string;
        statusDescr?: string;
        street?: string;
        validationSource?: string;
    };
    value?: string;
}

Hierarchy (view full)

Properties

bbox?: Bbox

Bounding box of extracted value

confidence?: number

Confidence supplied by data extraction or 1.0 if entered by human

display?: boolean
errors?: ErrorModel[]

could be validation errors

input?: string

The input value which was initially supplied for the property

lastChangedBy?: string

Encoded user (username, userId, etc.)

Deprecated

modifiedAt?: number

Last modification date (user or machine), as a UTC unix timestamp

modifiedBy?: {
    displayName?: string;
    id?: string;
}

Field last changed by

Type declaration

  • Optional displayName?: string
  • Optional id?: string
nationality?: string

alpha2code

options?: string[]
reason?: any
required?: boolean
reviewNeeded?: boolean
searchValue?: string

Normalized searchValue, for any related queries. Needs to be a string, even if value is of a different type.

source?: string
templateValue?: string

Template value which was used to generate the value

userEdited?: boolean

Mark this property as user-edited (as opposed to machine-generated)

valid?: boolean
validationInformation?: {
    address?: string;
    city?: string;
    country?: string;
    name?: string;
    postalCode?: string;
    requestDate?: string;
    statusDescr?: string;
    street?: string;
    validationSource?: string;
}

Type declaration

  • Optional address?: string
  • Optional city?: string
  • Optional country?: string
  • Optional name?: string
  • Optional postalCode?: string
  • Optional requestDate?: string
  • Optional statusDescr?: string
  • Optional street?: string
  • Optional validationSource?: string
value?: string

The current value of the property