@staticmethod
def get_elastic_mappings(es_major):
    """Get Elasticsearch mapping.

        :param es_major: major version of Elasticsearch, as string
        :returns:        dictionary with a key, 'items', with the mapping
        """
    mapping = """
             {
                "dynamic":true,
                    "properties": {
                        "data": {
                            "dynamic":false,
                            "properties": {}
                        },
                        "updated_on": {
                            "type": "long"
                        }
                    }
            }
            """
    return {'items': mapping}
