You are here

crm_core_match.schema.yml in CRM Core 8.3

modules/crm_core_match/config/schema/crm_core_match.schema.yml

File

modules/crm_core_match/config/schema/crm_core_match.schema.yml
View source
  1. # Config schema for matcher config entity.
  2. crm_core_match.matcher.*:
  3. type: config_entity
  4. label: 'Matcher'
  5. mapping:
  6. id:
  7. type: string
  8. label: 'Identifier'
  9. label:
  10. type: label
  11. label: 'Matcher label'
  12. description:
  13. type: string
  14. label: 'Matcher description'
  15. plugin_id:
  16. type: string
  17. label: 'Plugin ID'
  18. configuration:
  19. type: crm_core_match.configuration.[%parent.plugin_id]
  20. label: 'Plugin configuration'
  21. # Schema for the plugin configuration.
  22. crm_core_match.configuration.default:
  23. type: mapping
  24. mapping:
  25. threshold:
  26. type: integer
  27. label: 'Match score threshold'
  28. return_order:
  29. type: string
  30. label: 'Return order'
  31. strict:
  32. type: boolean
  33. label: 'Strict matching'
  34. rules:
  35. label: 'Rules'
  36. type: sequence
  37. sequence:
  38. # This sequence is keyed by field names.
  39. type: sequence
  40. label: Field
  41. sequence:
  42. # This sequence is keyed by field property names.
  43. type: mapping
  44. label: Field property
  45. mapping:
  46. weight:
  47. type: integer
  48. label: 'Weight'
  49. status:
  50. type: boolean
  51. label: Enabled
  52. operator:
  53. type: string
  54. label: Operator
  55. options:
  56. type: string
  57. label: Options
  58. score:
  59. type: integer
  60. label: Score