Validate required attributes