You are here

currency.schema.yml in Currency 8.3

config/schema/currency.schema.yml

File

config/schema/currency.schema.yml
View source
  1. # Currency entities.
  2. currency.currency.*:
  3. label: Currency
  4. type: config_entity
  5. mapping:
  6. alternativeSigns:
  7. type: sequence
  8. label: Alternative signs
  9. sequence:
  10. type: string
  11. label: Alternative sign
  12. currencyCode:
  13. label: Currency code
  14. type: string
  15. currencyNumber:
  16. label: Currency number
  17. type: string
  18. label:
  19. label: Label
  20. type: label
  21. roundingStep:
  22. label: Rounding step
  23. type: float
  24. sign:
  25. label: Currency sign
  26. type: string
  27. subunits:
  28. label: Number of subunits
  29. type: integer
  30. usages:
  31. type: sequence
  32. label: Usages
  33. sequence:
  34. type: mapping
  35. label: Usage
  36. mapping:
  37. countryCode:
  38. label: Country code
  39. type: string
  40. start:
  41. label: Start date
  42. type: string
  43. end:
  44. label: End date
  45. type: string
  46. # Currency locale entities.
  47. currency.currency_locale.*:
  48. label: Currency locale
  49. type: config_entity
  50. mapping:
  51. decimalSeparator:
  52. label: Decimal separator
  53. type: string
  54. groupingSeparator:
  55. label: Grouping separator
  56. type: string
  57. locale:
  58. label: Locale
  59. type: string
  60. pattern:
  61. label: Unicode CLDR number pattern
  62. type: string
  63. currency.amount_formatting:
  64. label: Currency amount formatting
  65. type: config_object
  66. mapping:
  67. plugin_id:
  68. label: Plugin ID
  69. type: string
  70. currency.exchange_rate_provider:
  71. label: Currency exchange rate provider
  72. type: config_object
  73. mapping:
  74. plugins:
  75. type: sequence
  76. sequence:
  77. type: mapping
  78. label: Plugin
  79. mapping:
  80. plugin_id:
  81. label: Plugin ID
  82. type: string
  83. status:
  84. label: Status
  85. type: boolean
  86. # Fixed exchange rates for the "Fixed rates" currency exchange rate provider
  87. # plugin. Note that this is not plugin configuration.
  88. currency.exchanger.fixed_rates:
  89. label: Fixed currency exchange rates
  90. type: config_object
  91. mapping:
  92. rates:
  93. type: sequence
  94. sequence:
  95. type: mapping
  96. label: Plugin
  97. mapping:
  98. currency_code_from:
  99. label: Source currency code
  100. type: string
  101. currency_code_to:
  102. label: Destination currency code
  103. type: string
  104. rate:
  105. label: Exchange rate
  106. type: string
  107. # The fallback schema for exchange rate provider plugins.
  108. plugin.plugin_configuration.currency_exchange_rate_provider.*:
  109. type: ignore
  110. # The fallback schema for amount formatter plugins.
  111. plugin.plugin_configuration.currency_amount_formatter.*:
  112. type: ignore