You are here

bynder.schema.yml in Bynder 8

config/schema/bynder.schema.yml

File

config/schema/bynder.schema.yml
View source
  1. bynder.settings:
  2. type: config_object
  3. label: 'Bynder configuration'
  4. mapping:
  5. consumer_key:
  6. type: text
  7. label: 'Consumer key'
  8. consumer_secret:
  9. type: text
  10. label: 'Consumer secret'
  11. token:
  12. type: text
  13. label: 'Token'
  14. token_secret:
  15. type: text
  16. label: 'Token secret'
  17. account_domain:
  18. type: text
  19. label: 'Account domain'
  20. debug:
  21. type: boolean
  22. label: 'Debug'
  23. usage_metaproperty:
  24. type: string
  25. label: 'Usage metaproperty'
  26. restrictions:
  27. type: mapping
  28. label: 'Restrictions'
  29. mapping:
  30. royalty_free:
  31. type: string
  32. label: 'Royalty free'
  33. web_license:
  34. type: string
  35. label: 'Web license'
  36. print_license:
  37. type: string
  38. label: 'Print license'
  39. cache_lifetime:
  40. type: integer
  41. label: 'Cached data lifetime'
  42. timeout:
  43. type: integer
  44. label: 'API request timeout, in seconds'
  45. media_entity.bundle.type.bynder:
  46. type: mapping
  47. label: 'Bynder type configuration'
  48. mapping:
  49. source_field:
  50. type: string
  51. label: 'Field with Bynder media UUID'
  52. field.formatter.settings.bynder:
  53. type: mapping
  54. label: 'Bynder display format settings'
  55. mapping:
  56. thumbnail:
  57. type: string
  58. label: 'Thumbnail'
  59. alt_field:
  60. type: string
  61. label: 'Alt attribute field'
  62. title_field:
  63. type: string
  64. label: 'Title attribute field'
  65. entity_browser.browser.widget.bynder_search:
  66. type: mapping
  67. label: 'Bynder search widget configuration'
  68. mapping:
  69. submit_text:
  70. type: string
  71. label: 'Submit button text'
  72. items_per_page:
  73. type: integer
  74. label: 'Number of items to display per page'
  75. media_bundle:
  76. type: string
  77. label: 'Media bundle for created entities'
  78. tags_filter:
  79. type: boolean
  80. label: 'Wether to enable filtering based on tags'
  81. allowed_properties:
  82. type: sequence
  83. label: 'Allowed metadata properties'
  84. sequence:
  85. type: string
  86. label: 'Property'
  87. entity_browser.browser.widget.bynder_upload:
  88. type: mapping
  89. label: 'Bynder upload widget configuration'
  90. mapping:
  91. submit_text:
  92. type: string
  93. label: 'Submit button text'
  94. media_bundle:
  95. type: string
  96. label: 'Media bundle for created entities'
  97. brand:
  98. type: string
  99. label: 'Bynder brand for uploaded assets'
  100. extensions:
  101. type: string
  102. label: 'Allowed file extensions'
  103. dropzone_description:
  104. type: string
  105. label: 'Dropzone area description'
  106. tags:
  107. type: sequence
  108. label: 'List of tags to be added to the uploaded assets'
  109. sequence:
  110. type: string
  111. label: 'Tag'
  112. metaproperty_options:
  113. type: mapping
  114. label: 'Metaproperty options to be added to the uploaded assets'
  115. mapping:
  116. type: sequence
  117. label: 'Options'
  118. sequence:
  119. type: string
  120. label: 'Option'