When checking schema of the document we need: * detect the type of the document * detect Creole documents (mixed types) * good error reporting