UNPKG

supersonic-models

Version:

Supersonic models and API specifications

39 lines (38 loc) 659 B
type: array items: type: object required: - couponId - code - name - isEnabled - autoApply - type properties: couponId: type: integer code: type: string name: $ref: "./translated-text.yaml" availability: type: array items: $ref: "./availability.yaml" description: $ref: "./translated-text.yaml" isEnabled: type: boolean autoApply: type: boolean type: type: string enum: - product - cart products: type: array items: $ref: "./coupon-product.yaml" cart: $ref: "./coupon-cart.yaml"