You are here

views_timelinejs.views.schema.yml in Views TimelineJS integration 8.3

config/schema/views_timelinejs.views.schema.yml

File

config/schema/views_timelinejs.views.schema.yml
View source
  1. # Schema for the views plugins of the Views TimelineJS module.
  2. views.style.timelinejs:
  3. type: views_style
  4. label: TimelineJS
  5. mapping:
  6. timeline_config:
  7. type: mapping
  8. label: 'TimelineJS presentation options'
  9. mapping:
  10. width:
  11. type: string
  12. label: 'Timeline width'
  13. height:
  14. type: string
  15. label: 'Timeline height'
  16. hash_bookmark:
  17. type: boolean
  18. label: 'Add bookmarkable slide URLs'
  19. start_at_end:
  20. type: boolean
  21. label: 'Initialize the timeline on the last slide'
  22. scale_factor:
  23. type: float
  24. label: 'How many screen widths wide the timeline should be upon first presentation'
  25. language:
  26. type: string
  27. label: 'Timeline language'
  28. additional_config:
  29. type: mapping
  30. label: 'Additional presentation options'
  31. mapping:
  32. font:
  33. type: string
  34. label: 'Timeline font set'
  35. start_at_current:
  36. type: boolean
  37. label: 'Initialize the timeline on the slide closest to the current date'
  38. timeline_fields:
  39. type: mapping
  40. label: 'Field mappings'
  41. mapping:
  42. caption:
  43. type: string
  44. label: 'Caption field'
  45. credit:
  46. type: string
  47. label: 'Credit field'
  48. media:
  49. type: string
  50. label: 'Media field'
  51. group:
  52. type: string
  53. label: 'Group field'
  54. start_date:
  55. type: string
  56. label: 'Start date field'
  57. end_date:
  58. type: string
  59. label: 'End date field'
  60. display_date:
  61. type: string
  62. label: 'Display date field'
  63. text:
  64. type: string
  65. label: 'Text field'
  66. headline:
  67. type: string
  68. label: 'Headline field'
  69. background:
  70. type: string
  71. label: 'Background image field'
  72. type:
  73. type: string
  74. label: 'Timeline entity type field'
  75. unique_id:
  76. type: string
  77. label: 'Unique ID field'