DeliveryDeliveredv1.0.0
An event raised on delivery delivered to notify others about it.
DeliveryDelivered Schema (yml)
openapi: 3.0.0
info:
version: "1.0.0"
title: DeliveryDelivered
paths: {}
components:
schemas:
DeliveryDelivered:
type: object
required:
- data
properties:
data:
"$ref": "#/components/schemas/Data"
metadata:
"$ref": "#/components/schemas/Metadata"
Metadata:
type: object
properties:
version:
type: string
required:
- version
Data:
type: object
properties:
id:
type: string
subscriptionId:
type: string
date:
type: string
kitchen:
"$ref": "#/components/schemas/Kitchen"
status:
"$ref": "#/components/schemas/DeliveryStatus"
deliveredAt:
type: string
withCutlery:
type: boolean
brand:
"$ref": "#/components/schemas/Brand"
required:
- id
- subscriptionId
- date
- kitchen
- status
- withCutlery
- brand
- deliveredAt
Kitchen:
type: string
enum:
- BH001
- SA001
- SA002
- KW001
- QA001
- AE001
- NA000
DeliveryStatus:
type: string
enum:
- upcoming
- paymentRequired
- paused
- cancelled
- suspended
Brand:
type: string
enum:
- CALO
- MEALO
Edit this pageLast updated on 2024/4/2