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