set conditions for materials to avoid potential errors from user

Straightforward change to schema to avoid potential user mistakes

Merge request reports

Loading