UNPKG

@rapharacing/schemas

Version:

OpenAPI to JSON Schema to be used with middy for CC response validation

1,779 lines (1,778 loc) 145 kB
{ "definitions": { "Address": { "type": "object", "required": [ "firstName", "lastName", "line1", "postalCode", "titleCode", "town" ], "properties": { "cellphone": { "type": "string", "description": "Cellphone number" }, "companyName": { "type": "string", "description": "Company Name" }, "country": { "description": "Country where address is located", "$ref": "#/definitions/Country", "originalRef": "Country" }, "defaultAddress": { "type": "boolean", "description": "Boolean flag if address is default" }, "district": { "type": "string", "description": "District name" }, "email": { "type": "string", "description": "Email address" }, "firstName": { "type": "string", "description": "First name of the address person" }, "formattedAddress": { "type": "string", "description": "Boolean flag if address is formatted" }, "id": { "type": "string", "description": "Unique id value of the address which is optional while creating new address. While performing other address operations this value is the key" }, "lastName": { "type": "string", "description": "Last name of the address person" }, "line1": { "type": "string", "description": "First line of the address" }, "line2": { "type": "string", "description": "Second line of the address" }, "phone": { "type": "string", "description": "Phone number" }, "postalCode": { "type": "string", "description": "Postal code of the address" }, "region": { "description": "Region where address belongs to", "$ref": "#/definitions/Region", "originalRef": "Region" }, "shippingAddress": { "type": "boolean", "description": "Boolean flag if address is for shipping" }, "title": { "type": "string", "description": "Title of the address person" }, "titleCode": { "type": "string", "description": "Code of the title" }, "town": { "type": "string", "description": "Town, field required" }, "visibleInAddressBook": { "type": "boolean", "description": "Boolean flag if address is visible in the Address Book" } }, "title": "Address", "description": "Request body fields required and optional to operate on address data. The DTO is in XML or .json format" }, "AddressList": { "type": "object", "properties": { "addresses": { "type": "array", "description": "List of addresses", "items": { "$ref": "#/definitions/Address", "originalRef": "Address" } } }, "title": "AddressList", "description": "Representation of an Address list" }, "AddressValidation": { "type": "object", "properties": { "decision": { "type": "string", "description": "Decision" }, "errors": { "description": "List of errors", "$ref": "#/definitions/errorList", "originalRef": "errorList" }, "suggestedAddresses": { "type": "array", "description": "List of suggested addresses", "items": { "$ref": "#/definitions/Address", "originalRef": "Address" } } }, "title": "AddressValidation", "description": "Representation of an Address Validation" }, "BaseOption": { "type": "object", "properties": { "options": { "type": "array", "description": "List of all variant options", "items": { "$ref": "#/definitions/VariantOption", "originalRef": "VariantOption" } }, "selected": { "description": "Variant option selected", "$ref": "#/definitions/VariantOption", "originalRef": "VariantOption" }, "variantType": { "type": "string", "description": "Variant type of base option" } }, "title": "BaseOption", "description": "Representation of a Base Ooption" }, "BaseSite": { "type": "object", "properties": { "channel": { "type": "string", "description": "Channel" }, "defaultLanguage": { "description": "Default language for Basesite", "$ref": "#/definitions/Language", "originalRef": "Language" }, "defaultPreviewCatalogId": { "type": "string", "description": "Default preview catalog id" }, "defaultPreviewCategoryCode": { "type": "string", "description": "Default preview category code" }, "defaultPreviewProductCode": { "type": "string", "description": "Default preview product code" }, "locale": { "type": "string", "description": "Locale data for Basesite" }, "name": { "type": "string", "description": "Name of Basesite" }, "stores": { "type": "array", "description": "List of Basestores", "items": { "$ref": "#/definitions/BaseStore", "originalRef": "BaseStore" } }, "theme": { "type": "string", "description": "Theme of Basesite" }, "uid": { "type": "string", "description": "Unique identifier of Basesite" }, "urlEncodingAttributes": { "type": "array", "description": "List of url encoding attributes", "items": { "type": "string" } }, "urlPatterns": { "type": "array", "description": "List of url patterns", "items": { "type": "string" } } }, "title": "BaseSite", "description": "Representation of a Base Site" }, "BaseSiteList": { "type": "object", "properties": { "baseSites": { "type": "array", "description": "List of basesites", "items": { "$ref": "#/definitions/BaseSite", "originalRef": "BaseSite" } } }, "title": "BaseSiteList", "description": "Representation of a Base Site List" }, "BaseStore": { "type": "object", "properties": { "createReturnProcessCode": { "type": "string", "description": "Create return process code" }, "currencies": { "type": "array", "description": "List of currencies", "items": { "$ref": "#/definitions/Currency", "originalRef": "Currency" } }, "defaultCurrency": { "description": "Default currency", "$ref": "#/definitions/Currency", "originalRef": "Currency" }, "defaultDeliveryOrigin": { "description": "Point of service being default delivery origin", "$ref": "#/definitions/PointOfService", "originalRef": "PointOfService" }, "defaultLanguage": { "description": "Default language", "$ref": "#/definitions/Language", "originalRef": "Language" }, "deliveryCountries": { "type": "array", "description": "List of delivery countries", "items": { "$ref": "#/definitions/Country", "originalRef": "Country" } }, "deliveryModes": { "description": "List of delivery modes", "$ref": "#/definitions/DeliveryModeList", "originalRef": "DeliveryModeList" }, "expressCheckoutEnabled": { "type": "boolean", "description": "Flag specifying whether the express checkout option is enabled" }, "externalTaxEnabled": { "type": "boolean", "description": "Flag defining is external tax is enabled" }, "languages": { "type": "array", "description": "List of languages", "items": { "$ref": "#/definitions/Language", "originalRef": "Language" } }, "maxRadiusForPosSearch": { "type": "number", "format": "double", "description": "Maximum radius for searching point of service" }, "name": { "type": "string", "description": "Base store name" }, "paymentProvider": { "type": "string", "description": "Payment provider" }, "pointsOfService": { "type": "array", "description": "List of points of service", "items": { "$ref": "#/definitions/PointOfService", "originalRef": "PointOfService" } }, "submitOrderProcessCode": { "type": "string", "description": "Submit order process code" } }, "title": "BaseStore", "description": "Representation of a Base Store" }, "BasicnotificationPreference": { "type": "object", "properties": { "channel": { "type": "string", "example": "email, sms, site_message", "description": "preference channel" }, "enabled": { "type": "boolean", "description": "if true, the channel is on; if false, the channel is off" } }, "title": "BasicnotificationPreference", "description": "Basic notification preference" }, "BasicnotificationPreferenceList": { "type": "object", "properties": { "preferences": { "type": "array", "description": "Basic notification preferences", "items": { "$ref": "#/definitions/BasicnotificationPreference", "originalRef": "BasicnotificationPreference" } } }, "title": "BasicnotificationPreferenceList", "description": "Basic notification preference list" }, "Breadcrumb": { "type": "object", "properties": { "facetCode": { "type": "string", "description": "Code of the facet" }, "facetName": { "type": "string", "description": "Name of the facet" }, "facetValueCode": { "type": "string", "description": "Value code of the facet" }, "facetValueName": { "type": "string", "description": "Value name of the facet" }, "removeQuery": { "description": "Remove query", "$ref": "#/definitions/SearchState", "originalRef": "SearchState" }, "truncateQuery": { "description": "Truncate query", "$ref": "#/definitions/SearchState", "originalRef": "SearchState" } }, "title": "Breadcrumb", "description": "Representation of a Breadcrumb" }, "CancellationRequestEntryInput": { "type": "object", "required": [ "orderEntryNumber", "quantity" ], "properties": { "orderEntryNumber": { "type": "integer", "format": "int32", "example": 1, "description": "Order entry number of the cancelled product" }, "quantity": { "type": "integer", "format": "int64", "example": 5, "description": "Quantity of the product which belongs to the order entry and is requested to be cancelled" } }, "title": "CancellationRequestEntryInput", "description": "Representation of a cancellation request entry input for an order" }, "CancellationRequestEntryInputList": { "type": "object", "required": [ "cancellationRequestEntryInputs" ], "properties": { "cancellationRequestEntryInputs": { "type": "array", "description": "Cancellation request entry inputs which contain information about the order entries which are requested to be cancelled", "items": { "$ref": "#/definitions/CancellationRequestEntryInput", "originalRef": "CancellationRequestEntryInput" } } }, "title": "CancellationRequestEntryInputList", "description": "Representation of a cancellation request entry input list for an order" }, "CardType": { "type": "object", "properties": { "code": { "type": "string", "description": "Card type code" }, "name": { "type": "string", "description": "Card type name" } }, "title": "CardType", "description": "Representation of a Card Type" }, "CardTypeList": { "type": "object", "properties": { "cardTypes": { "type": "array", "description": "List of card types", "items": { "$ref": "#/definitions/CardType", "originalRef": "CardType" } } }, "title": "CardTypeList", "description": "Representation of a Card Type List" }, "Cart": { "type": "object", "properties": { "adyenBoletoBarCodeReference": { "type": "string" }, "adyenBoletoData": { "type": "string" }, "adyenBoletoDueDate": { "type": "string", "format": "date-time" }, "adyenBoletoExpirationDate": { "type": "string", "format": "date-time" }, "adyenBoletoUrl": { "type": "string" }, "adyenMultibancoAmount": { "type": "number" }, "adyenMultibancoDeadline": { "type": "string" }, "adyenMultibancoEntity": { "type": "string" }, "adyenMultibancoReference": { "type": "string" }, "adyenPosReceipt": { "type": "string" }, "appliedOrderPromotions": { "type": "array", "description": "List of applied order promotions", "items": { "$ref": "#/definitions/PromotionResult", "originalRef": "PromotionResult" } }, "appliedProductPromotions": { "type": "array", "description": "List of applied product promotions", "items": { "$ref": "#/definitions/PromotionResult", "originalRef": "PromotionResult" } }, "appliedVouchers": { "type": "array", "description": "List of applied vouchers", "items": { "$ref": "#/definitions/Voucher", "originalRef": "Voucher" } }, "calculated": { "type": "boolean", "description": "Flag showing if order is calculated" }, "code": { "type": "string", "description": "Code number of order" }, "deliveryAddress": { "description": "Delivery address", "$ref": "#/definitions/Address", "originalRef": "Address" }, "deliveryCost": { "description": "Delivery cost", "$ref": "#/definitions/Price", "originalRef": "Price" }, "deliveryItemsQuantity": { "type": "integer", "format": "int64", "description": "Quantity of delivery items" }, "deliveryMode": { "description": "Delivery mode information", "$ref": "#/definitions/DeliveryMode", "originalRef": "DeliveryMode" }, "deliveryOrderGroups": { "type": "array", "description": "List of delivery order entries group", "items": { "$ref": "#/definitions/DeliveryOrderEntryGroup", "originalRef": "DeliveryOrderEntryGroup" } }, "description": { "type": "string", "description": "Description of the cart" }, "entries": { "type": "array", "description": "List of order entries", "items": { "$ref": "#/definitions/OrderEntry", "originalRef": "OrderEntry" } }, "entryGroups": { "type": "array", "description": "List of entry groups", "items": { "$ref": "#/definitions/EntryGroup", "originalRef": "EntryGroup" } }, "expirationTime": { "type": "string", "format": "date-time", "description": "Date of cart expiration time" }, "guid": { "type": "string", "description": "Guest user id identifier" }, "name": { "type": "string", "description": "Name of the cart" }, "net": { "type": "boolean", "description": "Flag stating iv value is net-value" }, "orderDiscounts": { "description": "Order discounts", "$ref": "#/definitions/Price", "originalRef": "Price" }, "paymentInfo": { "description": "Payment information", "$ref": "#/definitions/PaymentDetails", "originalRef": "PaymentDetails" }, "pickupItemsQuantity": { "type": "integer", "format": "int64", "description": "Quantity of pickup items" }, "pickupOrderGroups": { "type": "array", "description": "List of pickup order entry group", "items": { "$ref": "#/definitions/PickupOrderEntryGroup", "originalRef": "PickupOrderEntryGroup" } }, "potentialOrderPromotions": { "type": "array", "description": "List of potential order promotions for cart", "items": { "$ref": "#/definitions/PromotionResult", "originalRef": "PromotionResult" } }, "potentialProductPromotions": { "type": "array", "description": "List of potential product promotions for cart", "items": { "$ref": "#/definitions/PromotionResult", "originalRef": "PromotionResult" } }, "productDiscounts": { "description": "Product discounts", "$ref": "#/definitions/Price", "originalRef": "Price" }, "saveTime": { "type": "string", "format": "date-time", "description": "Date of saving cart" }, "savedBy": { "description": "Information about person who saved cart", "$ref": "#/definitions/Principal", "originalRef": "Principal" }, "site": { "type": "string", "description": "Site" }, "store": { "type": "string", "description": "Store" }, "subTotal": { "description": "Subtotal price", "$ref": "#/definitions/Price", "originalRef": "Price" }, "totalDiscounts": { "description": "Total discounts", "$ref": "#/definitions/Price", "originalRef": "Price" }, "totalItems": { "type": "integer", "format": "int32" }, "totalPrice": { "description": "Total price value", "$ref": "#/definitions/Price", "originalRef": "Price" }, "totalPriceWithTax": { "description": "Total price with tax", "$ref": "#/definitions/Price", "originalRef": "Price" }, "totalTax": { "description": "Total tax price", "$ref": "#/definitions/Price", "originalRef": "Price" }, "totalUnitCount": { "type": "integer", "format": "int32", "description": "Total unit count" }, "user": { "description": "User information", "$ref": "#/definitions/Principal", "originalRef": "Principal" } }, "title": "Cart", "description": "Representation of a Cart" }, "CartList": { "type": "object", "properties": { "carts": { "type": "array", "description": "List of carts", "items": { "$ref": "#/definitions/Cart", "originalRef": "Cart" } } }, "title": "CartList", "description": "Representation of a Cart list" }, "CartModification": { "type": "object", "properties": { "deliveryModeChanged": { "type": "boolean", "description": "Delivery mode changed" }, "entry": { "description": "Order entry", "$ref": "#/definitions/OrderEntry", "originalRef": "OrderEntry" }, "quantity": { "type": "integer", "format": "int64", "description": "Final quantity after cart modification" }, "quantityAdded": { "type": "integer", "format": "int64", "description": "Quantity added with cart modification" }, "statusCode": { "type": "string", "description": "Status code of cart modification" }, "statusMessage": { "type": "string", "description": "Status message" } }, "title": "CartModification", "description": "Representation of a Cart modification" }, "CartModificationList": { "type": "object", "properties": { "cartModifications": { "type": "array", "description": "List of cart modifications", "items": { "$ref": "#/definitions/CartModification", "originalRef": "CartModification" } } }, "title": "CartModificationList", "description": "Representation of a Cart modification list" }, "Catalog": { "type": "object", "properties": { "catalogVersions": { "type": "array", "description": "List of versions of catalog", "items": { "$ref": "#/definitions/CatalogVersion", "originalRef": "CatalogVersion" } }, "id": { "type": "string", "description": "Identifier of abstract catalog item" }, "lastModified": { "type": "string", "format": "date-time", "description": "Date of last modification" }, "name": { "type": "string", "description": "Name of abstract catalog item" }, "url": { "type": "string", "description": "Url address of abstract catalog item" } }, "title": "Catalog", "description": "Representation of an Catalog" }, "CatalogList": { "type": "object", "properties": { "catalogs": { "type": "array", "description": "List of catalog items", "items": { "$ref": "#/definitions/Catalog", "originalRef": "Catalog" } } }, "title": "CatalogList", "description": "Representation of a Catalog List" }, "CatalogVersion": { "type": "object", "properties": { "categories": { "type": "array", "description": "List of category hierarchies", "items": { "$ref": "#/definitions/CategoryHierarchy", "originalRef": "CategoryHierarchy" } }, "id": { "type": "string", "description": "Identifier of abstract catalog item" }, "lastModified": { "type": "string", "format": "date-time", "description": "Date of last modification" }, "name": { "type": "string", "description": "Name of abstract catalog item" }, "url": { "type": "string", "description": "Url address of abstract catalog item" } }, "title": "CatalogVersion", "description": "Representation of a Catalog Version" }, "Category": { "type": "object", "properties": { "code": { "type": "string", "description": "Code of the category" }, "image": { "description": "Category image", "$ref": "#/definitions/Image", "originalRef": "Image" }, "name": { "type": "string", "description": "Name of the category" }, "parent": { "description": "Breadcrumb parent category", "$ref": "#/definitions/Category", "originalRef": "Category" }, "url": { "type": "string", "description": "URL of the category" } }, "title": "Category", "description": "Representation of a Category" }, "CategoryHierarchy": { "type": "object", "properties": { "id": { "type": "string", "description": "Identifier of abstract catalog item" }, "lastModified": { "type": "string", "format": "date-time", "description": "Date of last modification" }, "name": { "type": "string", "description": "Name of abstract catalog item" }, "subcategories": { "type": "array", "description": "List of subcategory hierarchies", "items": { "$ref": "#/definitions/CategoryHierarchy", "originalRef": "CategoryHierarchy" } }, "url": { "type": "string", "description": "Url address of abstract catalog item" } }, "title": "CategoryHierarchy", "description": "Representation of a Category Hierarchy" }, "Classification": { "type": "object", "properties": { "code": { "type": "string", "description": "Code of the classification" }, "features": { "type": "array", "description": "List of features for given classification", "items": { "$ref": "#/definitions/Feature", "originalRef": "Feature" } }, "name": { "type": "string", "description": "Name of the classification" } }, "title": "Classification", "description": "Representation of a Classification" }, "ConfigurationInfo": { "type": "object", "properties": { "configurationLabel": { "type": "string", "description": "Label of configuration info" }, "configurationValue": { "type": "string", "description": "Value of configuration info" }, "configuratorType": { "type": "string", "description": "Type of configuration info" }, "status": { "type": "string", "description": "Status of configuration info" } }, "title": "ConfigurationInfo", "description": "Representation of a Configuration Info" }, "Consent": { "type": "object", "properties": { "code": { "type": "string", "description": "Code of consent" }, "consentGivenDate": { "type": "string", "format": "date-time", "description": "Date of consenting" }, "consentWithdrawnDate": { "type": "string", "format": "date-time", "description": "Consent withdrawn date" } }, "title": "Consent", "description": "Representation of a Consent" }, "ConsentTemplate": { "type": "object", "properties": { "currentConsent": { "description": "Current consent", "$ref": "#/definitions/Consent", "originalRef": "Consent" }, "description": { "type": "string", "description": "Consent template description" }, "id": { "type": "string", "description": "Consent template identifier" }, "name": { "type": "string", "description": "Consent template name" }, "version": { "type": "integer", "format": "int32", "description": "Consent template version" } }, "title": "ConsentTemplate", "description": "Representation of a Consent Template" }, "ConsentTemplateList": { "type": "object", "properties": { "consentTemplates": { "type": "array", "description": "List of consent templates", "items": { "$ref": "#/definitions/ConsentTemplate", "originalRef": "ConsentTemplate" } } }, "title": "ConsentTemplateList", "description": "Representation of a Consent Template List" }, "Consignment": { "type": "object", "properties": { "code": { "type": "string", "description": "Consignment code" }, "deliveryPointOfService": { "description": "Delivery point of service", "$ref": "#/definitions/PointOfService", "originalRef": "PointOfService" }, "entries": { "type": "array", "description": "List of consignment entries", "items": { "$ref": "#/definitions/ConsignmentEntry", "originalRef": "ConsignmentEntry" } }, "shippingAddress": { "description": "Shipping address", "$ref": "#/definitions/Address", "originalRef": "Address" }, "status": { "type": "string", "description": "Consignment status" }, "statusDate": { "type": "string", "format": "date-time", "description": "Consignment status date" }, "statusDisplay": { "type": "string", "description": "Consignment status display" }, "trackingID": { "type": "string", "description": "Consignment tracking identifier" } }, "title": "Consignment", "description": "Representation of a Consignment" }, "ConsignmentEntry": { "type": "object", "properties": { "orderEntry": { "description": "Order entry of Consignment entry", "$ref": "#/definitions/OrderEntry", "originalRef": "OrderEntry" }, "quantity": { "type": "integer", "format": "int64", "description": "Quantity value of Consignment entry" }, "shippedQuantity": { "type": "integer", "format": "int64", "description": "Shipped quantity" } }, "title": "ConsignmentEntry", "description": "Representation of a Consignment Entry" }, "Country": { "type": "object", "properties": { "isocode": { "type": "string", "description": "Country code in iso format" }, "name": { "type": "string", "description": "Name of the country" } }, "title": "Country", "description": "Response body fields which will be returned while fetching the list of countries. The DTO is in XML or .json format" }, "CountryList": { "type": "object", "properties": { "countries": { "type": "array", "description": "This is the list of Country fields that should be returned in the response body", "items": { "$ref": "#/definitions/Country", "originalRef": "Country" } } }, "title": "CountryList", "description": "List of countries" }, "Currency": { "type": "object", "properties": { "active": { "type": "boolean", "description": "Boolean flag whether currency is active" }, "isocode": { "type": "string", "description": "Code of the currency in iso format" }, "name": { "type": "string", "description": "Name of the currency" }, "symbol": { "type": "string", "description": "Symbol of the currency" } }, "title": "Currency", "description": "Representation of a Currency" }, "CurrencyList": { "type": "object", "properties": { "currencies": { "type": "array", "description": "List of currencies", "items": { "$ref": "#/definitions/Currency", "originalRef": "Currency" } } }, "title": "CurrencyList", "description": "Representation of a Currency List" }, "CustomCategory": { "type": "object", "properties": { "code": { "type": "string" }, "description": { "type": "string" }, "headerCategory": { "type": "string" }, "heroProduct": { "$ref": "#/definitions/CustomProduct", "originalRef": "CustomProduct" }, "media": { "type": "string" }, "name": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/CustomProduct", "originalRef": "CustomProduct" } } }, "title": "CustomCategory" }, "CustomCategoryList": { "type": "object", "properties": { "customCategories": { "type": "array", "items": { "$ref": "#/definitions/CustomCategory", "originalRef": "CustomCategory" } } }, "title": "CustomCategoryList" }, "CustomFeature": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": "string" } }, "title": "CustomFeature" }, "CustomProduct": { "type": "object", "properties": { "availableSizes": { "type": "array", "items": { "$ref": "#/definitions/CustomFeature", "originalRef": "CustomFeature" } }, "baseProduct": { "type": "string" }, "code": { "type": "string" }, "designId": { "type": "string" }, "detailImages": { "type": "array", "items": { "type": "string" } }, "genders": { "type": "array", "items": { "type": "string" } }, "headerImages": { "type": "array", "items": { "type": "string" } }, "isFeatured": { "type": "boolean" }, "isHeroProduct": { "type": "boolean" }, "isRCCAvailable": { "type": "boolean" }, "isSampleEnabled": { "type": "boolean" }, "isSampleOrdered": { "type": "boolean" }, "managerAccess": { "type": "boolean" }, "mannequinImages": { "type": "array", "items": { "type": "string" } }, "minOrder": { "type": "integer", "format": "int32" }, "name": { "type": "string" }, "preview": { "type": "string" }, "product": { "type": "string" }, "productReferences": { "type": "array", "items": { "$ref": "#/definitions/CustomProduct", "originalRef": "CustomProduct" } }, "rejectedReason": { "type": "string" }, "sampleSizes": { "type": "array", "items": { "$ref": "#/definitions/CustomFeature", "originalRef": "CustomFeature" } }, "shareableLink": { "type": "string" }, "status": { "type": "string" } }, "title": "CustomProduct" }, "CustomProductList": { "type": "object", "properties": { "customProducts": { "type": "array", "items": { "$ref": "#/definitions/CustomProduct", "originalRef": "CustomProduct" } }, "totalItems": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" } }, "title": "CustomProductList" }, "CustomSimpleResponse": { "type": "object", "properties": { "response": { "type": "string" }, "success": { "type": "boolean" } }, "title": "CustomSimpleResponse" }, "CustomTeamDashboard": { "type": "object", "properties": { "managerAccess": { "type": "boolean" }, "name": { "type": "string" }, "products": { "type": "array", "items": { "$ref": "#/definitions/CustomProduct", "originalRef": "CustomProduct" } }, "totalItems": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" } }, "title": "CustomTeamDashboard" }, "CustomTeamShop": { "type": "object", "properties": { "country": { "type": "string" }, "name": { "type": "string" }, "teamId": { "type": "integer", "format": "int64" }, "teamSize": { "type": "integer", "format": "int32" }, "termsAgreement": { "type": "boolean" } }, "title": "CustomTeamShop" }, "CustomTeamShopList": { "type": "object", "properties": { "customTeamShops": { "type": "array", "items": { "$ref": "#/definitions/CustomTeamShop", "originalRef": "CustomTeamShop" } } }, "title": "CustomTeamShopList" }, "CustomerFeedback": { "type": "object", "properties": { "active": { "type": "boolean" }, "averageOverallRating": { "type": "number", "format": "double" }, "disabled": { "type": "boolean" }, "overallRatingRange": { "type": "integer", "format": "int32" }, "productCode": { "type": "string" }, "ratingDistribution": { "type": "array", "items": { "$ref": "#/definitions/RatingDistribution", "originalRef": "RatingDistribution" } }, "secondaryRatings": { "type": "array", "items": { "$ref": "#/definitions/SecondaryRating", "originalRef": "SecondaryRating" } }, "totalReviewCount": { "type": "integer", "format": "int32" } }, "title": "CustomerFeedback" }, "DeliveryMode": { "type": "object", "properties": { "code": { "type": "string", "description": "Code of the delivery mode" }, "deliveryCost": { "description": "Cost of the delivery", "$ref": "#/definitions/Price", "originalRef": "Price" }, "description": { "type": "string", "description": "Description of the delivery mode" }, "name": { "type": "string", "description": "Name of the delivery mode" } }, "title": "DeliveryMode", "description": "Representation of a Delivery mode" }, "DeliveryModeList": { "type": "object", "properties": { "deliveryModes": { "type": "array", "description": "List of delivery modes", "items": { "$ref": "#/definitions/DeliveryMode", "originalRef": "DeliveryMode" } } }, "title": "DeliveryModeList", "description": "Representation of a Delivery mode list" }, "DeliveryOrderEntryGroup": { "type": "object", "properties": { "deliveryAddress": { "description": "Delivery address for order entry group", "$ref": "#/definitions/Address", "originalRef": "Address" }, "entries": { "type": "array", "description": "List of order entries", "items": { "$ref": "#/definitions/OrderEntry", "originalRef": "OrderEntry" } }, "quantity": { "type": "integer", "format": "int64", "description": "Quantity of order entries in a group" }, "totalPriceWithTax": { "description": "Total price with tax", "$ref": "#/definitions/Price", "originalRef": "Price" } }, "title": "DeliveryOrderEntryGroup", "description": "Representation of a Delivery Order Entry Group" }, "EntryGroup": { "type": "object", "properties": { "entries": { "type": "array", "description": "List of order entries", "items": { "$ref": "#/definitions/OrderEntry", "originalRef": "OrderEntry" } }, "entryGroupNumber": { "type": "integer", "format": "int32", "example": 1, "description": "Identifier of the entry group" }, "entryGroups": { "type": "array", "description": "List of child entry groups", "items": { "$ref": "#/definitions/EntryGroup", "originalRef": "EntryGroup" } }, "erroneous": { "type": "boolean", "example": true, "description": "Indicates if the entry group is in an error state" }, "label": { "type": "string", "example": "Photo On The Go Package", "description": "Label for the entry group" }, "type": { "type": "string", "example": "STANDALONE", "description": "Indicates type of the group, possible values are STANDALONE, CONFIGURABLEBUNDLE or any customer implemented type for any new provider" } }, "title": "EntryGroup", "description": "Representation of an Entry Group" }, "Facet": { "type": "object", "properties": { "category": { "type": "boolean", "description": "Flag stating if facet is category facet" }, "multiSelect": { "type": "boolean", "description": "Flag stating if facet is multiSelect" }, "name": { "type": "string", "description": "Name of the facet" }, "priority": { "type": "integer", "format": "int32", "description": "Priority value of the facet" }, "topValues": { "type": "array", "description": "List of top facet values", "items": { "$ref": "#/definitions/FacetValue", "originalRef": "FacetValue" } }, "values": { "type": "array", "description": "List of all facet values", "items": { "$ref": "#/definitions/FacetValue", "originalRef": "FacetValue" } }, "visible": { "type": "boolean", "description": "Flag stating if facet is visible" } }, "title": "Facet", "description": "Representation of a Facet" }, "FacetValue": { "type": "object", "properties": { "count": { "type": "integer", "format": "int64", "description": "Count of the facet value" }, "name": { "type": "string", "description": "Name of the facet value" }, "query": { "description": "Query of the facet value", "$ref": "#/definitions/SearchState", "originalRef": "SearchState" }, "selected": { "type": "boolean", "description": "Flag stating if facet value is selected" } }, "title": "FacetValue", "description": "Representation of a Facet Value" }, "Feature": { "type": "object", "properties": { "code": { "type": "string", "description": "Code of the feature" }, "comparable": { "type": "boolean", "description": "Flag defining it feature is comparable" }, "description": { "type": "string", "description": "Description of the feature" }, "featureUnit": { "description": "Feature unit", "$ref": "#/definitions/FeatureUnit", "originalRef": "FeatureUnit" }, "featureValues": { "type": "array", "description": "List of feature values", "items": { "$ref": "#/definitions/FeatureValue", "originalRef": "FeatureValue" } }, "name": { "type": "string", "description": "Name of the feature" }, "range": { "type": "boolean", "description": "Range number of the reature" }, "type": { "type": "string", "description": "Type of the feature" } }, "title": "Feature", "description": "Representation of a Feature" }, "FeatureUnit": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the feature unit" }, "symbol": { "type": "string", "description": "Symbol of the feature unit" }, "unitType": { "type": "string", "description": "Type of the feature unit" } }, "title": "FeatureUnit", "description": "Representation of a Feature Unit" }, "FeatureValue": { "type": "object", "properties": { "value": { "type": "string", "description": "Value of the feature" } }, "title": "FeatureValue", "description": "Representation of a Feature Value" }, "FutureStock": { "type": "object", "properties": { "date": { "type": "string", "format": "date-time", "description": "Date of future stock" }, "formattedDate": { "type": "string", "description": "Date of future stock expressed in text value" }, "stock": { "description": "Stock information of future stock", "$ref": "#/definitions/Stock", "originalRef": "Stock" } }, "title": "FutureStock", "description": "Representation of a Future Stock" }, "GeoPoint": { "type": "object", "properties": { "latitude": { "type": "number", "format": "double", "description": "Geopoint latitude" }, "longitude": { "type": "number", "format": "double", "description": "Geopoint longitude" } }, "title": "GeoPoint", "description": "Representation of a GeoPoint" }, "Image": { "type": "object", "properties": { "altText": { "type": "string", "description": "Tooltip content which is visible while image mouse hovering" }, "format": { "type": "string", "description": "Format of the image, can be zoom, product, thumbnail, store, cartIcon, etc." }, "galleryIndex": { "type": "integer", "format": "int32", "description": "Index of the image while displayed in gallery" }, "imageType": { "type": "string", "description": "Type of the image, can be PRIMARY or GALLERY", "enum": [ "PRIMARY", "GALLERY" ] }, "url": { "type": "string", "description": "URL address of the image" } }, "title": "Image", "description": "Representation of an Image" }, "Language": { "type": "object", "properties": { "active": {