Something went wrong while setting issue due date.
Test using contains validation rules with refs for arrays of primitives and actions
Open
Test using contains validation rules with refs for arrays of primitives and actions
-
The primitives must contain at least one operating area
-
For MAS-DT MVP the action list should contain exactly one action of type goto
-
https://json-schema.org/draft/2020-12/json-schema-validation#section-6.4
For the actions we could use
maxItems
+contains
which is the simplest way to ensure 1 action of typegoto
then I guess if we add ayo
we have maxContains 1 for each type, minItems 1, maxItems 2 then we need a rule that the only valid actions aregoto
andyo
which could be handled by making the mission_plan contain oneOf [ mission_plan_slocum | mission_plan_{other}.. ]
Please register or sign in to reply