Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.93 KB | None | 0 0
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "version": "1.0.0",
  5. "title": "Contact Center Search Service"
  6. },
  7. "basePath": "/apiman-gateway/dyson/contactsearch/1.0",
  8. "schemes": [
  9. "https"
  10. ],
  11. "paths": {
  12. "/{baseSiteId}/contactcenter/products/search": {
  13. "get": {
  14. "summary": "Returns products based on the query string",
  15. "operationId": "searchProducts",
  16. "parameters": [
  17. {
  18. "name": "baseSiteId",
  19. "in": "path",
  20. "description": "The id of the base site",
  21. "required": true,
  22. "type": "string"
  23. },
  24. {
  25. "name": "query",
  26. "in": "query",
  27. "description": "The query search",
  28. "required": false,
  29. "type": "string"
  30. },
  31. {
  32. "name": "fields",
  33. "in": "query",
  34. "description": "The set of fields to be returned in the response",
  35. "required": false,
  36. "type": "string",
  37. "default": "BASIC"
  38. }
  39. ],
  40. "responses": {
  41. "200": {
  42. "description": "The product list is returned correctly",
  43. "schema": {
  44. "$ref": "#/definitions/ProductSearchPageWsDTO"
  45. }
  46. }
  47. }
  48. }
  49. }
  50. },
  51. "definitions": {
  52. "ProductSearchPageWsDTO": {
  53. "properties": {
  54. "freeTextSearch": {
  55. "type": "string"
  56. },
  57. "categoryCode": {
  58. "type": "string"
  59. },
  60. "keywordRedirectUrl": {
  61. "type": "string"
  62. },
  63. "spellingSuggestion": {
  64. "$ref": "#/definitions/SpellingSuggestionWsDTO"
  65. },
  66. "products": {
  67. "type": "array",
  68. "items": {
  69. "$ref": "#/definitions/ProductWsDTO"
  70. }
  71. },
  72. "sorts": {
  73. "type": "array",
  74. "items": {
  75. "$ref": "#/definitions/SortWsDTO"
  76. }
  77. },
  78. "pagination": {
  79. "$ref": "#/definitions/PaginationWsDTO"
  80. },
  81. "currentQuery": {
  82. "$ref": "#/definitions/SearchStateWsDTO"
  83. },
  84. "breadcrumbs": {
  85. "type": "array",
  86. "items": {
  87. "$ref": "#/definitions/BreadcrumbWsDTO"
  88. }
  89. },
  90. "facets": {
  91. "type": "array",
  92. "items": {
  93. "$ref": "#/definitions/FacetWsDTO"
  94. }
  95. },
  96. "relevancyFlag":{
  97. "type": "boolean"
  98. }
  99. }
  100. },
  101. "SpellingSuggestionWsDTO": {
  102. "properties": {
  103. "suggestion": {
  104. "type": "string"
  105. },
  106. "query": {
  107. "type": "string"
  108. }
  109. }
  110. },
  111. "ProductWsDTO": {
  112. "properties": {
  113. "code": {
  114. "type": "string"
  115. },
  116. "name": {
  117. "type": "string"
  118. },
  119. "url": {
  120. "type": "string"
  121. },
  122. "description": {
  123. "type": "string"
  124. },
  125. "purchasable": {
  126. "type": "boolean"
  127. },
  128. "stock": {
  129. "$ref": "#/definitions/StockWsDTO"
  130. },
  131. "futureStocks": {
  132. "type": "array",
  133. "items": {
  134. "$ref": "#/definitions/FutureStockWsDTO"
  135. }
  136. },
  137. "availableForPickup": {
  138. "type": "boolean"
  139. },
  140. "averageRating": {
  141. "type": "number",
  142. "format": "double"
  143. },
  144. "numberOfReviews": {
  145. "type": "integer"
  146. },
  147. "summary": {
  148. "type": "string"
  149. },
  150. "manufacturer": {
  151. "type": "string"
  152. },
  153. "variantType": {
  154. "type": "string"
  155. },
  156. "price": {
  157. "$ref": "#/definitions/PriceWsDTO"
  158. },
  159. "baseProduct": {
  160. "type": "string"
  161. },
  162. "images": {
  163. "type": "array",
  164. "items": {
  165. "$ref": "#/definitions/ImageWsDTO"
  166. }
  167. },
  168. "categories": {
  169. "type": "array",
  170. "items": {
  171. "$ref": "#/definitions/CategoryWsDTO"
  172. }
  173. },
  174. "reviews": {
  175. "type": "array",
  176. "items": {
  177. "$ref": "#/definitions/ReviewWsDTO"
  178. }
  179. },
  180. "classifications": {
  181. "type": "array",
  182. "items": {
  183. "$ref": "#/definitions/ClassificationWsDTO"
  184. }
  185. },
  186. "potentialPromotions": {
  187. "type": "array",
  188. "items": {
  189. "$ref": "#/definitions/PromotionWsDTO"
  190. }
  191. },
  192. "variantOptions": {
  193. "type": "array",
  194. "items": {
  195. "$ref": "#/definitions/VariantOptionWsDTO"
  196. }
  197. },
  198. "baseOptions": {
  199. "type": "array",
  200. "items": {
  201. "$ref": "#/definitions/BaseOptionWsDTO"
  202. }
  203. },
  204. "volumePricesFlag": {
  205. "type": "boolean"
  206. },
  207. "volumePrices": {
  208. "type": "array",
  209. "items": {
  210. "$ref": "#/definitions/PriceWsDTO"
  211. }
  212. },
  213. "productReferences": {
  214. "type": "array",
  215. "items": {
  216. "$ref": "#/definitions/ProductReferenceWsDTO"
  217. }
  218. },
  219. "variantMatrix": {
  220. "type": "array",
  221. "items": {
  222. "$ref": "#/definitions/VariantMatrixElementWsDTO"
  223. }
  224. },
  225. "priceRange": {
  226. "$ref": "#/definitions/PriceRangeWsDTO"
  227. },
  228. "multidimensional": {
  229. "type": "boolean"
  230. },
  231. "immediateCategoryCode": {
  232. "type": "string"
  233. },
  234. "warrantyText": {
  235. "type": "string"
  236. },
  237. "isSpare": {
  238. "type": "boolean"
  239. },
  240. "documentType": {
  241. "type": "string"
  242. },
  243. "associatedProducts": {
  244. "type": "array",
  245. "items": {
  246. "$ref": "#/definitions/AssociatedProductData"
  247. }
  248. },
  249. "immediateCategoryName": {
  250. "type": "string"
  251. },
  252. "stockBand": {
  253. "type": "string"
  254. },
  255. "primaryImageUrl": {
  256. "type": "string"
  257. },
  258. "rangeImageUrl": {
  259. "type": "string"
  260. },
  261. "videoDataPrivate": {
  262. "type": "string"
  263. },
  264. "videoDataPublic": {
  265. "type": "string"
  266. },
  267. "highlight1": {
  268. "type": "string"
  269. },
  270. "highlight2": {
  271. "type": "string"
  272. },
  273. "highlight3": {
  274. "type": "string"
  275. },
  276. "highlight4": {
  277. "type": "string"
  278. },
  279. "toolType": {
  280. "type": "string"
  281. },
  282. "isWebProduct": {
  283. "type": "boolean"
  284. },
  285. "priceEstablishmentMessage": {
  286. "type": "string"
  287. },
  288. "reducedPrice": {
  289. "$ref": "#/definitions/PriceWsDTO"
  290. },
  291. "savings": {
  292. "$ref": "#/definitions/PriceWsDTO"
  293. },
  294. "finishedGoods": {
  295. "type": "boolean"
  296. },
  297. "webName": {
  298. "type": "string"
  299. }
  300. }
  301. },
  302. "StockWsDTO": {
  303. "properties": {
  304. "stockLevelStatus": {
  305. "type": "string"
  306. },
  307. "stockLevel": {
  308. "type": "integer",
  309. "format": "int64"
  310. }
  311. }
  312. },
  313. "FutureStockWsDTO": {
  314. "properties": {
  315. "stock": {
  316. "$ref": "#/definitions/StockWsDTO"
  317. },
  318. "date": {
  319. "type": "string",
  320. "format": "date-time"
  321. },
  322. "formattedDate": {
  323. "type": "string"
  324. }
  325. }
  326. },
  327. "PriceWsDTO": {
  328. "properties": {
  329. "currencyIso": {
  330. "type": "string"
  331. },
  332. "value": {
  333. "type": "number"
  334. },
  335. "priceType": {
  336. "type": "string",
  337. "enum": ["BUY", "FROM"]
  338. },
  339. "formattedValue": {
  340. "type": "string"
  341. },
  342. "minQuantity": {
  343. "type": "integer",
  344. "format": "int64"
  345. },
  346. "maxQuantity": {
  347. "type": "integer",
  348. "format": "int64"
  349. }
  350. }
  351. },
  352. "ImageWsDTO": {
  353. "properties": {
  354. "imageType": {
  355. "type": "string",
  356. "enum": ["PRIMARY", "GALLERY"]
  357. },
  358. "format": {
  359. "type": "string"
  360. },
  361. "url": {
  362. "type": "string"
  363. },
  364. "altText": {
  365. "type": "string"
  366. },
  367. "galleryIndex": {
  368. "type": "integer"
  369. }
  370. }
  371. },
  372. "CategoryWsDTO": {
  373. "properties": {
  374. "code": {
  375. "type": "string"
  376. },
  377. "url": {
  378. "type": "string"
  379. },
  380. "image": {
  381. "$ref": "#/definitions/ImageWsDTO"
  382. },
  383. "name": {
  384. "type": "string"
  385. }
  386. }
  387. },
  388. "ReviewWsDTO": {
  389. "properties": {
  390. "id": {
  391. "type": "string"
  392. },
  393. "headline": {
  394. "type": "string"
  395. },
  396. "comment": {
  397. "type": "string"
  398. },
  399. "rating": {
  400. "type": "number",
  401. "format": "double"
  402. },
  403. "date": {
  404. "type": "string",
  405. "format": "date-time"
  406. },
  407. "alias": {
  408. "type": "string"
  409. },
  410. "principal": {
  411. "$ref": "#/definitions/UserWsDTO"
  412. }
  413. }
  414. },
  415. "ClassificationWsDTO": {
  416. "properties": {
  417. "code": {
  418. "type": "string"
  419. },
  420. "name": {
  421. "type": "string"
  422. },
  423. "features": {
  424. "type": "array",
  425. "items": {
  426. "$ref": "#/definitions/FeatureWsDTO"
  427. }
  428. },
  429. "webName": {
  430. "type": "string"
  431. }
  432. }
  433. },
  434. "PromotionWsDTO": {
  435. "properties": {
  436. "code": {
  437. "type": "string"
  438. },
  439. "title": {
  440. "type": "string"
  441. },
  442. "promotionType": {
  443. "type": "string"
  444. },
  445. "startDate": {
  446. "type": "string",
  447. "format": "date-time"
  448. },
  449. "endDate": {
  450. "type": "string",
  451. "format": "date-time"
  452. },
  453. "description": {
  454. "type": "string"
  455. },
  456. "couldFireMessages": {
  457. "type": "array",
  458. "items": {
  459. "type": "string"
  460. }
  461. },
  462. "firedMessages": {
  463. "type": "array",
  464. "items": {
  465. "type": "string"
  466. }
  467. },
  468. "productBanner": {
  469. "$ref": "#/definitions/ImageWsDTO"
  470. },
  471. "enabled": {
  472. "type": "boolean"
  473. },
  474. "priority": {
  475. "type": "integer"
  476. },
  477. "promotionGroup": {
  478. "type": "string"
  479. },
  480. "restrictions": {
  481. "type": "array",
  482. "items": {
  483. "$ref": "#/definitions/PromotionRestrictionWsDTO"
  484. }
  485. },
  486. "promotionRuleType": {
  487. "type": "string"
  488. }
  489. }
  490. },
  491. "VariantOptionWsDTO": {
  492. "properties": {
  493. "code": {
  494. "type": "string"
  495. },
  496. "stock": {
  497. "$ref": "#/definitions/StockWsDTO"
  498. },
  499. "url": {
  500. "type": "string"
  501. },
  502. "priceData": {
  503. "$ref": "#/definitions/PriceWsDTO"
  504. },
  505. "variantOptionQualifiers": {
  506. "type": "array",
  507. "items": {
  508. "$ref": "#/definitions/VariantOptionQualifierWsDTO"
  509. }
  510. }
  511. }
  512. },
  513. "BaseOptionWsDTO": {
  514. "properties": {
  515. "variantType": {
  516. "type": "string"
  517. },
  518. "options": {
  519. "type": "array",
  520. "items": {
  521. "$ref": "#/definitions/VariantOptionWsDTO"
  522. }
  523. },
  524. "selected": {
  525. "$ref": "#/definitions/VariantOptionWsDTO"
  526. }
  527. }
  528. },
  529. "ProductReferenceWsDTO": {
  530. "properties": {
  531. "preselected": {
  532. "type": "boolean"
  533. },
  534. "referenceType": {
  535. "type": "string"
  536. },
  537. "description": {
  538. "type": "string"
  539. },
  540. "quantity": {
  541. "type": "integer"
  542. },
  543. "target": {
  544. "$ref": "#/definitions/ProductWsDTO"
  545. },
  546. "source": {
  547. "$ref": "#/definitions/ProductWsDTO"
  548. }
  549. }
  550. },
  551. "VariantMatrixElementWsDTO": {
  552. "properties": {
  553. "variantValueCategory": {
  554. "$ref": "#/definitions/VariantValueCategoryWsDTO"
  555. },
  556. "parentVariantCategory": {
  557. "$ref": "#/definitions/VariantCategoryWsDTO"
  558. },
  559. "variantOption": {
  560. "$ref": "#/definitions/VariantOptionWsDTO"
  561. },
  562. "elements": {
  563. "type": "array",
  564. "items": {
  565. "$ref": "#/definitions/VariantMatrixElementWsDTO"
  566. }
  567. },
  568. "isLeaf": {
  569. "type": "boolean"
  570. }
  571. }
  572. },
  573. "PriceRangeWsDTO": {
  574. "properties": {
  575. "maxPrice": {
  576. "$ref": "#/definitions/PriceWsDTO"
  577. },
  578. "minPrice": {
  579. "$ref": "#/definitions/PriceWsDTO"
  580. }
  581. }
  582. },
  583. "AssociatedProductData": {
  584. "properties": {
  585. }
  586. },
  587. "UserWsDTO": {
  588. "properties": {
  589. "defaultAddress": {
  590. "$ref": "#/definitions/AddressWsDTO"
  591. },
  592. "titleCode": {
  593. "type": "string"
  594. },
  595. "title": {
  596. "type": "string"
  597. },
  598. "firstName": {
  599. "type": "string"
  600. },
  601. "lastName": {
  602. "type": "string"
  603. },
  604. "currency": {
  605. "$ref": "#/definitions/CurrencyWsDTO"
  606. },
  607. "language": {
  608. "$ref": "#/definitions/LanguageWsDTO"
  609. },
  610. "displayUid": {
  611. "type": "string"
  612. },
  613. "uid": {
  614. "type": "string"
  615. },
  616. "name": {
  617. "type": "string"
  618. },
  619. "email": {
  620. "type": "string"
  621. },
  622. "phone": {
  623. "type": "string"
  624. },
  625. "byEmail": {
  626. "type": "boolean"
  627. },
  628. "byPhone": {
  629. "type": "boolean"
  630. },
  631. "byPost": {
  632. "type": "boolean"
  633. },
  634. "keepMeUpdated": {
  635. "type": "boolean"
  636. },
  637. "needMachineSupport": {
  638. "type": "boolean"
  639. },
  640. "defaultContactAddress": {
  641. "$ref": "#/definitions/AddressWsDTO"
  642. },
  643. "password": {
  644. "type": "string"
  645. },
  646. "sapConsumerID": {
  647. "type": "string"
  648. }
  649. }
  650. },
  651. "AddressWsDTO": {
  652. "properties": {
  653. "id": {
  654. "type": "string"
  655. },
  656. "title": {
  657. "type": "string"
  658. },
  659. "titleCode": {
  660. "type": "string"
  661. },
  662. "firstName": {
  663. "type": "string"
  664. },
  665. "lastName": {
  666. "type": "string"
  667. },
  668. "companyName": {
  669. "type": "string"
  670. },
  671. "line1": {
  672. "type": "string"
  673. },
  674. "line2": {
  675. "type": "string"
  676. },
  677. "town": {
  678. "type": "string"
  679. },
  680. "region": {
  681. "$ref": "#/definitions/RegionWsDTO"
  682. },
  683. "postalCode": {
  684. "type": "string"
  685. },
  686. "phone": {
  687. "type": "string"
  688. },
  689. "email": {
  690. "type": "string"
  691. },
  692. "country": {
  693. "$ref": "#/definitions/CountryWsDTO"
  694. },
  695. "shippingAddress":
  696. {
  697. "type": "boolean"
  698. },
  699. "visibleInAddressBook": {
  700. "type": "boolean"
  701. },
  702. "formattedAddress": {
  703. "type": "string"
  704. },
  705. "county": {
  706. "type": "string"
  707. },
  708. "preferredName": {
  709. "type": "string"
  710. },
  711. "defaultAddress":
  712. {
  713. "type": "boolean"
  714. },
  715. "registrationPreferences": {
  716. "$ref": "#/definitions/RegistrationPreferencesDTO"
  717. },
  718. "notCurrentUserAddress":
  719. {
  720. "type": "boolean"
  721. },
  722. "pickupAddress":
  723. {
  724. "type": "boolean"
  725. },
  726. "geoLocation": {
  727. "$ref": "#/definitions/GeoLocationWsDTO"
  728. }
  729. }
  730. },
  731. "RegionWsDTO": {
  732. "properties": {
  733. "isocode": {
  734. "type": "string"
  735. },
  736. "isocodeShort": {
  737. "type": "string"
  738. },
  739. "countryIso": {
  740. "type": "string"
  741. },
  742. "name": {
  743. "type": "string"
  744. }
  745. }
  746. },
  747. "CountryWsDTO": {
  748. "properties": {
  749. "isocode": {
  750. "type": "string"
  751. },
  752. "name": {
  753. "type": "string"
  754. }
  755. }
  756. },
  757. "RegistrationPreferencesDTO": {
  758. "properties": {
  759. "doNotRegisterMachine": {
  760. "type": "boolean"
  761. },
  762. "gift": {
  763. "type": "boolean"
  764. }
  765. }
  766. },
  767. "GeoLocationWsDTO": {
  768. "properties": {
  769. "latitude": {
  770. "type": "number",
  771. "format": "double"
  772. },
  773. "longitude": {
  774. "type": "number",
  775. "format": "double"
  776. }
  777. }
  778. },
  779. "CurrencyWsDTO": {
  780. "properties": {
  781. "isocode": {
  782. "type": "string"
  783. },
  784. "name": {
  785. "type": "string"
  786. },
  787. "active": {
  788. "type": "boolean"
  789. },
  790. "symbol": {
  791. "type": "string"
  792. }
  793. }
  794. },
  795. "LanguageWsDTO": {
  796. "properties": {
  797. "isocode": {
  798. "type": "string"
  799. },
  800. "name": {
  801. "type": "string"
  802. },
  803. "nativeName": {
  804. "type": "string"
  805. },
  806. "active": {
  807. "type": "boolean"
  808. }
  809. }
  810. },
  811. "FeatureWsDTO": {
  812. "properties": {
  813. "code": {
  814. "type": "string"
  815. },
  816. "name": {
  817. "type": "string"
  818. },
  819. "description": {
  820. "type": "string"
  821. },
  822. "type": {
  823. "type": "string"
  824. },
  825. "range": {
  826. "type": "boolean"
  827. },
  828. "comparable": {
  829. "type": "boolean"
  830. },
  831. "featureUnit": {
  832. "$ref": "#/definitions/FeatureUnitWsDTO"
  833. },
  834. "featureValues": {
  835. "type": "array",
  836. "items": {
  837. "$ref": "#/definitions/FeatureValueWsDTO"
  838. }
  839. },
  840. "isSpecification": {
  841. "type": "boolean"
  842. },
  843. "formattedValue": {
  844. "type": "string"
  845. }
  846. }
  847. },
  848. "FeatureUnitWsDTO": {
  849. "properties": {
  850. "symbol": {
  851. "type": "string"
  852. },
  853. "name": {
  854. "type": "string"
  855. },
  856. "unitType": {
  857. "type": "string"
  858. }
  859. }
  860. },
  861. "FeatureValueWsDTO": {
  862. "properties": {
  863. "value": {
  864. "type": "string"
  865. }
  866. }
  867. },
  868. "PromotionRestrictionWsDTO": {
  869. "properties": {
  870. "restrictionType": {
  871. "type": "string"
  872. },
  873. "description": {
  874. "type": "string"
  875. }
  876. }
  877. },
  878. "VariantOptionQualifierWsDTO": {
  879. "properties": {
  880. "qualifier": {
  881. "type": "string"
  882. },
  883. "name": {
  884. "type": "string"
  885. },
  886. "value": {
  887. "type": "string"
  888. },
  889. "image": {
  890. "$ref": "#/definitions/ImageWsDTO"
  891. }
  892. }
  893. },
  894. "VariantValueCategoryWsDTO": {
  895. "properties": {
  896. "name": {
  897. "type": "string"
  898. },
  899. "sequence": {
  900. "type": "integer"
  901. },
  902. "superCategories": {
  903. "type": "array",
  904. "items": {
  905. "$ref": "#/definitions/VariantCategoryWsDTO"
  906. }
  907. }
  908. }
  909. },
  910. "VariantCategoryWsDTO": {
  911. "properties": {
  912. "name": {
  913. "type": "string"
  914. },
  915. "hasImage": {
  916. "type": "boolean"
  917. },
  918. "priority": {
  919. "type": "integer"
  920. }
  921. }
  922. },
  923. "SortWsDTO": {
  924. "properties": {
  925. "code": {
  926. "type": "string"
  927. },
  928. "name": {
  929. "type": "string"
  930. },
  931. "selected": {
  932. "type": "boolean"
  933. }
  934. }
  935. },
  936. "PaginationWsDTO": {
  937. "properties": {
  938. "totalPages": {
  939. "type": "integer"
  940. },
  941. "totalResults": {
  942. "type": "integer",
  943. "format": "int64"
  944. }
  945. }
  946. },
  947. "SearchStateWsDTO": {
  948. "properties": {
  949. "url": {
  950. "type": "string"
  951. },
  952. "query": {
  953. "$ref": "#/definitions/SearchQueryWsDTO"
  954. }
  955. }
  956. },
  957. "SearchQueryWsDTO": {
  958. "properties": {
  959. "value": {
  960. "type": "string"
  961. }
  962. }
  963. },
  964. "BreadcrumbWsDTO": {
  965. "properties": {
  966. "facetCode": {
  967. "type": "string"
  968. },
  969. "facetName": {
  970. "type": "string"
  971. },
  972. "facetValueCode": {
  973. "type": "string"
  974. },
  975. "facetValueName": {
  976. "type": "string"
  977. },
  978. "removeQuery": {
  979. "$ref": "#/definitions/SearchStateWsDTO"
  980. },
  981. "truncateQuery": {
  982. "$ref": "#/definitions/SearchStateWsDTO"
  983. }
  984. }
  985. },
  986. "FacetWsDTO": {
  987. "properties": {
  988. "name": {
  989. "type": "string"
  990. },
  991. "priority": {
  992. "type": "integer"
  993. },
  994. "category": {
  995. "type": "boolean"
  996. },
  997. "multiSelect": {
  998. "type": "boolean"
  999. },
  1000. "visible": {
  1001. "type": "boolean"
  1002. },
  1003. "removeQuery": {
  1004. "type": "array",
  1005. "items": {
  1006. "$ref": "#/definitions/FacetValueWsDTO"
  1007. }
  1008. },
  1009. "truncateQuery": {
  1010. "type": "array",
  1011. "items": {
  1012. "$ref": "#/definitions/FacetValueWsDTO"
  1013. }
  1014. }
  1015. }
  1016. },
  1017. "FacetValueWsDTO": {
  1018. "properties": {
  1019. "name": {
  1020. "type": "string"
  1021. },
  1022. "count": {
  1023. "type": "integer",
  1024. "format": "int64"
  1025. },
  1026. "query": {
  1027. "$ref": "#/definitions/SearchStateWsDTO"
  1028. },
  1029. "selected": {
  1030. "type": "boolean"
  1031. }
  1032. }
  1033. },
  1034. "CompareProductsWsDTO": {
  1035. "properties": {
  1036. "productList": {
  1037. "$ref": "#/definitions/ProductSearchPageWsDTO"
  1038. },
  1039. "specifications": {
  1040. "$ref": "#/definitions/ClassificationListWsDTO"
  1041. },
  1042. "uid": {
  1043. "type": "string"
  1044. },
  1045. "name": {
  1046. "type": "string"
  1047. }
  1048. }
  1049. },
  1050. "ClassificationListWsDTO": {
  1051. "properties": {
  1052. "classificationList": {
  1053. "type": "array",
  1054. "items": {
  1055. "$ref": "#/definitions/ClassificationWsDTO"
  1056. }
  1057. }
  1058. }
  1059. },
  1060. "ProductCrmResponseDTO": {
  1061. "properties": {
  1062. "productName": {
  1063. "type": "string"
  1064. },
  1065. "description": {
  1066. "type": "string"
  1067. },
  1068. "productPageUrl": {
  1069. "type": "string"
  1070. },
  1071. "imageUrl": {
  1072. "type": "string"
  1073. }
  1074. }
  1075. },
  1076. "StoreFinderStockSearchPageWsDTO": {
  1077. "properties": {
  1078. "stores": {
  1079. "type": "array",
  1080. "items": {
  1081. "$ref": "#/definitions/PointOfServiceStockWsDTO"
  1082. }
  1083. },
  1084. "sorts": {
  1085. "type": "array",
  1086. "items": {
  1087. "$ref": "#/definitions/SortWsDTO"
  1088. }
  1089. },
  1090. "pagination": {
  1091. "$ref": "#/definitions/PaginationWsDTO"
  1092. },
  1093. "locationText": {
  1094. "type": "string"
  1095. },
  1096. "sourceLatitude": {
  1097. "type": "number"
  1098. },
  1099. "sourceLongitude": {
  1100. "type": "number"
  1101. },
  1102. "boundNorthLatitude": {
  1103. "type": "number"
  1104. },
  1105. "boundEastLongitude": {
  1106. "type": "number"
  1107. },
  1108. "boundSouthLatitude": {
  1109. "type": "number"
  1110. },
  1111. "boundWestLongitude": {
  1112. "type": "number"
  1113. },
  1114. "product": {
  1115. "$ref": "#/definitions/ProductWsDTO"
  1116. }
  1117. }
  1118. },
  1119. "PointOfServiceStockWsDTO": {
  1120. "properties": {
  1121. "stockInfo": {
  1122. "$ref": "#/definitions/StockWsDTO"
  1123. },
  1124. "name": {
  1125. "type": "string"
  1126. },
  1127. "displayName": {
  1128. "type": "string"
  1129. },
  1130. "url": {
  1131. "type": "string"
  1132. },
  1133. "description": {
  1134. "type": "string"
  1135. },
  1136. "openingHours": {
  1137. "$ref": "#/definitions/OpeningScheduleWsDTO"
  1138. },
  1139. "storeContent": {
  1140. "type": "string"
  1141. },
  1142. "features": {
  1143. "type": "object",
  1144. "additionalProperties": {
  1145. "type": "string"
  1146. }
  1147. },
  1148. "geoPoint": {
  1149. "$ref": "#/definitions/GeoPointWsDTO"
  1150. },
  1151. "formattedDistance": {
  1152. "type": "string"
  1153. },
  1154. "distanceKm": {
  1155. "type": "number"
  1156. },
  1157. "mapIcon": {
  1158. "$ref": "#/definitions/ImageWsDTO"
  1159. },
  1160. "address": {
  1161. "$ref": "#/definitions/AddressWsDTO"
  1162. },
  1163. "storeImages": {
  1164. "type": "array",
  1165. "items": {
  1166. "$ref": "#/definitions/ImageWsDTO"
  1167. }
  1168. }
  1169. }
  1170. },
  1171. "OpeningScheduleWsDTO": {
  1172. "properties": {
  1173. "name": {
  1174. "type": "string"
  1175. },
  1176. "code": {
  1177. "type": "string"
  1178. },
  1179. "weekDayOpeningList": {
  1180. "type": "array",
  1181. "items": {
  1182. "$ref": "#/definitions/WeekdayOpeningDayWsDTO"
  1183. }
  1184. },
  1185. "specialDayOpeningList": {
  1186. "type": "array",
  1187. "items": {
  1188. "$ref": "#/definitions/SpecialOpeningDayWsDTO"
  1189. }
  1190. }
  1191. }
  1192. },
  1193. "WeekdayOpeningDayWsDTO": {
  1194. "properties": {
  1195. "weekDay": {
  1196. "type": "string"
  1197. },
  1198. "closed": {
  1199. "type": "boolean"
  1200. },
  1201. "openingTime": {
  1202. "$ref": "#/definitions/TimeWsDTO"
  1203. },
  1204. "closingTime": {
  1205. "$ref": "#/definitions/TimeWsDTO"
  1206. }
  1207. }
  1208. },
  1209. "TimeWsDTO": {
  1210. "properties": {
  1211. "hour": {
  1212. "type": "string"
  1213. },
  1214. "minute": {
  1215. "type": "string"
  1216. },
  1217. "formattedHour": {
  1218. "type": "string"
  1219. }
  1220. }
  1221. },
  1222. "SpecialOpeningDayWsDTO": {
  1223. "properties": {
  1224. "date": {
  1225. "type": "string",
  1226. "format": "date-time"
  1227. },
  1228. "formattedDate": {
  1229. "type": "string"
  1230. },
  1231. "closed": {
  1232. "type": "boolean"
  1233. },
  1234. "name": {
  1235. "type": "string"
  1236. },
  1237. "comment": {
  1238. "type": "string"
  1239. },
  1240. "openingTime": {
  1241. "$ref": "#/definitions/TimeWsDTO"
  1242. },
  1243. "closingTime": {
  1244. "$ref": "#/definitions/TimeWsDTO"
  1245. }
  1246. }
  1247. },
  1248. "GeoPointWsDTO": {
  1249. "properties": {
  1250. "latitude": {
  1251. "type": "number",
  1252. "format": "double"
  1253. },
  1254. "longitude": {
  1255. "type": "number",
  1256. "format": "double"
  1257. }
  1258. }
  1259. },
  1260. "ReviewListWsDTO": {
  1261. "properties": {
  1262. "classificationList": {
  1263. "type": "array",
  1264. "items": {
  1265. "$ref": "#/definitions/ReviewWsDTO"
  1266. }
  1267. }
  1268. }
  1269. },
  1270. "NotifyWsDTO": {
  1271. "properties": {
  1272. "email": {
  1273. "type": "string"
  1274. },
  1275. "language": {
  1276. "type": "string"
  1277. }
  1278. }
  1279. },
  1280. "NotifyWsResponseWsDTO": {
  1281. "properties": {
  1282. "status": {
  1283. "type": "string"
  1284. }
  1285. }
  1286. },
  1287. "ProductReferenceListWsDTO": {
  1288. "properties": {
  1289. "references": {
  1290. "type": "array",
  1291. "items": {
  1292. "$ref": "#/definitions/ProductReferenceWsDTO"
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "SuggestionListWsDTO": {
  1298. "properties": {
  1299. "references": {
  1300. "type": "array",
  1301. "items": {
  1302. "$ref": "#/definitions/SuggestionWsDTO"
  1303. }
  1304. }
  1305. }
  1306. },
  1307. "SuggestionWsDTO": {
  1308. "properties": {
  1309. "value": {
  1310. "type": "string"
  1311. }
  1312. }
  1313. }
  1314. }
  1315. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement