Advertisement
Guest User

Untitled

a guest
Jul 16th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.53 KB | None | 0 0
  1. {
  2. _id: ObjectId("559d2aa32b22eb0f86ebe0ca"),
  3. revisionId: "559d2aa32b22eb0f86ebe0ca",
  4. name: "New document template",
  5. description: null,
  6. customerId: "5351090b8fe7f4e7b99d6e67",
  7. userId: "5357699c9d33da5ee72b45ce",
  8. createdAt: ISODate("2015-07-08T13:50:27.581Z"),
  9. updatedAt: ISODate("2015-07-09T14:46:45.295Z"),
  10. version: 4,
  11. template: [
  12. {
  13. _id: null,
  14. customerId: null,
  15. description: null,
  16. name: null,
  17. label: "Attachment",
  18. note: null,
  19. disabled: false,
  20. templateId: null,
  21. createdAt: null,
  22. updatedAt: null,
  23. origin: null,
  24. fieldType: "FILE",
  25. column: 0,
  26. row: 0,
  27. sizeX: null,
  28. sizeY: null,
  29. validators: [],
  30. defaultValue: null
  31. },
  32. {
  33. _id: null,
  34. customerId: null,
  35. description: null,
  36. name: null,
  37. label: "Text",
  38. note: null,
  39. disabled: false,
  40. templateId: null,
  41. createdAt: null,
  42. updatedAt: null,
  43. origin: null,
  44. fieldType: "TEXT",
  45. column: 0,
  46. row: 4,
  47. sizeX: null,
  48. sizeY: null,
  49. validators: [],
  50. defaultValue: null
  51. },
  52. {
  53. _id: ObjectId("558be906c4acf639d9101bd1"),
  54. customerId: "5351090b8fe7f4e7b99d6e67",
  55. description: "Contains user personal informations",
  56. name: null,
  57. label: "Personal data",
  58. note: null,
  59. disabled: false,
  60. templateId: "558be906c4acf639d9101bd0",
  61. createdAt: null,
  62. updatedAt: null,
  63. origin: null,
  64. fieldType: "COMPOSITE",
  65. column: 0,
  66. row: 8,
  67. sizeX: null,
  68. sizeY: 19,
  69. validators: [],
  70. composite: [
  71. {
  72. _id: ObjectId("558be906c4acf639d9101bcb"),
  73. customerId: null,
  74. description: null,
  75. name: null,
  76. label: "Name",
  77. note: "enter your first name here",
  78. disabled: false,
  79. templateId: null,
  80. createdAt: null,
  81. updatedAt: null,
  82. origin: null,
  83. fieldType: "TEXT",
  84. column: 0,
  85. row: 0,
  86. sizeX: 3,
  87. sizeY: 4,
  88. validators: [
  89. {
  90. validatorType: "NOT_EMPTY"
  91. },
  92. {
  93. validatorType: "STRING_LENGTH",
  94. minValue: 1,
  95. maxValue: null,
  96. shouldTrim: false
  97. }
  98. ],
  99. defaultValue: "test"
  100. },
  101. {
  102. _id: ObjectId("558be906c4acf639d9101bcc"),
  103. customerId: null,
  104. description: null,
  105. name: null,
  106. label: "Surname",
  107. note: null,
  108. disabled: false,
  109. templateId: null,
  110. createdAt: null,
  111. updatedAt: null,
  112. origin: null,
  113. fieldType: "TEXT",
  114. column: 3,
  115. row: 0,
  116. sizeX: 3,
  117. sizeY: null,
  118. validators: [
  119. {
  120. validatorType: "NOT_EMPTY"
  121. },
  122. {
  123. validatorType: "STRING_LENGTH",
  124. minValue: 1,
  125. maxValue: null,
  126. shouldTrim: false
  127. }
  128. ],
  129. defaultValue: null
  130. },
  131. {
  132. _id: ObjectId("558be906c4acf639d9101bcd"),
  133. customerId: null,
  134. description: null,
  135. name: null,
  136. label: "Address",
  137. note: null,
  138. disabled: false,
  139. templateId: null,
  140. createdAt: null,
  141. updatedAt: null,
  142. origin: null,
  143. fieldType: "TEXT",
  144. column: 0,
  145. row: 4,
  146. sizeX: 6,
  147. sizeY: 4,
  148. validators: [
  149. {
  150. validatorType: "STRING_LENGTH",
  151. minValue: 1,
  152. maxValue: null,
  153. shouldTrim: false
  154. },
  155. {
  156. validatorType: "NOT_EMPTY"
  157. }
  158. ],
  159. defaultValue: null
  160. },
  161. {
  162. _id: ObjectId("558be906c4acf639d9101bce"),
  163. customerId: null,
  164. description: null,
  165. name: null,
  166. label: "City",
  167. note: null,
  168. disabled: false,
  169. templateId: null,
  170. createdAt: null,
  171. updatedAt: null,
  172. origin: null,
  173. fieldType: "TEXT",
  174. column: 3,
  175. row: 8,
  176. sizeX: 3,
  177. sizeY: null,
  178. validators: [
  179. {
  180. validatorType: "STRING_LENGTH",
  181. minValue: 1,
  182. maxValue: null,
  183. shouldTrim: false
  184. }
  185. ],
  186. defaultValue: null
  187. },
  188. {
  189. _id: ObjectId("558be906c4acf639d9101bcf"),
  190. customerId: null,
  191. description: null,
  192. name: null,
  193. label: "Postal code",
  194. note: null,
  195. disabled: false,
  196. templateId: null,
  197. createdAt: null,
  198. updatedAt: null,
  199. origin: null,
  200. fieldType: "TEXT",
  201. column: 0,
  202. row: 8,
  203. sizeX: 3,
  204. sizeY: null,
  205. validators: [
  206. {
  207. validatorType: "STRING_LENGTH",
  208. minValue: 4,
  209. maxValue: null,
  210. shouldTrim: false
  211. }
  212. ],
  213. defaultValue: null
  214. },
  215. {
  216. _id: null,
  217. customerId: null,
  218. description: null,
  219. name: null,
  220. label: "Select",
  221. note: null,
  222. disabled: false,
  223. templateId: null,
  224. createdAt: null,
  225. updatedAt: null,
  226. origin: null,
  227. fieldType: "SELECT",
  228. column: 0,
  229. row: 12,
  230. sizeX: 6,
  231. sizeY: 4,
  232. validators: [],
  233. options: [
  234. "one",
  235. "two",
  236. "three"
  237. ],
  238. defaultValue: null
  239. }
  240. ]
  241. }
  242. ],
  243. versions: [
  244. {
  245. author: "admin@neoteric.eu",
  246. previousVersion: null,
  247. timestamp: ISODate("2015-07-08T13:50:27.581Z"),
  248. version: 1
  249. },
  250. {
  251. author: "admin@neoteric.eu",
  252. previousVersion: 1,
  253. timestamp: ISODate("2015-07-08T13:50:39.417Z"),
  254. version: 2
  255. },
  256. {
  257. author: "admin@neoteric.eu",
  258. previousVersion: 2,
  259. timestamp: ISODate("2015-07-09T14:40:41.520Z"),
  260. version: 3
  261. },
  262. {
  263. author: "admin@neoteric.eu",
  264. previousVersion: 3,
  265. timestamp: ISODate("2015-07-09T14:46:45.295Z"),
  266. version: 4
  267. }
  268. ]
  269. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement