MAS-DT refactor action schema
-
Make existing action aoneOf
withaction.action_type
as the discriminator -
Existing action definition becomesaction_move
withaction.action_type=move
-
Create aaction_waypoint_list
withaction.action_type=waypoint_list
and add tooneOf
-
Properties-
waypoints
array of GeoJSON:Point
-
-
-
Make existing action schema accept either separate latitude/longitude fields or
geojson.Point
- Update test fixtures
- Update tests
I've changed the scope of this for now at least.
Now that the other behaviour changes are being handled by the instruction set we no longer need to be constrained by all the waypoints being collated into a single action.