---
title: "SubdivisionData"
slug: "api/project/types/subdivisiondata"
sidebar:
  order: 564
---

<a id="ref-24d1c4b1ed18"></a>
<a id="ref-f7a4eff91e80"></a>
<a id="ref-6162396222a9"></a>

## Synopsis

```text
struct SubdivisionData (
    string iso3166names,
    string[] localVariants,
    string languageCodes,
    string displayName
    string category,
    string iso3166Code,
    string regionCode,
    string parentSubdivision
)
```

**category**

The subdivision category as defined by ISO 3166-2

**iso3166code**

The subdivision code as defined by ISO 3166-2

**regionCode**

The subdivision code with the country prefix removed; This code must be used to set the region code of addresses

**parentSubdivision**

The subdivision code of the parent subdivision (or missing if this is a top level subdivision)

**languageCodes**

non-empty list of language codes as defined by ISO 3166-2 for the subdivision; All codes are alpha-2 codes, except for 'und' (which is used in cases where ISO 3166-2 uses '-' as language code).

**Iso3166names**

non-empty list of subdivision names as defined by ISO 3166-2. This list contains either one element or the same number of elements as the list of language codes (if there are different names for at least two language codes).

**LocalVariants**

possibly empty list of local variants of the names; If  empty than no local variants are defined for this subdivision. Otherwise the rules are the same as for 'iso3166names'.

**DisplayName**

A name derived from Unicode CLDR data based on the sessions current locale.
