You are here

rate.schema.yml in Rate 8.2

Same filename and directory in other branches
  1. 8 config/schema/rate.schema.yml
config/schema/rate.schema.yml

File

config/schema/rate.schema.yml
View source
  1. rate.settings:
  2. type: config_object
  3. label: 'Rate settings'
  4. mapping:
  5. disable_log:
  6. type: boolean
  7. label: 'Disable log messages'
  8. disable_fontawesome:
  9. type: boolean
  10. label: 'Disable fontawesome'
  11. bot_minute_threshold:
  12. type: string
  13. label: 'Bot minute threshold'
  14. bot_hour_threshold:
  15. type: string
  16. label: 'Bot hour threshold'
  17. botscout_key:
  18. type: string
  19. label: 'BotScout.com API key'
  20. rate.rate_widget.*:
  21. type: config_entity
  22. label: 'Rate widget'
  23. mapping:
  24. id:
  25. type: string
  26. label: 'Machine-readable name'
  27. label:
  28. type: label
  29. label: 'Label'
  30. template:
  31. type: string
  32. label: 'Template'
  33. value_type:
  34. type: string
  35. label: 'Value type'
  36. entity_types:
  37. type: sequence
  38. label: 'Entity types'
  39. sequence:
  40. type: string
  41. comment_types:
  42. type: sequence
  43. label: 'Comment types'
  44. sequence:
  45. type: string
  46. options:
  47. type: sequence
  48. label: 'Options'
  49. sequence:
  50. type: mapping
  51. label: 'Option settings'
  52. mapping:
  53. value:
  54. type: string
  55. label: 'Option value'
  56. label:
  57. type: string
  58. label: 'Option label'
  59. class:
  60. type: string
  61. label: 'Option class'
  62. voting:
  63. type: mapping
  64. label: 'Voting settings'
  65. mapping:
  66. use_deadline:
  67. type: integer
  68. label: 'Use deadline'
  69. anonymous_window:
  70. type: integer
  71. label: 'Anonymous vote rollover'
  72. user_window:
  73. type: integer
  74. label: 'Registered user vote rollover'
  75. display:
  76. type: mapping
  77. label: 'Display settings'
  78. mapping:
  79. display_label:
  80. type: string
  81. label: 'Display label'
  82. label_class:
  83. type: string
  84. label: 'Label classes'
  85. label_position:
  86. type: string
  87. label: 'Label position'
  88. description:
  89. type: string
  90. label: 'Description'
  91. description_class:
  92. type: string
  93. label: 'Label classes'
  94. description_position:
  95. type: string
  96. label: 'Description position'
  97. readonly:
  98. type: integer
  99. label: 'Read only'
  100. results:
  101. type: mapping
  102. label: 'Results'
  103. mapping:
  104. result_type:
  105. type: string
  106. label: 'Result type'
  107. result_position:
  108. type: string
  109. label: 'Result position'