The Scottish Castles Association and the University of Stirling are developing a digital archive to record Scotland’s castles, preserve historic collections and identify sites at risk.