28 lines
516 B
YAML
28 lines
516 B
YAML
type: object
|
|
x-expanded-relations:
|
|
field: discounts
|
|
relations:
|
|
- parent_discount
|
|
- regions
|
|
- rule
|
|
- rule.conditions
|
|
required:
|
|
- discounts
|
|
- count
|
|
- offset
|
|
- limit
|
|
properties:
|
|
discounts:
|
|
type: array
|
|
items:
|
|
$ref: ./Discount.yaml
|
|
count:
|
|
type: integer
|
|
description: The total number of items available
|
|
offset:
|
|
type: integer
|
|
description: The number of items skipped before these items
|
|
limit:
|
|
type: integer
|
|
description: The number of items per page
|