Advertisement
Guest User

Untitled

a guest
Nov 19th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.15 KB | None | 0 0
  1. {
  2.   "orders":[
  3.         {
  4.         "column":"name_ru",
  5.         "direction":"asc"
  6.         }
  7.     ],
  8.     "criteria":[
  9.         {"type":"and",
  10.         "criteria":[
  11.             {"type":"or",
  12.             "criteria":[
  13.                     {
  14.                         "type":"eq",
  15.                         "column":"arrivals_and_departures_to_rus",
  16.                         "value":true
  17.                     },
  18.                     {
  19.                         "type":"and",
  20.                         "criteria":[
  21.                             {
  22.                                 "type":"eq",
  23.                                 "column":"arrivals_and_departures_to_rus",
  24.                                 "value":false
  25.                             },
  26.                             {
  27.                                 "type":"eq",
  28.                                 "column":"arrivals_and_departures_to_krsk",
  29.                                 "value":false
  30.                             }
  31.                         ]
  32.                     }
  33.                 ]
  34.             },
  35.             {
  36.                 "type":"or",
  37.                 "criteria":[
  38.                     {
  39.                         "type":"eq",
  40.                         "column":"airport",
  41.                         "value":true
  42.                     },
  43.                     {
  44.                         "type":"and",
  45.                         "criteria":[
  46.                             {
  47.                                 "type":"eq",
  48.                                 "column":"airport",
  49.                                 "value":false
  50.                             },
  51.                             {
  52.                                 "type":"eq",
  53.                                 "column":"railway_station",
  54.                                 "value":false
  55.                             },
  56.                             {
  57.                                 "type":"eq",
  58.                                 "column":"bus",
  59.                                 "value":false
  60.                             }
  61.                         ]
  62.                     }
  63.                 ]
  64.             }
  65.         ]
  66.     }
  67.   ],
  68.   "pageSize":100000
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement