facetapi.facet.schema.yml 1.52 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
facetapi.facet.*:
  type: config_entity
  label : 'Facet'
  mapping:
    id:
      type: string
      label: 'ID'
    name:
      type: label
      label: Name'
    uuid:
      type: string
      label: 'UUID'
    status:
      type: boolean
      label: 'Status'
17
    facet_source:
18
      type: string
19
      label: 'Facet source'
20
21
22
    field_identifier:
      type: string
      label: 'Field identifier'
marthinal's avatar
marthinal committed
23
24
25
    query_type_name:
      type: string
      label: 'Query Type Name'
borisson_'s avatar
borisson_ committed
26
27
28
    widget:
      type: string
      label: 'Field identifier'
29
30
31
32
33
34
    widget_configs:
      type: sequence
      label: 'Widget plugin configurations'
      sequence:
        type: string
        label: 'Widget plugin configurations'
marthinal's avatar
marthinal committed
35
36
37
38
39
40
41
42
43
    empty_behavior:
      type: string
      label: 'Empty Behavior'
    empty_behavior_configs:
      type: sequence
      label: 'Empty Behavior plugin configurations'
      sequence:
        type: sequence
        label: 'Empty Behavior plugin configurations'
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
    processor_configs:
      type: sequence
      label: 'Processor settings'
      sequence:
        type: mapping
        label: 'A processor'
        mapping:
          processor_id:
            type: string
            label: 'The plugin ID of the processor'
          weights:
            type: sequence
            label: 'The processor''s weights for the different processing stages'
            sequence:
              type: integer
              label: 'The processor''s weight for this stage'
          settings:
            type: facetapi.processor.plugin.[%parent.processor_id]