File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
webapp/src/cljc/lipas/schema Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 134134 [:type [:enum " LineString" ]]
135135 [:coordinates
136136 ; ; Use the vector generator with min 2, max 10 coordinates for variety
137- [:vector {:min 2 :max 10 } #'coordinates]]])
137+ [:vector {:min 2 } #'coordinates]]])
138138
139139(def polygon-geometry
140140 [:map {:description " GeoJSON Polygon geometry. Per RFC 7946, requires linear rings (4+ positions, first = last)." }
195195 [:map {:description " GeoJSON FeatureCollection with required Point geometries." }
196196 [:type [:enum " FeatureCollection" ]]
197197 [:features
198- [:sequential { :min 1 :max 1 } #'point-feature]]])
198+ [:sequential #'point-feature]]])
199199
200200(def line-string-feature-collection
201201 [:map {:description " GeoJSON FeatureCollection with required LineString geometries." }
202202 [:type [:enum " FeatureCollection" ]]
203203 [:features
204- [:sequential { :min 1 } #'line-string-feature]]])
204+ [:sequential #'line-string-feature]]])
205205
206206(def polygon-feature-collection
207207 [:map {:description " GeoJSON FeatureCollection with required Polygon geometries." }
208208 [:type [:enum " FeatureCollection" ]]
209209 [:features
210- [:sequential { :min 1 } #'polygon-feature]]])
210+ [:sequential #'polygon-feature]]])
211211
212212(comment
213213 (require '[malli.core :as m])
You can’t perform that action at this time.
0 commit comments