dataTableJSONSchema top-level constant

Map<String, dynamic> const dataTableJSONSchema

Implementation

const Map<String, dynamic> dataTableJSONSchema = {
  'currentPage': 1,
  'language': 'en',
  'perPage': 5,
  'recordCount': 102,
  'structure': [
    {'key': 'customerId', 'title': 'Customer ID'},
    {'key': 'customerName', 'title': 'Customer Name'},
    {'key': 'customerEmail', 'title': 'Customer Email'},
    {'key': 'title', 'title': 'Title'},
    {'key': 'residency', 'title': 'Country of Residency'},
    {'key': 'gender', 'title': 'Gender'},
    {'key': 'maritalStatus', 'title': 'Marital Status'},
    {'key': 'dateOfBirth', 'title': 'Date of Birth'},
    {'key': 'nationality', 'title': 'Nationality'},
    {'key': 'address', 'title': 'Full Address'},
    {'key': 'occupation', 'title': 'Occupation'},
    {'key': 'noOfDependents', 'title': 'Number of Dependents'},
    {'key': 'customerStatus', 'title': 'Customer Status'},
    {'key': 'updatedAt', 'title': 'Updated At'},
  ],
  'totalPages': 21,
  'values': [
    {
      'address': "221B Baker's Street",
      'customerEmail': 'Maria@example.net',
      'customerId': 'ge5963a9-e483-4743-bafe-c91947488dba',
      'customerName': 'Maria Mary',
      'customerStatus': 'DRAFT',
      'dateOfBirth': '1993-10-07',
      'gender': 'Female',
      'maritalStatus': 'Married',
      'nationality': 'California',
      'noOfDependents': 4,
      'occupation': 'Adult guidance worker',
      'phoneCountryCode': '01',
      'phoneNumber': '2926 8821',
      'residency': 'High Sierra',
      'title': 'Ms.',
      'updatedAt': '2025-02-14 09:41:38',
    },
    {
      'address': '848 Sanchez Dam Suite 230\nWest Dustin, SC 66043',
      'customerEmail': 'ruizteresa@example.net',
      'customerId': '8e596399-e483-4743-bafe-c91947488dba',
      'customerName': 'Sarah Blair',
      'customerStatus': 'DRAFT',
      'dateOfBirth': '1993-10-07',
      'gender': 'Female',
      'maritalStatus': 'Married',
      'nationality': 'Bouvet Island (Bouvetoya)',
      'noOfDependents': 4,
      'occupation': 'Adult guidance worker',
      'phoneCountryCode': '01',
      'phoneNumber': '2926 8821',
      'residency': 'Sierra Leone',
      'title': 'Ms.',
      'updatedAt': '2025-02-14 09:41:38',
    },
    {
      'address': '379 Victoria Mountain\nSouth Allison, AR 02482',
      'customerEmail': 'aschultz@example.net',
      'customerId': '633eaa93-1290-4b17-aac0-07823e940689',
      'customerName': 'Valerie Espinoza',
      'customerStatus': 'GENERATED',
      'dateOfBirth': '1966-08-18',
      'gender': 'Male',
      'maritalStatus': 'Widowed',
      'nationality': 'Singapore',
      'noOfDependents': 2,
      'occupation': 'Research scientist (physical sciences)',
      'phoneCountryCode': '07',
      'phoneNumber': '7989 6760',
      'residency': 'Western Sahara',
      'title': 'Misc.',
      'updatedAt': '2022-10-24 18:29:00',
    },
    {
      'address': 'Unit 3991 Box 4895\nDPO AE 93419',
      'customerEmail': 'eshelton@example.com',
      'customerId': '8cf048c8-fb44-498b-a2f0-60391a66527a',
      'customerName': 'Dawn Price',
      'customerStatus': 'inactive',
      'dateOfBirth': '1989-12-17',
      'gender': 'Male',
      'maritalStatus': 'Single',
      'nationality': 'Brunei Darussalam',
      'noOfDependents': 10,
      'occupation': 'Arts development officer',
      'phoneCountryCode': '20',
      'phoneNumber': '8257 1892',
      'residency': 'Tajikistan',
      'title': 'Mrs.',
      'updatedAt': '2025-02-13 18:24:41',
    },
    {
      'address': '1045 Christopher Garden Suite 581\nLambton, MT 23166',
      'customerEmail': 'harrelltroy@example.org',
      'customerId': '475ccfc9-cc54-4acf-b8a9-1f3a6f9be00c',
      'customerName': 'Joshua Scott',
      'customerStatus': 'FACTFIND',
      'dateOfBirth': '2002-04-01',
      'gender': 'Male',
      'maritalStatus': 'Widowed',
      'nationality': 'Wallis and Futuna',
      'noOfDependents': 9,
      'occupation': 'Surveyor, mining',
      'phoneCountryCode': '27',
      'phoneNumber': '5375 7415',
      'residency': 'Palestinian Territory',
      'title': 'Misc.',
      'updatedAt': '2025-02-14 10:10:03',
    },
    {
      'address': 'PSC 5989, Box 6928\nAPO AE 01635',
      'customerEmail': 'panderson@example.net',
      'customerId': '75b39f4d-bc9b-4e09-8804-e62914480e04',
      'customerName': 'Diane Dominguez',
      'customerStatus': 'SUITABLE',
      'dateOfBirth': '1934-11-24',
      'gender': 'Female',
      'maritalStatus': 'Widowed',
      'nationality': 'Congo',
      'noOfDependents': 4,
      'occupation': 'Psychiatrist',
      'phoneCountryCode': '30',
      'phoneNumber': '4923 9472',
      'residency': 'Turkmenistan',
      'title': 'Mrs.',
      'updatedAt': '2023-09-25 07:36:00',
    },
  ],
};