{"_id":"@authenio/xsd-schema-validator","_rev":"3-ad5583333255dac7ff827546e4c31d84","name":"@authenio/xsd-schema-validator","dist-tags":{"latest":"0.7.3"},"versions":{"0.7.1":{"name":"@authenio/xsd-schema-validator","version":"0.7.1","description":"A (XSD) schema validator for nodejs","main":"lib/validator.js","scripts":{"all":"run-s lint test","lint":"eslint .","test":"mocha","postinstall":"javac support/XMLValidator.java"},"repository":{"type":"git","url":"git+https://github.com/nikku/node-xsd-schema-validator.git"},"keywords":["xsd","xml","schema","validator","validation"],"author":{"name":"Nikku"},"contributors":[{"name":"authenio","url":"https://github.com/authenio"}],"license":"MIT","devDependencies":{"chai":"^4.1.2","eslint":"^4.16.0","eslint-plugin-mocha":"^4.11.0","mocha":"^5.0.0","npm-run-all":"^4.1.2"},"gitHead":"04a694e10b4ef6cf0b63a56efbbb8364e43fd128","bugs":{"url":"https://github.com/nikku/node-xsd-schema-validator/issues"},"homepage":"https://github.com/nikku/node-xsd-schema-validator#readme","_id":"@authenio/xsd-schema-validator@0.7.1","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"tngan","email":"tonynwk919@gmail.com"},"dist":{"integrity":"sha512-LfxalSt34Z6V2MKBRExfDBXHwLO3PycKaI0+k4nM1ei5rLJZHqU3C/vYm+LaA1nba6cu+cVXQY8zez3R0ZKl+w==","shasum":"3264c1b781d5192fe46cb5207d6ce51a706eed07","tarball":"https://registry.npmjs.org/@authenio/xsd-schema-validator/-/xsd-schema-validator-0.7.1.tgz","fileCount":23,"unpackedSize":93343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch5DiCRA9TVsSAnZWagAANVsP/jOXNoYord9qeOzGgDcG\nWluBqwrEax00YNVbEJxgjUVpyA985WmHUuI8PjKZu5qwUYAjVdG+4Y9Ksoy8\nVUua8hw3KpaxYySXRFjoz7drgiH70DcCbqsMS9RPwGmS+IPOqcDCthenn6Vd\nQUz9Y+7ajM63ka9e2/9dzEyAtNGSwP5jRoOShNwm2K/uH27tbXSk+VogW01X\nQg8J4m7/JemM5DcvwcjlMcl80KOZ2yAyi1ykURziCJ3vKp7OjMVaWPIshxat\n/3LBLD+GAnp5+wNspYc4hYLMsKAzatJlb1lFEyNH59MSvZxR5suhud0F2kS+\nff4Z7Z8iwN4PkcANyOJYBoUAnDOPuGcq8pfxq77BQTeyos5GNOnO9K2R7u25\nJmxosgrXODhyDImjuOsVfOUn7PzHqmx3lsi2AliVlZDpyizqVYzIrB7XxHv8\nYFWQuFhx+WPvscbGc1TLtjr+aMX1mSHOm63ZXooYpP8Qi6DL88ciufvFtMr3\nmHvuZRI0wJuJ7MfbH1brQ+ieTeFNpR/5chBhHwbrl0PbI+WJF4hcgo/qBKJD\nu79P4MGMSUpNGutOCJvaA5EbUWS98s+IUtvXJUgAYbzyN4CIKtadNPTQWzBV\nXERARrH8Po1ys/SbZkuM6iKHgad2ZvTurU4OfFx7syts5hNogIr+Kha515WC\nvaJz\r\n=HRaf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA42ggcw1oCNeQ781k9shLoFEVPkpfwXOYhfv3irww60AiEA6RrH1LrjtBt4tOFXoYydVDRMQybv+oc8lPxInVa8c7k="}]},"maintainers":[{"name":"tngan","email":"tonynwk919@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xsd-schema-validator_0.7.1_1552388321509_0.5299831795105985"},"_hasShrinkwrap":false},"0.7.2":{"name":"@authenio/xsd-schema-validator","version":"0.7.2","description":"A (XSD) schema validator for nodejs","main":"lib/validator.js","scripts":{"all":"run-s lint test","lint":"eslint .","test":"mocha","postinstall":"javac support/XMLValidator.java"},"repository":{"type":"git","url":"git+https://github.com/nikku/node-xsd-schema-validator.git"},"keywords":["xsd","xml","schema","validator","validation"],"author":{"name":"Nikku"},"contributors":[{"name":"authenio","url":"https://github.com/authenio"}],"license":"MIT","devDependencies":{"chai":"^4.1.2","eslint":"^4.16.0","eslint-plugin-mocha":"^4.11.0","mocha":"^5.0.0","npm-run-all":"^4.1.2"},"gitHead":"3a50be235697391884851c7f6ef29946cb579cf7","bugs":{"url":"https://github.com/nikku/node-xsd-schema-validator/issues"},"homepage":"https://github.com/nikku/node-xsd-schema-validator#readme","_id":"@authenio/xsd-schema-validator@0.7.2","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"integrity":"sha512-jXgGk6abyY3qQ0CSlPggXEKjHMMHvQetJtu8F+FTvqWquxT+z1xdNeQ7QnSEbj8quAuVe+zVLCGqvZRks3uD9w==","shasum":"2d2cb936cbc141ef9921c8c8aab1a576b9859a8c","tarball":"https://registry.npmjs.org/@authenio/xsd-schema-validator/-/xsd-schema-validator-0.7.2.tgz","fileCount":23,"unpackedSize":93682,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDoI9+xbZxNHYM9lMlHj3hqwNvcnP99joP2YMH0C/KrpAiEA6rTgUsMExFK3B++kZC2srlP4Kn8r454mC2LTpEaDbPc="}]},"_npmUser":{"name":"tngan","email":"tonynwk919@gmail.com"},"directories":{},"maintainers":[{"name":"tngan","email":"tonynwk919@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xsd-schema-validator_0.7.2_1683755104402_0.5046996229727063"},"_hasShrinkwrap":false},"0.7.3":{"name":"@authenio/xsd-schema-validator","version":"0.7.3","description":"A (XSD) schema validator for nodejs","main":"lib/validator.js","scripts":{"all":"run-s lint test","lint":"eslint .","test":"mocha","postinstall":"javac support/XMLValidator.java"},"repository":{"type":"git","url":"git+https://github.com/nikku/node-xsd-schema-validator.git"},"keywords":["xsd","xml","schema","validator","validation"],"author":{"name":"Nikku"},"contributors":[{"name":"authenio","url":"https://github.com/authenio"}],"license":"MIT","devDependencies":{"chai":"^4.1.2","eslint":"^4.16.0","eslint-plugin-mocha":"^4.11.0","mocha":"^5.0.0","npm-run-all":"^4.1.2"},"gitHead":"67a310cf47c255391242d19aa19656c5d020e9f4","bugs":{"url":"https://github.com/nikku/node-xsd-schema-validator/issues"},"homepage":"https://github.com/nikku/node-xsd-schema-validator#readme","_id":"@authenio/xsd-schema-validator@0.7.3","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"integrity":"sha512-Jhc/Hxv90bacZr0Fv+u+PEb440zPh4mO6rw+bzEAIBiFLKCtRa/BvKGRxPdCAwsGRPuwl2hFqQGF+Lfz6Q8kFg==","shasum":"abbf5710705bfab3394aca8b9d5a9e8429873897","tarball":"https://registry.npmjs.org/@authenio/xsd-schema-validator/-/xsd-schema-validator-0.7.3.tgz","fileCount":23,"unpackedSize":93495,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5+vIcVYAb1sio0529pBDQgHKM2E+9IQosBdJqymANuAIhAK42PhxB6nmlZJ6DEjQRvU/IeAsfAxs5aqQ3sjkmelY1"}]},"_npmUser":{"name":"tngan","email":"tonynwk919@gmail.com"},"directories":{},"maintainers":[{"name":"tngan","email":"tonynwk919@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xsd-schema-validator_0.7.3_1686087890859_0.29590792683822653"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-12T10:58:41.311Z","0.7.1":"2019-03-12T10:58:41.668Z","modified":"2023-06-06T21:44:51.226Z","0.7.2":"2023-05-10T21:45:04.598Z","0.7.3":"2023-06-06T21:44:51.099Z"},"maintainers":[{"name":"tngan","email":"tonynwk919@gmail.com"}],"description":"A (XSD) schema validator for nodejs","homepage":"https://github.com/nikku/node-xsd-schema-validator#readme","keywords":["xsd","xml","schema","validator","validation"],"repository":{"type":"git","url":"git+https://github.com/nikku/node-xsd-schema-validator.git"},"contributors":[{"name":"authenio","url":"https://github.com/authenio"}],"author":{"name":"Nikku"},"bugs":{"url":"https://github.com/nikku/node-xsd-schema-validator/issues"},"license":"MIT","readme":"# xsd-schema-validator\n\n[![Build Status](https://travis-ci.org/nikku/node-xsd-schema-validator.svg?branch=master)](https://travis-ci.org/nikku/node-xsd-schema-validator)\n\nA (XSD) schema validator for [NodeJS](nodejs.org) that uses [Java](https://www.java.com) to perform the actual validation.\n\n\n## Prerequisites\n\nThis utility assumes that `javac` and `java` are on the path _or_ that\nthe `JAVA_HOME` environment exists and points to an installed JDK.\n\nOn some platforms, i.e. [Mac OSX](http://www.mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/) you need to define `JAVA_HOME` manually.\n\n\n## How to Use\n\nInstall via [npm](http://npmjs.org):\n\n```\nnpm install --save xsd-schema-validator\n```\n\nUse in your application:\n\n```javascript\nvar validator = require('xsd-schema-validator');\n\nvar xmlStr = '<foo:bar />';\n\nvalidator.validateXML(xmlStr, 'resources/foo.xsd', function(err, result) {\n  if (err) {\n    throw err;\n  }\n\n  result.valid; // true\n});\n```\n\nYou may validate readable streams, too:\n\n```javascript\nvar xmlStream = fs.createReadableStream('some.xml');\n\nvalidator.validateXML(xmlStream, ...);\n```\n\n...and files, too:\n\n```javascript\nvalidator.validateXML({ file: 'some.xml' }, ...);\n```\n\n\n## Why\n\nBecause Java can do schema validation and NodeJS cannot.\n\n\n## License\n\nMIT\n","readmeFilename":"README.md"}