Create HAL schema for model based on attributes