You are here

config_test.schema.yml in Zircon Profile 8.0

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

File

core/modules/config/tests/config_test/config/schema/config_test.schema.yml
View source
  1. # Schema for the configuration files of the Configuration Test module.
  2. config_test_dynamic:
  3. type: config_entity
  4. mapping:
  5. id:
  6. type: string
  7. label: 'ID'
  8. label:
  9. type: label
  10. label: 'Label'
  11. weight:
  12. type: integer
  13. label: 'Weight'
  14. style:
  15. type: string
  16. label: 'style'
  17. size:
  18. type: string
  19. label: 'Size'
  20. size_value:
  21. type: string
  22. label: 'Size value'
  23. protected_property:
  24. type: string
  25. label: 'Protected property'
  26. config_test.dynamic.*:
  27. type: config_test_dynamic
  28. label: 'Config test dynamic settings'
  29. config_test.dynamic.*.*:
  30. type: config_test_dynamic
  31. label: 'Config test dynamic settings'
  32. config_test.query.*:
  33. type: config_entity
  34. mapping:
  35. id:
  36. type: string
  37. label: 'ID'
  38. label:
  39. type: label
  40. label: 'Label'
  41. array:
  42. type: sequence
  43. label: 'Array level 1'
  44. sequence:
  45. type: sequence
  46. label: 'Array level 2'
  47. sequence:
  48. type: integer
  49. label: 'Value'
  50. number:
  51. type: integer
  52. label: 'number'
  53. config_test.types:
  54. type: config_object
  55. label: 'Configuration type'
  56. mapping:
  57. array:
  58. type: sequence
  59. label: 'Array'
  60. sequence:
  61. type: string
  62. label: 'Item'
  63. boolean:
  64. type: boolean
  65. label: 'Boolean'
  66. float:
  67. type: float
  68. label: 'Float'
  69. float_as_integer:
  70. type: float
  71. label: 'Float'
  72. exp:
  73. type: float
  74. label: 'Exponential'
  75. hex:
  76. type: integer
  77. label: 'Hexadecimal'
  78. int:
  79. type: integer
  80. label: 'Integer'
  81. octal:
  82. type: integer
  83. label: 'Octal'
  84. string:
  85. type: string
  86. label: 'String'
  87. string_int:
  88. type: string
  89. label: 'String integer'
  90. config_test.no_status.default:
  91. type: config_object
  92. label: 'Configuration no status default'
  93. mapping:
  94. id:
  95. type: string
  96. label: 'ID'
  97. label:
  98. type: label
  99. label: 'Label'
  100. config_test.system:
  101. type: config_object
  102. label: 'Configuration system'
  103. mapping:
  104. foo:
  105. type: string
  106. label: 'Foo'
  107. baz:
  108. type: string
  109. label: 'Baz'
  110. '404':
  111. type: string
  112. label: '404'
  113. config_test.new:
  114. type: config_object
  115. label: 'Configuration test'
  116. mapping:
  117. key:
  118. type: string
  119. label: 'Test setting'
  120. new_key:
  121. type: string
  122. label: 'Test setting'
  123. uuid:
  124. type: string
  125. label: 'UUID'
  126. config_test.old:
  127. type: config_test.new
  128. config_test.foo:
  129. type: config_object
  130. label: 'Configuration test'
  131. mapping:
  132. value:
  133. type: mapping
  134. label: 'Value'
  135. mapping:
  136. key:
  137. type: string
  138. label: 'Key'
  139. label:
  140. type: label
  141. label: 'Label'
  142. config_test.bar:
  143. type: config_test.foo