# Test data for unit conversions
#  Copyright © 1991-2023 Unicode, Inc.
#  For terms of use, see http://www.unicode.org/copyright.html
#  SPDX-License-Identifier: Unicode-DFS-2016
#  CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
#
# CLDR person name formatting test data for: es_US
#
# 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; Diego
name ; locale; es_US

expectedResult; Diego

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

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; García Pérez
name ; locale; es_US

expectedResult; García Pérez, Lucía

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

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

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

expectedResult; García Pérez L.

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

expectedResult; L. García Pérez

parameters; givenFirst; short; referring; formal

expectedResult; García 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; Lucía G. P.

parameters; givenFirst; 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; GL

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

expectedResult; LG

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

expectedResult; G

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

expectedResult; L

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

endName

# nativeGGS
name ; given; Juan
name ; given2; Luis Antonio
name ; surname; Rodríguez Ruiz
name ; locale; es_US

expectedResult; Rodríguez Ruiz, Juan Luis Antonio

parameters; sorting; long; referring; formal
parameters; sorting; short; referring; formal

expectedResult; Juan Luis Antonio Rodríguez Ruiz

parameters; givenFirst; long; referring; formal

expectedResult; Rodríguez Ruiz Juan Luis Antonio

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

expectedResult; Rodríguez Ruiz, Juan L. A.

parameters; sorting; medium; referring; formal

expectedResult; Juan L. A. Rodríguez Ruiz

parameters; givenFirst; medium; referring; formal

expectedResult; Rodríguez Ruiz Juan L. A.

parameters; surnameFirst; medium; referring; formal

expectedResult; J. L. A. Rodríguez Ruiz

parameters; givenFirst; short; referring; formal

expectedResult; Rodríguez Ruiz J. L. A.

parameters; surnameFirst; short; referring; formal

expectedResult; Juan Rodríguez Ruiz

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

expectedResult; Rodríguez Ruiz Juan

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

expectedResult; Rodríguez Ruiz J.

parameters; surnameFirst; short; referring; informal

expectedResult; Rodríguez 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; Juan R. R.

parameters; givenFirst; short; referring; informal

expectedResult; Juan

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

parameters; surnameFirst; long; monogram; formal

expectedResult; JR

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

expectedResult; RJ

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

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

endName

# nativeFull
name ; title; Sr.
name ; given; Alejandro Martín
name ; given-informal; Ale
name ; given2; Carlos Miguel
name ; surname-core; García
name ; surname2; Pérez
name ; generation; Júnior
name ; credentials; Miembro del Parlamento
name ; locale; es_US

expectedResult; Sr. Alejandro Martín Carlos Miguel García Júnior, Miembro del Parlamento

parameters; givenFirst; long; referring; formal

expectedResult; García Pérez Alejandro Martín Carlos Miguel Miembro del Parlamento

parameters; surnameFirst; long; referring; formal

expectedResult; Alejandro Martín C. M. García Miembro del Parlamento

parameters; givenFirst; medium; referring; formal

expectedResult; García Alejandro Martín C. M. Miembro del Parlamento

parameters; surnameFirst; medium; referring; formal

expectedResult; García Pérez, Alejandro Martín Carlos Miguel

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

expectedResult; García, Sr. Alejandro Martín Carlos Miguel

parameters; sorting; long; referring; formal
parameters; sorting; short; referring; formal

expectedResult; García, Sr. Alejandro Martín C. M.

parameters; sorting; medium; referring; formal

expectedResult; A. M. C. M. García

parameters; givenFirst; short; referring; formal

expectedResult; García A. M. C. M.

parameters; surnameFirst; short; referring; formal

expectedResult; Ale García Pérez

parameters; givenFirst; long; referring; informal

expectedResult; García Pérez Ale

parameters; surnameFirst; long; referring; informal

expectedResult; Sr. García Pérez

parameters; givenFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; formal

expectedResult; García A. M.

parameters; surnameFirst; short; referring; informal

expectedResult; Ale García

parameters; givenFirst; medium; referring; informal

expectedResult; García Ale

parameters; surnameFirst; medium; referring; informal

expectedResult; Sr. García

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

expectedResult; Ale G.

parameters; givenFirst; short; referring; informal

expectedResult; AGP

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

expectedResult; Ale

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

parameters; surnameFirst; long; monogram; formal

expectedResult; GA

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

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

endName

# foreignG
name ; given; Aziz
name ; locale; ko_AQ

expectedResult; Aziz

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

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; Kate
name ; surname; Smith
name ; locale; ko_AQ

expectedResult; Smith, Kate

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

expectedResult; Kate Smith

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

expectedResult; Smith Kate

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; K. Smith

parameters; givenFirst; short; referring; formal

expectedResult; Smith K.

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

expectedResult; Kate S.

parameters; givenFirst; short; referring; informal

expectedResult; Smith

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

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

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

expectedResult; SK

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; 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; Sarah
name ; given2; Anna
name ; surname; Johnson
name ; locale; ko_AQ

expectedResult; Johnson, Sarah Anna

parameters; sorting; long; referring; formal
parameters; sorting; short; referring; formal

expectedResult; Johnson Sarah Anna

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

expectedResult; Sarah Anna Johnson

parameters; givenFirst; long; referring; formal

expectedResult; Johnson, Sarah A.

parameters; sorting; medium; referring; formal

expectedResult; Johnson Sarah A.

parameters; surnameFirst; medium; referring; formal

expectedResult; Sarah A. Johnson

parameters; givenFirst; medium; referring; formal

expectedResult; Johnson S. A.

parameters; surnameFirst; short; referring; formal

expectedResult; Johnson Sarah

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

expectedResult; S. A. Johnson

parameters; givenFirst; short; referring; formal

expectedResult; Sarah Johnson

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

expectedResult; Johnson S.

parameters; surnameFirst; short; referring; informal

expectedResult; Sarah J.

parameters; givenFirst; short; referring; informal

expectedResult; Johnson

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

parameters; surnameFirst; long; monogram; formal

expectedResult; JS

parameters; surnameFirst; long; monogram; informal

expectedResult; SJ

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

expectedResult; J

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

# foreignFull
name ; title; Prof. Dra.
name ; given; Mary Sue
name ; given-informal; Marge
name ; given2; Marie
name ; surname-prefix; de
name ; surname-core; Miller
name ; surname2; Jones
name ; generation; II
name ; credentials; Dr./Dra.
name ; locale; ko_AQ

expectedResult; Prof. Dra. Mary Sue Marie de Miller II, Dr./Dra.

parameters; givenFirst; long; referring; formal

expectedResult; de Miller Jones Mary Sue Marie Dr./Dra.

parameters; surnameFirst; long; referring; formal

expectedResult; de Miller, Prof. Dra. Mary Sue Marie

parameters; sorting; long; referring; formal
parameters; sorting; short; referring; formal

expectedResult; de Miller, Prof. Dra. Mary Sue M.

parameters; sorting; medium; referring; formal

expectedResult; de Miller Jones, Mary Sue Marie

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

expectedResult; de Miller Mary Sue M. Dr./Dra.

parameters; surnameFirst; medium; referring; formal

expectedResult; Mary Sue M. de Miller Dr./Dra.

parameters; givenFirst; medium; referring; formal

expectedResult; Prof. Dra. de Miller Jones

parameters; givenFirst; long; addressing; formal
parameters; surnameFirst; long; addressing; formal

expectedResult; de Miller Jones Marge

parameters; surnameFirst; long; referring; informal

expectedResult; Marge de Miller Jones

parameters; givenFirst; long; referring; informal

expectedResult; Prof. Dra. de Miller

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

expectedResult; de Miller M. S. M.

parameters; surnameFirst; short; referring; formal

expectedResult; M. S. M. de Miller

parameters; givenFirst; short; referring; formal

expectedResult; de Miller M. S.

parameters; surnameFirst; short; referring; informal

expectedResult; de Miller Marge

parameters; surnameFirst; medium; referring; informal

expectedResult; Marge de Miller

parameters; givenFirst; medium; referring; informal

expectedResult; Marge d. 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; DMM

parameters; surnameFirst; long; monogram; formal

expectedResult; MDJ

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

expectedResult; DM

parameters; surnameFirst; long; monogram; informal

expectedResult; D

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
