http://bible.org/seriespage/canonicity
“Canon” is a word that comes from Greek and Hebrew words that literally means a measuring rod. So canonicity describes the standard that books had to meet to be recognized as scripture.
The tests for canonization included whether the book was self-referential (i.e, whether it claimed to be authoritative), and whether the book was accepted in the community.