a proxy object constructor for working with API schemas