共用方式為


Currency (Iso 4217) in ESG data model(Currency)

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 ESG Data Model entities are derived.
enThe definition of Currency is based upon the ISO 4217 standard.

ISO 4217 is the international standard describing three letter codes (also known as the currency code) to define the names of currencies established by the International Organization for Standardization (ISO).

The first two letters of the code are the two letters of ISO 3166-1 alpha-2 country codes (which are similar to those used for national top-level domains on the Internet) and the third is usually the initial of the currency itself. So Japan's currency code becomes JPY-JP for Japan and Y for yen. This eliminates the problem caused by the names dollar, franc and pound being used in dozens of different countries, each having significantly differing values. Also, if a currency is revalued, the currency code's last letter is changed to distinguish it from the old currency. In some cases, the third letter is the initial for "new" in that country's language, to distinguish it from an older currency that was revalued; the code often long outlasts the usage of the term "new" itself. Examples of this include the Mexican peso (MXN) and the Turkish lira (TRY). Other changes can be seen, however; the Russian ruble, for example, changed from RUR to RUB, where the B comes from the third letter in the word "ruble".

There's also a three-digit code number assigned to each currency, in the same manner as there is also a three-digit code number assigned to each country as part of ISO 3166. This numeric code is usually the same as the ISO 3166 numeric code. USD (US Dollar) has code 840 which is also the numeric code for US (United States).

The standard also defines the relationship between the major currency unit and any minor currency unit. Often, the minor currency unit has a value that is 1/100 of the major unit, but 1/10 or 1/1000 are also common. Some currencies do not have any minor currency unit at all. In others, the major currency unit has so little value that the minor unit is no longer generally used (the Japanese sen, 1/100th of a yen). Mauritania does not use a decimal division of units, setting 1 ouguiya (UM) = 5 khoums, and Madagascar has 1 ariary = 5 iraimbilanja. This is indicated in the standard by the currency exponent. USD has exponent 2, while JPY has exponent 0.

ISO 4217 includes codes not only for currencies, but also for precious metals (gold, silver, palladium and platinum; by definition expressed per one troy ounce, as compared to "1 USD") and certain other entities used in international finance, Special Drawing Rights. There are also special codes allocated for testing purposes (XTS), and to indicate no currency transactions (XXX). These codes all begin with the letter "X". The precious metals use "X" plus the metal's chemical symbol; silver, for example, is XAG. ISO 3166 never assigns country codes beginning with "X" while these codes are assigned for privately customized use only (reserved, never for official codes), so ISO 4217 can use "X" codes for non-country-specific currencies without risk of clashing with future country codes.

This is a list of global currencies and the three-character currency codes that we have found are generally used to represent them.

In most cases, the currency code is composed of the country's two-character Internet country code plus an extra character to denote the currency unit.

For example, the code for Canadian Dollars is simply Canada's two-character Internet code ("CA") plus a one-character currency designator ("D").

ISO 4217 (Codes for the Representation of Currencies and Funds) defines three-letter abbreviations for world currencies.

The general principle used to construct these abbreviations is to take the two-letter abbreviations defined in ISO 3166 (Codes for the Representation of Names of Countries) and append the first letter of the currency name (USD for the United States)

In the case of currencies defined by supra-national entities, ISO 4217 assigns two-letter entity codes starting with "X" to use in place of country codes (XCD for the Central Caribbean Dollar).

Ex:

  • USD America (United States of America), Dollars
  • AUD Australia, Dollars
  • CAD Canada, Dollars
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
attributeCurrency/(resolvedAttributes)/IsoCurrencyCodeattribute

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"2.0.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 more identification values.

ParameterValueData typeExplanation
identifier"{0CC398B3-9569-4BB0-934F-4BFE0D5CB1F5}"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"Accounting & Financial Reporting"string

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

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enCurrency (Iso 4217)
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
IsoCurrencyCode The ISO 4217 currency code. Sustainability/esg-data-model/Currency
CurrencyName The name of the currency. Sustainability/esg-data-model/Currency
CountryId The unique identifier of the Country. Sustainability/esg-data-model/Currency
CurrencySymbol The symbol associated with the currency. Sustainability/esg-data-model/Currency

IsoCurrencyCode

The ISO 4217 currency code. First included in: Sustainability/esg-data-model/Currency (this entity)

Properties

NameValue
displayNameISO Currency Code
descriptionThe ISO 4217 currency code.
isPrimaryKeytrue
dataFormatstring
maximumLength3

Traits

List of traits for the IsoCurrencyCode 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, and Array of Byte is a Binary Object.

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

ParameterValueData typeExplanation
attributeCurrency/(resolvedAttributes)/IsoCurrencyCodeattribute

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

ParameterValueData typeExplanation
identifier"{03C4F1F8-C966-4BA7-A63E-9D0F32B643E7}"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
enISO Currency 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 4217 currency code.
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, and Array of Byte is a Binary Object.

CurrencyName

The name of the currency. First included in: Sustainability/esg-data-model/Currency (this entity)

Properties

NameValue
displayNameCurrency Name
descriptionThe name of the currency.
dataFormatstring
maximumLength256
isNullabletrue

Traits

List of traits for the CurrencyName 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, and 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 more identification values.

ParameterValueData typeExplanation
identifier"{062E6348-440F-46FE-A8C7-9BD23CAAF02F}"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
enCurrency 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 currency.
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, and Array of Byte is a Binary Object.

CountryId

The unique identifier of the Country. First included in: Sustainability/esg-data-model/Currency (this entity)

Properties

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

Traits

List of traits for the CountryId attribute are listed here.

is.dataFormat.integer
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
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.linkedEntity.identifier
Marks the attributes that hold foreign key references to a linked (used as an attribute) entity. This attribute is added to the resolved entity to enumerate the referenced entities.

ParameterValueData typeExplanation
entityReferences
entityReferenceattributeReference
Country.cdm.json/CountryCountryId
entitya reference to the constant entity holding the list of entity references

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

ParameterValueData typeExplanation
identifier"{077E23E2-D28F-45CF-B796-B16F21B8B4AF}"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.dataFormat.integer

CurrencySymbol

The symbol associated with the currency. First included in: Sustainability/esg-data-model/Currency (this entity)

Properties

NameValue
displayNameCurrency Symbol
descriptionThe symbol associated with the currency.
dataFormatbinary
isNullabletrue

Traits

List of traits for the CurrencySymbol attribute are listed here.

is.dataFormat.byte
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, and 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 more identification values.

ParameterValueData typeExplanation
identifier"{091ABACE-FE88-4C8A-8C26-8DF27B2AE3E7}"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
enCurrency Symbol
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 symbol associated with the currency.
entitya reference to the constant entity holding the list of localized text

is.dataFormat.byte
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, and Array of Byte is a Binary Object.