You are here

config_schema_test.schema.yml in Zircon Profile 8.0

core/modules/config/tests/config_schema_test/config/schema/config_schema_test.schema.yml

File

core/modules/config/tests/config_schema_test/config/schema/config_schema_test.schema.yml
View source
  1. # Schema for the configuration files of the Configuration Schema Test module.
  2. config_schema_test.someschema:
  3. type: config_object
  4. label: 'Schema test data'
  5. mapping:
  6. testitem:
  7. label: 'Test item'
  8. testlist:
  9. label: 'Test list'
  10. config_schema_test.someschema.with_parents:
  11. label: 'Schema test data with parenting'
  12. type: config_object
  13. mapping:
  14. one_level:
  15. label: 'Parenting one level up'
  16. type: mapping
  17. mapping:
  18. target_key:
  19. label: 'Key used in parent relation'
  20. type: string
  21. testitem:
  22. type: config_schema_test.someschema.with_parents.[%parent.target_key]
  23. two_levels:
  24. label: 'Parenting two levels up'
  25. type: mapping
  26. mapping:
  27. target_key:
  28. label: 'Key used in parent relation'
  29. type: string
  30. wrapper:
  31. label: 'Wrapper'
  32. type: mapping
  33. mapping:
  34. testitem:
  35. type: config_schema_test.someschema.with_parents.[%parent.%parent.target_key]
  36. three_levels:
  37. label: 'Parenting three levels up'
  38. type: mapping
  39. mapping:
  40. target_key:
  41. label: 'Key used in parent relation'
  42. type: string
  43. wrapper_1:
  44. label: 'Wrapper 1'
  45. type: mapping
  46. mapping:
  47. wrapper_2:
  48. label: 'Wrapper 2'
  49. type: mapping
  50. mapping:
  51. testitem:
  52. type: config_schema_test.someschema.with_parents.[%parent.%parent.%parent.target_key]
  53. config_schema_test.someschema.with_parents.key_1:
  54. label: 'Test item nested one level'
  55. type: string
  56. config_schema_test.someschema.with_parents.key_2:
  57. label: 'Test item nested two levels'
  58. type: string
  59. config_schema_test.someschema.with_parents.key_3:
  60. label: 'Test item nested three levels'
  61. type: string
  62. config_schema_test.someschema.somemodule.*.*:
  63. type: config_object
  64. label: 'Schema multiple filesystem marker test'
  65. mapping:
  66. testid:
  67. type: string
  68. label: 'ID'
  69. testdescription:
  70. type: text
  71. label: 'Description'
  72. config_schema_test.wildcard_fallback.*:
  73. type: config_object
  74. label: 'Schema wildcard fallback test'
  75. mapping:
  76. testid:
  77. type: string
  78. label: 'ID'
  79. testdescription:
  80. type: text
  81. label: 'Description'
  82. config_schema_test.schema_data_types:
  83. type: config_object
  84. label: 'Config test schema'
  85. mapping:
  86. config_schema_test_integer:
  87. type: config_schema_test_integer
  88. config_schema_test_integer_empty_string:
  89. type: config_schema_test_integer
  90. integer:
  91. type: integer
  92. null_integer:
  93. type: integer
  94. float:
  95. type: float
  96. null_float:
  97. type: float
  98. string:
  99. type: string
  100. null_string:
  101. type: string
  102. empty_string:
  103. type: string
  104. boolean:
  105. type: boolean
  106. no_type:
  107. label: 'No label'
  108. mapping:
  109. type: mapping
  110. mapping:
  111. string:
  112. type: string
  113. sequence:
  114. type: sequence
  115. sequence:
  116. type: boolean
  117. sequence_bc:
  118. type: sequence
  119. sequence:
  120. - type: boolean
  121. config_schema_test_integer:
  122. type: integer
  123. label: 'Config test integer'
  124. config_schema_test.ignore:
  125. type: config_object
  126. label: 'Ignore test'
  127. mapping:
  128. label:
  129. type: label
  130. label: 'Label'
  131. irrelevant:
  132. type: ignore
  133. label: 'Irrelevant'
  134. indescribable:
  135. type: ignore
  136. label: 'Indescribable'
  137. weight:
  138. type: integer
  139. label: 'Weight'
  140. config_schema_test.plugin_types:
  141. type: config_object
  142. mapping:
  143. tests:
  144. type: sequence
  145. sequence:
  146. type: test.plugin_types.[plugin_id]
  147. test_with_parents:
  148. type: sequence
  149. sequence:
  150. type: mapping
  151. mapping:
  152. plugin_id:
  153. type: string
  154. settings:
  155. type: test_with_parents.plugin_types.[%parent.plugin_id]
  156. test.plugin_types:
  157. type: mapping
  158. mapping:
  159. plugin_id:
  160. type: string
  161. test.plugin_types.boolean:
  162. type: mapping
  163. mapping:
  164. plugin_id:
  165. type: string
  166. value:
  167. type: boolean
  168. test.plugin_types.boolean:*:
  169. type: test.plugin_types.boolean
  170. test_with_parents.plugin_types.boolean:
  171. type: mapping
  172. mapping:
  173. value:
  174. type: boolean
  175. test_with_parents.plugin_types.boolean:*:
  176. type: test_with_parents.plugin_types.boolean
  177. test.plugin_types.*:
  178. type: mapping
  179. mapping:
  180. plugin_id:
  181. type: string
  182. value:
  183. type: string
  184. test_with_parents.plugin_types.*:
  185. type: mapping
  186. mapping:
  187. value:
  188. type: string
  189. config_schema_test.hook:
  190. type: string
  191. config_test.dynamic.*.third_party.config_schema_test:
  192. type: mapping
  193. mapping:
  194. integer:
  195. type: integer
  196. string:
  197. type: string