make elasticsearch schema