PlatformOfTrust / collected-feedback

Feedbacks and Wishlist for Platform of Trust are collected as issues in this repository.
0 stars 1 forks source link

Currency options should be based on existing standard #59

Closed kyyberi closed 3 years ago

kyyberi commented 3 years ago

Describe the bug

Data Product Spec Pricing entity defines attribute currency as string without any kind of limatations or foundation.

{
   "name":"Premium Package",
   "currency":"Euro",
   "unitGroup":"Transaction",
   "unit":"Transaction",
   "quantity":100000,
   "rate":100
}

URL to page if exists

https://dataproduct.oftrust.net/schemas/dps-document-schema/priceplan

Expected behavior

For the sake of clarity and to avoid misunderstandings, the options in currency should be based on standard such as https://en.wikipedia.org/wiki/ISO_4217 which provides 3 char codes for all circulating currencies. Add the information about standard used in the description of the attribute.

ralucaoanapopa commented 3 years ago

not updated yet

IrinaZayats commented 3 years ago

Updated on this page and main example as well https://dataproduct.oftrust.net/schemas/dps-document-schema/priceplan