supersonic-models
Version:
Supersonic models and API specifications
30 lines (29 loc) • 696 B
YAML
type: object
description: Product details that is part of a combo
required:
- id
- name
properties:
id:
type: string
example: "40956"
name:
type: string
example: "Zinger Burger"
price:
type: number
example: 5.95
energyInformation:
type: string
example: "1819 kj"
customisations:
type: array
description: Array of modifiers selected to customise the parent product
items:
$ref: "./aloha-customisation.yaml"
providerData:
$ref: "./aloha-combo-product-provider-data.yaml"
isAvailable:
type: boolean
example: true
description: This property is used only in the responses to inform if the product is available or not