use the @type for schema names in schema.json
select schema by provided @type
handle validator exceptions