client-side API stub from a JSON schema