Changed client gateway field name from href to url; added existential checks on schema