resource: simplified way to get links.
added support for properties in schema.