supersonic-models
Version:
Supersonic models and API specifications
33 lines (32 loc) • 675 B
YAML
type: object
description: Unchanged details from the product on the database
required:
- id
- type
- price
- name
properties:
id:
type: string
example: "30733"
type:
$ref: "./product-type.yaml"
price:
type: number
example: 11.45
name:
type: string
example: "Zinger Burger Box"
energyInformation:
type: string
example: "4865 kj"
customisations:
type: array
description: Array of modifiers selected to customise the parent product
items:
$ref: "./customisation.yaml"
comboProducts:
type: array
description: Array of products selected to the combo
items:
$ref: "./combo-product.yaml"