Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/BasePromotionRule.yaml
2024-08-30 08:35:10 +02:00

36 lines
642 B
YAML

type: object
description: The rule's rules.
x-schemaName: BasePromotionRule
required:
- id
- values
properties:
id:
type: string
title: id
description: The rule's ID.
description:
type: string
title: description
description: The rule's description.
attribute:
type: string
title: attribute
description: The rule's attribute.
operator:
type: string
description: The rule's operator.
enum:
- gt
- lt
- eq
- ne
- in
- lte
- gte
values:
type: array
description: The rule's values.
items:
$ref: ./BasePromotionRuleValue.yaml