|string> */ public function rules(): array { return [ // Person validation rules 'surname' => 'nullable|string|max:100', 'christian_name' => 'nullable|string|max:100', 'full_name' => 'nullable|string|max:200', 'date_of_birth' => 'nullable|date', 'place_of_birth' => 'nullable|string|max:100', 'date_of_death' => 'nullable|date', 'occupation' => 'nullable|string|max:100', 'additional_notes' => 'nullable|string', 'reference' => 'nullable|string|max:100', 'id_card_no' => 'nullable|string|max:50', // Migration validation rules 'migration' => 'nullable|array', 'migration.date_of_arrival_aus' => 'nullable|date', 'migration.date_of_arrival_nt' => 'nullable|date', 'migration.arrival_period' => 'nullable|string|max:50', 'migration.data_source' => 'nullable|string|max:100', // Naturalization validation rules 'naturalization' => 'nullable|array', 'naturalization.date_of_naturalisation' => 'nullable|date', 'naturalization.no_of_cert' => 'nullable|string|max:50', 'naturalization.issued_at' => 'nullable|string|max:100', // Residence validation rules 'residence' => 'nullable|array', 'residence.darwin' => 'nullable|boolean', 'residence.katherine' => 'nullable|boolean', 'residence.tennant_creek' => 'nullable|boolean', 'residence.alice_springs' => 'nullable|boolean', 'residence.home_at_death' => 'nullable|string|max:100', // Family validation rules 'family' => 'nullable|array', 'family.names_of_parents' => 'nullable|string', 'family.names_of_children' => 'nullable|string', // Internment validation rules 'internment' => 'nullable|array', 'internment.corps_issued' => 'nullable|string|max:100', 'internment.interned_in' => 'nullable|string|max:100', 'internment.sent_to' => 'nullable|string|max:100', 'internment.internee_occupation' => 'nullable|string|max:100', 'internment.internee_address' => 'nullable|string', 'internment.cav' => 'nullable|string|max:50', ]; } }