# 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: sr_Latn
#
# 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; Ivan
name ; locale; sr_Latn_AQ

expectedResult; Ivan

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; I

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; Irena
name ; surname; Marković
name ; locale; sr_Latn_AQ

expectedResult; Marković, Irena

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; Irena Marković

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

expectedResult; Marković Irena

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

expectedResult; Marković, I.

parameters; sorting; short; referring; formal

expectedResult; I. Marković

parameters; givenFirst; short; referring; formal

expectedResult; Marković I.

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

expectedResult; Irena M.

parameters; givenFirst; short; referring; informal

expectedResult; Marković

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; Irena

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; IM

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

expectedResult; MI

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

expectedResult; I

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

# nativeGGS
name ; given; Jovan
name ; given2; Dragan
name ; surname; Popović
name ; locale; sr_Latn_AQ

expectedResult; Popović, Jovan Dragan

parameters; sorting; long; referring; formal

expectedResult; Jovan Dragan Popović

parameters; givenFirst; long; referring; formal

expectedResult; Popović Jovan Dragan

parameters; surnameFirst; long; referring; formal

expectedResult; Popović, Jovan D.

parameters; sorting; medium; referring; formal

expectedResult; Jovan D. Popović

parameters; givenFirst; medium; referring; formal

expectedResult; Popović Jovan D.

parameters; surnameFirst; medium; referring; formal

expectedResult; Popović, J. D.

parameters; sorting; short; referring; formal

expectedResult; Popović, Jovan

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

expectedResult; J. D. Popović

parameters; givenFirst; short; referring; formal

expectedResult; Jovan Popović

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

expectedResult; Popović J. D.

parameters; surnameFirst; short; referring; formal

expectedResult; Popović Jovan

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

expectedResult; Popović J.

parameters; surnameFirst; short; referring; informal

expectedResult; Jovan P.

parameters; givenFirst; short; referring; informal

expectedResult; Popović

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; Jovan

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; JDP

parameters; givenFirst; long; monogram; formal

expectedResult; PJD

parameters; surnameFirst; long; monogram; formal

expectedResult; JP

parameters; givenFirst; long; monogram; informal

expectedResult; PJ

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; P

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

endName

# nativeFull
name ; title; dr
name ; given; Slađana
name ; given-informal; Slađa
name ; given2; Vera
name ; surname-core; Milenković
name ; generation; mlađi
name ; credentials; dipl. inž.
name ; locale; sr_Latn_AQ

expectedResult; Milenković dr Slađana Vera mlađi, dipl. inž.

parameters; surnameFirst; long; referring; formal

expectedResult; Milenković Slađana V. mlađi, dipl. inž.

parameters; surnameFirst; medium; referring; formal

expectedResult; Slađana V. Milenković mlađi, dipl. inž.

parameters; givenFirst; medium; referring; formal

expectedResult; dr Slađana Vera Milenković dipl. inž.

parameters; givenFirst; long; referring; formal

expectedResult; Milenković, Slađana Vera

parameters; sorting; long; referring; formal

expectedResult; Milenković, Slađana V.

parameters; sorting; medium; referring; formal

expectedResult; Milenković, S. V.

parameters; sorting; short; referring; formal

expectedResult; Milenković, Slađa

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

expectedResult; Milenković S. V.

parameters; surnameFirst; short; referring; formal

expectedResult; Milenković Slađa

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

expectedResult; S. V. Milenković

parameters; givenFirst; short; referring; formal

expectedResult; Slađa Milenković

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

expectedResult; dr Milenković

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; Milenković S.

parameters; surnameFirst; short; referring; informal

expectedResult; Slađa M.

parameters; givenFirst; short; referring; informal

expectedResult; Slađa

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; MSV

parameters; surnameFirst; long; monogram; formal

expectedResult; SVM

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

# foreignG
name ; given; Sinbad
name ; locale; ko_AQ

expectedResult; Sinbad

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; S

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; Kete
name ; surname; Miler
name ; locale; ko_AQ

expectedResult; Miler, Kete

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; Kete Miler

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

expectedResult; Miler Kete

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

