codeforamerica / OpenTrails

OpenTrails (Open Trail System Specification) Converter & Validator
http://open-trails.herokuapp.com/
39 stars 9 forks source link

Validator should not require trail_ids in trailheads.geojson #103

Closed alanjosephwilliams closed 10 years ago

alanjosephwilliams commented 10 years ago

Currently we validate the content of trail_ids in trailheads.geojson by calling the _check_required_string_fields. This reflects v1.0 of the specification. We should update the validation to reflect v1.1—wherein trail_ids is not a required field.

More specifically, we should validate trail_ids and the newly-recommended segment_ids by calling _check_optional_string_fields