use class builder from json_schema_tools