Advertisement
Guest User

unsafe_act_report

a guest
Dec 12th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 KB | None | 0 0
  1. {
  2. "development_unsafe_act_reports_prysmex_2019" : {
  3. "mappings" : {
  4. "dynamic" : "true",
  5. "properties" : {
  6. "action" : {
  7. "dynamic" : "strict",
  8. "properties" : {
  9. "id" : {
  10. "type" : "integer"
  11. },
  12. "workers" : {
  13. "dynamic" : "strict",
  14. "properties" : {
  15. "id" : {
  16. "type" : "integer"
  17. }
  18. }
  19. }
  20. }
  21. },
  22. "assigned_at" : {
  23. "type" : "date"
  24. },
  25. "causes" : {
  26. "type" : "nested",
  27. "include_in_parent" : true,
  28. "dynamic" : "strict",
  29. "properties" : {
  30. "id" : {
  31. "type" : "short"
  32. },
  33. "name" : {
  34. "type" : "text",
  35. "fields" : {
  36. "raw" : {
  37. "type" : "keyword"
  38. }
  39. }
  40. }
  41. }
  42. },
  43. "classification" : {
  44. "dynamic" : "strict",
  45. "properties" : {
  46. "id" : {
  47. "type" : "integer"
  48. },
  49. "name" : {
  50. "type" : "text",
  51. "fields" : {
  52. "raw" : {
  53. "type" : "keyword"
  54. }
  55. }
  56. }
  57. }
  58. },
  59. "closed_at" : {
  60. "type" : "date"
  61. },
  62. "closed_by" : {
  63. "dynamic" : "strict",
  64. "properties" : {
  65. "full_name" : {
  66. "type" : "text",
  67. "fields" : {
  68. "raw" : {
  69. "type" : "keyword"
  70. }
  71. }
  72. },
  73. "id" : {
  74. "type" : "integer"
  75. },
  76. "role" : {
  77. "type" : "keyword"
  78. }
  79. }
  80. },
  81. "consequence" : {
  82. "type" : "keyword"
  83. },
  84. "coordinates" : {
  85. "type" : "geo_point"
  86. },
  87. "created_at" : {
  88. "type" : "date"
  89. },
  90. "created_by" : {
  91. "dynamic" : "strict",
  92. "properties" : {
  93. "full_name" : {
  94. "type" : "text",
  95. "fields" : {
  96. "raw" : {
  97. "type" : "keyword"
  98. }
  99. }
  100. },
  101. "id" : {
  102. "type" : "integer"
  103. },
  104. "role" : {
  105. "type" : "keyword"
  106. }
  107. }
  108. },
  109. "days_to_assign_from_created" : {
  110. "type" : "short"
  111. },
  112. "days_to_close_from_created" : {
  113. "type" : "short"
  114. },
  115. "days_to_close_from_started" : {
  116. "type" : "short"
  117. },
  118. "days_to_start_from_assigned" : {
  119. "type" : "short"
  120. },
  121. "declined_count" : {
  122. "type" : "short"
  123. },
  124. "deleted_at" : {
  125. "type" : "date"
  126. },
  127. "description" : {
  128. "type" : "text"
  129. },
  130. "due_date" : {
  131. "type" : "date"
  132. },
  133. "hazards" : {
  134. "type" : "nested",
  135. "include_in_parent" : true,
  136. "dynamic" : "strict",
  137. "properties" : {
  138. "hazard_type" : {
  139. "type" : "keyword"
  140. },
  141. "id" : {
  142. "type" : "short"
  143. },
  144. "name" : {
  145. "type" : "text",
  146. "fields" : {
  147. "raw" : {
  148. "type" : "keyword"
  149. }
  150. }
  151. }
  152. }
  153. },
  154. "id" : {
  155. "type" : "short"
  156. },
  157. "likelihood" : {
  158. "type" : "keyword"
  159. },
  160. "priority" : {
  161. "type" : "keyword"
  162. },
  163. "project" : {
  164. "dynamic" : "strict",
  165. "properties" : {
  166. "alias" : {
  167. "type" : "keyword"
  168. },
  169. "business_segment_id" : {
  170. "type" : "short"
  171. },
  172. "id" : {
  173. "type" : "integer"
  174. },
  175. "name" : {
  176. "type" : "keyword"
  177. }
  178. }
  179. },
  180. "shard" : {
  181. "type" : "keyword"
  182. },
  183. "specialty_area" : {
  184. "dynamic" : "strict",
  185. "properties" : {
  186. "id" : {
  187. "type" : "integer"
  188. },
  189. "name" : {
  190. "type" : "text",
  191. "fields" : {
  192. "raw" : {
  193. "type" : "keyword"
  194. }
  195. }
  196. }
  197. }
  198. },
  199. "started_at" : {
  200. "type" : "date"
  201. },
  202. "state" : {
  203. "type" : "keyword"
  204. },
  205. "synced_at" : {
  206. "type" : "date"
  207. },
  208. "type" : {
  209. "type" : "keyword"
  210. },
  211. "updated_at" : {
  212. "type" : "date"
  213. },
  214. "visit" : {
  215. "type" : "boolean"
  216. },
  217. "workers" : {
  218. "type" : "nested",
  219. "include_in_parent" : true,
  220. "dynamic" : "strict",
  221. "properties" : {
  222. "full_name" : {
  223. "type" : "text",
  224. "fields" : {
  225. "raw" : {
  226. "type" : "keyword"
  227. }
  228. }
  229. },
  230. "id" : {
  231. "type" : "integer"
  232. },
  233. "role" : {
  234. "type" : "keyword"
  235. }
  236. }
  237. },
  238. "zone" : {
  239. "dynamic" : "strict",
  240. "properties" : {
  241. "id" : {
  242. "type" : "integer"
  243. },
  244. "interior" : {
  245. "type" : "boolean"
  246. },
  247. "is_hazardous" : {
  248. "type" : "boolean"
  249. },
  250. "name_with_project_alias" : {
  251. "type" : "text",
  252. "fields" : {
  253. "raw" : {
  254. "type" : "keyword"
  255. }
  256. }
  257. }
  258. }
  259. }
  260. }
  261. }
  262. }
  263. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement