You are here

libraries.schema.yml in Libraries API 8.3

config/schema/libraries.schema.yml

File

config/schema/libraries.schema.yml
View source
  1. # Configuration schema for the Libraries API module.
  2. # Base configuration schema
  3. libraries.settings:
  4. type: config_object
  5. label: 'Libraries API settings'
  6. mapping:
  7. definition:
  8. type: mapping
  9. label: 'Library definition settings'
  10. mapping:
  11. local:
  12. type: mapping
  13. label: 'Local'
  14. mapping:
  15. path:
  16. type: path
  17. label: 'Local path'
  18. remote:
  19. type: mapping
  20. title: 'Remote'
  21. mapping:
  22. enable:
  23. type: boolean
  24. label: 'Enable remote fetching of library definitions'
  25. urls:
  26. type: sequence
  27. label: 'A list of remote library registry URLs'
  28. sequence:
  29. type: uri
  30. label: 'The URL of a remote library registry'
  31. global_locators:
  32. type: sequence
  33. title: 'Global library locators'
  34. sequence:
  35. type: mapping
  36. title: 'Global locator plugins'
  37. mapping:
  38. id:
  39. type: string
  40. title: 'The locator plugin id'
  41. configuration:
  42. type: libraries.locator.[%parent.id]
  43. title: 'The plugin configuration'
  44. # Dynamic locator plugin schema
  45. libraries.locator.uri:
  46. type: mapping
  47. label: 'URI locator configuration'
  48. mapping:
  49. uri:
  50. type: uri
  51. label: 'The locator URI'