Advertisement
Guest User

Untitled

a guest
Oct 25th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.39 KB | None | 0 0
  1. $ cat out.txt
  2. {
  3. "merchants": {
  4. "couchbaseCheckpoint": {
  5. "properties": {
  6. "meta": {
  7. "include_in_all": false,
  8. "type": "object"
  9. }
  10. },
  11. "_source": {
  12. "includes": [
  13. "meta.*",
  14. "doc.*"
  15. ]
  16. },
  17. "dynamic_templates": [
  18. {
  19. "store_no_index": {
  20. "match": "*",
  21. "mapping": {
  22. "store": "no",
  23. "index": "no",
  24. "include_in_all": false
  25. }
  26. }
  27. }
  28. ]
  29. },
  30. "products": {
  31. "properties": {
  32. "meta": {
  33. "include_in_all": false,
  34. "type": "object"
  35. },
  36. "category": {
  37. "type": "nested"
  38. }
  39. },
  40. "_source": {
  41. "includes": [
  42. "meta.*"
  43. ]
  44. }
  45. },
  46. "venues": {
  47. "properties": {
  48. "products": {
  49. "type": "nested"
  50. },
  51. "meta": {
  52. "include_in_all": false,
  53. "type": "object"
  54. },
  55. "categories": {
  56. "type": "nested"
  57. }
  58. },
  59. "_source": {
  60. "includes": [
  61. "meta.*"
  62. ]
  63. }
  64. },
  65. "_default_": {
  66. "properties": {
  67. "meta": {
  68. "include_in_all": false,
  69. "type": "object"
  70. }
  71. },
  72. "_source": {
  73. "includes": [
  74. "meta.*"
  75. ]
  76. }
  77. },
  78. "merchants": {
  79. "properties": {
  80. "venues": {
  81. "type": "nested"
  82. },
  83. "meta": {
  84. "include_in_all": false,
  85. "type": "object"
  86. },
  87. "employees": {
  88. "type": "nested"
  89. }
  90. },
  91. "_source": {
  92. "includes": [
  93. "meta.*"
  94. ]
  95. }
  96. },
  97. "couchbaseDocument": {
  98. "properties": {
  99. "meta": {
  100. "properties": {
  101. "rev": {
  102. "include_in_all": false,
  103. "type": "string"
  104. },
  105. "id": {
  106. "include_in_all": false,
  107. "type": "string"
  108. },
  109. "flags": {
  110. "include_in_all": false,
  111. "type": "long"
  112. },
  113. "expiration": {
  114. "include_in_all": false,
  115. "type": "long"
  116. }
  117. },
  118. "include_in_all": false
  119. },
  120. "doc": {
  121. "properties": {
  122. "venues": {
  123. "properties": {
  124. "venueInfo": {
  125. "properties": {
  126. "regionalProperties": {
  127. "properties": {
  128. "vatID": {
  129. "type": "string"
  130. }
  131. }
  132. },
  133. "legalName": {
  134. "type": "string"
  135. },
  136. "companyNumber": {
  137. "type": "string"
  138. }
  139. }
  140. },
  141. "products": {
  142. "properties": {
  143. "title": {
  144. "type": "string"
  145. },
  146. "tax": {
  147. "type": "long"
  148. },
  149. "price": {
  150. "type": "double"
  151. },
  152. "_id": {
  153. "type": "string"
  154. },
  155. "altPrice": {
  156. "type": "long"
  157. },
  158. "altTax": {
  159. "type": "double"
  160. },
  161. "apiV": {
  162. "type": "string"
  163. },
  164. "categories": {
  165. "properties": {
  166. "title": {
  167. "type": "string"
  168. },
  169. "colour": {
  170. "type": "string"
  171. },
  172. "_id": {
  173. "type": "string"
  174. }
  175. }
  176. },
  177. "categoryId": {
  178. "type": "string"
  179. },
  180. "isFavourite": {
  181. "type": "boolean"
  182. },
  183. "modifiers": {
  184. "properties": {
  185. "variants": {
  186. "properties": {
  187. "title": {
  188. "type": "string"
  189. },
  190. "priceDelta": {
  191. "type": "double"
  192. },
  193. "isDefault": {
  194. "type": "boolean"
  195. }
  196. }
  197. },
  198. "title": {
  199. "type": "string"
  200. },
  201. "allowNone": {
  202. "type": "boolean"
  203. },
  204. "allowMultiples": {
  205. "type": "boolean"
  206. }
  207. }
  208. }
  209. }
  210. },
  211. "name": {
  212. "type": "string"
  213. },
  214. "contacts": {
  215. "properties": {
  216. "value": {
  217. "type": "string"
  218. },
  219. "type": {
  220. "type": "string"
  221. }
  222. }
  223. },
  224. "categories": {
  225. "properties": {
  226. "title": {
  227. "type": "string"
  228. },
  229. "colour": {
  230. "type": "string"
  231. },
  232. "_id": {
  233. "type": "string"
  234. }
  235. }
  236. },
  237. "address": {
  238. "properties": {
  239. "streetAddress": {
  240. "type": "string"
  241. },
  242. "region": {
  243. "type": "string"
  244. },
  245. "postalCode": {
  246. "type": "string"
  247. },
  248. "locality": {
  249. "type": "string"
  250. },
  251. "isAddressFor": {
  252. "type": "string"
  253. },
  254. "country": {
  255. "type": "string"
  256. }
  257. }
  258. },
  259. "_id": {
  260. "type": "string"
  261. }
  262. }
  263. },
  264. "state": {
  265. "type": "long"
  266. },
  267. "name": {
  268. "type": "string"
  269. },
  270. "employees": {
  271. "properties": {
  272. "state": {
  273. "type": "long"
  274. },
  275. "role": {
  276. "type": "long"
  277. },
  278. "lastName": {
  279. "type": "string"
  280. },
  281. "firstName": {
  282. "type": "string"
  283. },
  284. "email": {
  285. "type": "string"
  286. },
  287. "credentials": {
  288. "properties": {
  289. "uid": {
  290. "type": "string"
  291. },
  292. "type": {
  293. "type": "string"
  294. },
  295. "token": {
  296. "type": "string"
  297. },
  298. "_id": {
  299. "type": "string"
  300. }
  301. }
  302. },
  303. "apiV": {
  304. "type": "string"
  305. },
  306. "_id": {
  307. "type": "string"
  308. }
  309. }
  310. },
  311. "__v": {
  312. "type": "long"
  313. }
  314. }
  315. }
  316. },
  317. "_source": {
  318. "includes": [
  319. "meta.*"
  320. ]
  321. }
  322. }
  323. }
  324. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement