Move schemas into separate classes
The function raise_error_from_s3ib_msg
defines a lot of schemas. Moving them into separate classes has multiple advantages:
- function becomes shorter
- schemas can be used elsewhere
- performance: schemas are only created once and not every function call
Edited by GromeTT