addedInput schema / $defs
Added value: +{
+ "Open_Api_Promotion_Selected_Products": {
+ "properties": {
+ "oncePerOrder": {
+ "type": "boolean"
+ },
+ "productIds": {
+ "items": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "productIds"
+ ],
+ "title": "Open Api Promotion Selected Products",
+ "type": "object"
+ },
+ "Shop": {
+ "properties": {
+ "minimumOrderValue": {
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "value": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "currency",
+ "value"
+ ],
+ "title": "Money",
+ "type": "object"
+ }
+ },
+ "title": "Shop",
+ "type": "object"
+ },
+ "discount": {
+ "oneOf": [
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Shop"
+ },
+ {
+ "properties": {
+ "freeShipping": {
+ "type": "boolean"
+ },
+ "money": {
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "value": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "currency",
+ "value"
+ ],
+ "title": "Money",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "FLAT_RATE",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "required": [
+ "freeShipping",
+ "money"
+ ],
+ "title": "Fixed Amount"
+ },
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Shop"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "FREE_SHIPPING",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "title": "Free Shipping"
+ },
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Shop"
+ },
+ {
+ "properties": {
+ "percentage": {
+ "type": "number"
+ },
+ "shipping": {
+ "enum": [
+ "Excluded",
+ "Included",
+ "FreeLowestOnly",
+ "Free"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "PERCENTAGE",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "required": [
+ "percentage",
+ "shipping"
+ ],
+ "title": "Percentage"
+ }
+ ]
+ },
+ "discount_2": {
+ "oneOf": [
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Memberships"
+ },
+ {
+ "properties": {
+ "percentage": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "PERCENTAGE",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "required": [
+ "percentage"
+ ],
+ "title": "Percentage"
+ }
+ ]
+ },
+ "subscriptionType": {
+ "oneOf": [
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Open Api Promotion Membership Subscription Type Applies To"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "ALL",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "title": "All Members"
+ },
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Open Api Promotion Membership Subscription Type Applies To"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "ANNUAL",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "title": "Annual Members Only"
+ },
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Open Api Promotion Membership Subscription Type Applies To"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "MONTHLY",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "title": "Monthly Members Only"
+ }
+ ]
+ },
+ "tiers": {
+ "oneOf": [
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Open Api Promotion Membership Tiers Applies To"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "ALL",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "title": "All Tiers"
+ },
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Open Api Promotion Membership Tiers Applies To"
+ },
+ {
+ "properties": {
+ "ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "SELECTED",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "required": [
+ "ids"
+ ],
+ "title": "Selected Tiers"
+ }
+ ]
+ }
+}
changedInput schema / properties / payload / oneOf
Previous value: -[
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Create Promotion Request"
- },
- {
- "properties": {
- "codes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "discount": {
- "oneOf": [
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Memberships"
- },
- {
- "properties": {
- "percentage": {
- "type": "number"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "PERCENTAGE",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "percentage"
- ],
- "title": "Percentage"
- }
- ]
- },
- "requirements": {
- "properties": {
- "newMembersOnly": {
- "type": "boolean"
- }
- },
- "required": [
- "newMembersOnly"
- ],
- "title": "Memberships",
- "type": "object"
- },
- "subscriptionType": {
- "oneOf": [
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Subscription Type Applies To"
- },
- {
- "properties": {
- "type": {
- "const": "ALL",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "All Members"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Subscription Type Applies To"
- },
- {
- "properties": {
- "type": {
- "const": "ANNUAL",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "Annual Members Only"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Subscription Type Applies To"
- },
- {
- "properties": {
- "type": {
- "const": "MONTHLY",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "Monthly Members Only"
- }
- ]
- },
- "tiers": {
- "oneOf": [
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Tiers Applies To"
- },
- {
- "properties": {
- "type": {
- "const": "ALL",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "All Tiers"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Tiers Applies To"
- },
- {
- "properties": {
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "SELECTED",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "ids"
- ],
- "title": "Selected Tiers"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "MEMBERSHIPS_MULTI",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "codes",
- "discount"
- ],
- "title": "MEMBERSHIPS_MULTI"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Create Promotion Request"
- },
- {
- "properties": {
- "code": {
- "type": "string"
- },
- "discount": {
- "oneOf": [
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Memberships"
- },
- {
- "properties": {
- "percentage": {
- "type": "number"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "PERCENTAGE",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "percentage"
- ],
- "title": "Percentage"
- }
- ]
- },
- "requirements": {
- "properties": {
- "newMembersOnly": {
- "type": "boolean"
- }
- },
- "required": [
- "newMembersOnly"
- ],
- "title": "Memberships",
- "type": "object"
- },
- "subscriptionType": {
- "oneOf": [
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Subscription Type Applies To"
- },
- {
- "properties": {
- "type": {
- "const": "ALL",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "All Members"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Subscription Type Applies To"
- },
- {
- "properties": {
- "type": {
- "const": "ANNUAL",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "Annual Members Only"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Subscription Type Applies To"
- },
- {
- "properties": {
- "type": {
- "const": "MONTHLY",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "Monthly Members Only"
- }
- ]
- },
- "tiers": {
- "oneOf": [
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Tiers Applies To"
- },
- {
- "properties": {
- "type": {
- "const": "ALL",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "All Tiers"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Promotion Membership Tiers Applies To"
- },
- {
- "properties": {
- "ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "SELECTED",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "ids"
- ],
- "title": "Selected Tiers"
- }
- ]
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "MEMBERSHIPS_SINGLE",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "code",
- "discount"
- ],
- "title": "MEMBERSHIPS_SINGLE"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Create Promotion Request"
- },
- {
- "properties": {
- "appliesToProducts": {
- "properties": {
- "oncePerOrder": {
- "type": "boolean"
- },
- "productIds": {
- "items": {
- "format": "uuid",
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "productIds"
- ],
- "title": "Open Api Promotion Selected Products",
- "type": "object"
- },
- "codes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "discount": {
- "oneOf": [
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Shop"
- },
- {
- "properties": {
- "freeShipping": {
- "type": "boolean"
- },
- "money": {
- "properties": {
- "currency": {
- "type": "string"
- },
- "value": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "currency",
- "value"
- ],
- "title": "Money",
- "type": "object"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "FLAT_RATE",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "freeShipping",
- "money"
- ],
- "title": "Fixed Amount"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Shop"
- },
- {
- "properties": {
- "type": {
- "const": "FREE_SHIPPING",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "Free Shipping"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Shop"
- },
- {
- "properties": {
- "percentage": {
- "type": "number"
- },
- "shipping": {
- "enum": [
- "Excluded",
- "Included",
- "FreeLowestOnly",
- "Free"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "PERCENTAGE",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "percentage",
- "shipping"
- ],
- "title": "Percentage"
- }
- ]
- },
- "limits": {
- "properties": {
- "maximumUse": {
- "format": "int32",
- "type": "integer"
- },
- "oneUsePerCustomer": {
- "type": "boolean"
- }
- },
- "required": [
- "oneUsePerCustomer"
- ],
- "title": "Open Api Promotion Limits",
- "type": "object"
- },
- "requirements": {
- "properties": {
- "minimumOrderValue": {
- "properties": {
- "currency": {
- "type": "string"
- },
- "value": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "currency",
- "value"
- ],
- "title": "Money",
- "type": "object"
- }
- },
- "title": "Shop",
- "type": "object"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "SHOP_MULTI",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "codes",
- "discount"
- ],
- "title": "SHOP_MULTI"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Open Api Create Promotion Request"
- },
- {
- "properties": {
- "appliesToProducts": {
- "properties": {
- "oncePerOrder": {
- "type": "boolean"
- },
- "productIds": {
- "items": {
- "format": "uuid",
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "productIds"
- ],
- "title": "Open Api Promotion Selected Products",
- "type": "object"
- },
- "code": {
- "type": "string"
- },
- "discount": {
- "oneOf": [
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Shop"
- },
- {
- "properties": {
- "freeShipping": {
- "type": "boolean"
- },
- "money": {
- "properties": {
- "currency": {
- "type": "string"
- },
- "value": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "currency",
- "value"
- ],
- "title": "Money",
- "type": "object"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "FLAT_RATE",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "freeShipping",
- "money"
- ],
- "title": "Fixed Amount"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Shop"
- },
- {
- "properties": {
- "type": {
- "const": "FREE_SHIPPING",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "title": "Free Shipping"
- },
- {
- "allOf": [
- {
- "properties": {
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "title": "Shop"
- },
- {
- "properties": {
- "percentage": {
- "type": "number"
- },
- "shipping": {
- "enum": [
- "Excluded",
- "Included",
- "FreeLowestOnly",
- "Free"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "PERCENTAGE",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "percentage",
- "shipping"
- ],
- "title": "Percentage"
- }
- ]
- },
- "limits": {
- "properties": {
- "maximumUse": {
- "format": "int32",
- "type": "integer"
- },
- "oneUsePerCustomer": {
- "type": "boolean"
- }
- },
- "required": [
- "oneUsePerCustomer"
- ],
- "title": "Open Api Promotion Limits",
- "type": "object"
- },
- "requirements": {
- "properties": {
- "minimumOrderValue": {
- "properties": {
- "currency": {
- "type": "string"
- },
- "value": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "currency",
- "value"
- ],
- "title": "Money",
- "type": "object"
- }
- },
- "title": "Shop",
- "type": "object"
- }
- },
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "const": "SHOP_SINGLE",
- "type": "string"
- }
- },
- "type": "object"
- }
- ],
- "required": [
- "code",
- "discount"
- ],
- "title": "SHOP_SINGLE"
- }
-]New value: +[
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Open Api Create Promotion Request"
+ },
+ {
+ "properties": {
+ "codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "discount": {
+ "$ref": "#/$defs/discount_2"
+ },
+ "requirements": {
+ "properties": {
+ "newMembersOnly": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "newMembersOnly"
+ ],
+ "title": "Memberships",
+ "type": "object"
+ },
+ "subscriptionType": {
+ "$ref": "#/$defs/subscriptionType"
+ },
+ "tiers": {
+ "$ref": "#/$defs/tiers"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "MEMBERSHIPS_MULTI",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "required": [
+ "codes",
+ "discount"
+ ],
+ "title": "MEMBERSHIPS_MULTI"
+ },
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Open Api Create Promotion Request"
+ },
+ {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "discount": {
+ "$ref": "#/$defs/discount_2"
+ },
+ "requirements": {
+ "properties": {
+ "newMembersOnly": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "newMembersOnly"
+ ],
+ "title": "Memberships",
+ "type": "object"
+ },
+ "subscriptionType": {
+ "$ref": "#/$defs/subscriptionType"
+ },
+ "tiers": {
+ "$ref": "#/$defs/tiers"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "MEMBERSHIPS_SINGLE",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "required": [
+ "code",
+ "discount"
+ ],
+ "title": "MEMBERSHIPS_SINGLE"
+ },
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Open Api Create Promotion Request"
+ },
+ {
+ "properties": {
+ "appliesToProducts": {
+ "$ref": "#/$defs/Open_Api_Promotion_Selected_Products"
+ },
+ "codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "discount": {
+ "$ref": "#/$defs/discount"
+ },
+ "limits": {
+ "properties": {
+ "maximumUse": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "oneUsePerCustomer": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "oneUsePerCustomer"
+ ],
+ "title": "Open Api Promotion Limits",
+ "type": "object"
+ },
+ "requirements": {
+ "$ref": "#/$defs/Shop"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "SHOP_MULTI",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "required": [
+ "codes",
+ "discount"
+ ],
+ "title": "SHOP_MULTI"
+ },
+ {
+ "allOf": [
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "title": "Open Api Create Promotion Request"
+ },
+ {
+ "properties": {
+ "appliesToProducts": {
+ "$ref": "#/$defs/Open_Api_Promotion_Selected_Products"
+ },
+ "code": {
+ "type": "string"
+ },
+ "discount": {
+ "$ref": "#/$defs/discount"
+ },
+ "limits": {
+ "properties": {
+ "maximumUse": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "oneUsePerCustomer": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "oneUsePerCustomer"
+ ],
+ "title": "Open Api Promotion Limits",
+ "type": "object"
+ },
+ "requirements": {
+ "$ref": "#/$defs/Shop"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "const": "SHOP_SINGLE",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ ],
+ "required": [
+ "code",
+ "discount"
+ ],
+ "title": "SHOP_SINGLE"
+ }
+]