Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
46 lines
995 B
YAML
46 lines
995 B
YAML
type: object
|
|
description: The order item's details.
|
|
x-schemaName: AdminOrderItem
|
|
required:
|
|
- order_id
|
|
- item_id
|
|
- version
|
|
- history
|
|
- item
|
|
properties:
|
|
order_id:
|
|
type: string
|
|
title: order_id
|
|
description: The ID of the order this item belongs to.
|
|
item_id:
|
|
type: string
|
|
title: item_id
|
|
description: The ID of the associated line item.
|
|
version:
|
|
type: number
|
|
title: version
|
|
description: The order item's version.
|
|
history:
|
|
type: object
|
|
description: The order item's history.
|
|
required:
|
|
- version
|
|
properties:
|
|
version:
|
|
type: object
|
|
description: The version changes of the item.
|
|
required:
|
|
- from
|
|
- to
|
|
properties:
|
|
from:
|
|
type: number
|
|
title: from
|
|
description: The original version.
|
|
to:
|
|
type: number
|
|
title: to
|
|
description: The new version.
|
|
item:
|
|
$ref: ./AdminOrderLineItem.yaml
|