make note_index.item a schematized object relying on an enum

note_index.item[].type needed to be an enumeration, so I make a new schema for note_index_item.

https://www.pivotaltracker.com/story/show/50149215