use json for the schema instead of js