At the moment the tests on CI for new schema are pretty minimal, they basically check that the schema fiels are valid json and can be parsed successfully by the R validator functions.
It would be good to bolster these with some additional checks. For examples:
it would be good to add a check that ensures new tasks-schema.json and admin-schema.json files share the same $id property that is also correct with respect to the parent directory name.
check that the schema for required and optional properties of a given task ID are the same.
At the moment the tests on CI for new schema are pretty minimal, they basically check that the schema fiels are valid json and can be parsed successfully by the R validator functions.
It would be good to bolster these with some additional checks. For examples:
tasks-schema.json
andadmin-schema.json
files share the same$id
property that is also correct with respect to the parent directory name.required
andoptional
properties of a given task ID are the same.Any other tests we could think of?