define type and subtype in specification
using getType() to get property from file specification