import type { ProfileRequirement } from "@ema-platform/auth";

/**
 * The identity a seafarer registration is built from.
 *
 * Not a gate: the registration form (`/seafarer-registration`) collects these
 * itself and prefills from the profile where it can. `ProfilePage` reads it
 * to show what a registration will need.
 */
export const SEAFARER_PROFILE_REQUIREMENT: ProfileRequirement = {
  fields: [
    "firstName",
    "middleName",
    "lastName",
    "gender",
    "dob",
    "maritalStatus",
    "professionId",
    "idType",
    "idNumber",
    "nationality",
    "primaryPhoneNumber",
    "email",
  ],
  reason:
    "Seafarer registration is built from your profile — these details fill it in for you.",
};
