You are here

fb_instant_articles.schema.yml in Facebook Instant Articles 8.2

Same filename and directory in other branches
  1. 3.x config/schema/fb_instant_articles.schema.yml
config/schema/fb_instant_articles.schema.yml

File

config/schema/fb_instant_articles.schema.yml
View source
  1. fb_instant_articles.settings:
  2. type: config_object
  3. mapping:
  4. page_id:
  5. type: string
  6. label: 'Page ID'
  7. page_name:
  8. type: string
  9. label: 'Page Name'
  10. style:
  11. type: string
  12. label: 'Style'
  13. ads:
  14. type: mapping
  15. label: 'Ads settings'
  16. mapping:
  17. type:
  18. type: string
  19. label: 'Ad type'
  20. iframe_url:
  21. type: uri
  22. label: 'Ad source URL'
  23. an_placement_id:
  24. type: string
  25. label: 'Audience network placement ID'
  26. embed_code:
  27. type: string
  28. label: 'Ad embed code'
  29. dimensions:
  30. type: string
  31. label: 'Ad dimensions'
  32. analytics:
  33. type: mapping
  34. label: 'Analytics settings'
  35. mapping:
  36. embed_code:
  37. type: string
  38. label: 'Analytics embed code'
  39. transformer_logging_level:
  40. type: string
  41. label: 'Transformer logging level'
  42. canonical_url_override:
  43. type: uri
  44. label: 'Canonical URL override'
  45. app_id:
  46. type: string
  47. label: 'App ID'
  48. app_secret:
  49. type: string
  50. label: 'App secret'
  51. access_token:
  52. type: string
  53. label: 'Access token'
  54. page_access_token:
  55. type: string
  56. label: 'Page access token'
  57. field.formatter.settings.fbia_ad:
  58. type: mapping
  59. label: 'Instant articles ad element formatter settings'
  60. mapping:
  61. source_type:
  62. type: string
  63. label: 'Source type'
  64. width:
  65. type: integer
  66. label: 'Width'
  67. height:
  68. type: integer
  69. label: 'Height'
  70. field.formatter.settings.fbia_ad_link:
  71. type: mapping
  72. label: 'Instant articles ad element formatter settings'
  73. mapping:
  74. width:
  75. type: integer
  76. label: 'Width'
  77. height:
  78. type: integer
  79. label: 'Height'
  80. field.formatter.settings.fbia_analytics:
  81. type: mapping
  82. label: 'Instant articles analytics element formatter settings'
  83. mapping:
  84. source_type:
  85. type: string
  86. label: 'Source type'
  87. field.formatter.settings.fbia_author_reference:
  88. type: mapping
  89. label: 'Instant articles author element formatter settings'
  90. mapping:
  91. link:
  92. type: boolean
  93. label: 'Link the author'
  94. field.formatter.settings.fbia_image:
  95. type: mapping
  96. label: 'Instant articles image element formatter settings'
  97. mapping:
  98. image_style:
  99. type: string
  100. label: 'Image style'
  101. caption:
  102. type: boolean
  103. label: 'Caption'
  104. presentation:
  105. type: string
  106. label: 'Presentation'
  107. field.formatter.settings.fbia_interactive:
  108. type: mapping
  109. label: 'Instant articles interactive element formatter settings'
  110. mapping:
  111. source_type:
  112. type: string
  113. label: 'Source type'
  114. width:
  115. type: integer
  116. label: 'Width'
  117. height:
  118. type: integer
  119. label: 'Height'
  120. margin:
  121. type: string
  122. label: 'Margin'
  123. field.formatter.settings.fbia_interactive_link:
  124. type: mapping
  125. label: 'Instant articles interactive element formatter settings'
  126. mapping:
  127. width:
  128. type: integer
  129. label: 'Width'
  130. height:
  131. type: integer
  132. label: 'Height'
  133. margin:
  134. type: string
  135. label: 'Margin'
  136. field.formatter.settings.fbia_list:
  137. type: mapping
  138. label: 'Instant articles list element formatter settings'
  139. mapping:
  140. is_ordered:
  141. type: boolean
  142. label: 'Ordered list'
  143. field.formatter.settings.fbia_video:
  144. type: mapping
  145. label: 'Instant articles video element formatter settings'
  146. mapping:
  147. presentation:
  148. type: string
  149. label: 'Presentation'
  150. controls:
  151. type: boolean
  152. label: 'Controls'
  153. autoplay:
  154. type: boolean
  155. label: 'Autoplay'
  156. feed_cover:
  157. type: boolean
  158. label: 'Feed cover'
  159. use_description_as_link_text:
  160. type: boolean
  161. label: 'Replace the file name by its description when available'
  162. node.type.*.third_party.fb_instant_articles:
  163. type: mapping
  164. label: 'Facebook Instant Articles'
  165. mapping:
  166. fb_instant_articles_enabled:
  167. type: boolean
  168. label: 'Whether to enable Facebook Instant Articles for this content type'