# Test data for Person Name Data
#  Copyright © 1991-2025 Unicode, Inc.
#  For terms of use, see http://www.unicode.org/copyright.html
#  SPDX-License-Identifier: Unicode-3.0
#  CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
# CLDR person name formatting test data for: sw
#
# Test lines have the following structure:
#
# enum ; <type> ; <value>(', ' <value)
#   For all the elements in <…> below, the possible choices that could appear in the file.
#   For example, <field> could be any of title, given, … credentials.
#   Verify that all of these values work with the implementation.
#
# name ; <field>('-'<modifier>) ; <value>
#   A sequence of these is to be used to build a person name object with the given field values.
#   If the <field> is 'locale', then the value is the locale of the name.
#     That will always be the last field in the name.
#     NOTE: the locale for the name (where different than the test file's locale) will generally not match the text.
#     It is chosen to exercise the person name formatting, by having a different given-surname order than the file's locale.
#
# expectedResult; <value>
#   This line follows a sequence of name lines, and indicates the that all the following parameter lines have this expected value.
#
# parameters; <options>; <length>; <usage>; <formality>
#   Each of these parameter lines should be tested to see that when formatting the current name with these parameters, 
#   the expected value is produced.
#
# endName
#   Indicates the end of the values to be tested with the current name.
#
# =====
# Example:
#     enum ; field ; title, given, given2, surname, surname2, generation, credentials
#     …
#
#     name ; given; Iris
#     name ; surname; Falke
#     name ; locale; de
#
#     expectedResult; Falke, Iris
#
#     parameters; sorting; long; referring; formal
#     parameters; sorting; medium; referring; informal
#
#     endName
#
#     name ; given; Max
#     name ; given2; Ben
#     name ; surname; Mustermann
#     …
# =====

enum ; field ; title, given, given2, surname, surname2, generation, credentials
enum ; modifiers ; informal, allCaps, initialCap, initial, retain, monogram, prefix, core, vocative, genitive
enum ; order ; givenFirst, surnameFirst, sorting
enum ; length ; long, medium, short
enum ; usage ; referring, addressing, monogram
enum ; formality ; formal, informal

# nativeG
name ; given; Hassan
name ; locale; sw_AQ

expectedResult; Hassan

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; H

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# nativeGS
name ; given; Maria
name ; surname; Hasani
name ; locale; sw_AQ

expectedResult; Hasani, Maria

parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Hasani Maria

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal

expectedResult; Maria Hasani

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; informal

expectedResult; Hasani, M.

parameters; sorting; short; referring; formal

expectedResult; Hasani M.

parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal

expectedResult; M. Hasani

parameters; givenFirst; short; referring; formal

expectedResult; Hasani

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; Maria

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; HM

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal

expectedResult; MH

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal

expectedResult; H

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; M

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName

# nativeGGS
name ; given; Ali
name ; given2; Juma
name ; surname; Hamisi
name ; locale; sw_AQ

expectedResult; Hamisi, Ali Juma

parameters; sorting; long; referring; formal

expectedResult; Ali Juma Hamisi

parameters; givenFirst; long; referring; formal
parameters; givenFirst; short; referring; informal

expectedResult; Hamisi Ali Juma

parameters; surnameFirst; long; referring; formal

expectedResult; Hamisi, Ali J.

parameters; sorting; medium; referring; formal

expectedResult; Ali J. Hamisi

parameters; givenFirst; medium; referring; formal

expectedResult; Hamisi Ali J.

parameters; surnameFirst; medium; referring; formal

expectedResult; Hamisi, A. J.

parameters; sorting; short; referring; formal

expectedResult; A. J. Hamisi

parameters; givenFirst; short; referring; formal

expectedResult; Hamisi A. J.

parameters; surnameFirst; short; referring; formal

expectedResult; Hamisi, Ali

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Ali Hamisi

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; Hamisi Ali

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; Hamisi A.

parameters; surnameFirst; short; referring; informal

expectedResult; Hamisi

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; AJH

parameters; givenFirst; long; monogram; formal

expectedResult; Ali

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; HAJ

parameters; surnameFirst; long; monogram; formal

expectedResult; AH

parameters; givenFirst; long; monogram; informal

expectedResult; HA

parameters; surnameFirst; long; monogram; informal

expectedResult; A

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; H

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# nativeFull
name ; title; Bw.
name ; given; Adam Juma
name ; given-informal; Bita
name ; given2; Agape Shukurani
name ; surname-core; Masalu
name ; generation; Jr
name ; credentials; MB
name ; locale; sw_AQ

expectedResult; Bw. Adam Juma Agape Shukurani Masalu MB

parameters; givenFirst; long; referring; formal

expectedResult; Adam Juma Agape Shukurani Masalu MB

parameters; givenFirst; short; referring; informal

expectedResult; Masalu Adam Juma Agape Shukurani MB

parameters; surnameFirst; long; referring; formal

expectedResult; Masalu, Adam Juma Agape Shukurani

parameters; sorting; long; referring; formal

expectedResult; Adam Juma A. S. Masalu Jr, MB

parameters; givenFirst; medium; referring; formal

expectedResult; Masalu Adam Juma A. S. MB

parameters; surnameFirst; medium; referring; formal

expectedResult; Masalu, Adam Juma A. S.

parameters; sorting; medium; referring; formal

expectedResult; Masalu, A. J. A. S.

parameters; sorting; short; referring; formal

expectedResult; A. J. A. S. Masalu

parameters; givenFirst; short; referring; formal

expectedResult; Masalu A. J. A. S.

parameters; surnameFirst; short; referring; formal

expectedResult; Masalu A. J.

parameters; surnameFirst; short; referring; informal

expectedResult; Masalu, Bita

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Bita Masalu

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; Masalu Bita

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; Bw. Masalu

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; Bita

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; AAM

parameters; givenFirst; long; monogram; formal

expectedResult; MAA

parameters; surnameFirst; long; monogram; formal

expectedResult; BM

parameters; givenFirst; long; monogram; informal

expectedResult; MB

parameters; surnameFirst; long; monogram; informal

expectedResult; B

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; M

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# foreignG
name ; given; Kevin
name ; locale; ko_AQ

expectedResult; Kevin

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; long; addressing; formal
parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; referring; formal
parameters; givenFirst; short; referring; informal
parameters; givenFirst; short; addressing; formal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal
parameters; surnameFirst; short; addressing; formal
parameters; surnameFirst; short; addressing; informal
parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; formal
parameters; sorting; short; referring; informal

expectedResult; K

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal
parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; formal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; formal
parameters; surnameFirst; short; monogram; informal

endName

# foreignGS
name ; given; John
name ; surname; Mkwawa
name ; locale; ko_AQ

expectedResult; Mkwawa, John

parameters; sorting; long; referring; formal
parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; formal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; John Mkwawa

parameters; givenFirst; long; referring; formal
parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; formal
parameters; givenFirst; medium; referring; informal
parameters; givenFirst; short; referring; informal

expectedResult; Mkwawa John

parameters; surnameFirst; long; referring; formal
parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; formal
parameters; surnameFirst; medium; referring; informal

expectedResult; Mkwawa, J.

parameters; sorting; short; referring; formal

expectedResult; J. Mkwawa

parameters; givenFirst; short; referring; formal

expectedResult; Mkwawa J.

parameters; surnameFirst; short; referring; formal
parameters; surnameFirst; short; referring; informal

expectedResult; Mkwawa

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; John

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; JM

parameters; givenFirst; long; monogram; formal
parameters; givenFirst; long; monogram; informal

expectedResult; MJ

parameters; surnameFirst; long; monogram; formal
parameters; surnameFirst; long; monogram; informal

expectedResult; J

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

expectedResult; M

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

endName

# foreignGGS
name ; given; Zamara
name ; given2; Imani
name ; surname; Bukenya
name ; locale; ko_AQ

expectedResult; Bukenya, Zamara Imani

parameters; sorting; long; referring; formal

expectedResult; Bukenya Zamara Imani

parameters; surnameFirst; long; referring; formal

expectedResult; Zamara Imani Bukenya

parameters; givenFirst; long; referring; formal
parameters; givenFirst; short; referring; informal

expectedResult; Bukenya, Zamara I.

parameters; sorting; medium; referring; formal

expectedResult; Bukenya Zamara I.

parameters; surnameFirst; medium; referring; formal

expectedResult; Zamara I. Bukenya

parameters; givenFirst; medium; referring; formal

expectedResult; Bukenya, Zamara

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; Bukenya Zamara

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; Bukenya, Z. I.

parameters; sorting; short; referring; formal

expectedResult; Zamara Bukenya

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; Bukenya Z. I.

parameters; surnameFirst; short; referring; formal

expectedResult; Z. I. Bukenya

parameters; givenFirst; short; referring; formal

expectedResult; Bukenya Z.

parameters; surnameFirst; short; referring; informal

expectedResult; Bukenya

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; Zamara

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; BZI

parameters; surnameFirst; long; monogram; formal

expectedResult; ZIB

parameters; givenFirst; long; monogram; formal

expectedResult; BZ

parameters; surnameFirst; long; monogram; informal

expectedResult; ZB

parameters; givenFirst; long; monogram; informal

expectedResult; B

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; Z

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName

# foreignFull
name ; title; Prof. Dk.
name ; given; Salima
name ; given-informal; Sarah
name ; given2; Farida
name ; surname-prefix; mwana
name ; surname-core; Hamisi
name ; surname2; Musa
name ; generation; Jr
name ; credentials; M.D. Ph.D.
name ; locale; ko_AQ

expectedResult; Prof. Dk. Salima Farida mwana Hamisi Musa M.D. Ph.D.

parameters; givenFirst; long; referring; formal

expectedResult; mwana Hamisi Salima Farida M.D. Ph.D.

parameters; surnameFirst; long; referring; formal

expectedResult; Salima F. mwana Hamisi Jr, M.D. Ph.D.

parameters; givenFirst; medium; referring; formal

expectedResult; Salima Farida mwana Hamisi M.D. Ph.D.

parameters; givenFirst; short; referring; informal

expectedResult; mwana Hamisi Salima F. M.D. Ph.D.

parameters; surnameFirst; medium; referring; formal

expectedResult; Hamisi, Salima Farida mwana

parameters; sorting; long; referring; formal

expectedResult; Hamisi, Salima F. mwana

parameters; sorting; medium; referring; formal

expectedResult; Prof. Dk. mwana Hamisi

parameters; givenFirst; long; addressing; formal
parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; addressing; formal
parameters; surnameFirst; long; addressing; formal
parameters; surnameFirst; medium; addressing; formal
parameters; surnameFirst; short; addressing; formal

expectedResult; Hamisi, S. F. mwana

parameters; sorting; short; referring; formal

expectedResult; mwana Hamisi, Sarah

parameters; sorting; long; referring; informal
parameters; sorting; medium; referring; informal
parameters; sorting; short; referring; informal

expectedResult; mwana Hamisi S. F.

parameters; surnameFirst; short; referring; formal

expectedResult; mwana Hamisi Sarah

parameters; surnameFirst; long; referring; informal
parameters; surnameFirst; medium; referring; informal

expectedResult; S. F. mwana Hamisi

parameters; givenFirst; short; referring; formal

expectedResult; Sarah mwana Hamisi

parameters; givenFirst; long; referring; informal
parameters; givenFirst; medium; referring; informal

expectedResult; mwana Hamisi S.

parameters; surnameFirst; short; referring; informal

expectedResult; Sarah

parameters; givenFirst; long; addressing; informal
parameters; givenFirst; medium; addressing; informal
parameters; givenFirst; short; addressing; informal
parameters; surnameFirst; long; addressing; informal
parameters; surnameFirst; medium; addressing; informal
parameters; surnameFirst; short; addressing; informal

expectedResult; MSF

parameters; surnameFirst; long; monogram; formal

expectedResult; SFM

parameters; givenFirst; long; monogram; formal

expectedResult; MS

parameters; surnameFirst; long; monogram; informal

expectedResult; SM

parameters; givenFirst; long; monogram; informal

expectedResult; M

parameters; givenFirst; medium; monogram; formal
parameters; givenFirst; short; monogram; formal
parameters; surnameFirst; medium; monogram; formal
parameters; surnameFirst; short; monogram; formal

expectedResult; S

parameters; givenFirst; medium; monogram; informal
parameters; givenFirst; short; monogram; informal
parameters; surnameFirst; medium; monogram; informal
parameters; surnameFirst; short; monogram; informal

endName
