# 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_MX
#
# 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_MX

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_MX

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; 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; sorting; short; referring; formal

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_MX

expectedResult; Rodríguez Ruiz, Juan Luis Antonio

parameters; sorting; long; 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

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; Rodríguez Ruiz, J. L. A.

parameters; sorting; short; 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; Rodríguez Ruiz, Juan

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

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
parameters; sorting; long; 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; Marcelo Miguel
name ; given-informal; Marce
name ; given2; Javier Ariel
name ; surname-core; Romero
name ; surname2; Pérez
name ; generation; Júnior
name ; credentials; Miembro del Parlamento
name ; locale; es_MX

expectedResult; Romero Pérez Marcelo Miguel Javier Ariel Miembro del Parlamento

parameters; surnameFirst; long; referring; formal

expectedResult; Marcelo Miguel J. A. Romero Miembro del Parlamento

parameters; givenFirst; medium; referring; formal

expectedResult; Romero Marcelo Miguel J. A. Miembro del Parlamento

parameters; surnameFirst; medium; referring; formal

expectedResult; Romero Pérez, Sr. Marcelo Miguel Javier Ariel

parameters; sorting; long; referring; formal

expectedResult; Sr. Marcelo Miguel Javier Ariel Romero Pérez

parameters; givenFirst; long; referring; formal

expectedResult; Romero, Sr. Marcelo Miguel Javier Ariel

parameters; sorting; short; referring; formal

expectedResult; Romero Pérez, Sr. Marcelo Miguel J. A.

parameters; sorting; medium; referring; formal

expectedResult; Romero Pérez, Marce

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

expectedResult; M. M. J. A. Romero

parameters; givenFirst; short; referring; formal

expectedResult; Marce Romero Pérez

parameters; givenFirst; long; referring; informal

expectedResult; Romero M. M. J. A.

parameters; surnameFirst; short; referring; formal

expectedResult; Romero Pérez Marce

parameters; surnameFirst; long; referring; informal

expectedResult; Sr. Romero Pérez

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

expectedResult; Romero, Marce

parameters; sorting; short; referring; informal

expectedResult; Marce Romero

parameters; givenFirst; medium; referring; informal

expectedResult; Romero M. M.

parameters; surnameFirst; short; referring; informal

expectedResult; Romero Marce

parameters; surnameFirst; medium; referring; informal

expectedResult; Sr. Romero

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

expectedResult; Marce R.

parameters; givenFirst; short; referring; informal

expectedResult; Marce

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

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

expectedResult; RMJ

parameters; surnameFirst; long; monogram; formal

expectedResult; RM

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

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

endName

# foreignG
name ; given; Mohammed
name ; locale; ko_AQ

expectedResult; Mohammed

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

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; Zäzilia
name ; surname; Stöber
name ; locale; ko_AQ

expectedResult; Stöber, Zäzilia

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

expectedResult; Stöber Zäzilia

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; Zäzilia Stöber

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

expectedResult; Stöber, Z.

parameters; sorting; short; referring; formal

expectedResult; Zäzilia S.

parameters; givenFirst; short; referring; informal

expectedResult; Stöber Z.

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

expectedResult; Z. Stöber

parameters; givenFirst; short; referring; formal

expectedResult; Zäzilia

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; Stöber

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

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

expectedResult; ZS

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

expectedResult; S

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

# foreignGGS
name ; given; Käthe
name ; given2; Kate
name ; surname; Müller
name ; locale; ko_AQ

expectedResult; Müller, Käthe Kate

parameters; sorting; long; referring; formal

expectedResult; Käthe Kate Müller

parameters; givenFirst; long; referring; formal

expectedResult; Müller Käthe Kate

parameters; surnameFirst; long; referring; formal

expectedResult; Müller, Käthe K.

parameters; sorting; medium; referring; formal

expectedResult; Käthe K. Müller

parameters; givenFirst; medium; referring; formal

expectedResult; Müller Käthe K.

parameters; surnameFirst; medium; referring; formal

expectedResult; Müller, K. K.

parameters; sorting; short; referring; formal

expectedResult; Müller, Käthe

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

expectedResult; K. K. Müller

parameters; givenFirst; short; referring; formal

expectedResult; Käthe Müller

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

expectedResult; Müller K. K.

parameters; surnameFirst; short; referring; formal

expectedResult; Müller Käthe

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

expectedResult; Müller K.

parameters; surnameFirst; short; referring; informal

expectedResult; Käthe M.

parameters; givenFirst; short; referring; informal

expectedResult; Müller

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; Käthe

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

parameters; surnameFirst; long; monogram; formal

expectedResult; KM

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

expectedResult; MK

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

# foreignFull
name ; title; Prof. Dra.
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; Dr./Dra.
name ; locale; ko_AQ

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

parameters; sorting; long; referring; formal

expectedResult; Prof. Dra. Mary Sue Marie von Miller Jones

parameters; givenFirst; long; referring; formal

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

parameters; surnameFirst; long; referring; formal

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

parameters; sorting; medium; referring; formal

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

parameters; sorting; short; referring; formal

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

parameters; givenFirst; medium; referring; formal

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

parameters; surnameFirst; medium; referring; formal

expectedResult; Prof. Dra. von Miller Jones

parameters; givenFirst; long; addressing; formal
parameters; surnameFirst; 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; Prof. Dra. von Miller

parameters; givenFirst; medium; addressing; formal
parameters; givenFirst; short; 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
