String baseUrl ) throws RepositoryException {
List<String> values = restPropertyValues(property, baseUrl, session);
String url = RestHelper.urlFrom(baseUrl, ITEMS_METHOD_NAME, encodedPath(property.getPath()));
String parentUrl = RestHelper.urlFrom(baseUrl, ITEMS_METHOD_NAME, encodedPath(property.getParent().getPath()));
boolean multiValued = property.isMultiple();
return new RestProperty(property.getName(), url, parentUrl, values, multiValued);
}