You are here

range.schema.yml in Range 8

config/schema/range.schema.yml

File

config/schema/range.schema.yml
View source
  1. # Schema for the configuration of the "Range (integer)" field type.
  2. field.storage_settings.range_integer:
  3. type: mapping
  4. label: 'Range (integer) settings'
  5. field.field_settings.range_integer:
  6. type: mapping
  7. label: 'Range (integer) settings'
  8. mapping:
  9. min:
  10. type: integer
  11. label: 'Minimum'
  12. max:
  13. type: integer
  14. label: 'Maximum'
  15. field:
  16. type: mapping
  17. label: 'FIELD'
  18. mapping:
  19. prefix:
  20. type: label
  21. label: 'Prefix'
  22. suffix:
  23. type: label
  24. label: 'Suffix'
  25. from:
  26. type: mapping
  27. label: 'FROM'
  28. mapping:
  29. prefix:
  30. type: label
  31. label: 'Prefix'
  32. suffix:
  33. type: label
  34. label: 'Suffix'
  35. to:
  36. type: mapping
  37. label: 'TO'
  38. mapping:
  39. prefix:
  40. type: label
  41. label: 'Prefix'
  42. suffix:
  43. type: label
  44. label: 'Suffix'
  45. combined:
  46. type: mapping
  47. label: 'COMBINED'
  48. mapping:
  49. prefix:
  50. type: label
  51. label: 'Prefix'
  52. suffix:
  53. type: label
  54. label: 'Suffix'
  55. field.value.range_integer:
  56. type: mapping
  57. label: 'Default value'
  58. mapping:
  59. from:
  60. type: integer
  61. label: 'FROM'
  62. to:
  63. type: integer
  64. label: 'TO'
  65. # Schema for the configuration of the "Range (decimal)" field type.
  66. field.storage_settings.range_decimal:
  67. type: mapping
  68. label: 'Range (decimal) settings'
  69. mapping:
  70. precision:
  71. type: integer
  72. label: 'Precision'
  73. scale:
  74. type: integer
  75. label: 'Scale'
  76. field.field_settings.range_decimal:
  77. type: mapping
  78. label: 'Range (decimal) settings'
  79. mapping:
  80. min:
  81. type: float
  82. label: 'Minimum'
  83. max:
  84. type: float
  85. label: 'Maximum'
  86. field:
  87. type: mapping
  88. label: 'FIELD'
  89. mapping:
  90. prefix:
  91. type: label
  92. label: 'Prefix'
  93. suffix:
  94. type: label
  95. label: 'Suffix'
  96. from:
  97. type: mapping
  98. label: 'FROM'
  99. mapping:
  100. prefix:
  101. type: label
  102. label: 'Prefix'
  103. suffix:
  104. type: label
  105. label: 'Suffix'
  106. to:
  107. type: mapping
  108. label: 'TO'
  109. mapping:
  110. prefix:
  111. type: label
  112. label: 'Prefix'
  113. suffix:
  114. type: label
  115. label: 'Suffix'
  116. combined:
  117. type: mapping
  118. label: 'COMBINED'
  119. mapping:
  120. prefix:
  121. type: label
  122. label: 'Prefix'
  123. suffix:
  124. type: label
  125. label: 'Suffix'
  126. field.value.range_decimal:
  127. type: mapping
  128. label: 'Default value'
  129. mapping:
  130. from:
  131. type: float
  132. label: 'FROM'
  133. to:
  134. type: float
  135. label: 'TO'
  136. # Schema for the configuration of the "Range (float)" field type.
  137. field.storage_settings.range_float:
  138. type: mapping
  139. label: 'Range (float) settings'
  140. field.field_settings.range_float:
  141. type: mapping
  142. label: 'Range (float) settings'
  143. mapping:
  144. min:
  145. type: float
  146. label: 'Minimum'
  147. max:
  148. type: float
  149. label: 'Maximum'
  150. field:
  151. type: mapping
  152. label: 'FIELD'
  153. mapping:
  154. prefix:
  155. type: label
  156. label: 'Prefix'
  157. suffix:
  158. type: label
  159. label: 'Suffix'
  160. from:
  161. type: mapping
  162. label: 'FROM'
  163. mapping:
  164. prefix:
  165. type: label
  166. label: 'Prefix'
  167. suffix:
  168. type: label
  169. label: 'Suffix'
  170. to:
  171. type: mapping
  172. label: 'TO'
  173. mapping:
  174. prefix:
  175. type: label
  176. label: 'Prefix'
  177. suffix:
  178. type: label
  179. label: 'Suffix'
  180. combined:
  181. type: mapping
  182. label: 'COMBINED'
  183. mapping:
  184. prefix:
  185. type: label
  186. label: 'Prefix'
  187. suffix:
  188. type: label
  189. label: 'Suffix'
  190. field.value.range_float:
  191. type: mapping
  192. label: 'Default value'
  193. mapping:
  194. from:
  195. type: float
  196. label: 'FROM'
  197. to:
  198. type: float
  199. label: 'TO'
  200. # Schema for the configuration of the "Text fields" field widget.
  201. field.widget.settings.range:
  202. type: mapping
  203. label: 'Range text fields widget settings'
  204. mapping:
  205. label:
  206. type: mapping
  207. label: 'Form element label'
  208. mapping:
  209. from:
  210. type: label
  211. label: 'FROM form element label'
  212. to:
  213. type: label
  214. label: 'TO form element label'
  215. placeholder:
  216. type: mapping
  217. label: 'Placeholder'
  218. mapping:
  219. from:
  220. type: label
  221. label: 'FROM placeholder'
  222. to:
  223. type: label
  224. label: 'TO placeholder'
  225. # Schema for the configuration of the default integer field formatter.
  226. field.formatter.settings.range_integer:
  227. type: mapping
  228. label: Range 'Default' (integer) display format settings
  229. mapping:
  230. range_separator:
  231. type: string
  232. label: 'Range separator'
  233. thousand_separator:
  234. type: string
  235. label: 'Thousand marker'
  236. range_combine:
  237. type: boolean
  238. label: 'Combine equivalent values'
  239. field_prefix_suffix:
  240. type: boolean
  241. label: 'Display FIELD value prefix and suffix'
  242. from_prefix_suffix:
  243. type: boolean
  244. label: 'Display FROM value prefix and suffix'
  245. to_prefix_suffix:
  246. type: boolean
  247. label: 'Display TO value prefix and suffix'
  248. combined_prefix_suffix:
  249. type: boolean
  250. label: 'Display COMBINED value prefix and suffix'
  251. # Schema for the configuration of the default decimal & float field formatter.
  252. field.formatter.settings.range_decimal:
  253. type: mapping
  254. label: Range 'Default' (decimal & float) display format settings
  255. mapping:
  256. range_separator:
  257. type: string
  258. label: 'Range separator'
  259. thousand_separator:
  260. type: string
  261. label: 'Thousand marker'
  262. decimal_separator:
  263. type: string
  264. label: 'Decimal marker'
  265. scale:
  266. type: integer
  267. label: 'Scale'
  268. range_combine:
  269. type: boolean
  270. label: 'Combine equivalent values'
  271. field_prefix_suffix:
  272. type: boolean
  273. label: 'Display FIELD value prefix and suffix'
  274. from_prefix_suffix:
  275. type: boolean
  276. label: 'Display FROM value prefix and suffix'
  277. to_prefix_suffix:
  278. type: boolean
  279. label: 'Display TO value prefix and suffix'
  280. combined_prefix_suffix:
  281. type: boolean
  282. label: 'Display COMBINED value prefix and suffix'
  283. # Schema for the configuration of the integer sprintf field formatter.
  284. field.formatter.settings.range_integer_sprintf:
  285. type: mapping
  286. label: Range 'Formatted string' (integer) display format settings
  287. mapping:
  288. range_separator:
  289. type: string
  290. label: 'Range separator'
  291. format_string:
  292. type: string
  293. label: 'Format'
  294. range_combine:
  295. type: boolean
  296. label: 'Combine equivalent values'
  297. field_prefix_suffix:
  298. type: boolean
  299. label: 'Display FIELD value prefix and suffix'
  300. from_prefix_suffix:
  301. type: boolean
  302. label: 'Display FROM value prefix and suffix'
  303. to_prefix_suffix:
  304. type: boolean
  305. label: 'Display TO value prefix and suffix'
  306. combined_prefix_suffix:
  307. type: boolean
  308. label: 'Display COMBINED value prefix and suffix'
  309. # Schema for the configuration of the decimal & float sprintf field formatter.
  310. field.formatter.settings.range_decimal_sprintf:
  311. type: mapping
  312. label: Range 'Formatted string' (decimal & float) display format settings
  313. mapping:
  314. range_separator:
  315. type: string
  316. label: 'Range separator'
  317. format_string:
  318. type: string
  319. label: 'Format'
  320. range_combine:
  321. type: boolean
  322. label: 'Combine equivalent values'
  323. field_prefix_suffix:
  324. type: boolean
  325. label: 'Display FIELD value prefix and suffix'
  326. from_prefix_suffix:
  327. type: boolean
  328. label: 'Display FROM value prefix and suffix'
  329. to_prefix_suffix:
  330. type: boolean
  331. label: 'Display TO value prefix and suffix'
  332. combined_prefix_suffix:
  333. type: boolean
  334. label: 'Display COMBINED value prefix and suffix'
  335. # Schema for the configuration of the "Unformatted" field formatter.
  336. field.formatter.settings.range_unformatted:
  337. type: mapping
  338. label: Range 'Unformatted' (integer, decimal & float) display format settings
  339. mapping:
  340. range_separator:
  341. type: string
  342. label: 'Range separator'
  343. range_combine:
  344. type: boolean
  345. label: 'Combine equivalent values'
  346. field_prefix_suffix:
  347. type: boolean
  348. label: 'Display FIELD value prefix and suffix'
  349. from_prefix_suffix:
  350. type: boolean
  351. label: 'Display FROM value prefix and suffix'
  352. to_prefix_suffix:
  353. type: boolean
  354. label: 'Display TO value prefix and suffix'
  355. combined_prefix_suffix:
  356. type: boolean
  357. label: 'Display COMBINED value prefix and suffix'