{"_id":"json-schema-to-es-mapping","_rev":"22-0f39e23a7011f00549bbd548b94b8da9","name":"json-schema-to-es-mapping","dist-tags":{"latest":"0.3.6"},"versions":{"0.1.0":{"name":"json-schema-to-es-mapping","version":"0.1.0","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["yup","json","json-schema","schema","validate","validation","convert","build","builder"],"scripts":{"test":"jest"},"gitHead":"bffe8700e58981442a711a646aee9f7ff97968c7","_id":"json-schema-to-es-mapping@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"dist":{"integrity":"sha512-zUDpVK1hGBSJ9B0ZKna0g+7mtXALb2GctES3KoI55P1SIcxFSv6WcGZAqGRYw+FoNTtmxJs+/N3ufCIK+gCj0Q==","shasum":"b1fdcdc008deb260d17697e1e48157395d46d2bd","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.1.0.tgz","fileCount":14,"unpackedSize":117648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpVIvCRA9TVsSAnZWagAAQusP/Rcai3QB59NDyoXuD3Ti\nwX3D9r/GYH6V6m1F/FglDEJAXbJu0B0sidKzxPBUHXhU+/yEpigGISDvuhMN\nWQQo1bzGcO5iNj/eUDqN0+YUDCCmP3ZWHWHfolsksEb0YnaBxdh8VP87yGtc\nNnkk1DZe/bZAKHJ2uzC6RTDyReHEp0kltvT6MopVZpNULh3MretAClaWvk1a\nhmikDQMXvcgGBUDTI7rlxVyjwCKocbe9rZfeKGhBJWCzsoHEz+W75P8lQEWu\nVIi2u5egJ0JfBB+VXHtwDsH9ZYSUXy4SC36v6cHGrXdC3WnjmS0cbBlMKD2D\nmEikU3/98+UvZ0l6bzYNzPH2ZV2NvVxYS03HGsvtCmubyd8S1zJ8GAyEBArb\nKQ2CCluhXIcF16ACfVz8eFR6akwNVqdoEykBLPzX8fgqOEJGi1cqy1h7GvmN\nVz7FlnT8on4r5j5wd4DgBSQTJCtyQbKCVfYJLIjut91dl81AsM7UGbFzeojQ\npjzJRsIJ+7/lcmTzY/TDUmcbdJ3XAVeZ98l7USlouLGgpQM1n8aLSpPhq/hY\nfoXqqllT85U0C99DJPu8JPAcYErfMoOn/bRCqwiXmdfneHM/SDPPnAzMmYbt\nVsqV+LWB6/zvSPgrCO/fAmqTSGH66piS/Df7l9Ab+qnEm8UVQZZLlECNzvGj\nfrDo\r\n=nwga\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGVxAqOUcMPMu/kAweAeBYof1o1/YZZ4z1Tjg3XYsJ4zAiAeRW3C48JSpgRnrQSXWbucRbWecH2vRkOYED3U1HSomQ=="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.1.0_1537561134251_0.9291138444426104"},"_hasShrinkwrap":false},"0.1.1":{"name":"json-schema-to-es-mapping","version":"0.1.1","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"ceaff7c6017bc9e6c2156e7d6365b711f093b0ce","_id":"json-schema-to-es-mapping@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"dist":{"integrity":"sha512-902Vh39QeUieSH0lYTm+jFqoV6cHGfbxJhnJXp9QFDcHRG5bUEHmhBgzk6rgvBhtyHqs8erkP+V0LzKmKIi1pQ==","shasum":"e01c4ada7e7694fe953cb507dfb13a1830433d75","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.1.1.tgz","fileCount":14,"unpackedSize":117692,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpWa+CRA9TVsSAnZWagAAUscP/i3811+gIshE5Cp5+9nd\ns+LIrUb8V0gxg18GcbPvjFOedfiLoXZ/YlaumJkLOa7m1QW7G/BIw6w8R7RR\nRC4S0qutzm1DzkSA2fCcey2eygBia66ddqSw4ZR4AKaI5Xk5cDBv6jA3e6+F\nnK2H7pM4QZhCOhD3VJG1+MhgtSrmhSR/kPK5eDTJ5LFfnqrQLRSUWWm4CcpJ\nWCVHmnMhJAxpDblr5yBigyUDWghHhPEdZw8mAZDzuMhIIh7lgqXjgpimNL7l\nrUXK4P08ptQsfR7BB2oxkNPdfloCGO5pTncUJ4+mFze+IR4bEyNQqlK6lm8V\naTEFMGPWhTu2rwfmyAZZ57iwbQ3qKX9f7Idl8qxZDfzkhJcuafcOF94ThMdn\ni9YppRl6ZNNQHCiRHRsZi27bwypJH0GXPYKC8WV+ikqNo4T3VLH6MHgWtzKT\nO24T2WATM1D8sZsnkm6LJ6469Vg3TPcGxUmaWihxK43P+oJtTlk0lnl7bQPg\n4mX/nxtCTtSFyKfl6ylfo9YAXsTOypwDAnDbdB3BNLkI/w/a/VTCAAUXXeXU\nEM1wMYSE4amtjKEFmpspZ2dkkrIejzL9nfd+yPeZXU2/6kMrz1WxJdX6mXAg\nOz8FqrOqvCXmAt+s9P1EkDbdpzsBqSqWzOXJhsYs5RXvmdNSh3ArQJzhz3zW\nst4M\r\n=dEKG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIbxbmWZFUsAOiqOiXqmwuyYp3SJpcLTcI9D4BmBwqNwIgH/c/nA5pKjXF+dydnOCBpVvGnawDspAUf/4s2YBNpEI="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.1.1_1537566398196_0.713630154590613"},"_hasShrinkwrap":false},"0.1.2":{"name":"json-schema-to-es-mapping","version":"0.1.2","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"a35fcdc88416208db5821f94dcc22a149f909d80","_id":"json-schema-to-es-mapping@0.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"dist":{"integrity":"sha512-LsSYwglOZ0z2t5k7FS3x1puVs68+BQdol5lRSLVXBYYnlhGDFL7qBEfNK64Gn93hyoXltnCMCCdTEFx1iW3OvQ==","shasum":"d5be968964cc39d1ac1217455cef758ec7faafee","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.1.2.tgz","fileCount":14,"unpackedSize":117912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpYi7CRA9TVsSAnZWagAA42EQAJAIxZGVn3SGHQaSiJST\nOuPCpgIO1CFPVMRj1ER26pTqhqGvVbEQMmKeF7+bWgUD3HFTUOxyRik9pFI2\nsSshDggLS7/5AMyXyYP79a6lWVN3Rk6I6ddp76aY7MvJoFb3BrLnlxBk/9V6\ndnKZj3mb1Bt7mtbxAy1JEGUCPKQHBosoeCFTAPZPuW5Nho6rUjHJ9Wh+NvB2\nlbbdsiJ+m/xP5ZS5wuf8v2p3sF1ge2IHteUCSJDUe58byA2BN0171VHNOzmq\n6rkPefAscb/3s2nDit0LuEKHReJnRX1yXZucChfaCs7fug7ArSjKFzLK1pWy\nUTOvujC1xqu1PG8Q0fKzBsH5cOItzXG8Z3XuzKzXpuG1gsjO2SPCBrtWs38b\nMoFc0qJ3S+0XAXHHWjjOP3omDZcN8jWahO/FneT7j7I4GIfs666aWzv+Xayl\n1vVY6J7JpKEte1vRsMkaIhNUGgOMHYuHo3R0kSZ9r6ZtKWQmCOJuaNkwigq7\nrRHb/ipWsPhfUuPxrcJxcXB284U3pSkp904IOG6JX29x+SjI79pZwizeHdL5\nClxmdnJjYyM+aExUNP8ROdCZNs4tiZ42YGWyqt1w32fRNGZNkbLQBFd0WQFX\niCXX1OrqUpBKm5KdSDZhCgxeAbRTVxuwiL/+HT+nry3uQQo48KNOkouXu3iB\ne+Zb\r\n=8rNj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1IeNjorjNvwqSDHgTgJl6x2CxKXoG8oSY+oyyBmJcdgIhAIabuAv6QM4/msgChr8qJ1HD9ggzK3rRhUrHOVubSjtT"}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.1.2_1537575099211_0.7259088415957884"},"_hasShrinkwrap":false},"0.2.0":{"name":"json-schema-to-es-mapping","version":"0.2.0","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"ab9db3912e7a2cc4dda7f0881f2e65469897fc44","_id":"json-schema-to-es-mapping@0.2.0","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-VawsIviBHI5FQDO6Yxyjf6dYRCGV42QvyBJeSZl8VCmVOrPQ/wte+CFE4quwcN5aYkOsk8JhGiOLgmhXJxTxIw==","shasum":"4b5933233fd77c4d148b650fce9437a11a5cbcbb","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.0.tgz","fileCount":20,"unpackedSize":13862,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnJe0CRA9TVsSAnZWagAAZboQAJDfhK60j56DxupHv1ub\n9toAqdAT0JFCpyBm4ksbWJacZMiCScI7u/jsmkKLTBi1jupZt9lUEc8qTTEO\nWBpDuR+bUXgTV7SXgIHmi3O41ZehG0pYiQSntnlKIfWqBBtRHQ/ZEJWfDhnE\n3jZmsCpPIhEzMRXSSN6og1E8zDXC7y5ODEkFCdLj1t8gPI6Au4ltrA0zU9K4\nlvghC///gcIUiXISsYmyMikMMV98FPLxbXFpXEiwEKhkKs1B3z+kYNUuhEhf\nw/+ft41R38TQEzWrO3rd8BOde8qm8oIr1dTa+WWePZJsYixEd803A5fLsWc+\ntZK8OCtczxXpjjgIAGGqBPP54wj/thlReYCdOBq915KgIlc9R8HcEiHxUT7m\n6TZUXw+AQ9FzPx3uYmvItXQ0sGPz/4WHqNY9GxjOOhawfsY8LC3gAS8UwzNQ\nduhDi6BuBefMkR/jt9Tp9K+oxG6ws9b+Nd/EKD7AqwFx0ce2an53Mh8MNJ81\nh6ztRWQas1Yb/lIEBTVoLM+EjYMp4Eiz9EQGLQB7A9gyAehJEbmnWQAGGADg\nCNK5hg5KIdWoKUBLjWmipzJ36TBa1+HNAYpu6EEt+LVTcHGH83Tzl7NVpdhf\n7rBV5WdFeAKerIfrmVBDp0N5423+E/eZvqdgAEJo7I9XJ4cdAKLL65w2w0zK\nhAgc\r\n=0T4I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHxwODTo5r6bSFT5nXD7bbv2TYfyq262e4zkNvF6VzLECIBsZUKTmCz7ZHEPTxBW146J32zexwppe/oBc1TDBMovJ"}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.0_1553766323592_0.05127374770172777"},"_hasShrinkwrap":false},"0.2.1":{"name":"json-schema-to-es-mapping","version":"0.2.1","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"3dab754fdc82061a791b7c32ead277dcd2663684","_id":"json-schema-to-es-mapping@0.2.1","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-iPTVJkaGN/kIhmaowJ1JG31RyU5vsT1gQVN6aucRdbb20j9Lyn6J+6kJ/K/I4Os7UXZd7qDrghs5wWyIpKXP6g==","shasum":"17f22f0ea4308a2398209f87c9342a08008d7e1f","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.1.tgz","fileCount":20,"unpackedSize":16717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnKGjCRA9TVsSAnZWagAA6BIP/1KT6VuKWkjDKVO20Um5\ngwaQL/w3Dy6H1tIaIoOKUjjDVHN/y8pCsib4vQkW3Yk0YAHhPqqHNInBwjvE\nB7Y83KCB0A9k7ix5q12jkNoGsdxDFJWSM+FLyhiRN3FsPNk1Zz54+XICqIcf\n0wBsWo3+OsX1+GvOYVg2H9hrpWP9QmhuCimTYqmqhWWxpzOGicvNuqo45UOh\n9IPCfZRuvSyd+m/H8kwRa43oZcCrtBKCtFlAbTz1k/DYFxF+k6LtoC4ukuoE\nLWOWdh+LTAykMbZT3xveHolZ4mcmQrbDmR26zfYa/p1F+bdpijWqkOhtyuuw\nWk4VvYqHn42vsCSfdLd+9VuX0dZv6n8FQuK+FdlR1fS2x0sOmWw4F/ZbLkLJ\nc+K3GXt6kJiEnlu6JyYU/5QVuKWWqF5vX6dayKU76ja9qyACRwVSpn+vHeCq\nONYwQ5qFhYA8DJl0lW6nRNvC6nqlIDRV9gUjDavSKHvtAhN/rwYgIysX/ZT/\njCFh34kRlKwyzCLMZ9+n1TswfD8QaCw05cZcARFVM1uyh+PpmzuJXt/EHXj4\n0s5rG37iQPyVl7ePtuK/74oKbpoD/v9u7Q98hAbH+5dMT+X1UB+75CDmhgkR\nwbx26MZoz0LqMVIj0gf13dD1uHuiNLcKlOaP1jQHt7fYd1aMvleHi0/K/IZ3\nu9pO\r\n=8lmc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBC3a+CYYdNji3eIPjKy3IEXb6jnT3RRxitebJpNA09sAiEAhT8hYhTPUq4DCmkE4Q4Mn5Oxx8AGPorggmbdBH0FxD0="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.1_1553768867272_0.2632596877180329"},"_hasShrinkwrap":false},"0.2.2":{"name":"json-schema-to-es-mapping","version":"0.2.2","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"ecb99bdeb1e32c3fb5d0fd845c37e2c24d8a6daf","_id":"json-schema-to-es-mapping@0.2.2","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-9mZkEJ8Y+tVUq0kJiBLq/EPuq5Gnal2xePgIQ29KpQgNCAYc16Q+AMaLpGvcEkTI2FhI8wXoi61StanpSznTRw==","shasum":"e7cbb9455a3817affb2c5a4a03a2ed7470f88b58","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.2.tgz","fileCount":20,"unpackedSize":17810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnKSyCRA9TVsSAnZWagAAG54P+QCKWcQECDmg6QXIpcNK\niWzJZVm+/AihYBFIYz1i/jq08l78EDrLBrg9kD950avn3hhOrOJdmmLC8vcA\ni+QmnBmFckn+GlUiXO1ONr51l6gYIRRmBq33rfWSlNVfo1d98eP+y9Afbmwm\nQpA3tREoN6xg+Xlhj206Hz9yiHQIqt6cnG3zkUtjx/WsJkx4koC9DlUDKdpb\ns83SLHtaj3Ws/kVZsaxnWFBZY7Mp4yK3dYihPNlHxOrbpxsKZXNT9LGrwAaQ\nmnaUjRcLkgunHsikrRTQq2JwB8W+PCm6i0/0cYfrmCD719+0Rhvy0g7+eNgl\nAUCEsWscX8YMmBj0AC35YjuIEii6JUq/v9juUMvkepql3lGY/zKCbRoxH7AL\nP9ZfrM0PBVa4Qrosqnx7VFNvfh7aie9Z0tiDC+yWRGn2m3ZZ4jHCqm6a9kLc\nIAci9/iO2+AQ2sshqDUHYgsE58fWDNZaCn8TuhkjOE36ZDxPFKzjpdCuPaEG\naOCZxeFMxsVs9A0ZSc04iqFxPPYOcCkoaDIAsi3Gu8hIe1ilada2uLEsYM0G\nXtWKp1tAMLt87hT4SwQ3iU+ksdzIoRRROyeoyGnfDSxZH5SSGxdHYZC4UPn+\nlB+dB/5+mA0CLjoup7fpzhtaAHrcyIxD1b5v/rkfFODLiuUoFvlxVvCn+3Bl\naywW\r\n=aNzF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvdOwYPD4Z5Lwg8PVWiCE8YWJzzf7dv+bn8fWFP/dM8QIhAOboQyIVgL+e5CQKia6ituUDf5IehHU/UrvK6Wo9OQ6l"}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.2_1553769649340_0.598868144384971"},"_hasShrinkwrap":false},"0.2.3":{"name":"json-schema-to-es-mapping","version":"0.2.3","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"9d6a369b1bf7c63eda1b2533f2cc4e65c9e7be0c","_id":"json-schema-to-es-mapping@0.2.3","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-pge+XCgfPfIKKrtgFgwAT/Pz1TJZOzUeyAf01/FqKnUS3QJC2VbECUWmmuauiJvjlmZxm8Q1KyanjkhM4iQREg==","shasum":"8f6126ebd45715582efbd5ad047361a6345da0a1","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.3.tgz","fileCount":20,"unpackedSize":20588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnLaiCRA9TVsSAnZWagAATbQP/iB3BvsEfHOh2XLFiy5u\nFfMvwA9ax/UjLAdm6FWYlTjt4t/iYwQ+Vx10osxvkOSRp55AOdLnKYIiQLVh\nMCiqjrjKa/sofSOZw9qeI6L/itiYNkD2hhK1mO3AY3J8aVy6Qw2bAHhjweCi\n9A0DOCZD83xlTNfBW8kkTe2sVCIC6QkHmuIj0em83hhJ6bd5clNBOTdGQrZi\ndCRMyRDMyb+kk+tesMG8Xut1+gbDEBFdQv1gEaEmJrLmX8QbbI/FstIf3N0x\n1vuIq2Jrs1xxNKl5R0Tp90HasWehbWYvdV5g9lKsx/P1voRIennP3JH3yUt6\n/LxUhLtXz8ud7j5HjCWNAWS5zCEZgwawWANvrOrbfahEYMZicz3TLN8eF516\nam2Xd3bx8nG1J577lryHwFtpa2S7sfQpRWYaag6Ci5kie1wv/N7XxG7Lm20u\nVdVoGKutmMSsTlpL94miwOuCKIt0M41BfaVgko2/xGz2vVnPaDaHgdpk9EuT\nId0geqgMGdLvyXu1GV17gKjds62jsU8Je1FWBEYYLuT3ixBs7NxmL1Xw9Q96\n+WZU9+qrOSLck+UG1MgBErhfQVBHoa7NpuVc7MlX6BxRpPG4cvF/aCFbLSrr\niqfLdWJccL4eScCMbYByPFgJZyevG2rsAykVEHvXY0GOpgbdtcumYFP8xBLW\nJqWJ\r\n=OA+c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi1yE2SMAOxn86zG045t35o+cAECCc+BZSU4KN6fkEXAIhAM7BA3OYs6KIc5hmlacKH464NkcREnlj22gzlnG3FpPO"}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.3_1553774241251_0.19290709398800776"},"_hasShrinkwrap":false},"0.2.4":{"name":"json-schema-to-es-mapping","version":"0.2.4","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"5d44f13c8f5fdf3bf08046f4625836964e54682a","_id":"json-schema-to-es-mapping@0.2.4","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-tyCYF4v/F0J+ls5fvN5Q9C13hOJT2D7l+wYyU5Ap2yw8fEB+/vXM4x45OeCHa1J87pA2wlV+6MatI+sxSgfjmw==","shasum":"90ba96bd05cd6ff8c66e3487d223f193dd57e13d","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.4.tgz","fileCount":20,"unpackedSize":21492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpoJ+CRA9TVsSAnZWagAAoiQP/29DbpUFKebH6N136YFM\nvdkyoi//W5GtSl0PIsIuZP6pJGJBxY89/KjKFBV4s/v2uzo9lKBn/ulA8Bti\nGGY/LndTtEIXCQdGz5eHs6gWfP8721fDlAXbWbGX8amVArZKR46FN3UAdFKk\nXq2cUspxWBbqIFjDAsQsSUPrAe8u0HYuBaZiE7RryIteV/oZV6T6C186LI0i\nVoww2QHO84eEXbaxsiMaX4wdhk4DSPeKI0Ayj23p16OT/hYiCwV9EUyvPsIJ\nCQCk+h1sq9D4C/jIvEgj+F5vOKR5IMa6xQ8RwaxxfcudY9kTBS5K4ENwhlD7\nhtlN1A8o6MDaAzgyIi3/GAMXeDLCTXKJDNbkLeKGpVK4/fx0mTiciCWqJ5Ox\nTQ0edrcE07fGpOGzVvg1/8oB5Yc9a0TYF4lZ5z+wpo2/xT3+TvYVNcCIfxNM\nbAnLFsw1AWW7l9MAEowTdVCw1G7Efbdj6CIWllu+fGVWvXa5foZlUeKKXlM6\njsZ7Z8Pp1VZsLJaQCZ3PIJxeviP27DxAYROeIBreNoaMlEBb/xUL5FwR8NBc\nEHMZnm24Vd50Giko5NcVhn1tahqlegUOJ+UOYFv3s3jlOJeoOeElN337r8U4\newjkoL07I8bilYskaDjBH+UTwHWYOti8OAgbzi5jfr67N5QK2okkqD95cG0a\nOZVH\r\n=TX28\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLzo+n0XH4WgaLyEvxBNC4nplYtKkAdmSqqU2sI6W7XQIhAJp9PcRMHNQpbpNe9y/5A5uBHkBJ4GCwqvWU2suwQBRZ"}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.4_1554416253431_0.6901662192467093"},"_hasShrinkwrap":false},"0.2.5":{"name":"json-schema-to-es-mapping","version":"0.2.5","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"627dccf987eb7828b01ca14b036fc0e22650ddc0","_id":"json-schema-to-es-mapping@0.2.5","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-wsEbYjJj9Z0n3NIXNY9fNvxBEYCYPgMqRtuV2853pGUPYL5y6QzSM4MEIvEV1Bea3tP3/E0qFeTI0+qU5zU3gg==","shasum":"f6bed1bd22ded7a2be9bf39c0b71ff8ff9625786","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.5.tgz","fileCount":20,"unpackedSize":22572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp070CRA9TVsSAnZWagAAq3sP/32uMmtsePeaEFjgY8R7\nXb2UkC9T5ZlPiLh1+Y0Qi18zwMK0H9NAfkTrEGt5Y9bYRYTCiyJOfbPzFCzu\nb2OqWf9cnvyP7PKdWWdR5ycS+N3TSl4on22dbPSW13favEOFIdS9IqB2dPU9\nK1jsXA9w5W2AIC1InFqSM6JpMK/zL86RJeg5LPlWkNOPXMPDfUdkYKkW0u4S\n4gEpDFVbw1NfFbf/GmrRLeYlyOQqWljY4urxZfg3QvsxJRnpiDeYk/DyGuZl\ndHiaIEAZ+/to4ojT1zp3VcmR2Rs5G9/yxAQvzPusJkzjpqq2OH08y7zOl/h2\n+mCv/XNfJPfqIl29KaJBRiGAtqGMqABJxQG8z6gkp8NYSFSS9RF/UwNe1j83\nXTDfvbh2Eyjv64ldU64wzNhcQAeDP0dNR1VEyitNllSUuZa0c4+EPJKOnQBi\nCw2ZxYdTfh3Y9suiWaS003bgyrgwzkZCDJtN1Tk5jlou70ygI3l/haAWKOCc\no2VlN3AeIVbMrXUfXNefrEQ0tgv3yTAQIj12Uwrnzt3biZ2cDlZI1ipIE+UK\nv6m7b6P12arAkBEQXaOHMHVZeycjd+pyMR3tMTCRbpG5thC4iOZdKwbo6ofo\nHjt1NJJPk6RBZmx6jF7gq68kl0j8j8Npl19DeQWOwqFt/vRTTteilLvzPvcz\nkKPW\r\n=C1C0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDH1OO0nthdEIMsoIQtt/mD0Vz2SaP43Dixca8yszA8vgIhAMADBmw/0+Iq2WdoMsr8HOM07TsRZ6ajG8fSuMIkceE9"}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.5_1554468595813_0.32996745219030865"},"_hasShrinkwrap":false},"0.2.6":{"name":"json-schema-to-es-mapping","version":"0.2.6","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"b7fa4136ffe5e03b591db8e44fa3edc9cfe1277d","_id":"json-schema-to-es-mapping@0.2.6","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-rCXgN57KMOyNKmc1hP2reIXIPC1K/C5jBtnrLhKuCnxdRQ8no/JOnYAZc2PHBIW65imaRdQKj5FNRbWJsezebg==","shasum":"0896458db1300d9c90385ac0961dffbd9fbf336b","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.6.tgz","fileCount":20,"unpackedSize":27164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqbbqCRA9TVsSAnZWagAAvtEP/0gtmLVHnD4nhTwcyc0w\nJNpqsUb8ZJ1/TBU+sSJb6dEnhh7iNTR0SIJ2avUuyrXZf1NhU5NRUzB4kpGO\n8FxGQIpcdwa6zJm9uTsFpPs0aTCrJ6GLU9A6J8vNELe+Ffm0wyReMGfegijo\n+YbrzNcCOxfQAh9CMq6FskDJ64KwMq5QMvtX6Qd3Bl7QCA3OkhCBz111C7Qp\n/zxXB5u6G79eUvu9K+YJol4+o7co7ZEWpZLCG8SMTcOTmedFZVKBSYadiYVo\n5R26reXAw5GrDyjxi6TgBmpTGdRVthD3oyYtxivZ6KD80BI2U6eJBCg2DHUQ\nnDJ7EPSFwonoxxCKAZf0WYynbCl4KX4cQ34clSgHjAV6GrqaAILQvKBwN2Sj\ndOocBvGQerzO+OvpopE8emuWXD4KFaYYo3NamsiombduNlvN1zibKyEnj7gN\nTzL+YjVSgA+P2OenrtP+feXmxgUwRZrsTph9+mm1xVrzUIwuksckntOSJW9M\nSNd8YQuEZ3u14kJNM5EXB6LAb9DRzqIl7l63Lop6iBGXQVyGdcCwitblY5YH\nE+xCQoDFz4K2g7Y6ve8WxmdAwa7GyDlzByPFuZdsE56P+cFWcEl2Da1xrwPx\naAishmbzIxxTBshwsLOcBoX5CqIgmDYi6PJYxAnWII+atlusk8DfGCoNkYis\nUo7I\r\n=71n8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0YLc7X6zbm0zXw4zdDVkNTRuA2oEDv5+L5+wZBacEngIgend239XlYzShQReo4/U0KjCmC7B4EhNEL1VWoEOX31E="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.6_1554626281113_0.1727915586609161"},"_hasShrinkwrap":false},"0.2.7":{"name":"json-schema-to-es-mapping","version":"0.2.7","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"f3d59632d0bf58aa9ad5fdbecbd0258d768ab531","_id":"json-schema-to-es-mapping@0.2.7","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-T4jXoCjElKIdBMp1rYm09d0xIRvERsQ0XDvTButHGPiWVH6bQTT3mExpDdDAUWm5u5V0uKctRvQBjE8cSOdh3A==","shasum":"0601397ea497376a4676332fa6db90906d935b20","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.7.tgz","fileCount":20,"unpackedSize":28222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqcATCRA9TVsSAnZWagAALRQP/RQohupH0yVp5rfx+hmP\nabZi86cPh63GigoRsujkOlqHdR4DffYZCUMc1pTGF+HbBiVi22pzlTFmlS2W\ngAim2uRs4VpmBWEVk9kjwJZ7gaFfhDGT1Gdai7k2ZzLqxIa/YgZdBmNwjBlp\nqmAJbnYTVspm1E+uYngEua7+IFNPUknl2IlZEZGYua6IFdnkq+N36T9L41Rn\nKCs0NqlwDBOUSy+KWc7QMRnvNVxwGmjkU9afnMyrbdj8Pt0AcvH1WADH7J4t\nWGBkbLt2lwm0Ph/TJDynos58pcUhA484V0ymc0Xuc/GdzPdkezDbAeff3p4o\neBnvHTZV95iC8VkGmv5eQ5kNIQDLtODngyDeFHAUtXYdDJtL3nbTzq4bwHtH\nBxpFbOnjkq5f/qjE9pH8tlLFbkzjGIjThAltruI+hlmGYPrlGvFi73ETZ8Gr\nysoywz7DqlfeLkpRHLQSOPCQYLDf0fA2Lk4Rk0ilBWuen+wXCs5GXhAfcjKR\nMXGYK2RD2FI33XVNnTHpyXC9FftDRrvZbVr+1aEhH8iZDHWcy+qo0EoPpeza\ndx7mDXHC85rklQjt+2B+5qI5ksf2+OQKEnGlWbH1V61cbvsCkVZVqxGNPjuA\nXiw70RVcVG3RF/LfvvDCqmmRKrWl/gBP/6FqgO6Agoexo5TskkPPKzqPrKuu\nCuus\r\n=RKR+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICBEgjRDrKPpNAxX+ajAR3fYJUQjLkc0ohxOazZ1BixkAiEAwqTbRiOywocsRQN1OvmPHJ+Q0ogbgZdpCuN/v+gHrok="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.7_1554628626241_0.07225773391740908"},"_hasShrinkwrap":false},"0.2.8":{"name":"json-schema-to-es-mapping","version":"0.2.8","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"5f24a088217073835ba83eb4fdca8e79031abc69","_id":"json-schema-to-es-mapping@0.2.8","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-nBHPZsXYcD9doSljz2J2z20ZxjUefslRFr/mcf+LZoUR5vIYqspY1Soo3rSlqku3nB4/NiTJvoStiLI/jxZvng==","shasum":"a658f193577594ea80051a0b53cd528951680aba","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.8.tgz","fileCount":20,"unpackedSize":29678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqcWgCRA9TVsSAnZWagAAG9oP/jMgyQylNCGJH8CKoLRt\nO/yAxjYoG4JJfvNrgO6IUmOFXmsYpU6iqqajkiN2yIQCvln80TZaTIJykSR/\nVjtVFmXLwptpH0ual8WPfflM4YFt/2/zv+5geOYtHP/ydkdYsOYgMSo8O3At\nHYb0UtC1uXS16wCKydY/AFvofRXMmIcFdOpW2KjxAcp0cZ9AnUWS+KiUNtAp\nOVv+3JEDiYyzXvHoemoNJES2/z9sBgZy2kWZ67RJ2JHGNyBCwz+Sk/Kt2ca/\nJ1kPwib0Q/K1TB9m3pHEKda2A0ooxDesEsjasHVYFzRBf6Nr4s3r1sxZIhUD\nfPpAgLQOJKdqrQ7Q8XPK4QHTMBHNildWAtHXIx5PYiBxuxnvxz5Pw4frUl8j\naGwQdXg62eSDirrexAM/VCyzAwVMYuEEZQDyYeovEZ5sMfe96uH1l1isZvkO\nxbN8lq8Et80gb8rCxHtFQbWWZ8ACl0axPwk0HZmanxWBId8S9teATjKrKfJ1\n5x/OsezByJKbWjQxjx7LQsSmRjCd/ppcgletE156l4yZKxFa2NCZKqVwTD8g\nrYAdUdnBNNJ/SqsZO1J1TooFmbLxdhiCMN5jfCjaeMEUo6p6NHThh1GVRYum\n+ZefuJZRsX8OGPrCaTPOMa9Zu+ddzl5uWAXhC9cs91LRnyChBBaEcdEONYBq\nNDQr\r\n=HRp7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwHxvwEKnBEY75PE4CQxXteW2CfawtXUKPIpSK2Ypl2AiANMnL2yeMkoNCkTebTEwq6rhBJLSfvViD2tsXHpf6USw=="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.8_1554630047547_0.9605312935164756"},"_hasShrinkwrap":false},"0.2.9":{"name":"json-schema-to-es-mapping","version":"0.2.9","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"ba14e893f1846ea0e168fb2f30a64a9d4a1814d0","_id":"json-schema-to-es-mapping@0.2.9","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-6FUx8y9R6jV+PBDRv1JHmfVVlhNRWyZbFchP1oi2Z7HM1AWU98P1CljUxWaJkyR5neuYm7XLZhEzHxpkGvzhDw==","shasum":"8af22154690b893454166d2a484762f112c2bcc6","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.9.tgz","fileCount":20,"unpackedSize":30452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqjMLCRA9TVsSAnZWagAAyawP/2R9rB8jko/2uimnUiQj\nwswEkusSI8e7fpBDzWp7FUkzYI1v6vjWMH7XEKR5OWowjXgXk+r+pkHIuKX0\ndzHidmmOzquNoztTpjt69bh+WpSfwoLOQJwIINMhawNAgpRfBJdwtKyMoKdV\nTvzAg60C9D5qWprF1o3O1DkOTPBaLW2D+9XXnOlBDmpFZW9OGVWu1Iz8GG2A\nIZ99tUzCQrtUWD8KsccPN8mHzkar5k/Yjfk3kfctQkXJR5mTFAf1umLP18Pz\nhpWZhLJ2qR1uDR4LFCyd5Z77jfmCYSJvJH/Rlh4OXn+hDWHIaj0JU2EsvzHW\n8YKRye7Ca1Cw+4TesSuOx5UigjWOth6eeVnVTwjRAkahfdGy7essccW/4PmE\nbmE6+8lzDNRm58GlNLi7ukDl8+tZGxStrqc5qow0RorjkluNoZCRmdG5Xj98\nnYaTvYoWe4tNGaGLTEuZq8Sf4VaLRk+p+AH849AQa2kdVsU6rRsRpJEQoBBG\nvTcyFd7QZYG65hrrciBZv44pUiKzvVrps46J9HdAg5J2K+M2RoQZYdE6LNVB\nYXb42uTEDoEIbla4/9xXIJpDz7ly8xmzoiJ517BlHaYXPHgkQwNXJflcyqUa\nACo0/VerdDojB2AtM2H4gRw6PHZlzy4+x6EOu8xZRbHP5eZ5tBZh7Udkhcsk\nIvQa\r\n=dXWV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmENfGVxj0z0oadhCxtTLkSfP06KNzitFO4oJYf/xheAiEA92irZqoCn+uSaFQNKkjxiQpFibB9UJTI39ifxUUfW/A="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.9_1554658058456_0.5430146314946218"},"_hasShrinkwrap":false},"0.2.10":{"name":"json-schema-to-es-mapping","version":"0.2.10","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"ff86360b9d78c3914acc6c1894a5ed8ab59bc195","_id":"json-schema-to-es-mapping@0.2.10","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-o3iMoDIChaEIs1+20djcTz5ERcELNk78Lddmt6JYiMD1VyD+ATBn6w9M84E4GHWYTbiU4AzyYF/65hWCjfwqNA==","shasum":"65b6e86e7e4a2fd2af1e81602e80742216ac33b5","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.10.tgz","fileCount":20,"unpackedSize":31042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqysVCRA9TVsSAnZWagAA5AIP/jCD++KzAfmTEqC18Aq3\n+tQNuXpvcJ3+1JdspFjhqMPLHs8fxgtuvisFb8TVhCjAwTjTYTDJqlzielyT\n019w+dQ7jAaZZ+KO6xIEagqKGrw0SUhRMiyhUrsk+/QqZqmNuI5uIzDd042A\niyT/65QMug/iVCZxq1wR7TmbiukSxQgfGDkT2vPR+oamFwm1CdOlxmYLvNse\nStXOMosTf+z7nCxjMJ5ltAf3DMfqe+/5HxybA2aDFXYUmLe2FdUCfyk7k63A\nbf2G1IZG3HqBUfP0fvcHeT2Rl/k16IUpI7B94eaFno4l1maSI7eltWw6KPxJ\nx1yBRfFkyEbhB8DLofy0HTgwcyiw8rnGHUwtyPuK7IQK69IbZDV9LVbdK42V\nJwbNGTGIZFx+V+FCVN3HK6JmDAIFUH0/ghKyVZ0yLw4n+bG7NEqTBrWefO0x\nnoaUolm7XotCuLkZT6jKkJBl6gTl0bygsuWBlswAWOhq4NLNqkTJQJtOiGrt\noKJO2OlZE+X55qb3J8UmuKe/xEcW2YhAw5fHlzjq/4OIKki6mlyJZ4C7yW/S\nAFm97vvHd4mcWqgkJrsAprs1ZBw2fthaVDQecdLrPyB+bHgCVnHqbA8gunWQ\nEcTvmHgxJLV5/IoxLnv5OsU3GTbXNsojqwtayyE6jGXQ5jCdGBp29sYXcQTR\nSyK1\r\n=BW6G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDozqBwBj+xrP6pNVhqjdIRWK9iqBHOKaaAZEG3QtY+ZAIhAOibUT3onxaDB16k1grVGySV5xLqreYR1TwCFaYPE3T1"}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.10_1554721556628_0.840432625110024"},"_hasShrinkwrap":false},"0.2.11":{"name":"json-schema-to-es-mapping","version":"0.2.11","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"a39ef32870483e83509ddb67f72f78bea2fbaa05","_id":"json-schema-to-es-mapping@0.2.11","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-31ghOg0EGqSIfOELN9k/8aErekQJ5HQCAWiBKmHFMKFevLQy3YcmsykT29M75OCGbgrlmFxselqhHK6ZX2wfcQ==","shasum":"c7eab5f9ef7210895d149f9ec42392a32d27542f","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.2.11.tgz","fileCount":20,"unpackedSize":31146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqzgjCRA9TVsSAnZWagAAozMQAJCE3ysTDxtVn3KkapB0\nTquEIrvzN5fNd8VmolyKEBI4N11LnFblz22pDHrC/I/cG2ut03jxAetwtesS\nVO5PCciGLDBPdv7oFrpyb2QfhG2e7pp94Wj/C2ItTC0p7qX+9NGglmkvtkx0\nAl919MHnS0Ggmf2JE4d8jv/KbuKd9ijurVv2gymP2EE6Wn7/yaa0PFMvbg4e\n/IslDsVQSLfVU2L3hMKWz9wSVqwcJ+xnty1pmddiopWeiFtjQalAXdCPyb7P\n5OW/f+RUZXvP5xtsGmZD9dowhsfO00TRGNRcsWZ1JHkm4oHMDr6sdwDZzKYv\nPZqn3AZ2GkcOv7tGB2TKHcN9tJt+dtmP5/ytLiUedTN2RihjXAv7tqMq0qM1\nWfFDDw47aO+4tO6X0FuACY1zFgAPiNOR85URxazsmvSEY44v6QoKlnqTIByk\nIRQ90W7GaANWJhTxJcebFp5q8EL2bwJVxx+XmTVMBL/ZW3ChRWQqw6ZAUOn7\nWOcYOnchI1494uJhrjTpT830gDpUbDo8oMmJGxcXIFDofWjuB/XIrBkyyKCF\nnaE03GEfNCBt85LPpToi/YLMas/8vJzyO6Xfz4ugp91ysjJ9jpMeXP33jJu3\nqioaN+gRyR9MMhYIs/DfRuILU9gMITrKCLAbHtoq8piCa5gERIldkV5M3wtt\n2nzy\r\n=t3gC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOPcmoLPYDrrvbWe+j4bUzGFQq8tOz1qZrZ7jLDkAOcAIgK6Zpa7ELbvHaneB5rNm3XlUcJvrs+ZXtAvRP0go4NqY="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.2.11_1554724899089_0.39632967720384515"},"_hasShrinkwrap":false},"0.3.0":{"name":"json-schema-to-es-mapping","version":"0.3.0","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"d3adade20e0f3345caeb1d3092c3b27b06b0fbca","_id":"json-schema-to-es-mapping@0.3.0","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-C4mwmKE+CrE1zFKmfjFJa62wEJ2siAR8Pobpgsx/bNkP6uVZV9GOPgIveT1FHAjqaDi5WjlZIhrqelLZRnpHEQ==","shasum":"b90b8d03a1abd279276a28ed365b6c4718fec8df","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.3.0.tgz","fileCount":21,"unpackedSize":34962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq1WMCRA9TVsSAnZWagAAjGUP/RnmXKQ+KTlx0PlmeTCj\nXHzgX84+awd70wM2Y9OiPtwS4m4gN1N3PPpz7ncx45SJgA5v8Q90OcB82S/s\n1NYSZbscnbogqWVJBfSsIJFm/QpAksyLi8uud8PdigSLl8IAWjI6/LD4Un3I\njrdYucDriuhr5oyLseDCjJVxJl6l0BiQUjqTRieLkiYSbiIXJmpxkqEgGn8G\nEAyfSosUNL0OgzsqxehCe/aOIO+FZb1zsiuKBnlKcC5WRLvBtHSOuqBSHTmU\ntlH77zgcXBpT9NVfX12Uo7OW/tIsnP15bNCNprVElHetPTZA/GQUnUQSAr5l\n7dtnMMFiYUZup/rH0JD8i/Kr4DFVQJQP/urJ7XY7AXQsZ5HFxVWVLENg2Jws\nW1DBvOGZLvLJ8haVk00Z1UfsD27wsDtX6Evncry09FqEgNNIPkeA5+rBkBX6\nBRdE/ZoPuYvLezws9KK5I4Hr8gCc/FZyCV/61R1/hmFZ7K7br6vVi4pS6eOd\noXD3xRLBDLZNM9QCyDW5AY7Zh6D77qWc+cuEJ9D7sCC4/B7ydbQx8gk9hJGI\n3nW02/WF3nNWKoiOzYGMVdr+NHCvNpl68UWdJM23Pvu45z8A7hj4fWt0YFdk\nQ06vx5CmS0AIxacQOHkFBFAa97ykv46XlrlyyY6PUk9jW1NmejuoL2/In4eL\npvcI\r\n=WYOM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaPa0qyc13ZSGEJp1/TCwFt/OYI3mxyKYWiTue8MDv7AiAB+JqNxFnktltreQ8+7O+ePbV0e7BNI65v85h/iBNQJg=="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.3.0_1554732428075_0.3798479302066542"},"_hasShrinkwrap":false},"0.3.1":{"name":"json-schema-to-es-mapping","version":"0.3.1","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"b722c00d052aa4b44c4b4de2d59fab6412cdea78","_id":"json-schema-to-es-mapping@0.3.1","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+WlY6K72MRJXD2I0HpfyUoIk5QFMzNsIf/dw/zXbElQtNp74G1oy0bmswILjmHLurlIwEjqg1CZkRJ4fixTdkQ==","shasum":"fabe3bf3a93cad054d4fb9ec330ff64700021c8d","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.3.1.tgz","fileCount":22,"unpackedSize":39268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq6NdCRA9TVsSAnZWagAANlYP/R1KNLm3VibySCiOIvBe\npShkJ/4zGdvW3Hyn0G2tw0DVW440AUcbsDOD5Urcs9rGYS2L/i+sVJE0GZLn\nBCDN1KLNiFuZK9UojU54kcwp0zgTXpAIhQkT3JP/R8tQw49dBbxNC4NXc7qz\nLmW/lKl1UEn3f62urHCEdAzBbsynUktkXq2fH1+javVhoNziakBO+ApePBix\neDuJ5/s4XBEjonZh0H7+M2rrVKUeIUj3+vvoojPeQBPilm5BYs+YrhifPgEm\n9s3AHgiWa5vNAQOllo0uphRK99K4S9O70WYwN5c0Xn9VIjIPRKr59vcfHeA8\nD8A2W/f+u1/ZsglShp4LdAHCDUhU7+3wbXqQP8tOaPcxZNy1HO8QWn6dGq39\nlXZSV1QKvi9ZLxi3ZKZjuxTYGBrjBhF76ShOKBc42qBiKM0jeVYnkyq3qzfT\nXkxErVMHyqcOpV+1EQY+kkRUSNsOA5NkboYGSTsM7oYlXh2/3slTrRe86i5l\niVRlX7ebLpG7l2Zrxy/Fr9NxncHxZVrQfKaU/CkTtrKElQs+shG6xVEoSqFS\n1gUKz1uXfS+Uy1eAFNV3Yb3fqRD02XlRx+d4hByBUXI4j3TUWI6UFFgTVLNA\nPtSVT8feFOyq5WngIbVFbYhGMJy+L28HncS/lfhOZ1e2YyjHrrRw6LiKLx6i\nnTSj\r\n=ftJy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAx000Smz0OpDBM5bfVGiToc+1kV1CVRJ2VNK6Ezv2IbAiAcMFmv+L8ZYVXMSbAz9LXkwq5C0U+8QjGVMn9mK67LIQ=="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.3.1_1554752348919_0.1961551118790903"},"_hasShrinkwrap":false},"0.3.2":{"name":"json-schema-to-es-mapping","version":"0.3.2","main":"src/index.js","description":"Generate Elastic Search mapping schema from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"2aa6c1045387de41f3ee9f5e62bd3f69d81778d4","_id":"json-schema-to-es-mapping@0.3.2","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-m6HDziYJnMmPujJ9fHf9CodTtNSudUk/utpdSfZgue7U0qTW6bgu5NsjzqsNdVYSkDzal+Clw0Q1knWDGABaUQ==","shasum":"a82895bd869593d783efbd6483a3febd4f59da57","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.3.2.tgz","fileCount":24,"unpackedSize":41371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq7WBCRA9TVsSAnZWagAA4HQQAIFx9qdswtOLCvT2E0QD\nay5Hw1lxMQbyA0Yr/oqWwDMEqb8tK7KFDJPUy+ysdP26UJHu8HgXIyQEEgDd\nDHxEmZFcrRQrLBa1iJdjfT9+Y2jJflzHnbWrzoDSFHZl4tgjXheOQBOa8NZZ\nRwF+xAQRoRs27Y8+PezRzx7JYWx+ggzvFI51g384aOctpqMgGQddwNyfqvX5\n4W368Cf6HOVw5OPCbdt9XL7hC0H6EJDYP/8oO9bT5Bh6Of4hrsm9r3SGqmwL\nZ4OLmdYMjvQDMUye3eUY6RbpoRvuwwPY9xy7UjJgLRbpli/9teyQ95snuBls\nIphZGmFdqnKemZTnDNvQDk7FCvZ+wDKnkeaYHMzbnALaBHIUszFr96OMIgxp\nGz7twVH40ekQNLgEsvg39CRGGouz4CDqsDkQZRmmhxHeMaeIorfW3rbz4eBG\n0pp9Dz+k9jljFJGD69xVxQXf6bi1DeuVpcErWzems+awoAqz/EAaL2GbtkMt\n1DIX4aISUSL9xC7cn3TVBuddpE5GSye6uNVLBOhKiPSE/z+ztvx7TnFu2GXz\nliM0QIr+PIwa2fWRtbk3Tc+uFngrYWKZhTwVh/DdigH0QBuDM6ju5AzTETcV\nh4o38c9SuoB1JGASoxVV/9wWG+9V8nq7g2UuUPu7CdAdUQeaw/9M8PHL3KFv\nx/0A\r\n=nD4h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHq23UWuTP0kkgyySMMT22PdUYjJ/3G2DO0jsE7ksXjPAiBD9gqMZMZLvFOn3MTn9kQuc2Iwis0Csls468/rxTQkPA=="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.3.2_1554756992691_0.9644314438098069"},"_hasShrinkwrap":false},"0.3.3":{"name":"json-schema-to-es-mapping","version":"0.3.3","main":"src/index.js","description":"Generate Elastic Search mappings from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"gitHead":"c28382051cc3126ffe2f2d1eabf60191c61c2699","_id":"json-schema-to-es-mapping@0.3.3","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-IyGSSfVQ4NGFstWvSv9Ibfh+fU2GkwV8zM5iYHgGP0Jg1Jx7lUA+J9v/HszfAdUSOG2LXRvK8fcbZ9WMXeeSSw==","shasum":"3f6ac9883a49d44dbceb55aae3ee26c6a49fc819","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.3.3.tgz","fileCount":24,"unpackedSize":42828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq/PTCRA9TVsSAnZWagAA7nkP/ikpU9D9aGRH8KurVWWJ\n49PeMvYG4GNQDh+SDSu2cYz4zHz54Ay35e8Kj4BXuHG9DgOgWel2B+pYSTYY\nLx+N8aaCtGrxZqG8cbwoXH5P38alBmFOdvikg98DSSDC9H3mQ2pfGUf5G9PK\nTXxmyhtCAl1HJ316+WF9EHgqzj1UKPm3AdJmm9lQYOTJ7FaXnA3OZwuXiypr\nU2guAHNRp2wXNKaQtnyFfPkfxmXWloM14N2gWpj4DLJBCwObHXalQVwWZO6y\npxIVlYU+vGJ2UMs4YbGPeiraQtMz0l/UY0QVrEYZFIMLNcf+U/Az3uJ7oosQ\n7Dxuf0OZIobDkoSywJADv2hz7Nqp2yWcdcQfLgZdVP4o5mqwnEFpQjkkQxeZ\nQUD0X5VwngjyBu0X7ocOT2Z7CTfyM3vtxDmtr1MhC3DUJ34t7etQlD1bp28+\nGYT2zSnxkVREIqFz6kVJSaFRQwUm71JUDUVdTKLU2QiVnlWTKa0Hyn0gnCJ3\nMrXJUmULR/CE1ZsvbMIP/sns1KEMI4cS7mb3wTfpRj7BJH9/f8zFxiTX95BJ\nkqyygb0rZWcl5wMxDOnw5q8UmgGXIKSbQS7apuwInapyuy48kNIv75HWNGXS\nudlXRGtZtkddXwttX+PTI6wwhrs4nj/a3zVyAmTENgRaCseZHH8yWJb1hvU9\nIqwo\r\n=XcH/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDS8uCuH9T6k+PmljX1palnSAfNjBXX5D3DrcVgbgshOAIgaRdiGmVcd3C5heC3Xh/UYfojue+DJRntNx57R3Hy6jw="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.3.3_1554772946898_0.860637799148392"},"_hasShrinkwrap":false},"0.3.4":{"name":"json-schema-to-es-mapping","version":"0.3.4","main":"src/index.js","description":"Generate Elastic Search mappings from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"dependencies":{"dot-prop":"^5.0.0","inflection":"^1.12.0"},"gitHead":"47d5f9d8206280152148c183bedcc6b1721b77ec","_id":"json-schema-to-es-mapping@0.3.4","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-xoMh97SaiIwvpktO8Hfw+WBadD2AkVyEb9gsQW/vKDsKRXvwOe23VaIbco69g7tKhFv/JymyssHHdsB9TPAk8A==","shasum":"a9ef24d5d1e74eb434df931ba6f04b1f21c6a30b","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.3.4.tgz","fileCount":37,"unpackedSize":58783,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsDDWCRA9TVsSAnZWagAAHqoP+wWH7hLK79HZIsYZgbdN\nqpfpg6DhbJThlRwcz209KiD441PhiuS5MOGyiS/6epEyNqLuxoZlV4t/UJmu\nQFVG8ZUfuHQ5hnUBYpejLv9VbeyNhCsH3dFyWv1GnyhNVlJYC0Q6TaVrpHNL\nVOIixnHp/PuZ0pHVP7xaPdkQMZN0dRowqN/sQcO+RsbsCboMe1UJmPd9s9Og\nZRhbcSKwUiGCa4i08MmqudzieY4hDvP1MEaw7cS0H4yUZwaWwBp/BYciZaze\nfE9O77jjtmFku9D+uruTa8mWdYfThh3/Bte8frCNr01PtDbUo/RUPeGi3UEa\nKoBBFla/qvRtkMmmKcoM8T4m3+R+MpJXYnmJYKeeWck+pd1G5hkUP332v8bL\nDqwhlAbR+8qOfDYUNNSNvwx79cQETAkxdA6X1TcSpUbLEJWHERcdLOesPsEG\n8F5v8AhkiNYbUeMxp87RwkU/U0KeCn2tYlrZvwcDc20oxq0ccvljg3dxwF4K\nWr4V1bZd6ZGba64N9xEBELYEEpYRla+ZiGRkwWpKUz/DX6AZh5XIWfXOGkxh\nt7ywwaaeuKOMqFUIjDVCJpVJ7BoDxzkwyEdN2GY2HOvlhxspD0QNWIBRsTBU\ncrrt8/5OEVOkW03exAOjH5FyB+5gKIWQvb+ijrDalzzsqYb2gGoYTug7tJkj\nFRf7\r\n=X18/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGnsS4zuJ58Y1FBIUKJ15jY+9lFsaE5bsnoR9RWsUE4iAiAgOBe1B/Jmm5AYIWf33Iers5YwPiMRQa1wp098RIhd5A=="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.3.4_1555050709745_0.42088726262188336"},"_hasShrinkwrap":false},"0.3.5":{"name":"json-schema-to-es-mapping","version":"0.3.5","main":"src/index.js","description":"Generate Elastic Search mappings from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"dependencies":{"dot-prop":"^5.0.0","inflection":"^1.12.0"},"gitHead":"cbee213453e41ceb92cb84ed1831692b221ff974","_id":"json-schema-to-es-mapping@0.3.5","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-v7R+bQu0OZMjCK1N6/XxXT2Vrurl8SqjllI2vtnkf0w5DGXrfosFz4zQ1nGcc4ZbF3YRo5j2hHXgEMQ4NvjABw==","shasum":"8095b8b470027c24188dc2ccb2e4499685a154c5","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.3.5.tgz","fileCount":37,"unpackedSize":59138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsDO0CRA9TVsSAnZWagAAUeUP/2Fee9IuzraOrnCfqOwM\nxmAcgn+3QBHvzznRQ925RnccMvSCGZh4BDCO/+wGpTR0Bgl/z6ZhSAuszZwX\nq/3ABD+C8FdmA4W8jRlsuOfFGpMMUAy9ruOHgSkVzMLyQ0rXS+1ttM2WP5wn\nfUGcrY2kk3t+t/E7hWl3GpjGPdN8XiVwXcpfCJxqPU2yolnaev1oFQ8ThTfw\nrhE0p2jmcFBijsre7ijCXnm0G3Rle16DgF18MYHH1Kay+SJhX5Dz6lc0kicn\nQjRPGGtJkEPeNuPJyFhKwqu2EOEX7CCvHxetxo4D8ZrWMUaJh8StqrW7r6cI\nxCHnxkDx9RoVmo8akXdJNWC5JgQdUtc12cdolpE5uc3QpHwHFf0wBjWg9ykD\n2K0iyXSYPOTrD3oXPbDR3HO3gUFxl3vm11WxuVUocYnARs/TQcm2fwvmChbf\nxvsBCvNvhjklzMD+4mVMyXWjgEhlBjETHsKGO+n8ikouMpUrJN/Bu8oz4j+k\nJLk/Ot1U27c7RDo77h8Kokdn0rbATs77e841hF0eh0g7iMFr2F0PxOs0cqNJ\n8G77qLVVgMj7vD4zNmArFsca6/xfbQWDfdNWi8C76OacSjmkjR7UIa42vWJo\nPqOhnDh1azUmfilQ5qHqLKJxyI+cVrb6FY1zi07YMG6gSzF80z6+ajfQAHDv\nvA2F\r\n=KdB0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDCUQSxIdsUg4PdeiDe0k74z15pBVLikfuc6B5MaVLbRAiBzzrSRR/bYjpfAuIRXgeI/UZ18ZZZj0IYrYNURNO+z4Q=="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.3.5_1555051443980_0.01598565755923076"},"_hasShrinkwrap":false},"0.3.6":{"name":"json-schema-to-es-mapping","version":"0.3.6","main":"src/index.js","description":"Generate Elastic Search mappings from JSON Schema","license":"MIT","author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"devDependencies":{"jest":"^23.0.0"},"keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"scripts":{"test":"jest"},"dependencies":{"dot-prop":"^5.0.0","inflection":"^1.12.0"},"gitHead":"0c8d8cf2149df4fed01d672f5a9bc6078f508116","_id":"json-schema-to-es-mapping@0.3.6","_nodeVersion":"11.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-cq2uwXY9oML1Rz4vxjcCimi/U4DEJmA8uX9I2QGAwIIF5ZDf970E9odprzp89tA5wsnv1e8SUS0hNeSSb6NDeg==","shasum":"65cf2841ff8c9da7c54c9a1fb782efd745d6bff4","tarball":"https://registry.npmjs.org/json-schema-to-es-mapping/-/json-schema-to-es-mapping-0.3.6.tgz","fileCount":37,"unpackedSize":59901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctT76CRA9TVsSAnZWagAAUOcQAKBt2JzkLgy0P+7pd81v\nQJob1G4Oq9b9oRIYwbpOMxCX+uLReV6aBrAH2juCKmampQ+MhLtPS3PrrCTO\nOTQhE07iSOKu2uuCGhn224JeoWyx0CQPZKzi4JgfDW5GkhYj/77kEmsV+Nel\nbLSGnNpuJDSc2bUTT38RApeGIVXBcd/hSbBWz7gpC+Z3/FRzgo0DerxI9aZm\nv1Y9lORerqT+XURXmUrfmVEk8LdQhPRKEbFcLpw0NYkub+U6mj3VTCUg1gec\nGh4gJaiNVy1kXKGOJmnWdolJIa0AVbkricgLA2ug46w7EuYqksV4E5Nx/Vaa\nnF2H5SLFHvDu9O15SChSn3vdF+88y4CZtCpZZlww4ts4x1LCxryOMbVzI3I7\ndTNPCbfZx2e1b6niVwuO9zPkShGeMlfta9UfixzPj5pvWePrdZsf/+OiONM+\nQwa1UmHDSPHTRkVuEiK/3bm6banSqFdRyaoMQP8tNjL/6GW98J3BGxuPyX7M\nuipo70baS3bH6eE0h0NyL68h3RnGD5/DTmPCj0bsHGvT43/Ic+f4xbJ9ohaF\niUBEYkqAVcYb+uTPHQO2nRpMjMFJyhReoXT5Vyv1DY9n3tuwQq8uRceSRwNP\nr7MWvcirWQz+//Bb4mF44Gn4egCneH5Rqswqcqcb3jz0B1J7mHZaIm0kGRtg\nCjOh\r\n=jTJ4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8HGzzOxVlaju0BMJv5UNZ+fmJLtYBzT96PYDVyLDRTAIgezhskUXfGmmFJhUT1ar9ZIyKDFfwJUtfuBkHRl/bj+0="}]},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"_npmUser":{"name":"kmandrup","email":"kmandrup@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-to-es-mapping_0.3.6_1555382009285_0.5382492086980799"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-21T20:18:54.250Z","0.1.0":"2018-09-21T20:18:54.481Z","modified":"2022-05-06T22:06:48.383Z","0.1.1":"2018-09-21T21:46:38.402Z","0.1.2":"2018-09-22T00:11:39.422Z","0.2.0":"2019-03-28T09:45:23.751Z","0.2.1":"2019-03-28T10:27:47.478Z","0.2.2":"2019-03-28T10:40:49.592Z","0.2.3":"2019-03-28T11:57:21.653Z","0.2.4":"2019-04-04T22:17:33.575Z","0.2.5":"2019-04-05T12:49:55.952Z","0.2.6":"2019-04-07T08:38:01.265Z","0.2.7":"2019-04-07T09:17:06.455Z","0.2.8":"2019-04-07T09:40:47.692Z","0.2.9":"2019-04-07T17:27:38.614Z","0.2.10":"2019-04-08T11:05:56.768Z","0.2.11":"2019-04-08T12:01:39.310Z","0.3.0":"2019-04-08T14:07:08.239Z","0.3.1":"2019-04-08T19:39:09.068Z","0.3.2":"2019-04-08T20:56:32.889Z","0.3.3":"2019-04-09T01:22:27.105Z","0.3.4":"2019-04-12T06:31:49.873Z","0.3.5":"2019-04-12T06:44:04.174Z","0.3.6":"2019-04-16T02:33:29.447Z"},"maintainers":[{"name":"kmandrup","email":"kmandrup@gmail.com"}],"description":"Generate Elastic Search mappings from JSON Schema","homepage":"https://github.com/kristianmandrup/json-schema-to-es-mapping#readme","keywords":["elastic","search","elasticsearch","elastic-search","json","json-schema","schema","convert","build","builder","generator"],"repository":{"type":"git","url":"git+https://github.com/kristianmandrup/json-schema-to-es-mapping.git"},"author":{"name":"Kristian Mandrup","email":"kmandrup@gmail.com"},"bugs":{"url":"https://github.com/kristianmandrup/json-schema-to-es-mapping/issues","email":"kmandrup@gmail.com"},"license":"MIT","readme":"# JSON Schema to ElasticSearch mappings\n\nConvert JSON schema to [ElasticSearch mappings](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html)\n\nA mapping type has:\n\n_Meta-fields_\n\nMeta-fields are used to customize how a document’s metadata associated is treated. Examples of meta-fields include the document’s `_index`, `_type`, `_id`, and `_source` fields.\n\n_Fields or properties_\n\nA mapping `type` contains a list of fields or properties pertinent to the document.\n\n_Field datatypes_\n\nEach field has a data `type` which can be:\n\n- a simple type like `text`, `keyword`, `date`, `long`, `double`, `boolean` or `ip`\n- a type which supports the hierarchical nature of JSON such as `object` or `nested`\n- a specialised type like `geo_point`, `geo_shape`, or `completion`\n\nIt is often useful to index the same field in different ways for different purposes. For instance, a `string` field could be indexed as a `text` field for full-text search, and as a `keyword` field for sorting or aggregations. Alternatively, you could index a string field with the `standard` analyzer, the `english` analyzer, and the `french` analyzer.\n\nThis is the purpose of multi-fields. Most datatypes support multi-fields via the `fields` parameter.\n\n## Quick start\n\n- npm: `npm install json-schema-to-es-mapping -S`\n- yarn: `yarn add json-schema-to-es-mapping`\n\nThe easiest way to get started is to use `buildMappingsFor` to create a mappings object for a named index given a JSON schema.\n\n```js\nconst mappings = buildMappingsFor(\"people\", schema);\n```\n\nExample:\n\n```js\nconst schema = {\n  $schema: \"http://json-schema.org/draft-07/schema#\",\n  $id: \"http://example.com/person.schema.json\",\n  title: \"Person\",\n  description: \"A person\",\n  type: \"object\",\n  properties: {\n    name: {\n      description: \"Name of the person\",\n      type: \"string\"\n    },\n    age: {\n      description: \"Age of person\",\n      type: \"number\"\n    }\n  },\n  required: [\"name\"]\n};\n\nconst { buildMappingsFor } = require(\"json-schema-to-es-mapping\");\nconst mappings = buildMappingsFor(\"people\", schema);\nconsole.log({ mappings });\n```\n\nThis will by default give the following mappings result:\n\n```json\n{\n  \"mappings\": {\n    \"people\": {\n      \"properties\": {\n        \"name\": {\n          \"type\": \"text\"\n        },\n        \"age\": {\n          \"type\": \"integer\"\n        }\n      }\n    }\n  }\n}\n```\n\nThe function `buildMappingsFor` uses the `build` function to return the properties map and simply wraps them with a `mappings` object for the named index.\n\n## Supported mappings\n\nCurrently all Elastic Search core data types are supported (except for `binary`).\n\n- string\n- numeric\n- boolean\n- date\n- range (numeric, date)\n\n### Numeric\n\nYou can assist the numeric type mapper by supplying a `numType` for the field entry, such as `numType: \"double\"`\n\nSee ES [number](https://www.elastic.co/guide/en/elasticsearch/reference/current/number.html#number) reference for list of valid `numType`s (except for `scaled_float`)\n\n### Ranges\n\n- Numeric\n- Date\n\n#### Numeric ranges\n\nTo make a numeric field entry be mapped to an ES numeric range:\n\n- Set `range: true`\n- Set a minimum range value, either `minimum` or `exlusiveMinimum`\n- Set a maximum range value, either `maximum` or `exlusiveMaximum`\n\nIf you leave out the `range: true` it will be resolved as a number, using the min and max values and the `multipleOf` (precision). These properties will in combination be used to determine the exact numeric type (`byte`, `short`, ... `double`) to be used in the Elastic Search numeric type mapping.\n\n#### Date ranges\n\nTo make an entry detect as a date range, the same applies as for a number range but the entry must also resolve to a date type (see `types/util.js` function `isDate(obj)` for details)\n\n## Recent feature additions\n\nNow also resolves:\n\n- Array items that are themselves object types\n- References to object definitions (ie. `$ref`)\n- [Parent-child mapping](https://www.elastic.co/guide/en/elasticsearch/guide/current/parent-child-mapping.html)\n\n## Limitations and coming features\n\nSupport for Geo location mapping will likely be included in the near future. \n\nPlease Let me know any other features you'd like to include for a more feature complete library!\n\nInitial work to support these features have been started in the [dev](https://github.com/kristianmandrup/json-schema-to-es-mapping/tree/dev) branch and should land soon (0.4.0).\n\n## Fine grained control\n\nFor more fine-grained control, use the `build` function directly.\n\n```js\nconst { build } = require(\"json-schema-to-es-mapping\");\nconst { properties, results } = build(schema);\nconsole.log({ properties, results });\n```\n\nWill output the following Elastic Search Mapping schema:\n\n```json\n{\n  \"name\": {\n    \"type\": \"text\"\n  },\n  \"age\": {\n    \"type\": \"float\"\n  }\n}\n```\n\nThe `results` will in this (simple) case give the same results as the `mappings`:\n\n```js\n{\n  name: { type: \"keyword\" },\n  age: { type: \"float\" }\n}\n```\n\n## Event driven approach\n\nYou can use the Event driven approach with the `onResult` and other calback handlers, to generate a more context specific mapping for Elastic Search context, given your requirements.\n\n```js\nconst received = [];\nconst onResult = result => {\n  console.log(\"received\", result);\n  received.push(result);\n};\n\n// potentially use to call resolve callback of Promise\nconst onComplete = fullResult => {\n  console.log(\"ES mapping done :)\", {\n    fullResult, // 'internal\" results\n    received // list built by onResult\n  });\n};\n\n// potentially use to call reject callback of Promise\nconst onError = errMsg => {\n  console.error(\"ES mapping error\", errMsg);\n  throw errMsg;\n};\n\n// potentially use to call reject callback of Promise\nconst onThrow = err => throw err;\nconst config = { onResult, onComplete, onError, onThrow };\n```\n\nThe `onResult` handler will populate the `received` array with the following:\n\n```js\n[\n  { parentName: \"Person\", key: \"name\", resultKey: \"name\", type: \"text\" },\n  {\n    parentName: \"Person\",\n    key: \"age\",\n    resultKey: \"age\",\n    type: \"float\"\n  }\n];\n```\n\nYou will also get notified on:\n\n- successful completion of JSON schema mapping via `onComplete` callback\n- aborted due to processing error via `onError` callback\n- aborted due to throwing exception via `onThrow` callback\n\nThe Event driven approach is entirely optional, but can be used for a more \"stream like\" approach. This approach works well with async promises (ie. `reject` and `resolve` callbacks).\n\nOn each result received you can then issue a command to the Elastic Search server (f.ex via the REST interface) to add a new mapping that reflects the result received.\n\n[Put mapping](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html)\n\n```bash\nPUT person/_mapping/_doc\n{\n  \"properties\": {\n    \"age\": {\n      \"type\": \"float\"\n    }\n  }\n}\n```\n\nAlternatively only submit the ES index mappings after `onComplete` is triggered, to make sure the full JSON schema could be processed, so that you don't end up with partial schema mappings.\n\n## Nested schemas\n\nFor a nested schema of the form:\n\n```js\n{\n  $schema: \"http://json-schema.org/draft-07/schema#\",\n  $id: \"http://example.com/person.schema.json\",\n  title: \"Person\",\n  description: \"A person\",\n  type: \"object\",\n  properties: {\n    name: {\n      description: \"Name of the person\",\n      type: \"string\"\n    },\n    dog: {\n      type: \"object\",\n      typeName: \"Animal\",\n      properties: {\n        name: {\n          description: \"Name of the dog\",\n          type: \"string\",\n          required: true\n        },\n        age: {\n          description: \"Age of dog\",\n          type: \"number\"\n        }\n      }\n    }\n  },\n  required: [\"name\"]\n};\n```\n\n`buildMappingsFor` will in this case generate an Elastic Search mapping as follows:\n\n```js\nmappings: {\n  people: {\n    properties: {\n      name: {\n        type: \"keyword\"\n      },\n      dog: {\n        properties: {\n          name: {\n            type: \"keyword\"\n          },\n          age: {\n            type: \"float\"\n          }\n        }\n      }\n    }\n  }\n}\n```\n\nNote that the `dog` object results in a nested mapping (see ElasticSearch resources below)\n\nThe `results` will in this case give:\n\n```js\n{\n  name: { type: 'keyword' },\n  dog_name: { type: 'keyword' },\n  dog_age: { type: 'float' },\n  dog: {\n    name: { type: 'keyword' },\n    age: { type: 'float' }\n  }\n}\n```\n\nNotice how the dog properties are provided both in flat and nested form. Depending on your requirements, you might want to store the Elastic Search data in a more flat form than in your general application domain model.\n\n### Customizing the result\n\nYou can pass a custom function `shouldSetResult(converter)` which controls under which converter conditions the result should be set. You can also pass:\n\n- a custom name separator `nameSeparator`\n- a `resultKey(converter)` function, to customize how result keys (names) are generated\n- a `nestedKey(converter)` function, to customize how nested result keys (names) are generated\n\nExample:\n\n```js\nconst config = {\n  shouldSetResult: converter => {\n    return converter.type !== \"object\";\n  },\n  nameSeparator: \"__\" // example: dog__age\n};\n```\n\nThis configuration will result in results discarding the nested form, thus only retaining flattened field mappings.\n\n```js\n{\n  name: { type: 'keyword' },\n  dog__name: { type: 'keyword' },\n  dog__age: { type: 'float' },\n}\n```\n\nIf you add an `onResult` handler to receive results, it will look as follows:\n\n```js\nresults:\n  [\n    {\n      parentName: 'Person',\n      key: 'name',\n      resultKey: 'name',\n      type: 'keyword'\n    },\n    {\n      parentName: 'dog',\n      key: 'name',\n      resultKey: 'dog__name',\n      type: 'keyword'\n    },\n    { parentName: 'dog',\n      key: 'age',\n      resultKey: 'dog__age',\n      type: 'float'\n    },\n    { parentName: 'Person',\n      typeName: 'Animal',\n      key: 'dog',\n      resultKey: 'dog',\n      properties: {\n        name: { type: 'keyword' },\n        age: { type: 'float' }\n      }\n    }\n  ]\n}\n```\n\nNote the `typeName` in the result for the `dog` fields (more on this later)\n\n## Default configuration\n\nThe default configuration is as follows.\n\n```js\n{\n  _meta_: {\n    types: {\n      string: \"keyword\",\n      number: \"float\",\n      object: \"object\",\n      array: \"nested\",\n      boolean: \"boolean\",\n      date: \"date\"\n    }\n  },\n  fields: {\n    name: {\n      type: \"keyword\"\n    },\n    content: {\n      type: \"text\"\n    },\n    text: {\n      type: \"text\"\n    },\n    title: {\n      type: \"text\"\n    },\n    caption: {\n      type: \"text\"\n    },\n    label: {\n      type: \"text\"\n    },\n    tag: {\n      type: \"keyword\",\n      index:    \"not_analyzed\"\n    }\n  }\n}\n```\n\nNote that some or all of these might benefit from being defined as multi fields, that are indexed and analyzed both as `text` and `keyword`.\n\nYou can pass in a custom configuration object (last argument) to override or extend it ;)\n\nNote that for convenience, we pass in some typical field mappings based on names. Please customize this further to your needs.\n\n## Customization\n\n- Type mappers\n- Rules\n\n### Type mappers\n\nYou can pass in custom Type mapper factories if you want to override how specific types are mapped.\n\nInternally this is managed in the `SchemaEntry` constructor in `entry.js`:\n\n```js\nthis.defaults = {\n  types: {\n    string: toString,\n    number: toNumber,\n    boolean: toBoolean,\n    array: toArray,\n    object: toObject,\n    date: toDate,\n    dateRange: toDateRange,\n    numericRange: toNumericRange\n  },\n  typeOrder: [\n    \"string\",\n    \"dateRange\",\n    \"numericRange\",\n    \"number\",\n    \"boolean\",\n    \"array\",\n    \"object\",\n    \"date\"\n  ]\n};\n\nthis.types = {\n  ...this.defaults.types,\n  ...(config.types || {})\n};\nthis.typeOrder = config.typeOrder || this.defaults.typeOrder;\n```\n\nTo override, simply pass in a custom `types` object and/or a custom `typeOrder` array of the precedence order they should be resolved in.\n\n#### Custom Type mapper example (object)\n\nCreate a `toObject` file loally in your project that contains your overrides\n\n```js\nconst { types } = require(\"json-schema-to-es-mapping\");\nconst { MappingObject, toObject, util } = types;\n\nclass MyMappingObject extends MappingObject {\n  // ...override\n\n  createMappingResult() {\n    return this.hasProperties\n      ? this.buildObjectValueMapping()\n      : this.defaultObjectValueMapping;\n  }\n\n  buildObjectValueMapping() {\n    const { buildProperties } = this.config;\n    return buildProperties(this.objectValue, this.mappingConfig);\n  }\n}\n\nmodule.exports = function toObject(obj) {\n  return util.isObject(obj) && new MyMappingObject(obj).convert();\n};\n```\n\nImport the `toObject` function and pass it in the `types` object of the `config` object passed to the `build` function.\n\n```js\n// custom implementation\nconst toObject = require(\"./toObject\");\n\nconst myConfig = {\n  types: {\n    toObject\n  }\n};\n\n// will now use the custom toObject for mapping JSON schema object to ES object\nbuild(schema, myConfig);\n```\n\nDepending on your requirements, you can post-process the generated mapping to better suit your specific needs and strategies for handling nested/complex data relationships.\n\n## Elastic search types\n\n- [Elasticsearch: mapping types](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html)\n\nCore:\n\n- String (`text`, `keyword`)\n- Numeric (`long`, `integer`, `short`, `byte`, `double`, `float`, `half_float`, `scaled_float`)\n- Date (`date`)\n- Boolean (`boolean`)\n- Binary (`binary`)\n- Range (`integer_range`, `float_range`, `long_range`, `double_range`, `date_range`)\n\n## Type mappings\n\nThe default type mappings are as follows:\n\n- `boolean` -> `boolean`\n- `object` -> `object`\n- `array` -> `nested`\n- `string` -> `keyword`\n- `number` -> `integer`\n- `date` -> `date`\n\nFor `array` it will use `type` of first [array item](https://cswr.github.io/JsonSchema/spec/arrays/) if [basic type](https://cswr.github.io/JsonSchema/spec/basic_types/) and the type for all array items are the same.\n\n```js\n{\n  \"type\": \"array\",\n  \"items\":{\n    \"type\": \"integer\"\n  }\n}\n```\n\nIf array item types are note \"uniform\" it will throw an error.\n\nFor the following array JSON schema entry the mapper will currently set the mapping type to `string` (by default). Please use the customization options outlined to define a more appropriate mapping strategy if needed.\n\n```js\n{\n \"type\": \"array\",\n \"items\" : [{\n    \"type\": \"string\"\n    // ...\n  },\n  {\n    \"type\": \"string\"\n    // ...\n  },\n ]\n}\n```\n\nYou can override the default type mappings by passing a `types` entry with type mappings in the `_meta_` entry of `config`\n\n```js\nconst config = {\n  _meta_: {\n    types: {\n      number: \"long\", // use \"integer\" for numbers\n      string: \"text\" // use \"text\" for strings\n    }\n  }\n};\n```\n\n### Rules\n\nYou can pass an extra configuration object with specific rules for ES mapping properties that will be merged into the resulting mapping.\n\n```js\nconst config = {\n  _meta_: {\n    types: {\n      number: \"long\", // use \"integer\" for numbers\n      string: \"text\" // use \"text\" for strings\n    }\n  },\n  fields: {\n    created: {\n      // add extra indexing field meta data for Elastic search\n      format: \"strict_date_optional_time||epoch_millis\"\n      // ...\n    },\n    firstName: {\n      type: \"keyword\" // make sure firstName will be a keyword field (exact match) in ES mapping\n    }\n  }\n};\n\nconst { build } = require(\"json-schema-to-es-mapping\");\nconst mapping = build(schema, config);\n```\n\nAlso note that you can pass in many of the functions used internally, so that the internal mechanics themselves can easily be customized as needed or used as building blocks.\n\n### Elastic Search nested objects and data\n\n- [Elasticsearch: Nested datatype](https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html)\n- [Elasticsearch: Nested Objects](https://www.elastic.co/guide/en/elasticsearch/guide/current/nested-objects.html)\n- [Elasticsearch data schema for nested objects](https://stackoverflow.com/questions/43488166/elasticsearch-data-schema-for-nested-objects)\n- [Elasticsearch : Advanced search and nested objects](http://obtao.com/blog/2014/04/elasticsearch-advanced-search-and-nested-objects/)\n\n## Advanced customization\n\nTo override the default mappings for certain fields, you can pass in a fields mapping entry in the `config` object as follows:\n\n```js\nconst config = {\n  fields: {\n    timestamp: {\n      type: \"date\",\n      format: \"dateOptionalTime\"\n    }\n    // ... more custom field mappings\n  }\n};\n```\n\nFor a more scalable customization, pass an `entryFor` function which returns custom mappings\ndepending on the entry being processed.\n\n- `key`\n- `resultKey` (ie. potentially nested key name)\n- `parentName` name of parent entry if nested property\n- `schemaValue` (entry from JSON schema being mapped)\n\nYou could f.ex use this to provide custom mappings for specific types of date fields.\n\n```js\nconst config = {\n  entryFor: ({ key }) => {\n    if (key === \"date\" || key === \"timestamp\") {\n      return {\n        type: \"date\",\n        format: \"dateOptionalTime\"\n      };\n    }\n  }\n};\n```\n\n### resolve type maps\n\nYou can use [resolve-type-maps](https://github.com/kristianmandrup/resolve-type-maps) to define mappings to be used across your application in various schema-like contexts:\n\n- GraphQL schema\n- Data storage (tables, colletions etc)\n- Validation\n- Forms\n- Data Display\n- Indexing (including Elastic Search)\n- Mocks and fake data\n\n```js\nconst fieldMap = {\n  name: {\n    matches: ['title', 'caption', 'label'],\n    elastic: {\n      type: 'string',\n    }\n  }\n  tag: {\n    matches: ['tags'],\n    elastic: {\n      type: 'keyword',\n    }\n\n  },\n  text: {\n    matches: ['description', 'content'],\n    elastic: {\n      type: 'text',\n    }\n  },\n  date: {\n    matches: ['date', 'timestamp'],\n    elastic: {\n      type: 'text',\n      format: 'dateOptionalTime'\n    }\n  }\n}\n\nconst typeMap = {\n  Person: {\n    matches: ['User'],\n    fields: {\n      dog: {\n        // ...\n        elastic: {\n          type: 'nested',\n          // ...\n        }\n      },\n      // ...\n    }\n  }\n}\n```\n\nThen pass an `entryFor` function in the config object to resolve the entry to be used for the ES mapping entry.\n\n```js\nimport { createTypeMapResolver } from \"resolve-type-maps\";\n\nconst map = {\n  typeMap,\n  fieldMap\n};\n\nconst resolverConfig = {};\nconst functions = {\n  resolveResult: (obj) => obj.elastic;\n}\n\nconst resolver = createTypeMapResolver(\n  { map, functions },\n  resolverConfig\n);\n\nconst config = {\n  entryFor: ({ parentName, typeName }) => {\n    // ensure capitalized and camelized name\n    const type = classify(typeName || parentName);\n    const name = converter.key;\n    return resolver.resolve({ type, name });\n  }\n};\n```\n\nNote that for `typeName` to be set, either set a `className` or `typeName` property on the object entry in the JSON schema (see `dog` example above) or alternatively provide a lookup function `typeNameFor(name)` on the config object passed in.\n\nFor inner workings, see [TypeMapResolver.ts](https://github.com/kristianmandrup/resolve-type-maps/blob/master/src/lib/TypeMapResolver.ts)\n\nThe above configuration should look up the elastic mapping entry to use, based on the type/field combination in the `typeMap` first and then fall back to the field name only in the `fieldMap` if not found. On a match, it will resolve by returning entry named `elastic` in the object matching.\n\n```js\n{\n  Person: {\n    matches: [/User/],\n    fields: {\n      dog: {\n        // ...\n        elastic: {\n          type: 'nested',\n          // ...\n        }\n      },\n    }\n  }\n}\n```\n\nIt should match a schema (or nested schema entry) named `Person` or `User` on the `typeMap` entry `Person`. For the nested `dog` entry it should then match on the entry `dog` under `fields` and return the entry for elastic, ie:\n\n```js\n{\n  type: \"nested\";\n}\n```\n\nIf no match is made in the `typeMap`, it will follow a similar strategy by lookup a match in the `fieldMap` (as per the `maps` entry passed in the `config` object when creating the `resolver`), matching only on the field name.\n\n## ElasticSearch mapping resources\n\n- [mapping](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html)\n- [removal of types](https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html)\n- [nested](https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html)\n\n## Testing\n\nUses [jest](jestjs.io/) for unit testing.\n\nCurrently not well tested. Please help add more test coverage :)\n\n## TODO\n\n### 1.0.0\n\n- Convert project to TypeScript\n- Add unit tests for ~80% test coverage\n- Improve mappings for:\n  - Date range\n\n## Author\n\n2019 Kristian Mandrup (CTO@Tecla5)\n\n## License\n\nMIT\n","readmeFilename":"Readme.md"}