# 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: es
#
# 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; Lola
name ; locale; es_AQ

expectedResult; Lola

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

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; Lucía
name ; surname; Pérez
name ; locale; es_AQ

expectedResult; Pérez, Lucía

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

expectedResult; Lucía Pérez

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

expectedResult; Pérez Lucía

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

expectedResult; Pérez, L.

parameters; sorting; short; referring; formal

expectedResult; L. Pérez

parameters; givenFirst; short; referring; formal

expectedResult; Lucía P.

parameters; givenFirst; short; referring; informal

expectedResult; Pérez L.

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

expectedResult; Lucí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; Pérez

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

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

expectedResult; PL

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

expectedResult; L

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

# nativeGGS
name ; given; Rosa
name ; given2; María
name ; surname; Ruiz
name ; locale; es_AQ

expectedResult; Ruiz, Rosa María

parameters; sorting; long; referring; formal

expectedResult; Rosa María Ruiz

parameters; givenFirst; long; referring; formal

expectedResult; Ruiz Rosa María

parameters; surnameFirst; long; referring; formal

expectedResult; Ruiz, Rosa M.

parameters; sorting; medium; referring; formal

expectedResult; Rosa M. Ruiz

parameters; givenFirst; medium; referring; formal

expectedResult; Ruiz Rosa M.

parameters; surnameFirst; medium; referring; formal

expectedResult; Ruiz, R. M.

parameters; sorting; short; referring; formal

expectedResult; R. M. Ruiz

parameters; givenFirst; short; referring; formal

expectedResult; Ruiz R. M.

parameters; surnameFirst; short; referring; formal

expectedResult; Ruiz, Rosa

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

expectedResult; Rosa Ruiz

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

expectedResult; Ruiz Rosa

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

expectedResult; Rosa R.

parameters; givenFirst; short; referring; informal

expectedResult; Ruiz R.

parameters; surnameFirst; short; referring; informal

expectedResult; Rosa

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

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

parameters; surnameFirst; long; monogram; formal

expectedResult; RR

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

expectedResult; R

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

endName

# nativeFull
name ; title; Sr.
name ; given; Miguel Ángel
name ; given-informal; Migue
name ; given2; Juan Antonio
name ; surname-core; Pablo
name ; surname2; Pérez
name ; generation; II
name ; locale; es_AQ

expectedResult; Pablo Pérez, Sr. Miguel Ángel Juan Antonio

parameters; sorting; long; referring; formal

expectedResult; Pablo Pérez Miguel Ángel Juan Antonio II

parameters; surnameFirst; long; referring; formal

expectedResult; Sr. Miguel Ángel Juan Antonio Pablo II

parameters; givenFirst; long; referring; formal

expectedResult; Pablo, Sr. Miguel Ángel Juan Antonio

parameters; sorting; short; referring; formal

expectedResult; Pablo Pérez, Sr. Miguel Ángel J. A.

parameters; sorting; medium; referring; formal

expectedResult; Miguel Ángel J. A. Pablo II

parameters; givenFirst; medium; referring; formal

expectedResult; Pablo Miguel Ángel J. A.

parameters; surnameFirst; medium; referring; formal

expectedResult; Pablo Pérez, Migue

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

expectedResult; M. Á. J. A. Pablo

parameters; givenFirst; short; referring; formal

expectedResult; Migue Pablo Pérez

parameters; givenFirst; long; referring; informal

expectedResult; Pablo M. Á. J. A.

parameters; surnameFirst; short; referring; formal

expectedResult; Pablo Pérez Migue

parameters; surnameFirst; long; referring; informal

expectedResult; Sr. Pablo Pérez

parameters; givenFirst; long; addressing; formal

expectedResult; Pablo, Migue

parameters; sorting; short; referring; informal

expectedResult; Migue Pablo

parameters; givenFirst; medium; referring; informal

expectedResult; Pablo M. Á.

parameters; surnameFirst; short; referring; informal

expectedResult; Pablo Migue

parameters; surnameFirst; medium; referring; informal

expectedResult; Sr. Pablo

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

parameters; givenFirst; short; referring; informal

expectedResult; Migue

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

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

expectedResult; PMJ

parameters; surnameFirst; long; monogram; formal

expectedResult; PM

parameters; surnameFirst; long; monogram; informal

expectedResult; M

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

# foreignG
name ; given; Peter
name ; locale; ko_AQ

