You are here

address.schema.yml in Address 8

config/schema/address.schema.yml

File

config/schema/address.schema.yml
View source
  1. address:
  2. type: mapping
  3. label: 'Address'
  4. mapping:
  5. langcode:
  6. type: string
  7. label: 'Language code'
  8. country_code:
  9. type: string
  10. label: 'Country code'
  11. administrative_area:
  12. type: string
  13. label: 'Administrative area'
  14. locality:
  15. type: string
  16. label: 'Locality'
  17. dependent_locality:
  18. type: string
  19. label: 'Dependent locality'
  20. postal_code:
  21. type: string
  22. label: 'Postal code'
  23. sorting_code:
  24. type: string
  25. label: 'Sorting code'
  26. address_line1:
  27. type: string
  28. label: 'First line of the address block'
  29. address_line2:
  30. type: string
  31. label: 'Second line of the address block'
  32. organization:
  33. type: string
  34. label: 'Organization'
  35. given_name:
  36. type: string
  37. label: 'Given name'
  38. additional_name:
  39. type: string
  40. label: 'Additional name'
  41. family_name:
  42. type: string
  43. label: 'Family name'
  44. address_zone:
  45. type: mapping
  46. label: 'Zone'
  47. mapping:
  48. label:
  49. type: label
  50. label: 'Label'
  51. territories:
  52. type: sequence
  53. label: 'Territories'
  54. sequence:
  55. - type: address_zone_territory
  56. address_zone_territory:
  57. type: mapping
  58. label: 'Zone territory'
  59. mapping:
  60. country_code:
  61. type: string
  62. label: 'Country'
  63. administrative_area:
  64. type: string
  65. label: 'Administrative area'
  66. locality:
  67. type: string
  68. label: 'Locality'
  69. dependent_locality:
  70. type: string
  71. label: 'Dependent locality'
  72. included_postal_codes:
  73. type: string
  74. label: 'Included postal codes'
  75. excluded_postal_codes:
  76. type: string
  77. label: 'Excluded postal codes'
  78. field.value.address:
  79. type: address
  80. label: 'Default value'
  81. field.value.address_country:
  82. type: mapping
  83. label: 'Default value'
  84. mapping:
  85. value:
  86. type: string
  87. label: 'Country code'
  88. field.value.address_zone:
  89. type: ignore
  90. field.field_settings.address:
  91. type: mapping
  92. label: 'Address field settings'
  93. mapping:
  94. available_countries:
  95. type: sequence
  96. label: 'Available countries'
  97. sequence:
  98. - type: string
  99. langcode_override:
  100. type: string
  101. label: 'Language override'
  102. field_overrides:
  103. type: sequence
  104. label: 'Field overrides'
  105. sequence:
  106. type: mapping
  107. mapping:
  108. override:
  109. type: string
  110. label: 'Override'
  111. # Deprecated, replaced by field_overrides.
  112. fields:
  113. type: sequence
  114. label: 'Used fields'
  115. sequence:
  116. - type: string
  117. field.field_settings.address_country:
  118. type: mapping
  119. label: 'Country field settings'
  120. mapping:
  121. available_countries:
  122. type: sequence
  123. label: 'Available countries'
  124. sequence:
  125. - type: string
  126. field.field_settings.address_zone:
  127. type: mapping
  128. label: 'Zone field settings'
  129. mapping:
  130. available_countries:
  131. type: sequence
  132. label: 'Available countries'
  133. sequence:
  134. - type: string
  135. field.widget.settings.address_default:
  136. type: mapping
  137. label: 'Default address widget settings'
  138. field.widget.settings.address_zone_default:
  139. type: mapping
  140. label: 'Default zone widget settings'
  141. mapping:
  142. show_label_field:
  143. type: boolean
  144. label: 'Show the zone label field'
  145. views.field.country:
  146. type: views_field
  147. label: 'Country'
  148. mapping:
  149. display_name:
  150. type: boolean
  151. label: 'Display the country name instead of the country code'
  152. views.field.country_code:
  153. type: views.field.country
  154. label: 'Country code'
  155. views.field.subdivision:
  156. type: views_field
  157. label: 'Subdivision'
  158. mapping:
  159. display_name:
  160. type: boolean
  161. label: 'Display the subdivision name instead of the subdivision code'
  162. views.filter.country:
  163. type: views.filter.in_operator
  164. label: 'Country'
  165. views.filter.country_code:
  166. type: views.filter.country
  167. label: 'Country code'
  168. views.filter.administrative_area:
  169. type: views.filter.in_operator
  170. label: 'Administrative area'
  171. mapping:
  172. country:
  173. type: mapping
  174. mapping:
  175. country_source:
  176. type: string
  177. label: 'Country source'
  178. country_argument_id:
  179. type: string
  180. label: 'Country contextual filter ID'
  181. country_filter_id:
  182. type: string
  183. label: 'Exposed country filter ID'
  184. country_static_code:
  185. type: string
  186. label: 'Predefined country for administrative areas'
  187. expose:
  188. type: mapping
  189. mapping:
  190. label_type:
  191. type: string
  192. label: 'Label type'
  193. views.sort.country:
  194. type: views_sort
  195. label: 'Country'
  196. mapping:
  197. sort_by:
  198. type: string
  199. label: 'Sort by'