added field value "type" to scaffold object