Converted data model to a resource