expectedResult; Miler, K.

parameters; sorting; short; referring; formal

expectedResult; K. Miler

parameters; givenFirst; short; referring; formal

expectedResult; Miler K.

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

expectedResult; Kete M.

parameters; givenFirst; short; referring; informal

expectedResult; Miler

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; Kete

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; KM

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

expectedResult; MK

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

expectedResult; K

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; Cecilija
name ; given2; Hemiš
name ; surname; Šteber
name ; locale; ko_AQ

expectedResult; Šteber, Cecilija Hemiš

parameters; sorting; long; referring; formal

expectedResult; Cecilija Hemiš Šteber

parameters; givenFirst; long; referring; formal

expectedResult; Šteber Cecilija Hemiš

parameters; surnameFirst; long; referring; formal

expectedResult; Šteber, Cecilija H.

parameters; sorting; medium; referring; formal

expectedResult; Cecilija H. Šteber

parameters; givenFirst; medium; referring; formal

expectedResult; Šteber Cecilija H.

parameters; surnameFirst; medium; referring; formal

expectedResult; Šteber, Cecilija

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

expectedResult; Cecilija Šteber

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

expectedResult; Šteber Cecilija

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

expectedResult; Šteber, C. H.

parameters; sorting; short; referring; formal

expectedResult; C. H. Šteber

parameters; givenFirst; short; referring; formal

expectedResult; Šteber C. H.

parameters; surnameFirst; short; referring; formal

expectedResult; Cecilija Š.

parameters; givenFirst; short; referring; informal

expectedResult; Šteber C.

parameters; surnameFirst; short; referring; informal

expectedResult; Cecilija

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; Šteber

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; CHŠ

parameters; givenFirst; long; monogram; formal

expectedResult; ŠCH

parameters; surnameFirst; long; monogram; formal

expectedResult; CŠ

parameters; givenFirst; long; monogram; informal

expectedResult; ŠC

parameters; surnameFirst; long; monogram; informal

expectedResult; C

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

expectedResult; Š

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

endName

# foreignFull
name ; title; prof. dr
name ; given; Aleksandra
name ; given-informal; Sanja
name ; given2; Eva Sara
name ; surname-prefix; van den
name ; surname-core; Volf
name ; surname2; Petrović Jugović
name ; generation; mlađi
name ; credentials; dipl. inž.
name ; locale; ko_AQ

expectedResult; prof. dr Aleksandra Eva Sara van den Volf Petrović Jugović dipl. inž.

parameters; givenFirst; long; referring; formal

expectedResult; van den Volf prof. dr Aleksandra Eva Sara mlađi, dipl. inž.

parameters; surnameFirst; long; referring; formal

expectedResult; Aleksandra E. S. van den Volf mlađi, dipl. inž.

parameters; givenFirst; medium; referring; formal

expectedResult; van den Volf Aleksandra E. S. mlađi, dipl. inž.

parameters; surnameFirst; medium; referring; formal

expectedResult; Volf, Aleksandra Eva Sara van den

parameters; sorting; long; referring; formal

expectedResult; Volf, Aleksandra E. S. van den

parameters; sorting; medium; referring; formal

expectedResult; Volf, A. E. S. van den

parameters; sorting; short; referring; formal

expectedResult; A. E. S. van den Volf

parameters; givenFirst; short; referring; formal

expectedResult; prof. dr van den Volf

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; van den Volf A. E. S.

parameters; surnameFirst; short; referring; formal

expectedResult; van den Volf, Sanja

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

expectedResult; Sanja van den Volf

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

expectedResult; van den Volf Sanja

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

expectedResult; van den Volf A.

parameters; surnameFirst; short; referring; informal

expectedResult; Sanja v. d. V.

parameters; givenFirst; short; referring; informal

expectedResult; Sanja

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; AEV

parameters; givenFirst; long; monogram; formal

expectedResult; VAE

parameters; surnameFirst; long; monogram; formal

expectedResult; SV

parameters; givenFirst; long; monogram; informal

expectedResult; VS

parameters; surnameFirst; long; monogram; informal

expectedResult; S

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

expectedResult; V

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

endName
