      :processable? #(-> %)
      :handle-unprocessable-entity #(get % :errors-map)
      :handle-ok (fn [ctx]
-                  (srv/get-violations))))
+                  {:meta {}
+                   :data (srv/get-violations)})))
 
-  ;; Default 404 when there's no match
-  ;; TODO change body to something meaningful
   (not-found "404 NOT FOUND"))
 

     ;; :processable? #(-> %)
     ;;:handle-unprocessable-entity #(get % :errors-map)
     :handle-ok (fn [ctx]
                  (srv/get-businesses))))

  ;; TODO: Better api handling of violation codes/definitions
  (ANY "/violations" []

    (resource
     :allowed-methods [:get]
     :available-media-types ["application/json"]
     :handle-ok (fn [ctx] {:meta {}
                           :data (srv/get-counties)})))

  (ANY "/inspections/:id" [id] ;; id = inspections_visit_id
    (resource
     :allowed-methods [:get]
     :available-media-types ["application/json"]
     ;; TODO: Not found when inspection id is not found (instead of 200)
     ;; :handle-not-found	(fn [ctx] {:errors "No results found."})
     :handle-ok (fn [ctx] {:meta {}
                           :data (srv/full-inspection-details id)})))

  (ANY "/inspections" []
    (resource
