{"_id":"oas-schema-walker","_rev":"399024","name":"oas-schema-walker","description":"Library to walk OAS 3 schema objects and call a callback","dist-tags":{"latest":"1.1.5"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"time":{"modified":"2021-08-04T04:24:21.000Z","created":"2018-06-27T10:47:52.393Z","1.1.5":"2020-07-31T07:51:20.590Z","1.1.4":"2020-03-31T10:40:23.365Z","1.1.3":"2020-03-08T15:42:10.541Z","1.1.2":"2019-01-06T05:55:48.698Z","1.1.1":"2018-12-14T09:44:08.548Z","1.1.0":"2018-09-21T11:27:13.406Z","1.0.4":"2018-07-04T07:52:59.004Z","1.0.3":"2018-06-27T12:54:10.561Z","1.0.2":"2018-06-27T12:53:29.274Z","1.0.1":"2018-06-27T12:52:29.827Z","1.0.0":"2018-06-27T10:47:52.393Z"},"users":{},"author":{"name":"Mike Ralphson"},"repository":{"type":"git","url":"git+https://github.com/Mermade/oas-kit.git"},"versions":{"1.1.5":{"name":"oas-schema-walker","version":"1.1.5","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"funding":"https://github.com/Mermade/oas-kit?sponsor=1","keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","repository":{"type":"git","url":"git+https://github.com/Mermade/oas-kit.git"},"bugs":{"url":"https://github.com/mermade/oas-kit/issues"},"gitHead":"dc53888b6184e0896ac878a39fec92f835fd44a3","homepage":"https://github.com/Mermade/oas-kit#readme","_id":"oas-schema-walker@1.1.5","_nodeVersion":"10.20.1","_npmVersion":"lerna/3.22.1/node@v10.20.1+x64 (linux)","dist":{"shasum":"74c3cd47b70ff8e0b19adada14455b5d3ac38a22","size":2650,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.1.5.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.1.5_1596181880461_0.8427279927709077"},"_hasShrinkwrap":false,"publish_time":1596181880590,"_cnpm_publish_time":1596181880590},"1.1.4":{"name":"oas-schema-walker","version":"1.1.4","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"funding":"https://github.com/Mermade/oas-kit?sponsor=1","keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","repository":{"type":"git","url":"git+https://github.com/Mermade/oas-kit.git"},"bugs":{"url":"https://github.com/mermade/oas-kit/issues"},"gitHead":"33e314acc5ff77e912a0ad88e1c472d140194a6e","homepage":"https://github.com/Mermade/oas-kit#readme","_id":"oas-schema-walker@1.1.4","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.20.2/node@v10.15.0+x64 (linux)","dist":{"shasum":"4b9d090c3622039741334d3e138510ff38197618","size":2633,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.1.4.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.1.4_1585651223091_0.8809602474884302"},"_hasShrinkwrap":false,"publish_time":1585651223365,"_cnpm_publish_time":1585651223365},"1.1.3":{"name":"oas-schema-walker","version":"1.1.3","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","repository":{"type":"git","url":"git+https://github.com/Mermade/oas-kit.git"},"bugs":{"url":"https://github.com/mermade/oas-kit/issues"},"gitHead":"3c04d8c190507d806746d45042fcb8d579dfb237","homepage":"https://github.com/Mermade/oas-kit#readme","_id":"oas-schema-walker@1.1.3","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.19.0/node@v10.15.0+x64 (linux)","dist":{"shasum":"2f6bdc79a7ae6e2331b051996075830e4c8cba86","size":2617,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.1.3.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.1.3_1583682130430_0.5274226062902332"},"_hasShrinkwrap":false,"publish_time":1583682130541,"_cnpm_publish_time":1583682130541},"1.1.2":{"name":"oas-schema-walker","version":"1.1.2","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","repository":{"type":"git","url":"git+https://github.com/Mermade/oas-kit.git"},"bugs":{"url":"https://github.com/mermade/oas-kit/issues"},"gitHead":"50a250ff1e68b735925e06e59ba9aed12207216c","_resolved":"","_integrity":"","_from":"file:oas-schema-walker-1.1.2.tgz","homepage":"https://github.com/Mermade/oas-kit#readme","_id":"oas-schema-walker@1.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"dist":{"shasum":"0ad6b78a01421cb9fda9dd820f23f5db51d51b86","size":2612,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.1.2.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.1.2_1546754148526_0.34396380365496126"},"_hasShrinkwrap":false,"publish_time":1546754148698,"_cnpm_publish_time":1546754148698},"1.1.1":{"name":"oas-schema-walker","version":"1.1.1","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","repository":{"type":"git","url":"git+https://github.com/Mermade/oas-kit.git"},"bugs":{"url":"https://github.com/mermade/oas-kit/issues"},"gitHead":"81067168e0cc0c151de4fd25bf24cfc23bc7bf8b","_resolved":"","_integrity":"","_from":"file:oas-schema-walker-1.1.1.tgz","homepage":"https://github.com/Mermade/oas-kit#readme","_id":"oas-schema-walker@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"dist":{"shasum":"042639df5cc2cf215b9a7601d0e922cdb2e89928","size":2611,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.1.1.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.1.1_1544780648416_0.6527233386942206"},"_hasShrinkwrap":false,"publish_time":1544780648548,"_cnpm_publish_time":1544780648548},"1.1.0":{"name":"oas-schema-walker","version":"1.1.0","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","gitHead":"c0080cde40d45cde9a972918668aec899b49834b","_id":"oas-schema-walker@1.1.0","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"dist":{"shasum":"188902a799cbcb9a1dd463387776556054de5f66","size":2547,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.1.0.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.1.0_1537529233284_0.41117147232885"},"_hasShrinkwrap":false,"publish_time":1537529233406,"_cnpm_publish_time":1537529233406},"1.0.4":{"name":"oas-schema-walker","version":"1.0.4","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","gitHead":"f4c3f9df9ff1e8b2e8b7ce4c961c6fa3b9c18196","_id":"oas-schema-walker@1.0.4","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"dist":{"shasum":"69f0ce28e40d9e268d42ba45d7370360cdeaab1c","size":2508,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.0.4.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.0.4_1530690778876_0.6189235349109705"},"_hasShrinkwrap":false,"publish_time":1530690779004,"_cnpm_publish_time":1530690779004},"1.0.3":{"name":"oas-schema-walker","version":"1.0.3","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","gitHead":"35db8259dbe6591e05c9645bb183e1f1f39a85ff","_id":"oas-schema-walker@1.0.3","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"dist":{"shasum":"f1ae73a671bef5fdcc71335d65e623fa4abb46ff","size":2033,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.0.3.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.0.3_1530104050493_0.3409988303023537"},"_hasShrinkwrap":false,"publish_time":1530104050561,"_cnpm_publish_time":1530104050561},"1.0.2":{"name":"oas-schema-walker","version":"1.0.2","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","gitHead":"da527220c78530e836c33f77178493aab93d385c","_id":"oas-schema-walker@1.0.2","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"dist":{"shasum":"ce0292c460a110df0a2849ada412785a73ef882c","size":2034,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.0.2.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.0.2_1530104009233_0.2718123879997705"},"_hasShrinkwrap":false,"publish_time":1530104009274,"_cnpm_publish_time":1530104009274},"1.0.1":{"name":"oas-schema-walker","version":"1.0.1","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","gitHead":"30f0d70641ea710b25ca91ef8379d172704e691d","_id":"oas-schema-walker@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"dist":{"shasum":"8d0018bc45b1abdcdacb53ce1f90412ffc8cd273","size":2032,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.0.1.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.0.1_1530103949732_0.7695282127943439"},"_hasShrinkwrap":false,"publish_time":1530103949827,"_cnpm_publish_time":1530103949827},"1.0.0":{"name":"oas-schema-walker","version":"1.0.0","description":"Library to walk OAS 3 schema objects and call a callback","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["openapi","swagger","oas","schema","json-schema"],"author":{"name":"Mike Ralphson"},"license":"BSD-3-Clause","gitHead":"b31b3b0ea06bca8204d0313c37dc8a515f0bf92e","_id":"oas-schema-walker@1.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mermade","email":"mike.ralphson@gmail.com"},"dist":{"shasum":"a43554488f99181301414a686ebf70cb31b77449","size":1981,"noattachment":false,"key":"/oas-schema-walker/-/oas-schema-walker-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/oas-schema-walker/download/oas-schema-walker-1.0.0.tgz"},"maintainers":[{"name":"mermade","email":"mike.ralphson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-schema-walker_1.0.0_1530096472330_0.056769540237041616"},"_hasShrinkwrap":false,"publish_time":1530096472393,"_cnpm_publish_time":1530096472393}},"readme":"# OAS-Schema-Walker\n## Functions\n\n<dl>\n<dt><a href=\"#getDefaultState\">getDefaultState()</a> ⇒</dt>\n<dd><p>obtains the default starting state for the <code>state</code> object used\nby walkSchema</p>\n</dd>\n<dt><a href=\"#walkSchema\">walkSchema(parent, state, callback,)</a> ⇒</dt>\n<dd><p>begins the walk of a schema object, or the <code>state</code> object used\nby walkSchema</p>\n</dd>\n</dl>\n\n<a name=\"getDefaultState\"></a>\n\n## getDefaultState() ⇒\nobtains the default starting state for the `state` object used\nby walkSchema\n\n**Kind**: global function\n**Returns**: the state object suitable for use in walkSchema\n<a name=\"walkSchema\"></a>\n\n## walkSchema(parent, state, callback,) ⇒\nbegins the walk of a schema object, or the `state` object used\nby walkSchema\n\n**Kind**: global function\n**Returns**: the schema object\n\n| Param | Description |\n| --- | --- |\n| parent | the parent schema, if any. Use empty object if none |\n| state | the initial starting state of the walker, usually obtained from `getDefaultState` |\n| callback, | a function taking a schema, parent and state to be called on this and all subschemas |\n\n","_attachments":{},"homepage":"https://github.com/Mermade/oas-kit#readme","bugs":{"url":"https://github.com/mermade/oas-kit/issues"},"license":"BSD-3-Clause"}