Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. {
  2. "type": "object",
  3. "required": [
  4. "categories"
  5. ],
  6. "properties": {
  7. "categories": {
  8. "description": "Open box categories in a store",
  9. "type": "array",
  10. "required": [
  11. "items"
  12. ],
  13. "items": {
  14. "type": "object",
  15. "required": [
  16. "categoryId",
  17. "displayText",
  18. "callToAction"
  19. ],
  20. "properties": {
  21. "categoryId": {
  22. "type": "string"
  23. },
  24. "categoryTestArray": {
  25. "type": "array",
  26. "items": {
  27. "type": "string"
  28. },
  29. "maxItems": 100
  30. },
  31. "count": {
  32. "type": "integer"
  33. },
  34. "displayText": {
  35. "type": "string"
  36. },
  37. "callToAction": {
  38. "type": "object",
  39. "required": [
  40. "type"
  41. ],
  42. "properties": {
  43. "type": {
  44. "type": "string"
  45. },
  46. "contextData": {
  47. "type": "object",
  48. "required": [],
  49. "properties": {
  50. "plp": {
  51. "type": "object",
  52. "required": [
  53. "searchType"
  54. ],
  55. "properties": {
  56. "searchType": {
  57. "type": "string"
  58. },
  59. "categoryId": {
  60. "type": "string"
  61. }
  62. }
  63. }
  64. }
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement