You are here

courier.schema.yml in Courier 8

Same filename and directory in other branches
  1. 2.x config/schema/courier.schema.yml
config/schema/courier.schema.yml

File

config/schema/courier.schema.yml
View source
  1. # Schema configuration file for courier module.
  2. courier.settings:
  3. type: config_object
  4. label: 'Settings for Courier'
  5. mapping:
  6. skip_queue:
  7. type: boolean
  8. label: 'Whether messages should be tried in the same request'
  9. channel_preferences:
  10. type: sequence
  11. label: 'Default channel preferences for identities'
  12. sequence:
  13. label: 'List of identities'
  14. type: sequence
  15. sequence:
  16. type: string
  17. label: 'Channel entity type'
  18. courier.context.*:
  19. type: config_entity
  20. label: 'Courier context'
  21. mapping:
  22. id:
  23. type: string
  24. label: 'Machine-readable name'
  25. label:
  26. type: label
  27. label: 'Name'
  28. tokens:
  29. type: sequence
  30. label: 'Tokens'
  31. sequence:
  32. type: string
  33. courier.template_collection.*:
  34. type: config_entity
  35. mapping:
  36. id:
  37. type: string
  38. label: 'ID'
  39. provider:
  40. type: string
  41. label: 'Provider'
  42. contexts:
  43. type: sequence
  44. sequence:
  45. - type: string
  46. templates:
  47. type: sequence
  48. sequence:
  49. - type: mapping
  50. mapping:
  51. type:
  52. type: string
  53. label: 'Template entity type ID'
  54. content:
  55. type: courier.template.[%parent.type]
  56. courier.template.courier_email:
  57. type: mapping
  58. mapping:
  59. subject:
  60. type: string
  61. body:
  62. type: string