|
1
|
type: object |
|
2
|
description: The details of a potential rule attribute. |
|
3
|
x-schemaName: AdminRuleAttributeOption |
|
4
|
required: |
|
5
|
- id |
|
6
|
- value |
|
7
|
- label |
|
8
|
- operators |
|
9
|
properties: |
|
10
|
id: |
|
11
|
type: string |
|
12
|
title: id |
|
13
|
description: The rule attribute's ID, which is a rule's `attribute` it refers to. |
|
14
|
example: customer_group |
|
15
|
value: |
|
16
|
type: string |
|
17
|
title: value |
|
18
|
description: The rule attribute's value. |
|
19
|
example: customer.groups.id |
|
20
|
label: |
|
21
|
type: string |
|
22
|
title: label |
|
23
|
description: The rule attribute option's label. |
|
24
|
example: Customer Group |
|
25
|
operators: |
|
26
|
type: array |
|
27
|
description: The attribute's operators. |
|
28
|
items: |
|
29
|
$ref: ./BaseRuleOperatorOptions.yaml |