You are here

oembed_providers.schema.yml in oEmbed Providers 1.0.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. allowed_providers:
  7. type: sequence
  8. label: 'Allowed Providers'
  9. sequence:
  10. type: string
  11. label: 'Provider'
  12. external_fetch:
  13. type: boolean
  14. label: 'External Fetch'
  15. oembed_providers.provider.*:
  16. type: config_entity
  17. label: 'oEmbed provider'
  18. mapping:
  19. id:
  20. type: string
  21. label: 'Machine-readable name'
  22. label:
  23. type: label
  24. label: 'Provider name'
  25. provider_url:
  26. type: string
  27. label: 'Provider URL'
  28. endpoints:
  29. type: sequence
  30. label: 'Endpoints'
  31. sequence:
  32. type: mapping
  33. label: 'Endpoint'
  34. mapping:
  35. schemes:
  36. type: sequence
  37. label: 'Schemes'
  38. sequence:
  39. type: string
  40. label: 'Scheme'
  41. url:
  42. type: string
  43. label: Endpoint URL
  44. discovery:
  45. type: boolean
  46. label: 'Discovery'
  47. formats:
  48. type: mapping
  49. label: 'Formats'
  50. mapping:
  51. json:
  52. type: boolean
  53. label: 'JSON'
  54. xml:
  55. type: boolean
  56. label: 'XML'