supersonic-models
Version:
Supersonic models and API specifications
75 lines (74 loc) • 1.41 kB
YAML
type: array
items:
type: object
required:
- productId
- price
- type
properties:
productId:
type: string
sku:
type: string
name:
$ref: "./translated-text.yaml"
description:
$ref: "./translated-text.yaml"
price:
type: number
priceChanges:
$ref: "./price-change.yaml"
order:
type: object
energyInformation:
type: string
originalImageUrl:
type: string
imageUrl:
type: string
isVisible:
type: boolean
availability:
type: array
items:
$ref: "./availability.yaml"
allergens:
type: array
items:
type: string
type:
type: string
enum:
- grouped
- simple
- customise
- combo
lastUpdated:
type: string
providerData:
type: object
grouped:
$ref: "./grouped-product.yaml"
customise:
type: object
required:
- categories
properties:
categories:
type: array
items:
$ref: "./customise-category.yaml"
combo:
type: object
required:
- filters
- categories
properties:
filters:
type: array
items:
$ref: "./combo-filter.yaml"
categories:
type: array
items:
$ref: "./combo-category.yaml"