sqlalchemy_to_json_schema is the library for converting sqlalchemys's model to jsonschema. dumping json with above three output styles. target models are here. Group and User.