You are here

oembed_providers.schema.yml in oEmbed Providers 2.x

config/schema/oembed_providers.schema.yml

File

config/schema/oembed_providers.schema.yml
View source
  1. # Schema for the configuration files of the oEmbed Providers module.
  2. oembed_providers.settings:
  3. type: config_object
  4. label: 'oEmbed Providers settings'
  5. mapping:
  6. external_fetch:
  7. type: boolean
  8. label: 'External Fetch'
  9. oembed_providers.provider.*:
  10. type: config_entity
  11. label: 'oEmbed provider'
  12. mapping:
  13. id:
  14. type: string
  15. label: 'Machine-readable name'
  16. label:
  17. type: label
  18. label: 'Provider name'
  19. provider_url:
  20. type: string
  21. label: 'Provider URL'
  22. endpoints:
  23. type: sequence
  24. label: 'Endpoints'
  25. sequence:
  26. type: mapping
  27. label: 'Endpoint'
  28. mapping:
  29. schemes:
  30. type: sequence
  31. label: 'Schemes'
  32. sequence:
  33. type: string
  34. label: 'Scheme'
  35. url:
  36. type: string
  37. label: Endpoint URL
  38. discovery:
  39. type: boolean
  40. label: 'Discovery'
  41. formats:
  42. type: mapping
  43. label: 'Formats'
  44. mapping:
  45. json:
  46. type: boolean
  47. label: 'JSON'
  48. xml:
  49. type: boolean
  50. label: 'XML'
  51. oembed_providers.bucket.*:
  52. type: config_entity
  53. label: 'oEmbed provider bucket'
  54. mapping:
  55. id:
  56. type: string
  57. label: 'Machine-readable name'
  58. label:
  59. type: label
  60. label: 'Provider name'
  61. description:
  62. type: string
  63. label: 'Description'
  64. providers:
  65. type: sequence
  66. label: 'Allowed Providers'
  67. sequence:
  68. type: string
  69. label: 'Provider'