added attributes to schema and corrected file-validation