@esri/solutions-components 0.8.39 → 0.8.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. package/dist/assets/t9n/solution-spatial-ref/resources.json +3 -3
  2. package/dist/assets/t9n/solution-spatial-ref/resources_en.json +2 -2
  3. package/dist/assets/t9n/solution-spatial-ref/resources_fr.json +2 -2
  4. package/dist/assets/t9n/solution-spatial-ref/resources_he.json +2 -2
  5. package/dist/cjs/_commonjsHelpers-baf43783.js +20 -0
  6. package/dist/cjs/basemap-gallery_7.cjs.entry.js +3 -2
  7. package/dist/cjs/buffer-tools_3.cjs.entry.js +3 -2
  8. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +3 -2
  9. package/dist/cjs/calcite-alert_4.cjs.entry.js +7 -6
  10. package/dist/cjs/calcite-block_5.cjs.entry.js +5 -4
  11. package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
  12. package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +3 -2
  13. package/dist/cjs/calcite-flow_6.cjs.entry.js +3 -2
  14. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  15. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +9 -8
  16. package/dist/cjs/card-manager_3.cjs.entry.js +6 -5
  17. package/dist/cjs/{common-03600219.js → common-7ee7ad73.js} +1 -1
  18. package/dist/cjs/consent-manager.cjs.entry.js +3 -2
  19. package/dist/cjs/{core-b459e4f2.js → core-7f0bcc12.js} +1 -1
  20. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
  21. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -2
  22. package/dist/cjs/{downloadUtils-839a1425.js → downloadUtils-2e169425.js} +7 -7
  23. package/dist/cjs/{esri-loader-fce6a9cb.js → esri-loader-a56cbcbe.js} +2 -13
  24. package/dist/cjs/feature-list.cjs.entry.js +7 -6
  25. package/dist/cjs/{helpers-7cee3150.js → helpers-95c28cf3.js} +1 -1
  26. package/dist/cjs/{html2canvas-ef5cae40.js → html2canvas-29c6b9cc.js} +2 -2
  27. package/dist/cjs/{index.es-dd4d4842.js → index.es-301b8d18.js} +11 -10
  28. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +6 -5
  29. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -2
  30. package/dist/cjs/instant-apps-create.cjs.entry.js +5 -4
  31. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -4
  32. package/dist/cjs/instant-apps-header.cjs.entry.js +3 -2
  33. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -4
  34. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -3
  35. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -3
  36. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -3
  37. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -5
  38. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -4
  39. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +7 -6
  40. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +7 -6
  41. package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -4
  42. package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -4
  43. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -4
  44. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +5 -4
  45. package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -4
  46. package/dist/cjs/{languageSwitcher-1154d55d.js → languageSwitcher-f0bb94fa.js} +1 -1
  47. package/dist/cjs/{languageUtil-d23251cd.js → languageUtil-f22ce913.js} +1 -1
  48. package/dist/cjs/layout-manager.cjs.entry.js +3 -2
  49. package/dist/cjs/{loadModules-4189814e.js → loadModules-36d49819.js} +1 -1
  50. package/dist/cjs/loader.cjs.js +1 -1
  51. package/dist/cjs/{locale-62f4cef2.js → locale-708985a1.js} +2 -2
  52. package/dist/cjs/{locale-6973733d.js → locale-f6fd03d2.js} +1 -1
  53. package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -5
  54. package/dist/cjs/{popupUtils-bae7f923.js → popupUtils-36e57a27.js} +2 -2
  55. package/dist/cjs/public-notification.cjs.entry.js +6 -5
  56. package/dist/cjs/{purify-4a0e9dfb.js → purify-17c0fc4a.js} +2 -2
  57. package/dist/cjs/{restHelpersGet-afc74285.js → restHelpersGet-be451f4a.js} +1 -1
  58. package/dist/cjs/solution-configuration.cjs.entry.js +10 -350
  59. package/dist/cjs/solution-contents_3.cjs.entry.js +58 -48
  60. package/dist/cjs/solution-resource-a09a6fe0.js +145 -0
  61. package/dist/cjs/{solution-store-c8bada29.js → solution-store-d9f3ea44.js} +8 -10
  62. package/dist/cjs/solutions-components.cjs.js +1 -1
  63. package/dist/cjs/spatial-ref.cjs.entry.js +6 -5
  64. package/dist/cjs/store-manager.cjs.entry.js +17 -13
  65. package/dist/cjs/templates-f7a3bf48.js +401 -0
  66. package/dist/cjs/{utils-1de4eaa0.js → utils-31a22d49.js} +1 -1
  67. package/dist/collection/components/solution-item/solution-item.js +1 -1
  68. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.css +11 -1
  69. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +83 -47
  70. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +25 -24
  71. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  72. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  73. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  74. package/dist/collection/components/store-manager/store-manager.js +11 -13
  75. package/dist/collection/demos/data/election-outreach.json +2981 -0
  76. package/dist/collection/demos/solution-item.html +7 -6
  77. package/dist/collection/demos/solution-spatial-ref.html +10 -4
  78. package/dist/collection/demos/solution-template-data.html +5 -5
  79. package/dist/collection/utils/interfaces.ts +0 -2
  80. package/dist/collection/utils/solution-store.js +6 -8
  81. package/dist/collection/utils/solution-store.ts +12 -13
  82. package/dist/collection/utils/templates.js +113 -26
  83. package/dist/collection/utils/templates.ts +125 -30
  84. package/dist/collection/utils/test/templates.e2e.js +2 -2
  85. package/dist/collection/utils/test/templates.e2e.ts +2 -2
  86. package/dist/components/_commonjsHelpers.js +16 -0
  87. package/dist/components/core.js +1 -1
  88. package/dist/components/downloadUtils.js +1 -1
  89. package/dist/components/esri-loader.js +2 -10
  90. package/dist/components/html2canvas.js +1 -1
  91. package/dist/components/index.es.js +1 -1
  92. package/dist/components/instant-apps-interactive-legend-classic2.js +1 -1
  93. package/dist/components/pagination.js +1 -1
  94. package/dist/components/purify.js +1 -1
  95. package/dist/components/solution-configuration.js +1 -342
  96. package/dist/components/solution-item2.js +1 -1
  97. package/dist/components/solution-resource.js +1 -1
  98. package/dist/components/solution-spatial-ref2.js +52 -44
  99. package/dist/components/solution-store.js +6 -8
  100. package/dist/components/solution-template-data2.js +1 -1
  101. package/dist/components/solution-variables2.js +1 -1
  102. package/dist/components/spatial-ref2.js +1 -1
  103. package/dist/components/store-manager.js +11 -13
  104. package/dist/components/templates.js +395 -0
  105. package/dist/esm/_commonjsHelpers-089957fe.js +16 -0
  106. package/dist/esm/basemap-gallery_7.entry.js +3 -2
  107. package/dist/esm/buffer-tools_3.entry.js +3 -2
  108. package/dist/esm/calcite-action-pad_2.entry.js +3 -2
  109. package/dist/esm/calcite-alert_4.entry.js +7 -6
  110. package/dist/esm/calcite-block_5.entry.js +5 -4
  111. package/dist/esm/calcite-combobox_3.entry.js +1 -1
  112. package/dist/esm/calcite-dropdown-group_2.entry.js +3 -2
  113. package/dist/esm/calcite-flow_6.entry.js +3 -2
  114. package/dist/esm/calcite-pagination.entry.js +1 -1
  115. package/dist/esm/calcite-shell-panel_14.entry.js +9 -8
  116. package/dist/esm/card-manager_3.entry.js +6 -5
  117. package/dist/esm/{common-8697fccd.js → common-96e3ddb0.js} +1 -1
  118. package/dist/esm/consent-manager.entry.js +3 -2
  119. package/dist/esm/{core-4bd4a70f.js → core-6a3c13ac.js} +1 -1
  120. package/dist/esm/crowdsource-manager.entry.js +3 -2
  121. package/dist/esm/crowdsource-reporter.entry.js +3 -2
  122. package/dist/esm/{downloadUtils-97acca92.js → downloadUtils-5fbd8a40.js} +6 -6
  123. package/dist/esm/{esri-loader-3080dcc0.js → esri-loader-781d738a.js} +2 -10
  124. package/dist/esm/feature-list.entry.js +7 -6
  125. package/dist/esm/{helpers-7c88b974.js → helpers-3d53560f.js} +1 -1
  126. package/dist/esm/{html2canvas-fd387d87.js → html2canvas-6443b68e.js} +1 -1
  127. package/dist/esm/{index.es-ee5497bc.js → index.es-66571353.js} +6 -5
  128. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +6 -5
  129. package/dist/esm/instant-apps-control-panel.entry.js +3 -2
  130. package/dist/esm/instant-apps-create.entry.js +5 -4
  131. package/dist/esm/instant-apps-export.entry.js +5 -4
  132. package/dist/esm/instant-apps-header.entry.js +3 -2
  133. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -3
  134. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -3
  135. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -3
  136. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -3
  137. package/dist/esm/instant-apps-interactive-legend.entry.js +6 -5
  138. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -4
  139. package/dist/esm/instant-apps-language-switcher.entry.js +7 -6
  140. package/dist/esm/instant-apps-language-translator.entry.js +7 -6
  141. package/dist/esm/instant-apps-measurement.entry.js +5 -4
  142. package/dist/esm/instant-apps-popover.entry.js +5 -4
  143. package/dist/esm/instant-apps-scoreboard.entry.js +5 -4
  144. package/dist/esm/instant-apps-sign-in.entry.js +5 -4
  145. package/dist/esm/instant-apps-splash.entry.js +5 -4
  146. package/dist/esm/{languageSwitcher-0f693a04.js → languageSwitcher-b665499d.js} +1 -1
  147. package/dist/esm/{languageUtil-de206286.js → languageUtil-a3e6adf6.js} +1 -1
  148. package/dist/esm/layout-manager.entry.js +3 -2
  149. package/dist/esm/{loadModules-43119ac8.js → loadModules-9c062d08.js} +1 -1
  150. package/dist/esm/loader.js +1 -1
  151. package/dist/esm/{locale-42369411.js → locale-28d48640.js} +1 -1
  152. package/dist/esm/{locale-70630b7c.js → locale-b4e7d56f.js} +2 -2
  153. package/dist/esm/map-select-tools_3.entry.js +6 -5
  154. package/dist/esm/{popupUtils-98ad70f3.js → popupUtils-4a91aa2a.js} +2 -2
  155. package/dist/esm/public-notification.entry.js +6 -5
  156. package/dist/esm/{purify-caded4cd.js → purify-72515357.js} +1 -1
  157. package/dist/esm/{restHelpersGet-dab84057.js → restHelpersGet-5c822bcd.js} +1 -1
  158. package/dist/esm/solution-configuration.entry.js +7 -347
  159. package/dist/esm/solution-contents_3.entry.js +58 -48
  160. package/dist/esm/{solution-resource-a2fff3bf.js → solution-resource-3108caf7.js} +1 -1
  161. package/dist/esm/{solution-store-30a19a45.js → solution-store-1c36ce1d.js} +8 -10
  162. package/dist/esm/solutions-components.js +1 -1
  163. package/dist/esm/spatial-ref.entry.js +6 -5
  164. package/dist/esm/store-manager.entry.js +17 -13
  165. package/dist/esm/templates-824ea028.js +395 -0
  166. package/dist/esm/{utils-9bb48951.js → utils-5484fcbf.js} +1 -1
  167. package/dist/solutions-components/demos/data/election-outreach.json +2981 -0
  168. package/dist/solutions-components/demos/solution-item.html +7 -6
  169. package/dist/solutions-components/demos/solution-spatial-ref.html +10 -4
  170. package/dist/solutions-components/demos/solution-template-data.html +5 -5
  171. package/dist/solutions-components/{p-3eb49703.js → p-00291b93.js} +3 -3
  172. package/dist/solutions-components/p-0cd87dca.entry.js +6 -0
  173. package/dist/solutions-components/p-13404ad7.entry.js +6 -0
  174. package/dist/solutions-components/{p-bf27cd5f.js → p-1c3c83a5.js} +1 -1
  175. package/dist/solutions-components/p-1e6c6ec4.entry.js +6 -0
  176. package/dist/solutions-components/p-219f209e.entry.js +6 -0
  177. package/dist/solutions-components/{p-b1abf15c.entry.js → p-2467b476.entry.js} +3 -3
  178. package/dist/solutions-components/p-295f850a.entry.js +6 -0
  179. package/dist/solutions-components/p-2961c63c.entry.js +6 -0
  180. package/dist/solutions-components/{p-946ee345.js → p-2afdcdfc.js} +2 -2
  181. package/dist/solutions-components/p-2d6d44b5.entry.js +6 -0
  182. package/dist/solutions-components/p-36e199e0.entry.js +6 -0
  183. package/dist/solutions-components/{p-d27ab863.js → p-3d7cff5e.js} +1 -1
  184. package/dist/solutions-components/{p-b2f11718.entry.js → p-3e8562b5.entry.js} +1 -1
  185. package/dist/solutions-components/{p-49250010.js → p-427b4593.js} +1 -1
  186. package/dist/solutions-components/{p-f1ae51dc.js → p-44fea43a.js} +1 -1
  187. package/dist/solutions-components/{p-afd2b67b.entry.js → p-4b27da06.entry.js} +1 -1
  188. package/dist/solutions-components/{p-7fe77355.js → p-5cc6eb18.js} +1 -1
  189. package/dist/solutions-components/p-61f88049.entry.js +6 -0
  190. package/dist/solutions-components/{p-d029b513.js → p-65581d83.js} +1 -1
  191. package/dist/solutions-components/p-6a68306c.js +6 -0
  192. package/dist/solutions-components/p-6c7a990a.entry.js +6 -0
  193. package/dist/solutions-components/p-6e6e6d23.entry.js +6 -0
  194. package/dist/solutions-components/p-7696af8e.entry.js +6 -0
  195. package/dist/solutions-components/{p-7afca6b4.js → p-7d1af07b.js} +1 -1
  196. package/dist/solutions-components/{p-6c7e34c1.entry.js → p-881ead62.entry.js} +2 -2
  197. package/dist/solutions-components/p-90864588.entry.js +6 -0
  198. package/dist/solutions-components/{p-59f016a1.js → p-91142a26.js} +1 -1
  199. package/dist/solutions-components/p-932d6f29.entry.js +6 -0
  200. package/dist/solutions-components/{p-71c212e6.entry.js → p-969828ab.entry.js} +1 -1
  201. package/dist/solutions-components/p-986ee365.entry.js +6 -0
  202. package/dist/solutions-components/p-9e3b0220.entry.js +6 -0
  203. package/dist/solutions-components/{p-7996f123.js → p-a0300d31.js} +1 -1
  204. package/dist/solutions-components/p-a8d62b7d.entry.js +6 -0
  205. package/dist/solutions-components/p-ae50581b.entry.js +6 -0
  206. package/dist/solutions-components/{p-89f6ff72.js → p-af2c8aa9.js} +1 -1
  207. package/dist/solutions-components/p-b7123452.entry.js +6 -0
  208. package/dist/solutions-components/p-b92e9047.entry.js +6 -0
  209. package/dist/solutions-components/p-bb7463ed.entry.js +6 -0
  210. package/dist/solutions-components/p-bbc7dd5e.entry.js +6 -0
  211. package/dist/solutions-components/p-bd871071.entry.js +21 -0
  212. package/dist/solutions-components/p-c6fd40f9.entry.js +6 -0
  213. package/dist/solutions-components/{p-42ea2581.js → p-c742acd9.js} +1 -1
  214. package/dist/solutions-components/p-cb4842dd.entry.js +6 -0
  215. package/dist/solutions-components/{p-bd459df3.entry.js → p-ccd1e256.entry.js} +2 -2
  216. package/dist/solutions-components/p-ce4b6931.entry.js +6 -0
  217. package/dist/solutions-components/p-d2de2b2a.entry.js +6 -0
  218. package/dist/solutions-components/p-d300430b.entry.js +6 -0
  219. package/dist/solutions-components/p-d4056c1c.js +6 -0
  220. package/dist/solutions-components/p-d73b90ab.entry.js +6 -0
  221. package/dist/solutions-components/{p-4e92c1ba.entry.js → p-dae9d5b3.entry.js} +1 -1
  222. package/dist/solutions-components/p-df56c019.entry.js +6 -0
  223. package/dist/solutions-components/p-e80751f4.entry.js +6 -0
  224. package/dist/solutions-components/{p-132b1138.entry.js → p-e8ed3fa6.entry.js} +2 -2
  225. package/dist/solutions-components/{p-1d369231.js → p-eed41e1a.js} +1 -1
  226. package/dist/solutions-components/p-fdd93685.js +22 -0
  227. package/dist/solutions-components/{p-6acf6c8f.js → p-ff87b9de.js} +1 -1
  228. package/dist/solutions-components/{p-c9b22653.js → p-ffd41e25.js} +1 -1
  229. package/dist/solutions-components/solutions-components.esm.js +1 -1
  230. package/dist/solutions-components/utils/interfaces.ts +0 -2
  231. package/dist/solutions-components/utils/solution-store.ts +12 -13
  232. package/dist/solutions-components/utils/templates.ts +125 -30
  233. package/dist/solutions-components/utils/test/templates.e2e.ts +2 -2
  234. package/dist/solutions-components_commit.txt +8 -0
  235. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +21 -25
  236. package/dist/types/components/store-manager/store-manager.d.ts +3 -3
  237. package/dist/types/components.d.ts +10 -2
  238. package/dist/types/utils/templates.d.ts +35 -5
  239. package/package.json +6 -5
  240. package/dist/cjs/solution-resource-ffe3c333.js +0 -145
  241. package/dist/solutions-components/p-11b4cd1a.entry.js +0 -6
  242. package/dist/solutions-components/p-123fcb43.entry.js +0 -6
  243. package/dist/solutions-components/p-12b84e3b.entry.js +0 -36
  244. package/dist/solutions-components/p-1a8f7075.entry.js +0 -6
  245. package/dist/solutions-components/p-2a7111ad.entry.js +0 -6
  246. package/dist/solutions-components/p-36f5dee9.entry.js +0 -6
  247. package/dist/solutions-components/p-52bcd209.entry.js +0 -6
  248. package/dist/solutions-components/p-57961ae0.entry.js +0 -6
  249. package/dist/solutions-components/p-5b2d9899.entry.js +0 -6
  250. package/dist/solutions-components/p-5bd6a732.entry.js +0 -6
  251. package/dist/solutions-components/p-5fb4ddc2.entry.js +0 -6
  252. package/dist/solutions-components/p-622f33ee.entry.js +0 -6
  253. package/dist/solutions-components/p-652140aa.entry.js +0 -6
  254. package/dist/solutions-components/p-6d0404a6.entry.js +0 -6
  255. package/dist/solutions-components/p-789eb1c2.entry.js +0 -6
  256. package/dist/solutions-components/p-7a2f1801.entry.js +0 -6
  257. package/dist/solutions-components/p-7dcf6b16.entry.js +0 -6
  258. package/dist/solutions-components/p-8413a2ae.entry.js +0 -6
  259. package/dist/solutions-components/p-941e55f0.entry.js +0 -6
  260. package/dist/solutions-components/p-9b38e6a0.entry.js +0 -6
  261. package/dist/solutions-components/p-9c1fbf73.entry.js +0 -6
  262. package/dist/solutions-components/p-9d82f0e3.entry.js +0 -6
  263. package/dist/solutions-components/p-9fa1855f.entry.js +0 -6
  264. package/dist/solutions-components/p-a2390bee.entry.js +0 -6
  265. package/dist/solutions-components/p-a805c11f.entry.js +0 -6
  266. package/dist/solutions-components/p-af1c9389.entry.js +0 -6
  267. package/dist/solutions-components/p-b7d060b0.entry.js +0 -6
  268. package/dist/solutions-components/p-c4160bf7.js +0 -6
  269. package/dist/solutions-components/p-da75df88.entry.js +0 -6
  270. package/dist/solutions-components/p-e0277e0b.entry.js +0 -6
  271. package/dist/solutions-components/p-e11a4728.entry.js +0 -6
  272. package/dist/solutions-components/p-e89c05d6.entry.js +0 -6
  273. /package/dist/solutions-components/{p-8ad54f5c.js → p-e3196917.js} +0 -0
@@ -22322,6 +22322,2987 @@
22322
22322
  ]
22323
22323
  },
22324
22324
  "estimatedDeploymentCostFactor": 10
22325
+ },
22326
+ {
22327
+ "itemId": "27d6eee83f2f4f6aae4a1d028536bd66",
22328
+ "type": "Feature Service",
22329
+ "key": "mgiyyxqm",
22330
+ "item": {
22331
+ "id": "{{27d6eee83f2f4f6aae4a1d028536bd66.itemId}}",
22332
+ "type": "Feature Service",
22333
+ "accessInformation": "Esri",
22334
+ "categories": [],
22335
+ "culture": "en-us",
22336
+ "description": "A feature layer used to store geographical areas an elected official serves, precincts and related polling places, and voting centers.",
22337
+ "extent": "{{solutionItemExtent}}",
22338
+ "licenseInfo": null,
22339
+ "name": "ElectionLocations",
22340
+ "properties": null,
22341
+ "snippet": "A feature layer used to store geographical areas an elected official serves, precincts and related polling places, and voting centers.",
22342
+ "tags": [
22343
+ "Precincts",
22344
+ "Polling Places",
22345
+ "Voting",
22346
+ "Early Voting",
22347
+ "Ballots",
22348
+ "Voting Centers",
22349
+ "Elected Officials",
22350
+ "Secretary of State",
22351
+ "Elections",
22352
+ "Election Day",
22353
+ "Election Officials",
22354
+ "Clerks"
22355
+ ],
22356
+ "thumbnail": "thumbnail/thumbnail1552920388014.png",
22357
+ "title": "ElectionLocations",
22358
+ "typeKeywords": [
22359
+ "ArcGIS Server",
22360
+ "Data",
22361
+ "Feature Access",
22362
+ "Feature Service",
22363
+ "Metadata",
22364
+ "Multilayer",
22365
+ "Service",
22366
+ "source-df22713d6498473cad086c6e8645ae0c",
22367
+ "Hosted Service"
22368
+ ],
22369
+ "url": "{{27d6eee83f2f4f6aae4a1d028536bd66.url}}"
22370
+ },
22371
+ "data": {
22372
+ "tables": [
22373
+ {
22374
+ "id": 3,
22375
+ "popupInfo": {
22376
+ "title": "{pollingplacename}",
22377
+ "mediaInfos": [],
22378
+ "fieldInfos": [
22379
+ {
22380
+ "fieldName": "OBJECTID",
22381
+ "visible": true,
22382
+ "isEditable": false,
22383
+ "label": "OBJECTID"
22384
+ },
22385
+ {
22386
+ "fieldName": "facilityid",
22387
+ "visible": true,
22388
+ "isEditable": true,
22389
+ "label": "Voting Location ID"
22390
+ },
22391
+ {
22392
+ "fieldName": "name",
22393
+ "visible": true,
22394
+ "isEditable": true,
22395
+ "label": "Voting Location Name"
22396
+ },
22397
+ {
22398
+ "fieldName": "waittime",
22399
+ "visible": true,
22400
+ "isEditable": true,
22401
+ "label": "Wait Time (Minutes)"
22402
+ }
22403
+ ],
22404
+ "popupElements": [
22405
+ {
22406
+ "fieldInfos": [
22407
+ {
22408
+ "fieldName": "OBJECTID",
22409
+ "visible": true,
22410
+ "isEditable": false,
22411
+ "label": "OBJECTID"
22412
+ },
22413
+ {
22414
+ "fieldName": "facilityid",
22415
+ "visible": true,
22416
+ "isEditable": true,
22417
+ "label": "Voting Location ID"
22418
+ },
22419
+ {
22420
+ "fieldName": "name",
22421
+ "visible": true,
22422
+ "isEditable": true,
22423
+ "label": "Voting Location Name"
22424
+ },
22425
+ {
22426
+ "fieldName": "waittime",
22427
+ "visible": true,
22428
+ "isEditable": true,
22429
+ "label": "Wait Time (Minutes)"
22430
+ }
22431
+ ],
22432
+ "type": "fields"
22433
+ }
22434
+ ],
22435
+ "expressionInfos": []
22436
+ }
22437
+ }
22438
+ ],
22439
+ "layers": [
22440
+ {
22441
+ "id": 0,
22442
+ "popupInfo": {
22443
+ "title": "<span style='font-size:medium'>{name}</span>",
22444
+ "fieldInfos": [
22445
+ {
22446
+ "fieldName": "OBJECTID",
22447
+ "visible": false,
22448
+ "isEditable": false,
22449
+ "label": "OBJECTID"
22450
+ },
22451
+ {
22452
+ "fieldName": "facilityid",
22453
+ "visible": true,
22454
+ "isEditable": true,
22455
+ "label": "Facility ID"
22456
+ },
22457
+ {
22458
+ "fieldName": "type",
22459
+ "visible": true,
22460
+ "isEditable": true,
22461
+ "label": "Voting Facility Type"
22462
+ },
22463
+ {
22464
+ "fieldName": "name",
22465
+ "visible": true,
22466
+ "isEditable": true,
22467
+ "label": "Name"
22468
+ },
22469
+ {
22470
+ "fieldName": "fulladdr",
22471
+ "visible": true,
22472
+ "isEditable": true,
22473
+ "label": "Address"
22474
+ },
22475
+ {
22476
+ "fieldName": "municipality",
22477
+ "visible": true,
22478
+ "isEditable": true,
22479
+ "label": "Municipality"
22480
+ },
22481
+ {
22482
+ "fieldName": "pstlstate",
22483
+ "visible": true,
22484
+ "isEditable": true,
22485
+ "label": "State"
22486
+ },
22487
+ {
22488
+ "fieldName": "pstlzip5",
22489
+ "visible": true,
22490
+ "isEditable": true,
22491
+ "label": "Zip Code"
22492
+ },
22493
+ {
22494
+ "fieldName": "phone",
22495
+ "visible": true,
22496
+ "isEditable": true,
22497
+ "label": "Phone"
22498
+ },
22499
+ {
22500
+ "fieldName": "agencyurl",
22501
+ "visible": true,
22502
+ "isEditable": true,
22503
+ "label": "Website"
22504
+ },
22505
+ {
22506
+ "fieldName": "operdays",
22507
+ "visible": true,
22508
+ "isEditable": true,
22509
+ "label": "Operational Days"
22510
+ },
22511
+ {
22512
+ "fieldName": "handicap",
22513
+ "visible": true,
22514
+ "isEditable": true,
22515
+ "label": "Handicap Accessible"
22516
+ },
22517
+ {
22518
+ "fieldName": "pocname",
22519
+ "visible": true,
22520
+ "isEditable": true,
22521
+ "label": "Contact Name"
22522
+ },
22523
+ {
22524
+ "fieldName": "pocphone",
22525
+ "visible": true,
22526
+ "isEditable": true,
22527
+ "label": "Contact Phone"
22528
+ },
22529
+ {
22530
+ "fieldName": "pocemail",
22531
+ "visible": true,
22532
+ "isEditable": true,
22533
+ "label": "Contact Email"
22534
+ },
22535
+ {
22536
+ "fieldName": "nextelect",
22537
+ "visible": true,
22538
+ "isEditable": true,
22539
+ "label": "Next Election Date",
22540
+ "format": {
22541
+ "dateFormat": "longMonthDayYear",
22542
+ "timezone": "utc"
22543
+ }
22544
+ },
22545
+ {
22546
+ "fieldName": "regdate",
22547
+ "visible": true,
22548
+ "isEditable": true,
22549
+ "label": "Voter Registration Deadline",
22550
+ "format": {
22551
+ "dateFormat": "longMonthDayYear",
22552
+ "timezone": "utc"
22553
+ }
22554
+ },
22555
+ {
22556
+ "fieldName": "voteservices",
22557
+ "visible": true,
22558
+ "isEditable": true,
22559
+ "label": "Election Services"
22560
+ },
22561
+ {
22562
+ "fieldName": "dropbox",
22563
+ "visible": true,
22564
+ "isEditable": true,
22565
+ "label": "Dropbox"
22566
+ },
22567
+ {
22568
+ "fieldName": "boxlocation",
22569
+ "visible": true,
22570
+ "isEditable": true,
22571
+ "label": "Box Location"
22572
+ },
22573
+ {
22574
+ "fieldName": "comments",
22575
+ "visible": true,
22576
+ "isEditable": true,
22577
+ "label": "Comments"
22578
+ },
22579
+ {
22580
+ "fieldName": "GlobalID",
22581
+ "label": "GlobalID",
22582
+ "isEditable": false,
22583
+ "visible": false
22584
+ },
22585
+ {
22586
+ "fieldName": "CreationDate",
22587
+ "label": "CreationDate",
22588
+ "isEditable": false,
22589
+ "visible": false,
22590
+ "format": {
22591
+ "dateFormat": "shortDateShortTime",
22592
+ "timezone": "utc"
22593
+ }
22594
+ },
22595
+ {
22596
+ "fieldName": "Creator",
22597
+ "label": "Creator",
22598
+ "isEditable": false,
22599
+ "visible": false,
22600
+ "stringFieldOption": "textbox"
22601
+ },
22602
+ {
22603
+ "fieldName": "EditDate",
22604
+ "label": "EditDate",
22605
+ "isEditable": false,
22606
+ "visible": false,
22607
+ "format": {
22608
+ "dateFormat": "shortDateShortTime",
22609
+ "timezone": "utc"
22610
+ }
22611
+ },
22612
+ {
22613
+ "fieldName": "Editor",
22614
+ "label": "Editor",
22615
+ "isEditable": false,
22616
+ "visible": false,
22617
+ "stringFieldOption": "textbox"
22618
+ },
22619
+ {
22620
+ "fieldName": "relationships/0/OBJECTID",
22621
+ "label": "OBJECTID",
22622
+ "isEditable": false,
22623
+ "visible": false
22624
+ },
22625
+ {
22626
+ "fieldName": "relationships/0/precinctid",
22627
+ "label": "Precinct ID",
22628
+ "isEditable": false,
22629
+ "visible": false,
22630
+ "stringFieldOption": "textbox"
22631
+ },
22632
+ {
22633
+ "fieldName": "relationships/0/name",
22634
+ "label": "Precinct Name",
22635
+ "isEditable": false,
22636
+ "visible": false,
22637
+ "stringFieldOption": "textbox"
22638
+ },
22639
+ {
22640
+ "fieldName": "relationships/0/county",
22641
+ "label": "County",
22642
+ "isEditable": false,
22643
+ "visible": false,
22644
+ "stringFieldOption": "textbox"
22645
+ },
22646
+ {
22647
+ "fieldName": "relationships/0/pollingid",
22648
+ "label": "Polling Place ID",
22649
+ "isEditable": false,
22650
+ "visible": false,
22651
+ "stringFieldOption": "textbox"
22652
+ },
22653
+ {
22654
+ "fieldName": "relationships/0/GlobalID",
22655
+ "label": "GlobalID",
22656
+ "isEditable": false,
22657
+ "visible": false
22658
+ },
22659
+ {
22660
+ "fieldName": "relationships/0/CreationDate",
22661
+ "label": "CreationDate",
22662
+ "isEditable": false,
22663
+ "visible": false,
22664
+ "format": {
22665
+ "dateFormat": "shortDateShortTime",
22666
+ "timezone": "utc"
22667
+ }
22668
+ },
22669
+ {
22670
+ "fieldName": "relationships/0/Creator",
22671
+ "label": "Creator",
22672
+ "isEditable": false,
22673
+ "visible": false,
22674
+ "stringFieldOption": "textbox"
22675
+ },
22676
+ {
22677
+ "fieldName": "relationships/0/EditDate",
22678
+ "label": "EditDate",
22679
+ "isEditable": false,
22680
+ "visible": false,
22681
+ "format": {
22682
+ "dateFormat": "shortDateShortTime",
22683
+ "timezone": "utc"
22684
+ }
22685
+ },
22686
+ {
22687
+ "fieldName": "relationships/0/Editor",
22688
+ "label": "Editor",
22689
+ "isEditable": false,
22690
+ "visible": false,
22691
+ "stringFieldOption": "textbox"
22692
+ },
22693
+ {
22694
+ "fieldName": "expression/expr0",
22695
+ "visible": false
22696
+ },
22697
+ {
22698
+ "fieldName": "expression/expr1",
22699
+ "visible": false
22700
+ },
22701
+ {
22702
+ "fieldName": "expression/expr3",
22703
+ "visible": false
22704
+ },
22705
+ {
22706
+ "fieldName": "expression/expr4",
22707
+ "visible": false
22708
+ },
22709
+ {
22710
+ "fieldName": "earlyvoting",
22711
+ "label": "Early Voting Available",
22712
+ "isEditable": false,
22713
+ "visible": false,
22714
+ "stringFieldOption": "textbox"
22715
+ },
22716
+ {
22717
+ "fieldName": "earlyvotingdate",
22718
+ "label": "Early Voting Date",
22719
+ "isEditable": false,
22720
+ "visible": false,
22721
+ "format": {
22722
+ "dateFormat": "shortDateShortTime",
22723
+ "timezone": "utc"
22724
+ }
22725
+ },
22726
+ {
22727
+ "fieldName": "expression/expr5",
22728
+ "visible": false
22729
+ }
22730
+ ],
22731
+ "description": "<table cellpadding='0' style='text-align: center; font-size: medium; background-color: #464646; color: #FFFFFF; border-collapse: collapse; border-spacing: 0px; width: 100%; table-layout: fixed; margin: 0px -1px'>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style='display:{expression/expr1}; padding: 8px 0px; padding-bottom: 10px'>Today is Election Day! <br />{expression/expr0}\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style='display:{expression/expr3}; padding: 8px 0px; padding-bottom: 10px'>Next Election Day <br />{nextelect}\n\t\t\t</td>\n\t\t</tr>\n\t</tbody>\n</table>\n\n<table style='text-align: center; font-size: medium; color: #000000; width: 100%; margin: 8px 0px; border-collapse: separate; border-spacing: 0px 8px; table-layout: fixed;'>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t{fulladdr}<br />\n\t\t\t\t{municipality}, {pstlstate} {pstlzip5}<br />\n\t\t\t\t<font color='#007AC2'>{expression/expr2}</font>\n\t\t\t</td>\n\t\t</tr>\n\t</tbody>\n</table>\n\n<table style='display: {expression/expr1}; text-align: center; font-size: medium; color: #000000; width: 100%; margin: 8px 0px; border-collapse: separate; border-spacing: 0px 8px; table-layout: fixed;'>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tHours<br />\n\t\t\t\t{expression/expr4}\n\t\t\t</td>\n\t\t</tr>\n\t</tbody>\n</table>\n\n<table style='display:{expression/expr3}; text-align: center; font-size: medium; color: #000000; width: 100%; margin: 8px 0px; border-collapse: separate; border-spacing: 0px 8px; table-layout: fixed;'>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style='padding-bottom: 10px'>\n\t\t\t\tHours<br />\n\t\t\t\t{expression/expr5}\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tMust register to vote by:<br />\n\t\t\t\t{regdate}\n\t\t\t</td>\n\t\t</tr>\n\t</tbody>\n</table>\n\n\n<table style='text-align: center; font-size: medium; color: #000000; width: 100%; margin: 8px 0px; border-collapse: separate; border-spacing: 0px 8px; table-layout: fixed;'>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tFor more information, contact:<br /><a href='{agencyurl}' target='_blank'>{pocname}</a><br />\n\t\t\t\t{pocphone} <br /><a href='mailto: {pocemail}' target='_blank'>email</a>\n\t\t\t</td>\t\n\t\t</tr>\t\t\n\t</tbody>\n</table>",
22732
+ "showAttachments": false,
22733
+ "showLastEditInfo": false,
22734
+ "relatedRecordsInfo": {
22735
+ "showRelatedRecords": false
22736
+ },
22737
+ "expressionInfos": [
22738
+ {
22739
+ "name": "expr0",
22740
+ "title": "WaitTimes",
22741
+ "expression": "var electiondate = Date($feature.nextelect)\nvar current = Today()\n\nvar currentText = Text(current, 'MMM D YYYY');\nvar electiondateText = Text(electiondate, 'MMM D YYYY')\n\n\nif (currentText != electiondateText) {\n return null;\n}\n\nvar waittimes = Filter(FeatureSetByName($datastore,\"Election Day Metrics\", ['waittime','CreationDate'], false), \"facilityid = '\" + $feature.facilityid+\"'\");\nvar waittime = null;\nvar maxdate = null;\nfor(var x in waittimes) {\n if (maxdate == null || x.CreationDate > maxdate) {\n waittime = x.waittime + \" minutes\";\n maxdate = x.CreationDate ;\n }\n}\n\nvar waittimedateText = Text(maxdate, 'MMM D YYYY')\n\nif (waittime == null || currentText != waittimedateText) {\n return null;\n}\n\nreturn \"Approximate wait is \" + waittime;\n",
22742
+ "returnType": "string"
22743
+ },
22744
+ {
22745
+ "name": "expr1",
22746
+ "title": "ElectionDay",
22747
+ "expression": "var electiondate = Date($feature.nextelect)\nvar current = Today()\n\nvar currentText = Text(current, 'MMM D YYYY');\nvar electiondateText = Text(electiondate, 'MMM D YYYY')\n\n\nIIF(currentText == electiondateText, null, \"none\");\n\n",
22748
+ "returnType": "string"
22749
+ },
22750
+ {
22751
+ "name": "expr2",
22752
+ "title": "HandicapAccessible",
22753
+ "expression": "if ($feature.handicap == \"Yes\") {\r\n\treturn \"Handicap Accessible\" ; \r\n}\r\nreturn null",
22754
+ "returnType": "string"
22755
+ },
22756
+ {
22757
+ "name": "expr3",
22758
+ "title": "NotElectionDay",
22759
+ "expression": "var electiondate = Date($feature.nextelect)\nvar current = Today()\n\nvar currentText = Text(current, 'MMM D YYYY');\nvar electiondateText = Text(electiondate, 'MMM D YYYY')\n\n\nIIF(currentText != electiondateText, null, \"none\");",
22760
+ "returnType": "string"
22761
+ },
22762
+ {
22763
+ "name": "expr4",
22764
+ "title": "OpenClosed",
22765
+ "expression": "//Splits day list into an array with sub-arrays for each day\r\nfunction DayTime(field){\r\n var x = 0\r\n\tvar array = []\r\n\tvar sp = split(replace(field,\")\",\"\"),\";\")\r\n\tvar num = count(sp)\r\n\t//Split data field into array\r\n\tfor (var y in sp){\r\n\t\tif(x < num){\r\n\t\t var mid_v = split(sp[x],\"(\")\r\n\t\t\tvar addin = split(mid_v[1],\"-\")\r\n\t\t\tif(count(addin)==2){\r\n \t\t\tmid_v[1]=addin[0]\r\n \t\t\tmid_v[2]=addin[1]\r\n \t\t\tvar final = mid_v\r\n \t\t\tarray[x]=final\r\n \t\t\tx+=1\r\n\t\t\t}else{\r\n\t\t\tarray[x]=mid_v\r\n\t\t\tx+=1\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn array\r\n}\r\n\r\n//finds all days present in a range\r\nfunction range_finder(range){\r\n var sp = split(range,\"-\")\r\n var start = When(sp[0]==\"Su\",0, sp[0]==\"Mo\",1,sp[0]==\"Tu\",2,sp[0]==\"We\",3,sp[0]==\"Th\",4,sp[0]==\"Fr\",5,sp[0]==\"Sa\",6,7)\r\n var end = When(sp[1]==\"Su\",0, sp[1]==\"Mo\",1,sp[1]==\"Tu\",2,sp[1]==\"We\",3,sp[1]==\"Th\",4,sp[1]==\"Fr\",5,sp[1]==\"Sa\",6,7)\r\n\tvar i = start\r\n\tvar y = 0\r\n\tvar weekend = end - start\r\n\tvar listed_day = []\r\n\t\r\n if(weekend>0){\r\n var days = [[\"Su\",0],[\"Mo\",1],[\"Tu\",2],[\"We\",3],[\"Th\",4],[\"Fr\",5],[\"Sa\",6]]\r\n \tfor (var x in days){\r\n \t \tif((days[x][1] >= start) && (days[x][1] <= end) &&(start != 7) && (end != 7)){\r\n \t\t listed_day[y]=days[x][0]\r\n \t\t y+=1\r\n \t\t i+=1\r\n \t\t x+=1\r\n \t\t} else if((days[x][1] <= start) && (days[x][1] >= end) &&(start != 7) && (end != 7)){\r\n \t\t listed_day[y]=days[x][0]\r\n \t\t y+=1\r\n \t\t i+=1\r\n \t\t x+=1\r\n \t\t}\r\n \t}\r\n }else{\r\n var days = [[\"Mo\",1],[\"Tu\",2],[\"We\",3],[\"Th\",4],[\"Fr\",5],[\"Sa\",6],[\"Su\",7],[\"Mo\",8],[\"Tu\",9],[\"We\",10],[\"Th\",11],[\"Fr\",12],[\"Sa\",13],[\"Su\",14]]\r\n var start =When(sp[0]==\"Su\",0, sp[0]==\"Mo\",1,sp[0]==\"Tu\",2,sp[0]==\"We\",3,sp[0]==\"Th\",4,sp[0]==\"Fr\",5,sp[0]==\"Sa\",6, 7)\r\n var end =When(sp[1]==\"Su\",7, sp[1]==\"Mo\",8,sp[1]==\"Tu\",9,sp[1]==\"We\",10,sp[1]==\"Th\",11,sp[1]==\"Fr\",12,sp[1]==\"Sa\",13,14)\r\n for (var x in days){\r\n \t \tif((days[x][1] >= start) && (days[x][1] <= end) &&(start != 8) && (end != 15)){\r\n \t\t listed_day[y]=days[x][0]\r\n \t\t y+=1\r\n \t\t i+=1\r\n \t\t x+=1\r\n \t\t} else if((days[x][1] <= start) && (days[x][1] >= end) &&(start != 8) && (end != 15)){\r\n \t\t listed_day[y]=days[x][0]\r\n \t\t y+=1\r\n \t\t i+=1\r\n \t\t x+=1\r\n \t\t}\r\n }\r\n }\r\n\treturn listed_day\r\n}\r\n\r\n//Converts values with hyphens into array and replaces them in the list\r\nfunction Day_Splitter(list){\r\n var new_days = []\r\n var x = (count(list))\r\n var t = 0\r\n\tfor (var z in list){\r\n\t var f = 0\r\n\t\tif(find('-', list[z][0]) >1){\r\n\t\t var range = range_finder(list[z][0])\r\n\t\t var num_days=count(range)\r\n\t\t for (var d in range){\r\n\t\t \t if (f <= num_days){\r\n if(count(list[z])==2){\r\n new_days[t] =[range[f], list[z][1]]//,list[z][2]]\r\n \r\n }else{\r\n new_days[t] =[range[f], list[z][1],list[z][2]] \r\n }\r\n \t x +=1\r\n\t\t\t\t f +=1 \r\n\t\t\t\t t +=1\r\n\t\t\t }\r\n\t\t\t}\r\n\t\t}else{\r\n\t\t new_days[t]= list[z]\r\n\t\t x +=1\r\n\t\t f +=1 \r\n\t\t t +=1\r\n\t\t}\r\n\t}\r\n\treturn new_days\r\n}\r\n\r\n//Function to determine if time falls during open Hours\r\nfunction between(value,start,end){\r\n var open = Date(Year(value),Month(value),day(value),(split(start,\":\")[0]),(split(start,\":\")[1]))\r\n var close = Date(Year(value),Month(value),day(value),(split(end,\":\")[0]),(split(end,\":\")[1]))\r\n\t\r\n\tif(value >= open && value < close){\r\n\t\treturn \"Open\"\r\n\t}else{\r\n\t\treturn \"Closed\"\r\n\t}\r\n}\r\n\r\n//Reorder array to put sunday in place 0\r\nfunction reorder(array){\r\n\tvar days = [[\"Su\",0],[\"Mo\",1],[\"Tu\",2],[\"We\",3],[\"Th\",4],[\"Fr\",5],[\"Sa\",6]]\r\n\tvar list =[]\r\n\tvar old = array\r\n\tfor (var x in days){\r\n\t\tfor(var y in old){\r\n\t\t\tif(old[y][0]==days[x][0]){\r\n\t\t\t\tlist[x]=old[y]\r\n\t\t\t}\r\n\t\t} \r\n\t}\r\n\treturn list\r\n}\r\n\r\n//Function to determine if the location is open\r\nfunction Open (times){\r\n \r\n\t//Day and Hour Calcs for Locations\r\n var schedule = reorder(Day_Splitter(DayTime(replace(times,\" \",\"\"))))\r\n var date_now = now();\r\n\tvar day_schedule = schedule[weekday(date_now)];\r\n\t\r\n\tvar open_text = \"Closed\";\r\n\tif(count(day_schedule)==3){\r\n\t\t\r\n\t\tvar start = Date(Year(date_now),Month(date_now),Day(date_now),(split(day_schedule[1],\":\")[0]),(split(day_schedule[1],\":\")[1]))\r\n\t var end = Date(Year(date_now),Month(date_now),Day(date_now),(split(day_schedule[2],\":\")[0]),(split(day_schedule[2],\":\")[1]))\r\n\t var start_format = \"h:mmA\";\r\n\t if (Minute(start) == 0) {\r\n\t\t start_format = \"hA\"\r\n\t\t}\r\n\t\tvar end_format = \"h:mmA\";\r\n\t\tif (Minute(end) == 0) {\r\n\t\t end_format = \"hA\"\r\n\t\t}\r\n\t open_text = Text(start, start_format) + \" - \" + Text(end, end_format)\r\n\t\t\r\n\t\tif (between(date_now,day_schedule[1], day_schedule[2])==\"Open\"){\r\n\t\t\t//The next Value is returned if the location is open\r\n\t\t\topen_text += TextFormatting.NewLine + \"Open Now\";\r\n\t\t}\r\n\t\telse {\r\n\t\t\topen_text += TextFormatting.NewLine + \"Closed Now\"\r\n\t\t}\r\n\t\t\r\n\t}\r\n\treturn open_text;\r\n}\r\n\r\nOpen($feature.operdays)",
22766
+ "returnType": "string"
22767
+ },
22768
+ {
22769
+ "name": "expr5",
22770
+ "title": "ElectionDayHours",
22771
+ "expression": "//Splits day list into an array with sub-arrays for each day\r\nfunction DayTime(field){\r\n var x = 0\r\n\tvar array = []\r\n\tvar sp = split(replace(field,\")\",\"\"),\";\")\r\n\tvar num = count(sp)\r\n\t//Split data field into array\r\n\tfor (var y in sp){\r\n\t\tif(x < num){\r\n\t\t var mid_v = split(sp[x],\"(\")\r\n\t\t\tvar addin = split(mid_v[1],\"-\")\r\n\t\t\tif(count(addin)==2){\r\n \t\t\tmid_v[1]=addin[0]\r\n \t\t\tmid_v[2]=addin[1]\r\n \t\t\tvar final = mid_v\r\n \t\t\tarray[x]=final\r\n \t\t\tx+=1\r\n\t\t\t}else{\r\n\t\t\tarray[x]=mid_v\r\n\t\t\tx+=1\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn array\r\n}\r\n\r\n//finds all days present in a range\r\nfunction range_finder(range){\r\n var sp = split(range,\"-\")\r\n var start = When(sp[0]==\"Su\",0, sp[0]==\"Mo\",1,sp[0]==\"Tu\",2,sp[0]==\"We\",3,sp[0]==\"Th\",4,sp[0]==\"Fr\",5,sp[0]==\"Sa\",6,7)\r\n var end = When(sp[1]==\"Su\",0, sp[1]==\"Mo\",1,sp[1]==\"Tu\",2,sp[1]==\"We\",3,sp[1]==\"Th\",4,sp[1]==\"Fr\",5,sp[1]==\"Sa\",6,7)\r\n\tvar i = start\r\n\tvar y = 0\r\n\tvar weekend = end - start\r\n\tvar listed_day = []\r\n\t\r\n if(weekend>0){\r\n var days = [[\"Su\",0],[\"Mo\",1],[\"Tu\",2],[\"We\",3],[\"Th\",4],[\"Fr\",5],[\"Sa\",6]]\r\n \tfor (var x in days){\r\n \t \tif((days[x][1] >= start) && (days[x][1] <= end) &&(start != 7) && (end != 7)){\r\n \t\t listed_day[y]=days[x][0]\r\n \t\t y+=1\r\n \t\t i+=1\r\n \t\t x+=1\r\n \t\t} else if((days[x][1] <= start) && (days[x][1] >= end) &&(start != 7) && (end != 7)){\r\n \t\t listed_day[y]=days[x][0]\r\n \t\t y+=1\r\n \t\t i+=1\r\n \t\t x+=1\r\n \t\t}\r\n \t}\r\n }else{\r\n var days = [[\"Mo\",1],[\"Tu\",2],[\"We\",3],[\"Th\",4],[\"Fr\",5],[\"Sa\",6],[\"Su\",7],[\"Mo\",8],[\"Tu\",9],[\"We\",10],[\"Th\",11],[\"Fr\",12],[\"Sa\",13],[\"Su\",14]]\r\n var start =When(sp[0]==\"Su\",0, sp[0]==\"Mo\",1,sp[0]==\"Tu\",2,sp[0]==\"We\",3,sp[0]==\"Th\",4,sp[0]==\"Fr\",5,sp[0]==\"Sa\",6, 7)\r\n var end =When(sp[1]==\"Su\",7, sp[1]==\"Mo\",8,sp[1]==\"Tu\",9,sp[1]==\"We\",10,sp[1]==\"Th\",11,sp[1]==\"Fr\",12,sp[1]==\"Sa\",13,14)\r\n for (var x in days){\r\n \t \tif((days[x][1] >= start) && (days[x][1] <= end) &&(start != 8) && (end != 15)){\r\n \t\t listed_day[y]=days[x][0]\r\n \t\t y+=1\r\n \t\t i+=1\r\n \t\t x+=1\r\n \t\t} else if((days[x][1] <= start) && (days[x][1] >= end) &&(start != 8) && (end != 15)){\r\n \t\t listed_day[y]=days[x][0]\r\n \t\t y+=1\r\n \t\t i+=1\r\n \t\t x+=1\r\n \t\t}\r\n }\r\n }\r\n\treturn listed_day\r\n}\r\n\r\n//Converts values with hyphens into array and replaces them in the list\r\nfunction Day_Splitter(list){\r\n var new_days = []\r\n var x = (count(list))\r\n var t = 0\r\n\tfor (var z in list){\r\n\t var f = 0\r\n\t\tif(find('-', list[z][0]) >1){\r\n\t\t var range = range_finder(list[z][0])\r\n\t\t var num_days=count(range)\r\n\t\t for (var d in range){\r\n\t\t \t if (f <= num_days){\r\n if(count(list[z])==2){\r\n new_days[t] =[range[f], list[z][1]]//,list[z][2]]\r\n \r\n }else{\r\n new_days[t] =[range[f], list[z][1],list[z][2]] \r\n }\r\n \t x +=1\r\n\t\t\t\t f +=1 \r\n\t\t\t\t t +=1\r\n\t\t\t }\r\n\t\t\t}\r\n\t\t}else{\r\n\t\t new_days[t]= list[z]\r\n\t\t x +=1\r\n\t\t f +=1 \r\n\t\t t +=1\r\n\t\t}\r\n\t}\r\n\treturn new_days\r\n}\r\n\r\n//Function to determine if time falls during open Hours\r\nfunction between(value,start,end){\r\n var open = Date(Year(value),Month(value),day(value),(split(start,\":\")[0]),(split(start,\":\")[1]))\r\n var close = Date(Year(value),Month(value),day(value),(split(end,\":\")[0]),(split(end,\":\")[1]))\r\n\t\r\n\tif(value >= open && value < close){\r\n\t\treturn \"Open\"\r\n\t}else{\r\n\t\treturn \"Closed\"\r\n\t}\r\n}\r\n\r\n//Reorder array to put sunday in place 0\r\nfunction reorder(array){\r\n\tvar days = [[\"Su\",0],[\"Mo\",1],[\"Tu\",2],[\"We\",3],[\"Th\",4],[\"Fr\",5],[\"Sa\",6]]\r\n\tvar list =[]\r\n\tvar old = array\r\n\tfor (var x in days){\r\n\t\tfor(var y in old){\r\n\t\t\tif(old[y][0]==days[x][0]){\r\n\t\t\t\tlist[x]=old[y]\r\n\t\t\t}\r\n\t\t} \r\n\t}\r\n\treturn list\r\n}\r\n\r\n//Function to determine if the location is open\r\nfunction Open (times){\r\n \r\n\t//Day and Hour Calcs for Locations\r\n var schedule = reorder(Day_Splitter(DayTime(replace(times,\" \",\"\"))))\r\n var date_now = $feature.nextelect;\r\n\tvar day_schedule = schedule[weekday(date_now)];\r\n\t\r\n\tvar open_hours = null;\r\n\tif(count(day_schedule)==3){\r\n\t\t\r\n\t\tvar start = Date(Year(date_now),Month(date_now),Day(date_now),(split(day_schedule[1],\":\")[0]),(split(day_schedule[1],\":\")[1]))\r\n\t var end = Date(Year(date_now),Month(date_now),Day(date_now),(split(day_schedule[2],\":\")[0]),(split(day_schedule[2],\":\")[1]))\r\n\t var start_format = \"h:mmA\";\r\n\t if (Minute(start) == 0) {\r\n\t\t start_format = \"hA\"\r\n\t\t}\r\n\t\tvar end_format = \"h:mmA\";\r\n\t\tif (Minute(end) == 0) {\r\n\t\t end_format = \"hA\"\r\n\t\t}\r\n\t open_hours = Text(start, start_format) + \" - \" + Text(end, end_format)\r\n\t}\r\n\treturn open_hours;\r\n}\r\n\r\nOpen($feature.operdays)",
22772
+ "returnType": "string"
22773
+ }
22774
+ ],
22775
+ "mediaInfos": []
22776
+ },
22777
+ "layerDefinition": {
22778
+ "defaultVisibility": true
22779
+ }
22780
+ },
22781
+ {
22782
+ "id": 1,
22783
+ "popupInfo": {
22784
+ "title": "<p style='font-size:16px'>Voting for Precinct: {precinctid}</p>",
22785
+ "fieldInfos": [
22786
+ {
22787
+ "fieldName": "OBJECTID",
22788
+ "visible": false,
22789
+ "isEditable": false,
22790
+ "label": "OBJECTID"
22791
+ },
22792
+ {
22793
+ "fieldName": "precinctid",
22794
+ "visible": true,
22795
+ "isEditable": true,
22796
+ "label": "Precinct ID"
22797
+ },
22798
+ {
22799
+ "fieldName": "name",
22800
+ "visible": true,
22801
+ "isEditable": true,
22802
+ "label": "Precinct Name"
22803
+ },
22804
+ {
22805
+ "fieldName": "county",
22806
+ "visible": true,
22807
+ "isEditable": true,
22808
+ "label": "County"
22809
+ },
22810
+ {
22811
+ "fieldName": "pollingid",
22812
+ "visible": true,
22813
+ "isEditable": true,
22814
+ "label": "Polling Place ID"
22815
+ },
22816
+ {
22817
+ "fieldName": "GlobalID",
22818
+ "visible": false,
22819
+ "isEditable": false,
22820
+ "label": "GlobalID"
22821
+ },
22822
+ {
22823
+ "fieldName": "CreationDate",
22824
+ "label": "CreationDate",
22825
+ "isEditable": false,
22826
+ "visible": false,
22827
+ "format": {
22828
+ "dateFormat": "shortDateShortTime",
22829
+ "timezone": "utc"
22830
+ }
22831
+ },
22832
+ {
22833
+ "fieldName": "Creator",
22834
+ "label": "Creator",
22835
+ "isEditable": false,
22836
+ "visible": false,
22837
+ "stringFieldOption": "textbox"
22838
+ },
22839
+ {
22840
+ "fieldName": "EditDate",
22841
+ "label": "EditDate",
22842
+ "isEditable": false,
22843
+ "visible": false,
22844
+ "format": {
22845
+ "dateFormat": "shortDateShortTime",
22846
+ "timezone": "utc"
22847
+ }
22848
+ },
22849
+ {
22850
+ "fieldName": "Editor",
22851
+ "label": "Editor",
22852
+ "isEditable": false,
22853
+ "visible": false,
22854
+ "stringFieldOption": "textbox"
22855
+ },
22856
+ {
22857
+ "fieldName": "relationships/0/OBJECTID",
22858
+ "label": "OBJECTID",
22859
+ "isEditable": false,
22860
+ "visible": false
22861
+ },
22862
+ {
22863
+ "fieldName": "relationships/0/facilityid",
22864
+ "label": "Facility ID",
22865
+ "isEditable": false,
22866
+ "visible": false,
22867
+ "stringFieldOption": "textbox"
22868
+ },
22869
+ {
22870
+ "fieldName": "relationships/0/type",
22871
+ "label": "Voting Facility Type",
22872
+ "isEditable": false,
22873
+ "visible": false,
22874
+ "stringFieldOption": "textbox"
22875
+ },
22876
+ {
22877
+ "fieldName": "relationships/0/name",
22878
+ "label": "Name",
22879
+ "isEditable": false,
22880
+ "visible": false,
22881
+ "stringFieldOption": "textbox"
22882
+ },
22883
+ {
22884
+ "fieldName": "relationships/0/fulladdr",
22885
+ "label": "Address",
22886
+ "isEditable": false,
22887
+ "visible": false,
22888
+ "stringFieldOption": "textbox"
22889
+ },
22890
+ {
22891
+ "fieldName": "relationships/0/municipality",
22892
+ "label": "Municipality",
22893
+ "isEditable": false,
22894
+ "visible": false,
22895
+ "stringFieldOption": "textbox"
22896
+ },
22897
+ {
22898
+ "fieldName": "relationships/0/pstlstate",
22899
+ "label": "State",
22900
+ "isEditable": false,
22901
+ "visible": false,
22902
+ "stringFieldOption": "textbox"
22903
+ },
22904
+ {
22905
+ "fieldName": "relationships/0/pstlzip5",
22906
+ "label": "Zip Code",
22907
+ "isEditable": false,
22908
+ "visible": false,
22909
+ "stringFieldOption": "textbox"
22910
+ },
22911
+ {
22912
+ "fieldName": "relationships/0/phone",
22913
+ "label": "Phone",
22914
+ "isEditable": false,
22915
+ "visible": false,
22916
+ "stringFieldOption": "textbox"
22917
+ },
22918
+ {
22919
+ "fieldName": "relationships/0/agencyurl",
22920
+ "label": "Website",
22921
+ "isEditable": false,
22922
+ "visible": false,
22923
+ "stringFieldOption": "textbox"
22924
+ },
22925
+ {
22926
+ "fieldName": "relationships/0/operdays",
22927
+ "label": "Operational Days",
22928
+ "isEditable": false,
22929
+ "visible": false,
22930
+ "stringFieldOption": "textbox"
22931
+ },
22932
+ {
22933
+ "fieldName": "relationships/0/handicap",
22934
+ "label": "Handicap Accessible",
22935
+ "isEditable": false,
22936
+ "visible": false,
22937
+ "stringFieldOption": "textbox"
22938
+ },
22939
+ {
22940
+ "fieldName": "relationships/0/pocname",
22941
+ "label": "Contact Name",
22942
+ "isEditable": false,
22943
+ "visible": false,
22944
+ "stringFieldOption": "textbox"
22945
+ },
22946
+ {
22947
+ "fieldName": "relationships/0/pocphone",
22948
+ "label": "Contact Phone",
22949
+ "isEditable": false,
22950
+ "visible": false,
22951
+ "stringFieldOption": "textbox"
22952
+ },
22953
+ {
22954
+ "fieldName": "relationships/0/pocemail",
22955
+ "label": "Contact Email",
22956
+ "isEditable": false,
22957
+ "visible": false,
22958
+ "stringFieldOption": "textbox"
22959
+ },
22960
+ {
22961
+ "fieldName": "relationships/0/nextelect",
22962
+ "label": "Next Election Date",
22963
+ "isEditable": false,
22964
+ "visible": false,
22965
+ "format": {
22966
+ "dateFormat": "shortDateShortTime",
22967
+ "timezone": "utc"
22968
+ }
22969
+ },
22970
+ {
22971
+ "fieldName": "relationships/0/regdate",
22972
+ "label": "Voter Registration Deadline",
22973
+ "isEditable": false,
22974
+ "visible": false,
22975
+ "format": {
22976
+ "dateFormat": "shortDateShortTime",
22977
+ "timezone": "utc"
22978
+ }
22979
+ },
22980
+ {
22981
+ "fieldName": "relationships/0/voteservices",
22982
+ "label": "Election Services",
22983
+ "isEditable": false,
22984
+ "visible": false,
22985
+ "stringFieldOption": "textbox"
22986
+ },
22987
+ {
22988
+ "fieldName": "relationships/0/dropbox",
22989
+ "label": "Dropbox",
22990
+ "isEditable": false,
22991
+ "visible": false,
22992
+ "stringFieldOption": "textbox"
22993
+ },
22994
+ {
22995
+ "fieldName": "relationships/0/boxlocation",
22996
+ "label": "Box Location",
22997
+ "isEditable": false,
22998
+ "visible": false,
22999
+ "stringFieldOption": "textbox"
23000
+ },
23001
+ {
23002
+ "fieldName": "relationships/0/comments",
23003
+ "label": "Comments",
23004
+ "isEditable": false,
23005
+ "visible": false,
23006
+ "stringFieldOption": "textbox"
23007
+ },
23008
+ {
23009
+ "fieldName": "relationships/0/GlobalID",
23010
+ "label": "GlobalID",
23011
+ "isEditable": false,
23012
+ "visible": false
23013
+ },
23014
+ {
23015
+ "fieldName": "relationships/0/CreationDate",
23016
+ "label": "CreationDate",
23017
+ "isEditable": false,
23018
+ "visible": false,
23019
+ "format": {
23020
+ "dateFormat": "shortDateShortTime",
23021
+ "timezone": "utc"
23022
+ }
23023
+ },
23024
+ {
23025
+ "fieldName": "relationships/0/Creator",
23026
+ "label": "Creator",
23027
+ "isEditable": false,
23028
+ "visible": false,
23029
+ "stringFieldOption": "textbox"
23030
+ },
23031
+ {
23032
+ "fieldName": "relationships/0/EditDate",
23033
+ "label": "EditDate",
23034
+ "isEditable": false,
23035
+ "visible": false,
23036
+ "format": {
23037
+ "dateFormat": "shortDateShortTime",
23038
+ "timezone": "utc"
23039
+ }
23040
+ },
23041
+ {
23042
+ "fieldName": "relationships/0/Editor",
23043
+ "label": "Editor",
23044
+ "isEditable": false,
23045
+ "visible": false,
23046
+ "stringFieldOption": "textbox"
23047
+ },
23048
+ {
23049
+ "fieldName": "relationships/0/earlyvoting",
23050
+ "label": "Early Voting Available",
23051
+ "isEditable": false,
23052
+ "visible": false,
23053
+ "stringFieldOption": "textbox"
23054
+ },
23055
+ {
23056
+ "fieldName": "relationships/0/earlyvotingdate",
23057
+ "label": "Early Voting Date",
23058
+ "isEditable": false,
23059
+ "visible": false,
23060
+ "format": {
23061
+ "dateFormat": "shortDateShortTime",
23062
+ "timezone": "utc"
23063
+ }
23064
+ }
23065
+ ],
23066
+ "description": "<a href='https://www.dupageco.org/sampleballot/' target='_blank'><font color='#3366BB' size='3'>Review a Sample Ballot</font></a>",
23067
+ "showAttachments": false,
23068
+ "relatedRecordsInfo": {
23069
+ "showRelatedRecords": true
23070
+ },
23071
+ "mediaInfos": []
23072
+ },
23073
+ "layerDefinition": {
23074
+ "defaultVisibility": true
23075
+ }
23076
+ },
23077
+ {
23078
+ "id": 2,
23079
+ "popupInfo": {
23080
+ "title": "",
23081
+ "fieldInfos": [
23082
+ {
23083
+ "fieldName": "OBJECTID",
23084
+ "label": "OBJECTID",
23085
+ "isEditable": false,
23086
+ "visible": false
23087
+ },
23088
+ {
23089
+ "fieldName": "electedoffice",
23090
+ "label": "Elected Office",
23091
+ "isEditable": true,
23092
+ "visible": true,
23093
+ "stringFieldOption": "textbox"
23094
+ },
23095
+ {
23096
+ "fieldName": "name",
23097
+ "label": "District Name",
23098
+ "isEditable": true,
23099
+ "visible": true,
23100
+ "stringFieldOption": "textbox"
23101
+ },
23102
+ {
23103
+ "fieldName": "districtid",
23104
+ "label": "District ID",
23105
+ "isEditable": true,
23106
+ "visible": true,
23107
+ "stringFieldOption": "textbox"
23108
+ },
23109
+ {
23110
+ "fieldName": "repname1",
23111
+ "label": "Representative Name",
23112
+ "isEditable": true,
23113
+ "visible": true,
23114
+ "stringFieldOption": "textbox"
23115
+ },
23116
+ {
23117
+ "fieldName": "repimageurl1",
23118
+ "label": "Representative Image URL",
23119
+ "isEditable": true,
23120
+ "visible": true,
23121
+ "stringFieldOption": "textbox"
23122
+ },
23123
+ {
23124
+ "fieldName": "party1",
23125
+ "label": "Party",
23126
+ "isEditable": true,
23127
+ "visible": true,
23128
+ "stringFieldOption": "textbox"
23129
+ },
23130
+ {
23131
+ "fieldName": "districturl1",
23132
+ "label": "Website",
23133
+ "isEditable": true,
23134
+ "visible": true,
23135
+ "stringFieldOption": "textbox"
23136
+ },
23137
+ {
23138
+ "fieldName": "repname2",
23139
+ "label": "Representative Name",
23140
+ "isEditable": true,
23141
+ "visible": true,
23142
+ "stringFieldOption": "textbox"
23143
+ },
23144
+ {
23145
+ "fieldName": "repimageurl2",
23146
+ "label": "Representative Image URL",
23147
+ "isEditable": true,
23148
+ "visible": true,
23149
+ "stringFieldOption": "textbox"
23150
+ },
23151
+ {
23152
+ "fieldName": "districturl2",
23153
+ "label": "Website",
23154
+ "isEditable": true,
23155
+ "visible": true,
23156
+ "stringFieldOption": "textbox"
23157
+ },
23158
+ {
23159
+ "fieldName": "repname3",
23160
+ "label": "Representative Name",
23161
+ "isEditable": true,
23162
+ "visible": true,
23163
+ "stringFieldOption": "textbox"
23164
+ },
23165
+ {
23166
+ "fieldName": "repimageurl3",
23167
+ "label": "Representative Image URL",
23168
+ "isEditable": true,
23169
+ "visible": true,
23170
+ "stringFieldOption": "textbox"
23171
+ },
23172
+ {
23173
+ "fieldName": "districturl3",
23174
+ "label": "Website",
23175
+ "isEditable": true,
23176
+ "visible": true,
23177
+ "stringFieldOption": "textbox"
23178
+ },
23179
+ {
23180
+ "fieldName": "GlobalID",
23181
+ "label": "GlobalID",
23182
+ "isEditable": false,
23183
+ "visible": false
23184
+ },
23185
+ {
23186
+ "fieldName": "expression/expr0",
23187
+ "visible": false
23188
+ },
23189
+ {
23190
+ "fieldName": "expression/expr1",
23191
+ "visible": false
23192
+ },
23193
+ {
23194
+ "fieldName": "expression/expr2",
23195
+ "visible": false
23196
+ },
23197
+ {
23198
+ "fieldName": "expression/expr3",
23199
+ "visible": false
23200
+ },
23201
+ {
23202
+ "fieldName": "expression/expr4",
23203
+ "visible": false
23204
+ },
23205
+ {
23206
+ "fieldName": "expression/expr5",
23207
+ "visible": false
23208
+ },
23209
+ {
23210
+ "fieldName": "expression/expr6",
23211
+ "visible": false
23212
+ },
23213
+ {
23214
+ "fieldName": "expression/expr7",
23215
+ "visible": false
23216
+ },
23217
+ {
23218
+ "fieldName": "expression/expr8",
23219
+ "visible": false
23220
+ },
23221
+ {
23222
+ "fieldName": "CreationDate",
23223
+ "label": "CreationDate",
23224
+ "isEditable": false,
23225
+ "visible": false,
23226
+ "format": {
23227
+ "dateFormat": "shortDateShortTime",
23228
+ "timezone": "utc"
23229
+ }
23230
+ },
23231
+ {
23232
+ "fieldName": "Creator",
23233
+ "label": "Creator",
23234
+ "isEditable": false,
23235
+ "visible": false,
23236
+ "stringFieldOption": "textbox"
23237
+ },
23238
+ {
23239
+ "fieldName": "EditDate",
23240
+ "label": "EditDate",
23241
+ "isEditable": false,
23242
+ "visible": false,
23243
+ "format": {
23244
+ "dateFormat": "shortDateShortTime",
23245
+ "timezone": "utc"
23246
+ }
23247
+ },
23248
+ {
23249
+ "fieldName": "Editor",
23250
+ "label": "Editor",
23251
+ "isEditable": false,
23252
+ "visible": false,
23253
+ "stringFieldOption": "textbox"
23254
+ },
23255
+ {
23256
+ "fieldName": "party2",
23257
+ "label": "Party",
23258
+ "isEditable": true,
23259
+ "visible": true,
23260
+ "stringFieldOption": "textbox"
23261
+ },
23262
+ {
23263
+ "fieldName": "party3",
23264
+ "label": "Party",
23265
+ "isEditable": true,
23266
+ "visible": true,
23267
+ "stringFieldOption": "textbox"
23268
+ }
23269
+ ],
23270
+ "description": "<table style='border-collapse: separate; font-size:14px; border-spacing: 0px 0px; width: 100%; table-layout: fixed; margin: 0px 0px;'>\n\n<tbody>\n \n<tr style='display:{expression/expr6}; text-align: left; vertical-align:top; '> \n\n<td style='padding-left: 3px; padding-top: 3px; align: left; padding-bottom: 3px; width: 120px'>\n<img src='{repimageurl1}' width='100' /></td>\n\n<td style='padding-top: 5px; align:right; vertical-align:top'> <b>{repname1} \n<font color='{expression/expr3}'>{expression/expr0}</font> </b><br /><i>{electedoffice}</i><br />{name}<br /><a href='{districturl1}' target='_blank'>Website</a><br /></td>\n\n</tr>\n\n<tr style='display:{expression/expr7}; text-align: left; vertical-align:top; width: 100%'> \n\n<td style='padding-left: 3px; padding-top: 3px; align: left; padding-bottom: 3px'>\n<img src='{repimageurl2}' width='100' /></td>\n\n<td style='padding-top: 5px; padding-bottom: 5px; align:right; vertical-align:top'><b>{repname2} <font color='{expression/expr4}'>{expression/expr1}</font></b><br /><i>{electedoffice}</i><br />{name}<br />\n<a href='{districturl2}' target='_blank'>Website</a><br /></td>\n\n</tr> \n\n<tr style='display:{expression/expr8}; text-align: left; vertical-align:top; width: 100%'> \n\n<td style='padding-left: 3px; padding-top: 3px; align: left; padding-bottom: 3px'>\n<img src='{repimageurl3}' width='100' /></td>\n\n<td style='padding-top: 5px; padding-bottom: 5px; align:right; vertical-align:top'><b>{repname3} <font color='{expression/expr5}'>{expression/expr2}</font></b><br /><i>{electedoffice}</i><br />{name}<br />\n<a href='{districturl3}' target='_blank'>Website</a><br /></td>\n\n</tr>\n\n</tbody>\n</table>",
23271
+ "showAttachments": false,
23272
+ "showLastEditInfo": false,
23273
+ "expressionInfos": [
23274
+ {
23275
+ "name": "expr0",
23276
+ "title": "party1abbr",
23277
+ "expression": "if ($feature.party1 == \"Democratic\") {\n return \"(D)\" ; \n}\nif ($feature.party1 == \"Republican\") {\n return \"(R)\";\n} \nif ($feature.party1 == \"Libertarian\") {\n return \"(L)\";\n} \nif ($feature.party1 == \"Independent\") {\n return \"(I)\";\n} \nreturn null",
23278
+ "returnType": "string"
23279
+ },
23280
+ {
23281
+ "name": "expr1",
23282
+ "title": "party2abbr",
23283
+ "expression": "if ($feature.party2 == \"Democratic\") {\n return \"(D)\" ; \n}\nif ($feature.party2 == \"Republican\") {\n return \"(R)\";\n} \nif ($feature.party2 == \"Libertarian\") {\n return \"(L)\";\n} \nif ($feature.party2 == \"Independent\") {\n return \"(I)\";\n} \nreturn null",
23284
+ "returnType": "string"
23285
+ },
23286
+ {
23287
+ "name": "expr2",
23288
+ "title": "party3abbr",
23289
+ "expression": "if ($feature.party3 == \"Democratic\") {\n return \"(D)\" ; \n}\nif ($feature.party3 == \"Republican\") {\n return \"(R)\";\n} \nif ($feature.party3 == \"Libertarian\") {\n return \"(L)\";\n} \nif ($feature.party3 == \"Independent\") {\n return \"(I)\";\n} \nreturn null",
23290
+ "returnType": "string"
23291
+ },
23292
+ {
23293
+ "name": "expr3",
23294
+ "title": "party1color",
23295
+ "expression": "if($feature.party1 == 'Republican') {\n return '#DE0100' ;\n}\nif($feature.party1 == 'Democratic') {\n return '#0015BC' ;\n}\nif($feature.party1 == 'Libertarian') {\n return '#000000' ;\n}\nif($feature.party1 == 'Green') {\n return '#008000' ;\n}\nif($feature.party1 == 'Independent') {\n return '#000000' ;\n}\nreturn null",
23296
+ "returnType": "string"
23297
+ },
23298
+ {
23299
+ "name": "expr4",
23300
+ "title": "party2color",
23301
+ "expression": "if($feature.party2 == 'Republican') {\n return '#DE0100' ;\n}\nif($feature.party2 == 'Democratic') {\n return '#0015BC' ;\n}\nif($feature.party2 == 'Libertarian') {\n return '#000000' ;\n}\nif($feature.party2 == 'Green') {\n return '#008000' ;\n}\nif($feature.party2 == 'Independent') {\n return '#000000' ;\n}\nreturn null",
23302
+ "returnType": "string"
23303
+ },
23304
+ {
23305
+ "name": "expr5",
23306
+ "title": "party3color",
23307
+ "expression": "if($feature.party3 == 'Republican') {\n return '#DE0100' ;\n}\nif($feature.party3 == 'Democratic') {\n return '#0015BC' ;\n}\nif($feature.party3 == 'Libertarian') {\n return '#000000' ;\n}\nif($feature.party3 == 'Green') {\n return '#008000' ;\n}\nif($feature.party3 == 'Independent') {\n return '#000000' ;\n}\nreturn null",
23308
+ "returnType": "string"
23309
+ },
23310
+ {
23311
+ "name": "expr6",
23312
+ "title": "repname1null",
23313
+ "expression": "if ($feature.repname1 == null){\n return \"none\";\n}\nif ($feature.repname1 == \"\"){\n return \"none\";\n}\nreturn null",
23314
+ "returnType": "string"
23315
+ },
23316
+ {
23317
+ "name": "expr7",
23318
+ "title": "repname2null",
23319
+ "expression": "if ($feature.repname2 == null){\n return \"none\";\n}\nif ($feature.repname2 == \"\"){\n return \"none\";\n}\nreturn null",
23320
+ "returnType": "string"
23321
+ },
23322
+ {
23323
+ "name": "expr8",
23324
+ "title": "repname3null",
23325
+ "expression": "if ($feature.repname3 == null){\n return \"none\";\n}\nif ($feature.repname3 == \"\"){\n return \"none\";\n}\nreturn null",
23326
+ "returnType": "string"
23327
+ }
23328
+ ],
23329
+ "mediaInfos": []
23330
+ },
23331
+ "layerDefinition": {
23332
+ "defaultVisibility": true
23333
+ }
23334
+ }
23335
+ ]
23336
+ },
23337
+ "resources": [
23338
+ "d05b3cf1ffcb4a4fa677627dfb18609e_info_thumbnail/thumbnail1552920388014.png"
23339
+ ],
23340
+ "dependencies": [],
23341
+ "groups": [],
23342
+ "properties": {
23343
+ "service": {
23344
+ "currentVersion": 10.7,
23345
+ "serviceItemId": "{{27d6eee83f2f4f6aae4a1d028536bd66.itemId}}",
23346
+ "sourceSchemaChangesAllowed": true,
23347
+ "hasViews": true,
23348
+ "serviceDescription": "A feature layer used to store geographical areas an elected official serves, precincts and related polling places, and voting centers.",
23349
+ "hasVersionedData": false,
23350
+ "supportsDisconnectedEditing": false,
23351
+ "hasStaticData": false,
23352
+ "hasSharedDomains": false,
23353
+ "maxRecordCount": 2000,
23354
+ "supportedQueryFormats": "JSON",
23355
+ "supportsVCSProjection": false,
23356
+ "capabilities": "Create,Delete,Query,Update,Editing",
23357
+ "description": "A feature layer used to store geographical areas an elected official serves, precincts and related polling places, and voting centers.",
23358
+ "copyrightText": "Esri",
23359
+ "spatialReference": {
23360
+ "wkid": 102100,
23361
+ "latestWkid": 3857
23362
+ },
23363
+ "initialExtent": "{{27d6eee83f2f4f6aae4a1d028536bd66.solutionExtent}}",
23364
+ "fullExtent": "{{27d6eee83f2f4f6aae4a1d028536bd66.solutionExtent}}",
23365
+ "allowGeometryUpdates": true,
23366
+ "units": "esriMeters",
23367
+ "supportsAppend": true,
23368
+ "supportsSharedDomains": true,
23369
+ "size": 2351104,
23370
+ "syncEnabled": false,
23371
+ "supportsApplyEditsWithGlobalIds": true,
23372
+ "supportsReturnDeleteResults": true,
23373
+ "editorTrackingInfo": {
23374
+ "enableEditorTracking": true,
23375
+ "enableOwnershipAccessControl": false,
23376
+ "allowOthersToQuery": true,
23377
+ "allowOthersToUpdate": true,
23378
+ "allowOthersToDelete": true,
23379
+ "allowAnonymousToQuery": true,
23380
+ "allowAnonymousToUpdate": true,
23381
+ "allowAnonymousToDelete": true
23382
+ },
23383
+ "xssPreventionInfo": {
23384
+ "xssPreventionEnabled": true,
23385
+ "xssPreventionRule": "InputOnly",
23386
+ "xssInputRule": "rejectInvalid"
23387
+ },
23388
+ "layers": [
23389
+ {
23390
+ "id": 0,
23391
+ "name": "Voting Locations",
23392
+ "parentLayerId": -1,
23393
+ "defaultVisibility": true,
23394
+ "subLayerIds": null,
23395
+ "minScale": 0,
23396
+ "maxScale": 0,
23397
+ "geometryType": "esriGeometryPoint"
23398
+ },
23399
+ {
23400
+ "id": 1,
23401
+ "name": "Voting Precincts",
23402
+ "parentLayerId": -1,
23403
+ "defaultVisibility": true,
23404
+ "subLayerIds": null,
23405
+ "minScale": 0,
23406
+ "maxScale": 4513,
23407
+ "geometryType": "esriGeometryPolygon"
23408
+ },
23409
+ {
23410
+ "id": 2,
23411
+ "name": "Electoral Districts",
23412
+ "parentLayerId": -1,
23413
+ "defaultVisibility": true,
23414
+ "subLayerIds": null,
23415
+ "minScale": 0,
23416
+ "maxScale": 0,
23417
+ "geometryType": "esriGeometryPolygon"
23418
+ }
23419
+ ],
23420
+ "tables": [
23421
+ {
23422
+ "id": 3,
23423
+ "name": "Election Day Metrics",
23424
+ "parentLayerId": -1,
23425
+ "defaultVisibility": true,
23426
+ "subLayerIds": null,
23427
+ "minScale": 0,
23428
+ "maxScale": 0
23429
+ }
23430
+ ]
23431
+ },
23432
+ "layers": [
23433
+ {
23434
+ "adminLayerInfo": {
23435
+ "geometryField": {
23436
+ "name": "Shape"
23437
+ }
23438
+ },
23439
+ "id": 0,
23440
+ "name": "{{27d6eee83f2f4f6aae4a1d028536bd66.layer0.name||Voting Locations}}",
23441
+ "type": "Feature Layer",
23442
+ "serviceItemId": "{{27d6eee83f2f4f6aae4a1d028536bd66.itemId}}",
23443
+ "sourceSchemaChangesAllowed": true,
23444
+ "hasViews": true,
23445
+ "displayField": "name",
23446
+ "description": "",
23447
+ "copyrightText": "Esri",
23448
+ "defaultVisibility": true,
23449
+ "editFieldsInfo": {
23450
+ "creationDateField": "CreationDate",
23451
+ "creatorField": "Creator",
23452
+ "editDateField": "EditDate",
23453
+ "editorField": "Editor"
23454
+ },
23455
+ "editingInfo": {
23456
+ "lastEditDate": 1565180985631
23457
+ },
23458
+ "relationships": [
23459
+ {
23460
+ "id": 0,
23461
+ "name": "VotingPrecincts",
23462
+ "relatedTableId": 1,
23463
+ "cardinality": "esriRelCardinalityOneToOne",
23464
+ "role": "esriRelRoleOrigin",
23465
+ "keyField": "facilityid",
23466
+ "composite": false
23467
+ }
23468
+ ],
23469
+ "isDataVersioned": false,
23470
+ "supportsAppend": true,
23471
+ "supportsCalculate": true,
23472
+ "supportsASyncCalculate": true,
23473
+ "supportsTruncate": false,
23474
+ "supportsAttachmentsByUploadId": true,
23475
+ "supportsAttachmentsResizing": true,
23476
+ "supportsRollbackOnFailureParameter": true,
23477
+ "supportsStatistics": true,
23478
+ "supportsExceedsLimitStatistics": true,
23479
+ "supportsAdvancedQueries": true,
23480
+ "supportsValidateSql": true,
23481
+ "supportsCoordinatesQuantization": true,
23482
+ "supportsFieldDescriptionProperty": true,
23483
+ "supportsQuantizationEditMode": true,
23484
+ "supportsApplyEditsWithGlobalIds": true,
23485
+ "supportsReturningQueryGeometry": true,
23486
+ "advancedQueryCapabilities": {
23487
+ "supportsPagination": true,
23488
+ "supportsPaginationOnAggregatedQueries": true,
23489
+ "supportsQueryRelatedPagination": true,
23490
+ "supportsQueryWithDistance": true,
23491
+ "supportsReturningQueryExtent": true,
23492
+ "supportsStatistics": true,
23493
+ "supportsOrderBy": true,
23494
+ "supportsDistinct": true,
23495
+ "supportsQueryWithResultType": true,
23496
+ "supportsSqlExpression": true,
23497
+ "supportsAdvancedQueryRelated": true,
23498
+ "supportsCountDistinct": true,
23499
+ "supportsPercentileStatistics": true,
23500
+ "supportsLod": true,
23501
+ "supportsQueryWithLodSR": false,
23502
+ "supportedLodTypes": [
23503
+ "geohash"
23504
+ ],
23505
+ "supportsReturningGeometryCentroid": false,
23506
+ "supportsQueryWithDatumTransformation": true,
23507
+ "supportsHavingClause": true,
23508
+ "supportsOutFieldSQLExpression": true,
23509
+ "supportsMaxRecordCountFactor": true,
23510
+ "supportsTopFeaturesQuery": true,
23511
+ "supportsDisjointSpatialRel": true,
23512
+ "supportsQueryWithCacheHint": true
23513
+ },
23514
+ "useStandardizedQueries": true,
23515
+ "geometryType": "esriGeometryPoint",
23516
+ "minScale": 0,
23517
+ "maxScale": 0,
23518
+ "extent": "{{27d6eee83f2f4f6aae4a1d028536bd66.solutionExtent}}",
23519
+ "drawingInfo": {
23520
+ "renderer": {
23521
+ "type": "simple",
23522
+ "symbol": {
23523
+ "angle": 0,
23524
+ "xoffset": 0,
23525
+ "yoffset": 0,
23526
+ "type": "esriPMS",
23527
+ "url": "162b4c3a-562c-43af-9000-8e43361caacb",
23528
+ "imageData": "iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAAA7EAAAOxAGVKw4bAAADO0lEQVRIie2WwWvbVhzHP1iWHcuN7S4qs1VMYZcMCoahHQphsMOgBOww0kNz66HgHLqTLx0JbRPSbPSwntKD8xf4FMYUusFOWynLYSJgdsmlDQ11ErBLPSfSFDtSD7IaK7Edtyljh31BIL33e7/Pe0+/3/u9IP+ygv8DOySWCqjxKBkcFKuJaEMlGmLt6gL6BwMu3eSSIpMNBsjLw2REAcQgBAVoHULdAG2G6vAQK1/e5Rug+d7Ax7PkWjb3UwkyyuUccUXtarf3XJN3NvW8NsPkgcW1az/w+zsDf/yW69EhSskExCU4p6hEP7vns2lWdWxzm4hRIflaJxZBfrbLb08Wmf5iluWBgY9nyUWHKH3yMYhC9wmZG8tYL1aJfJpHkBQApDCMXoSNlxRLBcpTD1k7Fbh0k0stm/vJRH+YubFM4iuNgJSiVT2KGVFwoeYmGnDhVKAik00lyMQl9zuczmGbFawtjb31OWJjRfbW54mNFQlIqbfjPLtmVUcUIBlHXrnNrckHPOoHFIMB8iPDHQ2yChwFy99Pp4mNFQmns/6BskoofY9XP30OQPI87NSZgz7AUgFVHiYjhY/aQuksB1urAHw08Sevf50gMpo/vjEdk2u/CxCLIJcKXOn8lz5gPOrmmaeApGCb2+1orLx1ur8+7wN5/aF01h1juLZSCC6OkIEeQBwUsaNFHFEJRFIntrX7ylRscxtxRMVqA8UgVBsonbY+oNVEDAp+R94zqKwX2pFzwfXZE2hDpXU4sO+u8nIS3KNPClPpCYyGWKsbkEycDeqpboDj+JPfB7y6gP7LHarNQ+ReST+oDAvqBuWJ7/2V5ETiOzYrtQb5s66y1gAxMMDRNr7ItDbDZCyCfO49YYYF1Qb6+CKFU4EA+/+Qe7bLH9JzrVt3X9UrOls1cBzmgf2BgFMPWfv5DtN/lfXiaE3veYgfl2HBVg02d5m6sUTX2fash+MLLJcKlM1NtGQcOXm+d/UwLPefVRvojsN8L1hfILgrBS6s3ObWTp25WARZCp28YtQNyrbN6tcP+I4u2zgw0FO7xDwqFbgSj5IxDxADoHiXqOOhf2agp/aKT4T6u+g/fS/9IHoDZk0h/yEYCEUAAAAASUVORK5CYII=",
23529
+ "contentType": "image/png",
23530
+ "width": 21,
23531
+ "height": 21
23532
+ }
23533
+ },
23534
+ "transparency": 0
23535
+ },
23536
+ "allowGeometryUpdates": true,
23537
+ "hasAttachments": false,
23538
+ "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
23539
+ "hasM": false,
23540
+ "hasZ": false,
23541
+ "objectIdField": "OBJECTID",
23542
+ "uniqueIdField": {
23543
+ "name": "OBJECTID",
23544
+ "isSystemMaintained": true
23545
+ },
23546
+ "globalIdField": "GlobalID",
23547
+ "typeIdField": "",
23548
+ "fields": [
23549
+ {
23550
+ "name": "OBJECTID",
23551
+ "type": "esriFieldTypeOID",
23552
+ "alias": "OBJECTID",
23553
+ "sqlType": "sqlTypeOther",
23554
+ "nullable": false,
23555
+ "editable": false,
23556
+ "visible": true,
23557
+ "domain": null,
23558
+ "defaultValue": null
23559
+ },
23560
+ {
23561
+ "name": "facilityid",
23562
+ "type": "esriFieldTypeString",
23563
+ "alias": "Facility ID",
23564
+ "sqlType": "sqlTypeOther",
23565
+ "length": 10,
23566
+ "nullable": true,
23567
+ "editable": true,
23568
+ "visible": true,
23569
+ "domain": null,
23570
+ "defaultValue": null
23571
+ },
23572
+ {
23573
+ "name": "type",
23574
+ "type": "esriFieldTypeString",
23575
+ "alias": "Voting Facility Type",
23576
+ "sqlType": "sqlTypeOther",
23577
+ "length": 255,
23578
+ "nullable": true,
23579
+ "editable": true,
23580
+ "visible": true,
23581
+ "domain": {
23582
+ "type": "codedValue",
23583
+ "name": "type_Domain",
23584
+ "codedValues": [
23585
+ {
23586
+ "name": "Polling Place",
23587
+ "code": "Polling Place"
23588
+ },
23589
+ {
23590
+ "name": "Voting Center",
23591
+ "code": "Voting Center"
23592
+ }
23593
+ ]
23594
+ },
23595
+ "defaultValue": null
23596
+ },
23597
+ {
23598
+ "name": "name",
23599
+ "type": "esriFieldTypeString",
23600
+ "alias": "Name",
23601
+ "sqlType": "sqlTypeOther",
23602
+ "length": 255,
23603
+ "nullable": true,
23604
+ "editable": true,
23605
+ "visible": true,
23606
+ "domain": null,
23607
+ "defaultValue": null
23608
+ },
23609
+ {
23610
+ "name": "fulladdr",
23611
+ "type": "esriFieldTypeString",
23612
+ "alias": "Address",
23613
+ "sqlType": "sqlTypeOther",
23614
+ "length": 255,
23615
+ "nullable": true,
23616
+ "editable": true,
23617
+ "visible": true,
23618
+ "domain": null,
23619
+ "defaultValue": null
23620
+ },
23621
+ {
23622
+ "name": "municipality",
23623
+ "type": "esriFieldTypeString",
23624
+ "alias": "Municipality",
23625
+ "sqlType": "sqlTypeOther",
23626
+ "length": 255,
23627
+ "nullable": true,
23628
+ "editable": true,
23629
+ "visible": true,
23630
+ "domain": null,
23631
+ "defaultValue": null
23632
+ },
23633
+ {
23634
+ "name": "pstlstate",
23635
+ "type": "esriFieldTypeString",
23636
+ "alias": "State",
23637
+ "sqlType": "sqlTypeOther",
23638
+ "length": 2,
23639
+ "nullable": true,
23640
+ "editable": true,
23641
+ "visible": true,
23642
+ "domain": null,
23643
+ "defaultValue": null
23644
+ },
23645
+ {
23646
+ "name": "pstlzip5",
23647
+ "type": "esriFieldTypeString",
23648
+ "alias": "Zip Code",
23649
+ "sqlType": "sqlTypeOther",
23650
+ "length": 5,
23651
+ "nullable": true,
23652
+ "editable": true,
23653
+ "visible": true,
23654
+ "domain": null,
23655
+ "defaultValue": null
23656
+ },
23657
+ {
23658
+ "name": "phone",
23659
+ "type": "esriFieldTypeString",
23660
+ "alias": "Phone",
23661
+ "sqlType": "sqlTypeOther",
23662
+ "length": 12,
23663
+ "nullable": true,
23664
+ "editable": true,
23665
+ "visible": true,
23666
+ "domain": null,
23667
+ "defaultValue": null
23668
+ },
23669
+ {
23670
+ "name": "agencyurl",
23671
+ "type": "esriFieldTypeString",
23672
+ "alias": "Website",
23673
+ "sqlType": "sqlTypeOther",
23674
+ "length": 150,
23675
+ "nullable": true,
23676
+ "editable": true,
23677
+ "visible": true,
23678
+ "domain": null,
23679
+ "defaultValue": null
23680
+ },
23681
+ {
23682
+ "name": "operdays",
23683
+ "type": "esriFieldTypeString",
23684
+ "alias": "Operational Days",
23685
+ "sqlType": "sqlTypeOther",
23686
+ "length": 255,
23687
+ "nullable": true,
23688
+ "editable": true,
23689
+ "visible": true,
23690
+ "domain": null,
23691
+ "defaultValue": null
23692
+ },
23693
+ {
23694
+ "name": "handicap",
23695
+ "type": "esriFieldTypeString",
23696
+ "alias": "Handicap Accessible",
23697
+ "sqlType": "sqlTypeOther",
23698
+ "length": 5,
23699
+ "nullable": true,
23700
+ "editable": true,
23701
+ "visible": true,
23702
+ "domain": {
23703
+ "type": "codedValue",
23704
+ "name": "handicap_Domain",
23705
+ "codedValues": [
23706
+ {
23707
+ "name": "Yes",
23708
+ "code": "Yes"
23709
+ },
23710
+ {
23711
+ "name": "No",
23712
+ "code": "No"
23713
+ }
23714
+ ]
23715
+ },
23716
+ "defaultValue": null
23717
+ },
23718
+ {
23719
+ "name": "pocname",
23720
+ "type": "esriFieldTypeString",
23721
+ "alias": "Contact Name",
23722
+ "sqlType": "sqlTypeOther",
23723
+ "length": 150,
23724
+ "nullable": true,
23725
+ "editable": true,
23726
+ "visible": true,
23727
+ "domain": null,
23728
+ "defaultValue": null
23729
+ },
23730
+ {
23731
+ "name": "pocphone",
23732
+ "type": "esriFieldTypeString",
23733
+ "alias": "Contact Phone",
23734
+ "sqlType": "sqlTypeOther",
23735
+ "length": 12,
23736
+ "nullable": true,
23737
+ "editable": true,
23738
+ "visible": true,
23739
+ "domain": null,
23740
+ "defaultValue": null
23741
+ },
23742
+ {
23743
+ "name": "pocemail",
23744
+ "type": "esriFieldTypeString",
23745
+ "alias": "Contact Email",
23746
+ "sqlType": "sqlTypeOther",
23747
+ "length": 100,
23748
+ "nullable": true,
23749
+ "editable": true,
23750
+ "visible": true,
23751
+ "domain": null,
23752
+ "defaultValue": null
23753
+ },
23754
+ {
23755
+ "name": "earlyvoting",
23756
+ "type": "esriFieldTypeString",
23757
+ "alias": "Early Voting Available",
23758
+ "sqlType": "sqlTypeOther",
23759
+ "length": 5,
23760
+ "nullable": true,
23761
+ "editable": true,
23762
+ "visible": true,
23763
+ "domain": {
23764
+ "type": "codedValue",
23765
+ "name": "earlyvoting_Domain",
23766
+ "codedValues": [
23767
+ {
23768
+ "name": "Yes",
23769
+ "code": "Yes"
23770
+ },
23771
+ {
23772
+ "name": "No",
23773
+ "code": "No"
23774
+ }
23775
+ ]
23776
+ },
23777
+ "defaultValue": null
23778
+ },
23779
+ {
23780
+ "name": "earlyvotingdate",
23781
+ "type": "esriFieldTypeDate",
23782
+ "alias": "Early Voting Date",
23783
+ "sqlType": "sqlTypeOther",
23784
+ "length": 8,
23785
+ "nullable": true,
23786
+ "editable": true,
23787
+ "visible": true,
23788
+ "domain": null,
23789
+ "defaultValue": null
23790
+ },
23791
+ {
23792
+ "name": "nextelect",
23793
+ "type": "esriFieldTypeDate",
23794
+ "alias": "Next Election Date",
23795
+ "sqlType": "sqlTypeOther",
23796
+ "length": 8,
23797
+ "nullable": true,
23798
+ "editable": true,
23799
+ "visible": true,
23800
+ "domain": null,
23801
+ "defaultValue": null
23802
+ },
23803
+ {
23804
+ "name": "regdate",
23805
+ "type": "esriFieldTypeDate",
23806
+ "alias": "Voter Registration Deadline",
23807
+ "sqlType": "sqlTypeOther",
23808
+ "length": 8,
23809
+ "nullable": true,
23810
+ "editable": true,
23811
+ "visible": true,
23812
+ "domain": null,
23813
+ "defaultValue": null
23814
+ },
23815
+ {
23816
+ "name": "voteservices",
23817
+ "type": "esriFieldTypeString",
23818
+ "alias": "Election Services",
23819
+ "sqlType": "sqlTypeOther",
23820
+ "length": 5,
23821
+ "nullable": true,
23822
+ "editable": true,
23823
+ "visible": true,
23824
+ "domain": {
23825
+ "type": "codedValue",
23826
+ "name": "voteservices_Domain",
23827
+ "codedValues": [
23828
+ {
23829
+ "name": "Yes",
23830
+ "code": "Yes"
23831
+ },
23832
+ {
23833
+ "name": "No",
23834
+ "code": "No"
23835
+ }
23836
+ ]
23837
+ },
23838
+ "defaultValue": null
23839
+ },
23840
+ {
23841
+ "name": "dropbox",
23842
+ "type": "esriFieldTypeString",
23843
+ "alias": "Dropbox",
23844
+ "sqlType": "sqlTypeOther",
23845
+ "length": 5,
23846
+ "nullable": true,
23847
+ "editable": true,
23848
+ "visible": true,
23849
+ "domain": {
23850
+ "type": "codedValue",
23851
+ "name": "dropbox_Domain",
23852
+ "codedValues": [
23853
+ {
23854
+ "name": "Yes",
23855
+ "code": "Yes"
23856
+ },
23857
+ {
23858
+ "name": "No",
23859
+ "code": "No"
23860
+ }
23861
+ ]
23862
+ },
23863
+ "defaultValue": null
23864
+ },
23865
+ {
23866
+ "name": "boxlocation",
23867
+ "type": "esriFieldTypeString",
23868
+ "alias": "Box Location",
23869
+ "sqlType": "sqlTypeOther",
23870
+ "length": 255,
23871
+ "nullable": true,
23872
+ "editable": true,
23873
+ "visible": true,
23874
+ "domain": null,
23875
+ "defaultValue": null
23876
+ },
23877
+ {
23878
+ "name": "comments",
23879
+ "type": "esriFieldTypeString",
23880
+ "alias": "Comments",
23881
+ "sqlType": "sqlTypeOther",
23882
+ "length": 500,
23883
+ "nullable": true,
23884
+ "editable": true,
23885
+ "visible": true,
23886
+ "domain": null,
23887
+ "defaultValue": null
23888
+ },
23889
+ {
23890
+ "name": "GlobalID",
23891
+ "type": "esriFieldTypeGlobalID",
23892
+ "alias": "GlobalID",
23893
+ "sqlType": "sqlTypeOther",
23894
+ "length": 38,
23895
+ "nullable": false,
23896
+ "editable": false,
23897
+ "visible": true,
23898
+ "domain": null,
23899
+ "defaultValue": "NEWID() WITH VALUES"
23900
+ },
23901
+ {
23902
+ "name": "CreationDate",
23903
+ "type": "esriFieldTypeDate",
23904
+ "alias": "CreationDate",
23905
+ "sqlType": "sqlTypeOther",
23906
+ "length": 8,
23907
+ "nullable": true,
23908
+ "editable": false,
23909
+ "visible": true,
23910
+ "domain": null,
23911
+ "defaultValue": null
23912
+ },
23913
+ {
23914
+ "name": "Creator",
23915
+ "type": "esriFieldTypeString",
23916
+ "alias": "Creator",
23917
+ "sqlType": "sqlTypeOther",
23918
+ "length": 128,
23919
+ "nullable": true,
23920
+ "editable": false,
23921
+ "visible": true,
23922
+ "domain": null,
23923
+ "defaultValue": null
23924
+ },
23925
+ {
23926
+ "name": "EditDate",
23927
+ "type": "esriFieldTypeDate",
23928
+ "alias": "EditDate",
23929
+ "sqlType": "sqlTypeOther",
23930
+ "length": 8,
23931
+ "nullable": true,
23932
+ "editable": false,
23933
+ "visible": true,
23934
+ "domain": null,
23935
+ "defaultValue": null
23936
+ },
23937
+ {
23938
+ "name": "Editor",
23939
+ "type": "esriFieldTypeString",
23940
+ "alias": "Editor",
23941
+ "sqlType": "sqlTypeOther",
23942
+ "length": 128,
23943
+ "nullable": true,
23944
+ "editable": false,
23945
+ "visible": true,
23946
+ "domain": null,
23947
+ "defaultValue": null
23948
+ }
23949
+ ],
23950
+ "indexes": [
23951
+ {
23952
+ "name": "G3facilityid",
23953
+ "fields": "facilityid",
23954
+ "isAscending": true,
23955
+ "isUnique": false,
23956
+ "description": ""
23957
+ },
23958
+ {
23959
+ "name": "GlobalID_Index",
23960
+ "fields": "GlobalID",
23961
+ "isAscending": false,
23962
+ "isUnique": true,
23963
+ "description": ""
23964
+ },
23965
+ {
23966
+ "name": "CreationDateIndex",
23967
+ "fields": "CreationDate",
23968
+ "isAscending": true,
23969
+ "isUnique": false,
23970
+ "description": "CreationDate Field index"
23971
+ },
23972
+ {
23973
+ "name": "CreatorIndex",
23974
+ "fields": "Creator",
23975
+ "isAscending": false,
23976
+ "isUnique": false,
23977
+ "description": "Creator Field index"
23978
+ },
23979
+ {
23980
+ "name": "EditDateIndex",
23981
+ "fields": "EditDate",
23982
+ "isAscending": true,
23983
+ "isUnique": false,
23984
+ "description": "EditDate Field index"
23985
+ },
23986
+ {
23987
+ "name": "EditorIndex",
23988
+ "fields": "Editor",
23989
+ "isAscending": false,
23990
+ "isUnique": false,
23991
+ "description": "Editor Field index"
23992
+ },
23993
+ {
23994
+ "name": "user_15533.ElectionGeography_VOTING_LOCATIONS2_Shape_sidx",
23995
+ "fields": "Shape",
23996
+ "isAscending": false,
23997
+ "isUnique": false,
23998
+ "description": "Shape Index"
23999
+ },
24000
+ {
24001
+ "name": "PK__Election__F4B70D8554594B5B",
24002
+ "fields": "OBJECTID",
24003
+ "isAscending": true,
24004
+ "isUnique": true,
24005
+ "description": "clustered, unique, primary key"
24006
+ }
24007
+ ],
24008
+ "types": [],
24009
+ "templates": [
24010
+ {
24011
+ "name": "Voting Locations",
24012
+ "description": "",
24013
+ "drawingTool": "esriFeatureEditToolNone",
24014
+ "prototype": {
24015
+ "attributes": {
24016
+ "facilityid": null,
24017
+ "type": null,
24018
+ "name": null,
24019
+ "fulladdr": null,
24020
+ "municipality": null,
24021
+ "pstlstate": null,
24022
+ "pstlzip5": null,
24023
+ "phone": null,
24024
+ "agencyurl": null,
24025
+ "operdays": null,
24026
+ "handicap": null,
24027
+ "pocname": null,
24028
+ "pocphone": null,
24029
+ "pocemail": null,
24030
+ "earlyvoting": null,
24031
+ "earlyvotingdate": null,
24032
+ "nextelect": null,
24033
+ "regdate": null,
24034
+ "voteservices": null,
24035
+ "dropbox": null,
24036
+ "boxlocation": null,
24037
+ "comments": null
24038
+ }
24039
+ }
24040
+ }
24041
+ ],
24042
+ "supportedQueryFormats": "JSON, geoJSON, PBF",
24043
+ "hasStaticData": false,
24044
+ "maxRecordCount": 2000,
24045
+ "standardMaxRecordCount": 32000,
24046
+ "standardMaxRecordCountNoGeometry": 32000,
24047
+ "tileMaxRecordCount": 8000,
24048
+ "maxRecordCountFactor": 1,
24049
+ "capabilities": "Create,Delete,Query,Update,Editing"
24050
+ },
24051
+ {
24052
+ "adminLayerInfo": {
24053
+ "geometryField": {
24054
+ "name": "Shape"
24055
+ }
24056
+ },
24057
+ "id": 1,
24058
+ "name": "{{27d6eee83f2f4f6aae4a1d028536bd66.layer1.name||Voting Precincts}}",
24059
+ "type": "Feature Layer",
24060
+ "serviceItemId": "{{27d6eee83f2f4f6aae4a1d028536bd66.itemId}}",
24061
+ "sourceSchemaChangesAllowed": true,
24062
+ "hasViews": true,
24063
+ "displayField": "name",
24064
+ "description": "",
24065
+ "copyrightText": "Esri",
24066
+ "defaultVisibility": true,
24067
+ "editFieldsInfo": {
24068
+ "creationDateField": "CreationDate",
24069
+ "creatorField": "Creator",
24070
+ "editDateField": "EditDate",
24071
+ "editorField": "Editor"
24072
+ },
24073
+ "editingInfo": {
24074
+ "lastEditDate": 1565180985631
24075
+ },
24076
+ "relationships": [
24077
+ {
24078
+ "id": 0,
24079
+ "name": "VotingLocations",
24080
+ "relatedTableId": 0,
24081
+ "cardinality": "esriRelCardinalityOneToOne",
24082
+ "role": "esriRelRoleDestination",
24083
+ "keyField": "pollingid",
24084
+ "composite": false
24085
+ }
24086
+ ],
24087
+ "isDataVersioned": false,
24088
+ "supportsAppend": true,
24089
+ "supportsCalculate": true,
24090
+ "supportsASyncCalculate": true,
24091
+ "supportsTruncate": true,
24092
+ "supportsAttachmentsByUploadId": true,
24093
+ "supportsAttachmentsResizing": true,
24094
+ "supportsRollbackOnFailureParameter": true,
24095
+ "supportsStatistics": true,
24096
+ "supportsExceedsLimitStatistics": true,
24097
+ "supportsAdvancedQueries": true,
24098
+ "supportsValidateSql": true,
24099
+ "supportsCoordinatesQuantization": true,
24100
+ "supportsFieldDescriptionProperty": true,
24101
+ "supportsQuantizationEditMode": true,
24102
+ "supportsApplyEditsWithGlobalIds": true,
24103
+ "supportsMultiScaleGeometry": true,
24104
+ "supportsReturningQueryGeometry": true,
24105
+ "advancedQueryCapabilities": {
24106
+ "supportsPagination": true,
24107
+ "supportsPaginationOnAggregatedQueries": true,
24108
+ "supportsQueryRelatedPagination": true,
24109
+ "supportsQueryWithDistance": true,
24110
+ "supportsReturningQueryExtent": true,
24111
+ "supportsStatistics": true,
24112
+ "supportsOrderBy": true,
24113
+ "supportsDistinct": true,
24114
+ "supportsQueryWithResultType": true,
24115
+ "supportsSqlExpression": true,
24116
+ "supportsAdvancedQueryRelated": true,
24117
+ "supportsCountDistinct": true,
24118
+ "supportsPercentileStatistics": true,
24119
+ "supportsLod": true,
24120
+ "supportsQueryWithLodSR": false,
24121
+ "supportedLodTypes": [
24122
+ "geohash"
24123
+ ],
24124
+ "supportsReturningGeometryCentroid": true,
24125
+ "supportsReturningGeometryProperties": true,
24126
+ "supportsQueryWithDatumTransformation": true,
24127
+ "supportsHavingClause": true,
24128
+ "supportsOutFieldSQLExpression": true,
24129
+ "supportsMaxRecordCountFactor": true,
24130
+ "supportsTopFeaturesQuery": true,
24131
+ "supportsDisjointSpatialRel": true,
24132
+ "supportsQueryWithCacheHint": true
24133
+ },
24134
+ "useStandardizedQueries": true,
24135
+ "geometryType": "esriGeometryPolygon",
24136
+ "minScale": 0,
24137
+ "maxScale": 4513,
24138
+ "extent": "{{27d6eee83f2f4f6aae4a1d028536bd66.solutionExtent}}",
24139
+ "drawingInfo": {
24140
+ "renderer": {
24141
+ "type": "simple",
24142
+ "symbol": {
24143
+ "type": "esriSFS",
24144
+ "style": "esriSFSSolid",
24145
+ "color": [
24146
+ 203,
24147
+ 193,
24148
+ 242,
24149
+ 0
24150
+ ],
24151
+ "outline": {
24152
+ "type": "esriSLS",
24153
+ "style": "esriSLSSolid",
24154
+ "color": [
24155
+ 230,
24156
+ 152,
24157
+ 0,
24158
+ 255
24159
+ ],
24160
+ "width": 0.7
24161
+ }
24162
+ }
24163
+ },
24164
+ "scaleSymbols": true,
24165
+ "transparency": 0,
24166
+ "labelingInfo": null
24167
+ },
24168
+ "allowGeometryUpdates": true,
24169
+ "hasAttachments": false,
24170
+ "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
24171
+ "hasM": false,
24172
+ "hasZ": false,
24173
+ "objectIdField": "OBJECTID",
24174
+ "uniqueIdField": {
24175
+ "name": "OBJECTID",
24176
+ "isSystemMaintained": true
24177
+ },
24178
+ "globalIdField": "GlobalID",
24179
+ "typeIdField": "",
24180
+ "fields": [
24181
+ {
24182
+ "name": "OBJECTID",
24183
+ "type": "esriFieldTypeOID",
24184
+ "alias": "OBJECTID",
24185
+ "sqlType": "sqlTypeOther",
24186
+ "nullable": false,
24187
+ "editable": false,
24188
+ "visible": true,
24189
+ "domain": null,
24190
+ "defaultValue": null
24191
+ },
24192
+ {
24193
+ "name": "precinctid",
24194
+ "type": "esriFieldTypeString",
24195
+ "alias": "Precinct ID",
24196
+ "sqlType": "sqlTypeOther",
24197
+ "length": 10,
24198
+ "nullable": true,
24199
+ "editable": true,
24200
+ "visible": true,
24201
+ "domain": null,
24202
+ "defaultValue": null
24203
+ },
24204
+ {
24205
+ "name": "name",
24206
+ "type": "esriFieldTypeString",
24207
+ "alias": "Precinct Name",
24208
+ "sqlType": "sqlTypeOther",
24209
+ "length": 255,
24210
+ "nullable": true,
24211
+ "editable": true,
24212
+ "visible": true,
24213
+ "domain": null,
24214
+ "defaultValue": null
24215
+ },
24216
+ {
24217
+ "name": "county",
24218
+ "type": "esriFieldTypeString",
24219
+ "alias": "County",
24220
+ "sqlType": "sqlTypeOther",
24221
+ "length": 50,
24222
+ "nullable": true,
24223
+ "editable": true,
24224
+ "visible": true,
24225
+ "domain": null,
24226
+ "defaultValue": null
24227
+ },
24228
+ {
24229
+ "name": "pollingid",
24230
+ "type": "esriFieldTypeString",
24231
+ "alias": "Polling Place ID",
24232
+ "sqlType": "sqlTypeOther",
24233
+ "length": 10,
24234
+ "nullable": true,
24235
+ "editable": true,
24236
+ "visible": true,
24237
+ "domain": null,
24238
+ "defaultValue": null
24239
+ },
24240
+ {
24241
+ "name": "GlobalID",
24242
+ "type": "esriFieldTypeGlobalID",
24243
+ "alias": "GlobalID",
24244
+ "sqlType": "sqlTypeOther",
24245
+ "length": 38,
24246
+ "nullable": false,
24247
+ "editable": false,
24248
+ "visible": true,
24249
+ "domain": null,
24250
+ "defaultValue": null
24251
+ },
24252
+ {
24253
+ "name": "CreationDate",
24254
+ "type": "esriFieldTypeDate",
24255
+ "alias": "CreationDate",
24256
+ "sqlType": "sqlTypeOther",
24257
+ "length": 8,
24258
+ "nullable": true,
24259
+ "editable": false,
24260
+ "visible": true,
24261
+ "domain": null,
24262
+ "defaultValue": null
24263
+ },
24264
+ {
24265
+ "name": "Creator",
24266
+ "type": "esriFieldTypeString",
24267
+ "alias": "Creator",
24268
+ "sqlType": "sqlTypeOther",
24269
+ "length": 128,
24270
+ "nullable": true,
24271
+ "editable": false,
24272
+ "visible": true,
24273
+ "domain": null,
24274
+ "defaultValue": null
24275
+ },
24276
+ {
24277
+ "name": "EditDate",
24278
+ "type": "esriFieldTypeDate",
24279
+ "alias": "EditDate",
24280
+ "sqlType": "sqlTypeOther",
24281
+ "length": 8,
24282
+ "nullable": true,
24283
+ "editable": false,
24284
+ "visible": true,
24285
+ "domain": null,
24286
+ "defaultValue": null
24287
+ },
24288
+ {
24289
+ "name": "Editor",
24290
+ "type": "esriFieldTypeString",
24291
+ "alias": "Editor",
24292
+ "sqlType": "sqlTypeOther",
24293
+ "length": 128,
24294
+ "nullable": true,
24295
+ "editable": false,
24296
+ "visible": true,
24297
+ "domain": null,
24298
+ "defaultValue": null
24299
+ }
24300
+ ],
24301
+ "indexes": [
24302
+ {
24303
+ "name": "FDO_GlobalID",
24304
+ "fields": "GlobalID",
24305
+ "isAscending": true,
24306
+ "isUnique": true,
24307
+ "description": ""
24308
+ },
24309
+ {
24310
+ "name": "G4pollingid",
24311
+ "fields": "pollingid",
24312
+ "isAscending": true,
24313
+ "isUnique": false,
24314
+ "description": ""
24315
+ },
24316
+ {
24317
+ "name": "CreationDateIndex",
24318
+ "fields": "CreationDate",
24319
+ "isAscending": true,
24320
+ "isUnique": false,
24321
+ "description": "CreationDate Field index"
24322
+ },
24323
+ {
24324
+ "name": "CreatorIndex",
24325
+ "fields": "Creator",
24326
+ "isAscending": false,
24327
+ "isUnique": false,
24328
+ "description": "Creator Field index"
24329
+ },
24330
+ {
24331
+ "name": "EditDateIndex",
24332
+ "fields": "EditDate",
24333
+ "isAscending": true,
24334
+ "isUnique": false,
24335
+ "description": "EditDate Field index"
24336
+ },
24337
+ {
24338
+ "name": "EditorIndex",
24339
+ "fields": "Editor",
24340
+ "isAscending": false,
24341
+ "isUnique": false,
24342
+ "description": "Editor Field index"
24343
+ },
24344
+ {
24345
+ "name": "user_15533.ElectionGeography_VOTING_PRECINCTS2_Shape_sidx",
24346
+ "fields": "Shape",
24347
+ "isAscending": false,
24348
+ "isUnique": false,
24349
+ "description": "Shape Index"
24350
+ },
24351
+ {
24352
+ "name": "PK__Election__F4B70D85C13DC83B",
24353
+ "fields": "OBJECTID",
24354
+ "isAscending": true,
24355
+ "isUnique": true,
24356
+ "description": "clustered, unique, primary key"
24357
+ }
24358
+ ],
24359
+ "types": [],
24360
+ "templates": [
24361
+ {
24362
+ "name": "Voting Precincts",
24363
+ "description": "",
24364
+ "drawingTool": "esriFeatureEditToolPolygon",
24365
+ "prototype": {
24366
+ "attributes": {
24367
+ "pollingid": null,
24368
+ "county": null,
24369
+ "precinctid": null,
24370
+ "name": null
24371
+ }
24372
+ }
24373
+ }
24374
+ ],
24375
+ "supportedQueryFormats": "JSON, geoJSON, PBF",
24376
+ "hasStaticData": false,
24377
+ "maxRecordCount": 2000,
24378
+ "standardMaxRecordCount": 4000,
24379
+ "standardMaxRecordCountNoGeometry": 32000,
24380
+ "tileMaxRecordCount": 4000,
24381
+ "maxRecordCountFactor": 1,
24382
+ "capabilities": "Create,Delete,Query,Update,Editing"
24383
+ },
24384
+ {
24385
+ "adminLayerInfo": {
24386
+ "geometryField": {
24387
+ "name": "Shape"
24388
+ }
24389
+ },
24390
+ "id": 2,
24391
+ "name": "{{27d6eee83f2f4f6aae4a1d028536bd66.layer2.name||Electoral Districts}}",
24392
+ "type": "Feature Layer",
24393
+ "serviceItemId": "{{27d6eee83f2f4f6aae4a1d028536bd66.itemId}}",
24394
+ "sourceSchemaChangesAllowed": true,
24395
+ "hasViews": true,
24396
+ "displayField": "name",
24397
+ "description": "",
24398
+ "copyrightText": "Esri",
24399
+ "defaultVisibility": true,
24400
+ "editFieldsInfo": {
24401
+ "creationDateField": "CreationDate",
24402
+ "creatorField": "Creator",
24403
+ "editDateField": "EditDate",
24404
+ "editorField": "Editor"
24405
+ },
24406
+ "editingInfo": {
24407
+ "lastEditDate": 1565180985678
24408
+ },
24409
+ "relationships": [],
24410
+ "isDataVersioned": false,
24411
+ "supportsAppend": true,
24412
+ "supportsCalculate": true,
24413
+ "supportsASyncCalculate": true,
24414
+ "supportsTruncate": true,
24415
+ "supportsAttachmentsByUploadId": true,
24416
+ "supportsAttachmentsResizing": true,
24417
+ "supportsRollbackOnFailureParameter": true,
24418
+ "supportsStatistics": true,
24419
+ "supportsExceedsLimitStatistics": true,
24420
+ "supportsAdvancedQueries": true,
24421
+ "supportsValidateSql": true,
24422
+ "supportsCoordinatesQuantization": true,
24423
+ "supportsFieldDescriptionProperty": true,
24424
+ "supportsQuantizationEditMode": true,
24425
+ "supportsApplyEditsWithGlobalIds": true,
24426
+ "supportsMultiScaleGeometry": true,
24427
+ "supportsReturningQueryGeometry": true,
24428
+ "advancedQueryCapabilities": {
24429
+ "supportsPagination": true,
24430
+ "supportsPaginationOnAggregatedQueries": true,
24431
+ "supportsQueryRelatedPagination": true,
24432
+ "supportsQueryWithDistance": true,
24433
+ "supportsReturningQueryExtent": true,
24434
+ "supportsStatistics": true,
24435
+ "supportsOrderBy": true,
24436
+ "supportsDistinct": true,
24437
+ "supportsQueryWithResultType": true,
24438
+ "supportsSqlExpression": true,
24439
+ "supportsAdvancedQueryRelated": true,
24440
+ "supportsCountDistinct": true,
24441
+ "supportsPercentileStatistics": true,
24442
+ "supportsLod": true,
24443
+ "supportsQueryWithLodSR": false,
24444
+ "supportedLodTypes": [
24445
+ "geohash"
24446
+ ],
24447
+ "supportsReturningGeometryCentroid": true,
24448
+ "supportsReturningGeometryProperties": true,
24449
+ "supportsQueryWithDatumTransformation": true,
24450
+ "supportsHavingClause": true,
24451
+ "supportsOutFieldSQLExpression": true,
24452
+ "supportsMaxRecordCountFactor": true,
24453
+ "supportsTopFeaturesQuery": true,
24454
+ "supportsDisjointSpatialRel": true,
24455
+ "supportsQueryWithCacheHint": true
24456
+ },
24457
+ "useStandardizedQueries": true,
24458
+ "geometryType": "esriGeometryPolygon",
24459
+ "minScale": 0,
24460
+ "maxScale": 0,
24461
+ "extent": "{{27d6eee83f2f4f6aae4a1d028536bd66.solutionExtent}}",
24462
+ "drawingInfo": {
24463
+ "renderer": {
24464
+ "type": "simple",
24465
+ "symbol": {
24466
+ "type": "esriSFS",
24467
+ "style": "esriSFSSolid",
24468
+ "color": [
24469
+ 220,
24470
+ 247,
24471
+ 200,
24472
+ 0
24473
+ ],
24474
+ "outline": {
24475
+ "type": "esriSLS",
24476
+ "style": "esriSLSSolid",
24477
+ "color": [
24478
+ 110,
24479
+ 110,
24480
+ 110,
24481
+ 255
24482
+ ],
24483
+ "width": 2
24484
+ }
24485
+ }
24486
+ },
24487
+ "scaleSymbols": true,
24488
+ "transparency": 0,
24489
+ "labelingInfo": null
24490
+ },
24491
+ "allowGeometryUpdates": true,
24492
+ "hasAttachments": false,
24493
+ "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
24494
+ "hasM": false,
24495
+ "hasZ": false,
24496
+ "objectIdField": "OBJECTID",
24497
+ "uniqueIdField": {
24498
+ "name": "OBJECTID",
24499
+ "isSystemMaintained": true
24500
+ },
24501
+ "globalIdField": "GlobalID",
24502
+ "typeIdField": "",
24503
+ "fields": [
24504
+ {
24505
+ "name": "OBJECTID",
24506
+ "type": "esriFieldTypeOID",
24507
+ "alias": "OBJECTID",
24508
+ "sqlType": "sqlTypeOther",
24509
+ "nullable": false,
24510
+ "editable": false,
24511
+ "visible": true,
24512
+ "domain": null,
24513
+ "defaultValue": null
24514
+ },
24515
+ {
24516
+ "name": "electedoffice",
24517
+ "type": "esriFieldTypeString",
24518
+ "alias": "Elected Office",
24519
+ "sqlType": "sqlTypeOther",
24520
+ "length": 150,
24521
+ "nullable": true,
24522
+ "editable": true,
24523
+ "visible": true,
24524
+ "domain": {
24525
+ "type": "codedValue",
24526
+ "name": "electedoffice_Domain",
24527
+ "codedValues": [
24528
+ {
24529
+ "name": "Attorney General",
24530
+ "code": "Attorney General"
24531
+ },
24532
+ {
24533
+ "name": "Comptroller",
24534
+ "code": "Comptroller"
24535
+ },
24536
+ {
24537
+ "name": "County Auditor",
24538
+ "code": "County Auditor"
24539
+ },
24540
+ {
24541
+ "name": "County Clerk",
24542
+ "code": "County Clerk"
24543
+ },
24544
+ {
24545
+ "name": "County Commissioner",
24546
+ "code": "County Commissioner"
24547
+ },
24548
+ {
24549
+ "name": "County Coroner",
24550
+ "code": "County Coroner"
24551
+ },
24552
+ {
24553
+ "name": "County Executive",
24554
+ "code": "County Executive"
24555
+ },
24556
+ {
24557
+ "name": "County Prosecutor",
24558
+ "code": "County Prosecutor"
24559
+ },
24560
+ {
24561
+ "name": "County Recorder",
24562
+ "code": "County Recorder"
24563
+ },
24564
+ {
24565
+ "name": "County Sheriff",
24566
+ "code": "County Sheriff"
24567
+ },
24568
+ {
24569
+ "name": "County Treasurer",
24570
+ "code": "County Treasurer"
24571
+ },
24572
+ {
24573
+ "name": "Governor",
24574
+ "code": "Governor"
24575
+ },
24576
+ {
24577
+ "name": "Lieutenant Governor",
24578
+ "code": "Lieutenant Governor"
24579
+ },
24580
+ {
24581
+ "name": "Local Auditor",
24582
+ "code": "Local Auditor"
24583
+ },
24584
+ {
24585
+ "name": "Local Clerk",
24586
+ "code": "Local Clerk"
24587
+ },
24588
+ {
24589
+ "name": "Local Elected Representative",
24590
+ "code": "Local Elected Representative"
24591
+ },
24592
+ {
24593
+ "name": "Local Manager",
24594
+ "code": "Local Manager"
24595
+ },
24596
+ {
24597
+ "name": "Local Treasurer",
24598
+ "code": "Local Treasurer"
24599
+ },
24600
+ {
24601
+ "name": "Mayor",
24602
+ "code": "Mayor"
24603
+ },
24604
+ {
24605
+ "name": "President of the United States",
24606
+ "code": "President of the United States"
24607
+ },
24608
+ {
24609
+ "name": "Secretary of State",
24610
+ "code": "Secretary of State"
24611
+ },
24612
+ {
24613
+ "name": "State Attorney General",
24614
+ "code": "State Attorney General"
24615
+ },
24616
+ {
24617
+ "name": "State Auditor",
24618
+ "code": "State Auditor"
24619
+ },
24620
+ {
24621
+ "name": "State House Representative",
24622
+ "code": "State House Representative"
24623
+ },
24624
+ {
24625
+ "name": "State Senate",
24626
+ "code": "State Senate"
24627
+ },
24628
+ {
24629
+ "name": "State Treasurer",
24630
+ "code": "State Treasurer"
24631
+ },
24632
+ {
24633
+ "name": "United States House of Representatives",
24634
+ "code": "United States House of Representatives"
24635
+ },
24636
+ {
24637
+ "name": "United States Senate",
24638
+ "code": "United States Senate"
24639
+ },
24640
+ {
24641
+ "name": "Vice-President of the United States",
24642
+ "code": "Vice-President of the United States"
24643
+ }
24644
+ ]
24645
+ },
24646
+ "defaultValue": null
24647
+ },
24648
+ {
24649
+ "name": "name",
24650
+ "type": "esriFieldTypeString",
24651
+ "alias": "District Name",
24652
+ "sqlType": "sqlTypeOther",
24653
+ "length": 255,
24654
+ "nullable": true,
24655
+ "editable": true,
24656
+ "visible": true,
24657
+ "domain": null,
24658
+ "defaultValue": null
24659
+ },
24660
+ {
24661
+ "name": "districtid",
24662
+ "type": "esriFieldTypeString",
24663
+ "alias": "District ID",
24664
+ "sqlType": "sqlTypeOther",
24665
+ "length": 10,
24666
+ "nullable": true,
24667
+ "editable": true,
24668
+ "visible": true,
24669
+ "domain": null,
24670
+ "defaultValue": null
24671
+ },
24672
+ {
24673
+ "name": "repname1",
24674
+ "type": "esriFieldTypeString",
24675
+ "alias": "Representative Name",
24676
+ "sqlType": "sqlTypeOther",
24677
+ "length": 255,
24678
+ "nullable": true,
24679
+ "editable": true,
24680
+ "visible": true,
24681
+ "domain": null,
24682
+ "defaultValue": null
24683
+ },
24684
+ {
24685
+ "name": "repimageurl1",
24686
+ "type": "esriFieldTypeString",
24687
+ "alias": "Representative Image URL",
24688
+ "sqlType": "sqlTypeOther",
24689
+ "length": 255,
24690
+ "nullable": true,
24691
+ "editable": true,
24692
+ "visible": true,
24693
+ "domain": null,
24694
+ "defaultValue": null
24695
+ },
24696
+ {
24697
+ "name": "party1",
24698
+ "type": "esriFieldTypeString",
24699
+ "alias": "Party",
24700
+ "sqlType": "sqlTypeOther",
24701
+ "length": 50,
24702
+ "nullable": true,
24703
+ "editable": true,
24704
+ "visible": true,
24705
+ "domain": {
24706
+ "type": "codedValue",
24707
+ "name": "party1_Domain",
24708
+ "codedValues": [
24709
+ {
24710
+ "name": "Republican",
24711
+ "code": "Republican"
24712
+ },
24713
+ {
24714
+ "name": "Democratic",
24715
+ "code": "Democratic"
24716
+ },
24717
+ {
24718
+ "name": "Green",
24719
+ "code": "Green"
24720
+ },
24721
+ {
24722
+ "name": "Libertarian",
24723
+ "code": "Libertarian"
24724
+ },
24725
+ {
24726
+ "name": "Independent",
24727
+ "code": "Independent"
24728
+ }
24729
+ ]
24730
+ },
24731
+ "defaultValue": null
24732
+ },
24733
+ {
24734
+ "name": "districturl1",
24735
+ "type": "esriFieldTypeString",
24736
+ "alias": "Website",
24737
+ "sqlType": "sqlTypeOther",
24738
+ "length": 255,
24739
+ "nullable": true,
24740
+ "editable": true,
24741
+ "visible": true,
24742
+ "domain": null,
24743
+ "defaultValue": null
24744
+ },
24745
+ {
24746
+ "name": "repname2",
24747
+ "type": "esriFieldTypeString",
24748
+ "alias": "Representative Name",
24749
+ "sqlType": "sqlTypeOther",
24750
+ "length": 255,
24751
+ "nullable": true,
24752
+ "editable": true,
24753
+ "visible": true,
24754
+ "domain": null,
24755
+ "defaultValue": null
24756
+ },
24757
+ {
24758
+ "name": "repimageurl2",
24759
+ "type": "esriFieldTypeString",
24760
+ "alias": "Representative Image URL",
24761
+ "sqlType": "sqlTypeOther",
24762
+ "length": 255,
24763
+ "nullable": true,
24764
+ "editable": true,
24765
+ "visible": true,
24766
+ "domain": null,
24767
+ "defaultValue": null
24768
+ },
24769
+ {
24770
+ "name": "party2",
24771
+ "type": "esriFieldTypeString",
24772
+ "alias": "Party",
24773
+ "sqlType": "sqlTypeOther",
24774
+ "length": 50,
24775
+ "nullable": true,
24776
+ "editable": true,
24777
+ "visible": true,
24778
+ "domain": {
24779
+ "type": "codedValue",
24780
+ "name": "party1_Domain",
24781
+ "codedValues": [
24782
+ {
24783
+ "name": "Republican",
24784
+ "code": "Republican"
24785
+ },
24786
+ {
24787
+ "name": "Democratic",
24788
+ "code": "Democratic"
24789
+ },
24790
+ {
24791
+ "name": "Green",
24792
+ "code": "Green"
24793
+ },
24794
+ {
24795
+ "name": "Libertarian",
24796
+ "code": "Libertarian"
24797
+ },
24798
+ {
24799
+ "name": "Independent",
24800
+ "code": "Independent"
24801
+ }
24802
+ ]
24803
+ },
24804
+ "defaultValue": null
24805
+ },
24806
+ {
24807
+ "name": "districturl2",
24808
+ "type": "esriFieldTypeString",
24809
+ "alias": "Website",
24810
+ "sqlType": "sqlTypeOther",
24811
+ "length": 255,
24812
+ "nullable": true,
24813
+ "editable": true,
24814
+ "visible": true,
24815
+ "domain": null,
24816
+ "defaultValue": null
24817
+ },
24818
+ {
24819
+ "name": "repname3",
24820
+ "type": "esriFieldTypeString",
24821
+ "alias": "Representative Name",
24822
+ "sqlType": "sqlTypeOther",
24823
+ "length": 255,
24824
+ "nullable": true,
24825
+ "editable": true,
24826
+ "visible": true,
24827
+ "domain": null,
24828
+ "defaultValue": null
24829
+ },
24830
+ {
24831
+ "name": "repimageurl3",
24832
+ "type": "esriFieldTypeString",
24833
+ "alias": "Representative Image URL",
24834
+ "sqlType": "sqlTypeOther",
24835
+ "length": 255,
24836
+ "nullable": true,
24837
+ "editable": true,
24838
+ "visible": true,
24839
+ "domain": null,
24840
+ "defaultValue": null
24841
+ },
24842
+ {
24843
+ "name": "party3",
24844
+ "type": "esriFieldTypeString",
24845
+ "alias": "Party",
24846
+ "sqlType": "sqlTypeOther",
24847
+ "length": 50,
24848
+ "nullable": true,
24849
+ "editable": true,
24850
+ "visible": true,
24851
+ "domain": {
24852
+ "type": "codedValue",
24853
+ "name": "party1_Domain",
24854
+ "codedValues": [
24855
+ {
24856
+ "name": "Republican",
24857
+ "code": "Republican"
24858
+ },
24859
+ {
24860
+ "name": "Democratic",
24861
+ "code": "Democratic"
24862
+ },
24863
+ {
24864
+ "name": "Green",
24865
+ "code": "Green"
24866
+ },
24867
+ {
24868
+ "name": "Libertarian",
24869
+ "code": "Libertarian"
24870
+ },
24871
+ {
24872
+ "name": "Independent",
24873
+ "code": "Independent"
24874
+ }
24875
+ ]
24876
+ },
24877
+ "defaultValue": null
24878
+ },
24879
+ {
24880
+ "name": "districturl3",
24881
+ "type": "esriFieldTypeString",
24882
+ "alias": "Website",
24883
+ "sqlType": "sqlTypeOther",
24884
+ "length": 255,
24885
+ "nullable": true,
24886
+ "editable": true,
24887
+ "visible": true,
24888
+ "domain": null,
24889
+ "defaultValue": null
24890
+ },
24891
+ {
24892
+ "name": "GlobalID",
24893
+ "type": "esriFieldTypeGlobalID",
24894
+ "alias": "GlobalID",
24895
+ "sqlType": "sqlTypeOther",
24896
+ "length": 38,
24897
+ "nullable": false,
24898
+ "editable": false,
24899
+ "visible": true,
24900
+ "domain": null,
24901
+ "defaultValue": null
24902
+ },
24903
+ {
24904
+ "name": "CreationDate",
24905
+ "type": "esriFieldTypeDate",
24906
+ "alias": "CreationDate",
24907
+ "sqlType": "sqlTypeOther",
24908
+ "length": 8,
24909
+ "nullable": true,
24910
+ "editable": false,
24911
+ "visible": true,
24912
+ "domain": null,
24913
+ "defaultValue": null
24914
+ },
24915
+ {
24916
+ "name": "Creator",
24917
+ "type": "esriFieldTypeString",
24918
+ "alias": "Creator",
24919
+ "sqlType": "sqlTypeOther",
24920
+ "length": 128,
24921
+ "nullable": true,
24922
+ "editable": false,
24923
+ "visible": true,
24924
+ "domain": null,
24925
+ "defaultValue": null
24926
+ },
24927
+ {
24928
+ "name": "EditDate",
24929
+ "type": "esriFieldTypeDate",
24930
+ "alias": "EditDate",
24931
+ "sqlType": "sqlTypeOther",
24932
+ "length": 8,
24933
+ "nullable": true,
24934
+ "editable": false,
24935
+ "visible": true,
24936
+ "domain": null,
24937
+ "defaultValue": null
24938
+ },
24939
+ {
24940
+ "name": "Editor",
24941
+ "type": "esriFieldTypeString",
24942
+ "alias": "Editor",
24943
+ "sqlType": "sqlTypeOther",
24944
+ "length": 128,
24945
+ "nullable": true,
24946
+ "editable": false,
24947
+ "visible": true,
24948
+ "domain": null,
24949
+ "defaultValue": null
24950
+ }
24951
+ ],
24952
+ "indexes": [
24953
+ {
24954
+ "name": "FDO_GlobalID",
24955
+ "fields": "GlobalID",
24956
+ "isAscending": true,
24957
+ "isUnique": true,
24958
+ "description": ""
24959
+ },
24960
+ {
24961
+ "name": "CreationDateIndex",
24962
+ "fields": "CreationDate",
24963
+ "isAscending": true,
24964
+ "isUnique": false,
24965
+ "description": "CreationDate Field index"
24966
+ },
24967
+ {
24968
+ "name": "CreatorIndex",
24969
+ "fields": "Creator",
24970
+ "isAscending": false,
24971
+ "isUnique": false,
24972
+ "description": "Creator Field index"
24973
+ },
24974
+ {
24975
+ "name": "EditDateIndex",
24976
+ "fields": "EditDate",
24977
+ "isAscending": true,
24978
+ "isUnique": false,
24979
+ "description": "EditDate Field index"
24980
+ },
24981
+ {
24982
+ "name": "EditorIndex",
24983
+ "fields": "Editor",
24984
+ "isAscending": false,
24985
+ "isUnique": false,
24986
+ "description": "Editor Field index"
24987
+ },
24988
+ {
24989
+ "name": "user_15533.ElectionGeography_ELECTORAL_DISTRICTS_Shape_sidx",
24990
+ "fields": "Shape",
24991
+ "isAscending": false,
24992
+ "isUnique": false,
24993
+ "description": "Shape Index"
24994
+ },
24995
+ {
24996
+ "name": "PK__Election__F4B70D854E70F145",
24997
+ "fields": "OBJECTID",
24998
+ "isAscending": true,
24999
+ "isUnique": true,
25000
+ "description": "clustered, unique, primary key"
25001
+ }
25002
+ ],
25003
+ "types": [],
25004
+ "templates": [
25005
+ {
25006
+ "name": "Electoral Districts",
25007
+ "description": "",
25008
+ "drawingTool": "esriFeatureEditToolPolygon",
25009
+ "prototype": {
25010
+ "attributes": {
25011
+ "districturl3": null,
25012
+ "party3": null,
25013
+ "electedoffice": null,
25014
+ "name": null,
25015
+ "districtid": null,
25016
+ "repname1": null,
25017
+ "repimageurl1": null,
25018
+ "party1": null,
25019
+ "districturl1": null,
25020
+ "repname2": null,
25021
+ "repimageurl2": null,
25022
+ "party2": null,
25023
+ "districturl2": null,
25024
+ "repname3": null,
25025
+ "repimageurl3": null
25026
+ }
25027
+ }
25028
+ }
25029
+ ],
25030
+ "supportedQueryFormats": "JSON, geoJSON, PBF",
25031
+ "hasStaticData": false,
25032
+ "maxRecordCount": 2000,
25033
+ "standardMaxRecordCount": 4000,
25034
+ "standardMaxRecordCountNoGeometry": 32000,
25035
+ "tileMaxRecordCount": 4000,
25036
+ "maxRecordCountFactor": 1,
25037
+ "capabilities": "Create,Delete,Query,Update,Editing"
25038
+ }
25039
+ ],
25040
+ "tables": [
25041
+ {
25042
+ "adminLayerInfo": {
25043
+ "geometryField": null
25044
+ },
25045
+ "id": 3,
25046
+ "name": "{{27d6eee83f2f4f6aae4a1d028536bd66.layer3.name||Election Day Metrics}}",
25047
+ "type": "Table",
25048
+ "serviceItemId": "{{27d6eee83f2f4f6aae4a1d028536bd66.itemId}}",
25049
+ "sourceSchemaChangesAllowed": true,
25050
+ "hasViews": true,
25051
+ "displayField": "name",
25052
+ "description": "",
25053
+ "copyrightText": "Esri",
25054
+ "defaultVisibility": true,
25055
+ "editFieldsInfo": {
25056
+ "creationDateField": "CreationDate",
25057
+ "creatorField": "Creator",
25058
+ "editDateField": "EditDate",
25059
+ "editorField": "Editor"
25060
+ },
25061
+ "editingInfo": {
25062
+ "lastEditDate": 1572443390464
25063
+ },
25064
+ "relationships": [],
25065
+ "isDataVersioned": false,
25066
+ "supportsAppend": true,
25067
+ "supportsCalculate": true,
25068
+ "supportsASyncCalculate": true,
25069
+ "supportsTruncate": true,
25070
+ "supportsAttachmentsByUploadId": true,
25071
+ "supportsAttachmentsResizing": true,
25072
+ "supportsRollbackOnFailureParameter": true,
25073
+ "supportsStatistics": true,
25074
+ "supportsExceedsLimitStatistics": true,
25075
+ "supportsAdvancedQueries": true,
25076
+ "supportsValidateSql": true,
25077
+ "supportsCoordinatesQuantization": true,
25078
+ "supportsFieldDescriptionProperty": true,
25079
+ "supportsQuantizationEditMode": true,
25080
+ "supportsApplyEditsWithGlobalIds": true,
25081
+ "advancedQueryCapabilities": {
25082
+ "supportsPagination": true,
25083
+ "supportsPaginationOnAggregatedQueries": true,
25084
+ "supportsQueryRelatedPagination": true,
25085
+ "supportsQueryWithDistance": true,
25086
+ "supportsReturningQueryExtent": true,
25087
+ "supportsStatistics": true,
25088
+ "supportsOrderBy": true,
25089
+ "supportsDistinct": true,
25090
+ "supportsQueryWithResultType": true,
25091
+ "supportsSqlExpression": true,
25092
+ "supportsAdvancedQueryRelated": true,
25093
+ "supportsCountDistinct": true,
25094
+ "supportsPercentileStatistics": true,
25095
+ "supportsLod": true,
25096
+ "supportsQueryWithLodSR": false,
25097
+ "supportedLodTypes": [
25098
+ "geohash"
25099
+ ],
25100
+ "supportsReturningGeometryCentroid": false,
25101
+ "supportsQueryWithDatumTransformation": true,
25102
+ "supportsHavingClause": true,
25103
+ "supportsOutFieldSQLExpression": true,
25104
+ "supportsMaxRecordCountFactor": true,
25105
+ "supportsTopFeaturesQuery": true,
25106
+ "supportsQueryWithCacheHint": true
25107
+ },
25108
+ "useStandardizedQueries": true,
25109
+ "allowGeometryUpdates": true,
25110
+ "hasAttachments": false,
25111
+ "htmlPopupType": "esriServerHTMLPopupTypeNone",
25112
+ "hasM": false,
25113
+ "hasZ": false,
25114
+ "objectIdField": "OBJECTID",
25115
+ "uniqueIdField": {
25116
+ "name": "OBJECTID",
25117
+ "isSystemMaintained": true
25118
+ },
25119
+ "globalIdField": "GlobalID",
25120
+ "typeIdField": "",
25121
+ "fields": [
25122
+ {
25123
+ "name": "OBJECTID",
25124
+ "type": "esriFieldTypeOID",
25125
+ "alias": "OBJECTID",
25126
+ "sqlType": "sqlTypeOther",
25127
+ "nullable": false,
25128
+ "editable": false,
25129
+ "visible": true,
25130
+ "domain": null,
25131
+ "defaultValue": null
25132
+ },
25133
+ {
25134
+ "name": "facilityid",
25135
+ "type": "esriFieldTypeString",
25136
+ "alias": "Voting Location ID",
25137
+ "sqlType": "sqlTypeOther",
25138
+ "length": 10,
25139
+ "nullable": true,
25140
+ "editable": true,
25141
+ "visible": true,
25142
+ "domain": null,
25143
+ "defaultValue": null
25144
+ },
25145
+ {
25146
+ "name": "name",
25147
+ "type": "esriFieldTypeString",
25148
+ "alias": "Voting Location Name",
25149
+ "sqlType": "sqlTypeOther",
25150
+ "length": 255,
25151
+ "nullable": true,
25152
+ "editable": true,
25153
+ "visible": true,
25154
+ "domain": null,
25155
+ "defaultValue": null
25156
+ },
25157
+ {
25158
+ "name": "waittime",
25159
+ "type": "esriFieldTypeSmallInteger",
25160
+ "alias": "Wait Time (Minutes)",
25161
+ "sqlType": "sqlTypeOther",
25162
+ "nullable": true,
25163
+ "editable": true,
25164
+ "visible": true,
25165
+ "domain": null,
25166
+ "defaultValue": null
25167
+ },
25168
+ {
25169
+ "name": "GlobalID",
25170
+ "type": "esriFieldTypeGlobalID",
25171
+ "alias": "GlobalID",
25172
+ "sqlType": "sqlTypeOther",
25173
+ "length": 38,
25174
+ "nullable": false,
25175
+ "editable": false,
25176
+ "visible": true,
25177
+ "domain": null,
25178
+ "defaultValue": "NEWID() WITH VALUES"
25179
+ },
25180
+ {
25181
+ "name": "CreationDate",
25182
+ "type": "esriFieldTypeDate",
25183
+ "alias": "CreationDate",
25184
+ "sqlType": "sqlTypeOther",
25185
+ "length": 8,
25186
+ "nullable": true,
25187
+ "editable": false,
25188
+ "visible": true,
25189
+ "domain": null,
25190
+ "defaultValue": null
25191
+ },
25192
+ {
25193
+ "name": "Creator",
25194
+ "type": "esriFieldTypeString",
25195
+ "alias": "Creator",
25196
+ "sqlType": "sqlTypeOther",
25197
+ "length": 128,
25198
+ "nullable": true,
25199
+ "editable": false,
25200
+ "visible": true,
25201
+ "domain": null,
25202
+ "defaultValue": null
25203
+ },
25204
+ {
25205
+ "name": "EditDate",
25206
+ "type": "esriFieldTypeDate",
25207
+ "alias": "EditDate",
25208
+ "sqlType": "sqlTypeOther",
25209
+ "length": 8,
25210
+ "nullable": true,
25211
+ "editable": false,
25212
+ "visible": true,
25213
+ "domain": null,
25214
+ "defaultValue": null
25215
+ },
25216
+ {
25217
+ "name": "Editor",
25218
+ "type": "esriFieldTypeString",
25219
+ "alias": "Editor",
25220
+ "sqlType": "sqlTypeOther",
25221
+ "length": 128,
25222
+ "nullable": true,
25223
+ "editable": false,
25224
+ "visible": true,
25225
+ "domain": null,
25226
+ "defaultValue": null
25227
+ }
25228
+ ],
25229
+ "indexes": [
25230
+ {
25231
+ "name": "G7facilityid",
25232
+ "fields": "facilityid",
25233
+ "isAscending": true,
25234
+ "isUnique": false,
25235
+ "description": ""
25236
+ },
25237
+ {
25238
+ "name": "GlobalID_Index",
25239
+ "fields": "GlobalID",
25240
+ "isAscending": false,
25241
+ "isUnique": true,
25242
+ "description": ""
25243
+ },
25244
+ {
25245
+ "name": "CreationDateIndex",
25246
+ "fields": "CreationDate",
25247
+ "isAscending": true,
25248
+ "isUnique": false,
25249
+ "description": "CreationDate Field index"
25250
+ },
25251
+ {
25252
+ "name": "CreatorIndex",
25253
+ "fields": "Creator",
25254
+ "isAscending": false,
25255
+ "isUnique": false,
25256
+ "description": "Creator Field index"
25257
+ },
25258
+ {
25259
+ "name": "EditDateIndex",
25260
+ "fields": "EditDate",
25261
+ "isAscending": true,
25262
+ "isUnique": false,
25263
+ "description": "EditDate Field index"
25264
+ },
25265
+ {
25266
+ "name": "EditorIndex",
25267
+ "fields": "Editor",
25268
+ "isAscending": false,
25269
+ "isUnique": false,
25270
+ "description": "Editor Field index"
25271
+ },
25272
+ {
25273
+ "name": "PK__Election__F4B70D851DC2AB26",
25274
+ "fields": "OBJECTID",
25275
+ "isAscending": true,
25276
+ "isUnique": true,
25277
+ "description": "clustered, unique, primary key"
25278
+ }
25279
+ ],
25280
+ "types": [],
25281
+ "templates": [
25282
+ {
25283
+ "name": "Election Day Metrics",
25284
+ "description": "",
25285
+ "drawingTool": "esriFeatureEditToolNone",
25286
+ "prototype": {
25287
+ "attributes": {
25288
+ "name": null,
25289
+ "waittime": null,
25290
+ "facilityid": null
25291
+ }
25292
+ }
25293
+ }
25294
+ ],
25295
+ "supportedQueryFormats": "JSON, geoJSON, PBF",
25296
+ "hasStaticData": false,
25297
+ "maxRecordCount": 2000,
25298
+ "standardMaxRecordCount": 32000,
25299
+ "tileMaxRecordCount": 8000,
25300
+ "maxRecordCountFactor": 1,
25301
+ "capabilities": "Create,Delete,Query,Update,Editing"
25302
+ }
25303
+ ]
25304
+ },
25305
+ "estimatedDeploymentCostFactor": 10
22325
25306
  }
22326
25307
  ]
22327
25308
  }