Dela via


Country (ISO 3166) in ESG data model (Country)

Base entity from which all Industry Data Model entities are derived.

Traits

Traits for this entity are listed here.

is.CDM.entityVersion

ParameterValueData typeExplanation
versionNumber"4.3"stringsemantic version number of the entity

is.localized.describedAs
Holds the list of language specific descriptive text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enBase entity from which all Industry Data Model entities are derived.
enThe Country definition is based upon ISO 3166 Country Codes:

Each country or territory has three codes:

  • a two letter code
  • a three letter code
  • a three digit code

The numeric code identifies a physical territory, and the letters a country name. Thus when Germany reunified, it kept DE/DEU but changed from 280 to 276, while when Southern Rhodesia was renamed Zimbabwe it stayed 716 but changed from RH/RHO to ZW/ZWE.

Codes withdrawn from use may not be reused for five years. The two letter codes AA, QM to QZ, XA to XZ, and ZZ, all three letter codes beginning with those pairs, and numeric codes beginning 9, are available for individual use and will not be allocated to countries. The codes OO, OOO, and 000 are designated for use as "escape codes" to indicate that additional codes are being used.

The term "country" is perhaps a little misleading: not all the "countries" in ISO 3166 are actually independent. Many of them are geographically separate territories that are legally portions or dependencies of other countries. Nonetheless the term "country" is used throughout. Where the code for a country includes territory also included in another code, a code for the exclusive part can be formed by replacing the second and third letters by X.

ISO 3166 was first issued in 1974, and the three digit numbers were mostly added in 1981.

Changes to ISO 3166 are managed by the ISO 3166 Maintenance Agency (ISO3166/MA).

Examples of ISO 3166 codes:

CA CAN 124 Canada US USA 840 United States of America

entitya reference to the constant entity holding the list of localized text

is.identifiedBy
Names a specific identity attribute to use with an entity.

ParameterValueData typeExplanation
attributeCountry/(resolvedAttributes)/CountryIdattribute

minimumObjectModelVersion
Minimum version of the object model required to fully understand the data schema used.

ParameterValueData typeExplanation
versionNumber"1.2.3"string

is.IDM.modelVersion
Semantic version number of the IDM.

ParameterValueData typeExplanation
versionNumber"1.6.0"string

has.schemaObjectIdentifier
The schema object has an identifier, which is a string, specified as the parameter of the trait. It allows writers to define other identification values.

ParameterValueData typeExplanation
identifier"{0250C2EA-F92C-4D04-A4F5-43632C28CA02}"stringThe identifier for the schema object. There's no uniqueness guarantee enforced by CDM. It's a contract between reader and writer of the schema.

is.nativeTo.businessArea
The name of the business area from which the entity originates.

ParameterValueData typeExplanation
name"Geography"string

is.localized.displayedAs
Holds the list of language specific display text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enCountry (Iso 3166)
entitya reference to the constant entity holding the list of localized text

has.entitySchemaAbstractionLevel
A level of abstraction assigned to an Entity schema. Logical schema descriptions use complex dataTypes, inheritance, and entities as attributes. Resolved descriptions contain none of those things, only final trait and attribute sets are shown. A composition schema manipulates, guides or restates parts of logical schemas to produce one resolved schema.

ParameterValueData typeExplanation
level"resolved"stringPossible values: logical, composition, resolved

Attributes

Name Description First Included in Instance
CountryId The unique identifier of the Country. Country
IsoCountryName The ISO country name.Country A 2 A 3 Number----------------------------------------------------------------------AALAND ISLANDS AX ALA 248AFGHANISTAN AF AFG 004ALBANIA AL ALB 008The term "country" is perhaps a little misleading: not all the "countries" in ISO 3166 are actually independent. Many of them are geographically separate territories that are legally portions or dependencies of other countries. Nonetheless the term "country" is used throughout. Where the code for a country includes territory also included in another code, a code for the exclusive part can be formed by replacing the second and third letters by X. Country
Iso2LetterCountryCode The ISO 2 letter code identifying a country (A 2).Country A 2 A 3 Number----------------------------------------------------------------------AALAND ISLANDS AX ALA 248AFGHANISTAN AF AFG 004ALBANIA AL ALB 008 Country
Iso3LetterCountryCode The 3 letter country code (A 3).Country A 2 A 3 Number----------------------------------------------------------------------AALAND ISLANDS AX ALA 248AFGHANISTAN AF AFG 004ALBANIA AL ALB 008Thus when Germany reunified, it kept DE/DEU but changed from 280 to 276, while when Southern Rhodesia was renamed Zimbabwe it stayed 716 but changed from RH/RHO to ZW/ZWE. Country
Iso3DigitCountryCode The numeric code identifies a physical territory, and the letters a country name. Thus when Germany reunified, it kept DE/DEU but changed from 280 to 276, while when Southern Rhodesia was renamed Zimbabwe it stayed 716 but changed from RH/RHO to ZW/ZWE. Country
CapitalOrMajorCityName The name of the capital or major city associated with the country Country

CountryId

The unique identifier of the Country.
First included in: Country (this entity)

Properties

NameValue
displayNameCountry ID
descriptionThe unique identifier of the Country.
isPrimaryKeytrue
dataFormatint32

Traits

List of traits for the CountryId attribute are listed here.

is.dataFormat.integer
is.identifiedBy
Names a specific identity attribute to use with an entity.

ParameterValueData typeExplanation
attributeCountry/(resolvedAttributes)/CountryIdattribute

has.schemaObjectIdentifier
The schema object has an identifier, which is a string, specified as the parameter of the trait. It allows writers to define other identification values.

ParameterValueData typeExplanation
identifier"{2B3AD19D-31D6-47EA-98AF-4B7BB8CE8959}"stringThe identifier for the schema object. There's no uniqueness guarantee enforced by CDM. It's a contract between reader and writer of the schema.

is.localized.displayedAs
Holds the list of language specific display text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enCountry ID
entitya reference to the constant entity holding the list of localized text

is.localized.describedAs
Holds the list of language specific descriptive text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enThe unique identifier of the Country.
entitya reference to the constant entity holding the list of localized text

is.dataFormat.integer

IsoCountryName

The ISO country name.

Country A 2 A 3 Number AALAND ISLANDS AX ALA 248 AFGHANISTAN AF AFG 004 ALBANIA AL ALB 008

The term "country" is perhaps a little misleading: not all the "countries" in ISO 3166 are actually independent.

Many of them are geographically separate territories that are legally portions or dependencies of other countries. Nonetheless the term "country" is used throughout.

Where the code for a country includes territory also included in another code, a code for the exclusive part can be formed by replacing the second and third letters by X.
First included in: Country (this entity)

Properties

NameValue
displayNameISO Country Name
descriptionThe ISO country name.

Country A 2 A 3 Number AALAND ISLANDS AX ALA 248 AFGHANISTAN AF AFG 004 ALBANIA AL ALB 008

The term "country" is perhaps a little misleading: not all the "countries" in ISO 3166 are actually independent.

Many of them are geographically separate territories that are legally portions or dependencies of other countries. Nonetheless the term "country" is used throughout.

Where the code for a country includes territory also included in another code, a code for the exclusive part can be formed by replacing the second and third letters by X.

dataFormatstring
maximumLength256
isNullabletrue

Traits

List of traits for the IsoCountryName attribute are listed here.

is.dataFormat.character
is.dataFormat.big
Indicates an atomic but multi-unit version of a fundamental type such as a multi byte encoded character, a double precision float, a long integer.

is.dataFormat.array
Indicates a contiguous sequence of fundamental units that should be taken as a whole and considered one value. Array of Character is a String. Array of Byte is a Binary Object.

has.schemaObjectIdentifier
The schema object has an identifier, which is a string, specified as the parameter of the trait. It allows writers to define other identification values.

ParameterValueData typeExplanation
identifier"{0C617EE9-61A3-4E35-BC3B-93F46EE7A927}"stringThe identifier for the schema object. There's no uniqueness guarantee enforced by CDM. It's a contract between reader and writer of the schema.

is.nullable
The attribute value can be set to NULL.

is.localized.displayedAs
Holds the list of language specific display text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enISO Country Name
entitya reference to the constant entity holding the list of localized text

is.localized.describedAs
Holds the list of language specific descriptive text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enThe ISO country name.

Country A 2 A 3 Number AALAND ISLANDS AX ALA 248 AFGHANISTAN AF AFG 004 ALBANIA AL ALB 008

The term "country" is perhaps a little misleading: not all the "countries" in ISO 3166 are actually independent.

Many of them are geographically separate territories that are legally portions or dependencies of other countries. Nonetheless the term "country" is used throughout.

Where the code for a country includes territory also included in another code, a code for the exclusive part can be formed by replacing the second and third letters by X.

entitya reference to the constant entity holding the list of localized text

is.constrained
Maximum length or value constraints.

ParameterValueData typeExplanation
maximumLength"256"integer

is.dataFormat.character
is.dataFormat.array
Indicates a contiguous sequence of fundamental units that should be taken as a whole and considered one value. Array of Character is a String. Array of Byte is a Binary Object.

Iso2LetterCountryCode

The ISO 2 letter code identifying a country (A 2).

Country A 2 A 3 Number AALAND ISLANDS AX ALA 248 AFGHANISTAN AF AFG 004 ALBANIA AL ALB 008
First included in: Country (this entity)

Properties

NameValue
displayNameISO 2 Letter Country Code
descriptionThe ISO 2 letter code identifying a country (A 2).

Country A 2 A 3 Number AALAND ISLANDS AX ALA 248 AFGHANISTAN AF AFG 004 ALBANIA AL ALB 008

dataFormatstring
maximumLength2
isNullabletrue

Traits

List of traits for the Iso2LetterCountryCode attribute are listed here.

is.dataFormat.character
is.dataFormat.big
Indicates an atomic but multi-unit version of a fundamental type such as a multi byte encoded character, a double precision float, a long integer.

is.dataFormat.array
Indicates a contiguous sequence of fundamental units that should be taken as a whole and considered one value. Array of Character is a String. Array of Byte is a Binary Object.

has.schemaObjectIdentifier
The schema object has an identifier, which is a string, specified as the parameter of the trait. It allows writers to define other identification values.

ParameterValueData typeExplanation
identifier"{027FF442-AA72-447B-A3A4-3356CE8E54D0}"stringThe identifier for the schema object. There's no uniqueness guarantee enforced by CDM. It's a contract between reader and writer of the schema.

is.nullable
The attribute value can be set to NULL.

is.localized.displayedAs
Holds the list of language specific display text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enISO 2 Letter Country Code
entitya reference to the constant entity holding the list of localized text

is.localized.describedAs
Holds the list of language specific descriptive text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enThe ISO 2 letter code identifying a country (A 2).

Country A 2 A 3 Number AALAND ISLANDS AX ALA 248 AFGHANISTAN AF AFG 004 ALBANIA AL ALB 008

entitya reference to the constant entity holding the list of localized text

is.constrained
Maximum length or value constraints.

ParameterValueData typeExplanation
maximumLength"2"integer

is.dataFormat.character
is.dataFormat.array
Indicates a contiguous sequence of fundamental units that should be taken as a whole and considered one value. Array of Character is a String. Array of Byte is a Binary Object.

Iso3LetterCountryCode

The 3 letter country code (A 3).

Country A 2 A 3 Number AALAND ISLANDS AX ALA 248 AFGHANISTAN AF AFG 004 ALBANIA AL ALB 008

Thus when Germany reunified, it kept DE/DEU but changed from 280 to 276, while when Southern Rhodesia was renamed Zimbabwe it stayed 716 but changed from RH/RHO to ZW/ZWE.
First included in: Country (this entity)

Properties

NameValue
displayNameISO 3 Letter Country Code
descriptionThe 3 letter country code (A 3).

Country A 2 A 3 Number AALAND ISLANDS AX ALA 248 AFGHANISTAN AF AFG 004 ALBANIA AL ALB 008

Thus when Germany reunified, it kept DE/DEU but changed from 280 to 276, while when Southern Rhodesia was renamed Zimbabwe it stayed 716 but changed from RH/RHO to ZW/ZWE.

dataFormatstring
maximumLength3
isNullabletrue

Traits

List of traits for the Iso3LetterCountryCode attribute are listed here.

is.dataFormat.character
is.dataFormat.big
Indicates an atomic but multi-unit version of a fundamental type such as a multi byte encoded character, a double precision float, a long integer.

is.dataFormat.array
Indicates a contiguous sequence of fundamental units that should be taken as a whole and considered one value. Array of Character is a String. Array of Byte is a Binary Object.

has.schemaObjectIdentifier
The schema object has an identifier, which is a string, specified as the parameter of the trait. It allows writers to define other identification values.

ParameterValueData typeExplanation
identifier"{0BB86BE6-D4F4-41E3-BFA9-59C0C5472C95}"stringThe identifier for the schema object. There's no uniqueness guarantee enforced by CDM. It's a contract between reader and writer of the schema.

is.nullable
The attribute value can be set to NULL.

is.localized.displayedAs
Holds the list of language specific display text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enISO 3 Letter Country Code
entitya reference to the constant entity holding the list of localized text

is.localized.describedAs
Holds the list of language specific descriptive text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enThe 3 letter country code (A 3).

Country A 2 A 3 Number AALAND ISLANDS AX ALA 248 AFGHANISTAN AF AFG 004 ALBANIA AL ALB 008

Thus when Germany reunified, it kept DE/DEU but changed from 280 to 276, while when Southern Rhodesia was renamed Zimbabwe it stayed 716 but changed from RH/RHO to ZW/ZWE.

entitya reference to the constant entity holding the list of localized text

is.constrained
Maximum length or value constraints.

ParameterValueData typeExplanation
maximumLength"3"integer

is.dataFormat.character
is.dataFormat.array
Indicates a contiguous sequence of fundamental units that should be taken as a whole and considered one value. Array of Character is a String. Array of Byte is a Binary Object.

Iso3DigitCountryCode

The numeric code identifies a physical territory, and the letters a country name.

Thus when Germany reunified, it kept DE/DEU but changed from 280 to 276, while when Southern Rhodesia was renamed Zimbabwe it stayed 716 but changed from RH/RHO to ZW/ZWE.
First included in: Country (this entity)

Properties

NameValue
displayNameISO 3 Digit Country Code
descriptionThe numeric code identifies a physical territory, and the letters a country name.

Thus when Germany reunified, it kept DE/DEU but changed from 280 to 276, while when Southern Rhodesia was renamed Zimbabwe it stayed 716 but changed from RH/RHO to ZW/ZWE.

dataFormatdecimal
isNullabletrue

Traits

List of traits for the Iso3DigitCountryCode attribute are listed here.

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

ParameterValueData typeExplanation
precision"3"integerthe total number of significant digits
scale"0"integerthe number of digits to the right of the decimal place

has.schemaObjectIdentifier
The schema object has an identifier, which is a string, specified as the parameter of the trait. It allows writers to define other identification values.

ParameterValueData typeExplanation
identifier"{0736A921-58F4-4E9F-98F4-EB672B619A56}"stringThe identifier for the schema object. There's no uniqueness guarantee enforced by CDM. It's a contract between reader and writer of the schema.

is.nullable
The attribute value can be set to NULL.

is.localized.displayedAs
Holds the list of language specific display text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enISO 3 Digit Country Code
entitya reference to the constant entity holding the list of localized text

is.localized.describedAs
Holds the list of language specific descriptive text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enThe numeric code identifies a physical territory, and the letters a country name.

Thus when Germany reunified, it kept DE/DEU but changed from 280 to 276, while when Southern Rhodesia was renamed Zimbabwe it stayed 716 but changed from RH/RHO to ZW/ZWE.

entitya reference to the constant entity holding the list of localized text

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

CapitalOrMajorCityName

The name of the capital or major city associated with the country
First included in: Country (this entity)

Properties

NameValue
displayNameCapital Or Major City Name
descriptionThe name of the capital or major city associated with the country
dataFormatstring
maximumLength256
isNullabletrue

Traits

List of traits for the CapitalOrMajorCityName attribute are listed here.

is.dataFormat.character
is.dataFormat.big
Indicates an atomic but multi-unit version of a fundamental type such as a multi byte encoded character, a double precision float, a long integer.

is.dataFormat.array
Indicates a contiguous sequence of fundamental units that should be taken as a whole and considered one value. Array of Character is a String. Array of Byte is a Binary Object.

has.schemaObjectIdentifier
The schema object has an identifier, which is a string, specified as the parameter of the trait. It allows writers to define other identification values.

ParameterValueData typeExplanation
identifier"{073296C0-4CEB-4D99-8B2F-B3AD87D86567}"stringThe identifier for the schema object. There's no uniqueness guarantee enforced by CDM. It's a contract between reader and writer of the schema.

is.nullable
The attribute value can be set to NULL.

is.localized.displayedAs
Holds the list of language specific display text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enCapital Or Major City Name
entitya reference to the constant entity holding the list of localized text

is.localized.describedAs
Holds the list of language specific descriptive text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enThe name of the capital or major city associated with the country
entitya reference to the constant entity holding the list of localized text

is.constrained
Maximum length or value constraints.

ParameterValueData typeExplanation
maximumLength"256"integer

is.dataFormat.character
is.dataFormat.array
Indicates a contiguous sequence of fundamental units that should be taken as a whole and considered one value. Array of Character is a String. Array of Byte is a Binary Object.