expectedResult; Peter

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

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; Martine
name ; surname; Sodersen
name ; locale; ko_AQ

expectedResult; Sodersen, Martine

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

expectedResult; Martine Sodersen

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

expectedResult; Sodersen Martine

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

expectedResult; Sodersen, M.

parameters; sorting; short; referring; formal

expectedResult; M. Sodersen

parameters; givenFirst; short; referring; formal

expectedResult; Sodersen M.

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

expectedResult; Martine S.

parameters; givenFirst; short; referring; informal

expectedResult; Sodersen

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

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

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

expectedResult; SM

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

expectedResult; M

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

expectedResult; S

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

endName

# foreignGGS
name ; given; Christopher
name ; given2; Hans
name ; surname; Jacobsen
name ; locale; ko_AQ

expectedResult; Jacobsen, Christopher Hans

parameters; sorting; long; referring; formal

expectedResult; Christopher Hans Jacobsen

parameters; givenFirst; long; referring; formal

expectedResult; Jacobsen Christopher Hans

parameters; surnameFirst; long; referring; formal

expectedResult; Jacobsen, Christopher H.

parameters; sorting; medium; referring; formal

expectedResult; Christopher H. Jacobsen

parameters; givenFirst; medium; referring; formal

expectedResult; Jacobsen Christopher H.

parameters; surnameFirst; medium; referring; formal

expectedResult; Jacobsen, Christopher

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

expectedResult; Christopher Jacobsen

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

expectedResult; Jacobsen Christopher

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

expectedResult; Jacobsen, C. H.

parameters; sorting; short; referring; formal

expectedResult; C. H. Jacobsen

parameters; givenFirst; short; referring; formal

expectedResult; Christopher J.

parameters; givenFirst; short; referring; informal

expectedResult; Jacobsen C. H.

parameters; surnameFirst; short; referring; formal

expectedResult; Christopher

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; Jacobsen C.

parameters; surnameFirst; short; referring; informal

expectedResult; Jacobsen

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

parameters; surnameFirst; long; monogram; formal

expectedResult; CJ

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

expectedResult; JC

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

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; Mary Sue
name ; given-informal; Marge
name ; given2; Marie
name ; surname-prefix; von
name ; surname-core; Miller
name ; surname2; Jones
name ; generation; II
name ; credentials; MD DDS
name ; locale; ko_AQ

expectedResult; Prof. Dr. Mary Sue Marie von Miller II, MD DDS

parameters; givenFirst; long; referring; formal

expectedResult; von Miller Jones Mary Sue Marie II, MD DDS

parameters; surnameFirst; long; referring; formal

expectedResult; von Miller Jones, Prof. Dr. Mary Sue Marie

parameters; sorting; long; referring; formal

expectedResult; von Miller Jones, Prof. Dr. Mary Sue M.

parameters; sorting; medium; referring; formal

expectedResult; von Miller, Prof. Dr. Mary Sue Marie

parameters; sorting; short; referring; formal

expectedResult; Mary Sue M. von Miller II, MD DDS

parameters; givenFirst; medium; referring; formal

expectedResult; Prof. Dr. von Miller Jones

parameters; givenFirst; long; addressing; formal

expectedResult; von Miller Jones, Marge

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

expectedResult; Marge von Miller Jones

parameters; givenFirst; long; referring; informal

expectedResult; von Miller Jones Marge

parameters; surnameFirst; long; referring; informal

expectedResult; von Miller Mary Sue M.

parameters; surnameFirst; medium; referring; formal

expectedResult; Prof. Dr. von Miller

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; M. S. M. von Miller

parameters; givenFirst; short; referring; formal

expectedResult; von Miller M. S. M.

parameters; surnameFirst; short; referring; formal

expectedResult; von Miller, Marge

parameters; sorting; short; referring; informal

expectedResult; Marge von Miller

parameters; givenFirst; medium; referring; informal

expectedResult; von Miller M. S.

parameters; surnameFirst; short; referring; informal

expectedResult; von Miller Marge

parameters; surnameFirst; medium; referring; informal

expectedResult; Marge v. M.

parameters; givenFirst; short; referring; informal

expectedResult; Marge

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

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

expectedResult; VMM

parameters; surnameFirst; long; monogram; formal

expectedResult; VM

parameters; surnameFirst; long; monogram; informal

expectedResult; M

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
