'Returns the version-relevant data for the given block, including the
current schema state of the Transformers and BlockStructure classes.'

@staticmethod
def _version_data_of_block(root_block):

    return dict(data_version=getattr(root_block, 'course_version', None), data_edit_timestamp=getattr(root_block, 'subtree_edited_on', None), transformers_schema_version=TransformerRegistry.get_write_version_hash(), block_structure_schema_version=unicode(BlockStructureBlockData.VERSION))
