{"_id":"@authenio/xsd-schema-validator","_rev":"5-f2aa6d0bbc5a732555999b1f6dedc081","name":"@authenio/xsd-schema-validator","dist-tags":{"latest":"0.7.4"},"versions":{"0.7.1":{"name":"@authenio/xsd-schema-validator","version":"0.7.1","keywords":["xsd","xml","schema","validator","validation"],"author":{"name":"Nikku"},"license":"MIT","_id":"@authenio/xsd-schema-validator@0.7.1","maintainers":[{"name":"tngan","email":"tonynwk919@gmail.com"}],"contributors":[{"url":"https://github.com/authenio","name":"authenio"}],"homepage":"https://github.com/nikku/node-xsd-schema-validator#readme","bugs":{"url":"https://github.com/nikku/node-xsd-schema-validator/issues"},"dist":{"shasum":"3264c1b781d5192fe46cb5207d6ce51a706eed07","tarball":"https://registry.npmjs.org/@authenio/xsd-schema-validator/-/xsd-schema-validator-0.7.1.tgz","fileCount":23,"integrity":"sha512-LfxalSt34Z6V2MKBRExfDBXHwLO3PycKaI0+k4nM1ei5rLJZHqU3C/vYm+LaA1nba6cu+cVXQY8zez3R0ZKl+w==","signatures":[{"sig":"MEUCIA42ggcw1oCNeQ781k9shLoFEVPkpfwXOYhfv3irww60AiEA6RrH1LrjtBt4tOFXoYydVDRMQybv+oc8lPxInVa8c7k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"lib/validator.js","gitHead":"04a694e10b4ef6cf0b63a56efbbb8364e43fd128","scripts":{"all":"run-s lint test","lint":"eslint .","test":"mocha","postinstall":"javac support/XMLValidator.java"},"_npmUser":{"name":"tngan","email":"tonynwk919@gmail.com"},"repository":{"url":"git+https://github.com/nikku/node-xsd-schema-validator.git","type":"git"},"_npmVersion":"6.2.0","description":"A (XSD) schema validator for nodejs","directories":{},"_nodeVersion":"10.8.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","eslint":"^4.16.0","npm-run-all":"^4.1.2","eslint-plugin-mocha":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/xsd-schema-validator_0.7.1_1552388321509_0.5299831795105985","host":"s3://npm-registry-packages"}},"0.7.2":{"name":"@authenio/xsd-schema-validator","version":"0.7.2","keywords":["xsd","xml","schema","validator","validation"],"author":{"name":"Nikku"},"license":"MIT","_id":"@authenio/xsd-schema-validator@0.7.2","maintainers":[{"name":"tngan","email":"tonynwk919@gmail.com"}],"contributors":[{"url":"https://github.com/authenio","name":"authenio"}],"homepage":"https://github.com/nikku/node-xsd-schema-validator#readme","bugs":{"url":"https://github.com/nikku/node-xsd-schema-validator/issues"},"dist":{"shasum":"2d2cb936cbc141ef9921c8c8aab1a576b9859a8c","tarball":"https://registry.npmjs.org/@authenio/xsd-schema-validator/-/xsd-schema-validator-0.7.2.tgz","fileCount":23,"integrity":"sha512-jXgGk6abyY3qQ0CSlPggXEKjHMMHvQetJtu8F+FTvqWquxT+z1xdNeQ7QnSEbj8quAuVe+zVLCGqvZRks3uD9w==","signatures":[{"sig":"MEUCIDoI9+xbZxNHYM9lMlHj3hqwNvcnP99joP2YMH0C/KrpAiEA6rTgUsMExFK3B++kZC2srlP4Kn8r454mC2LTpEaDbPc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93682},"main":"lib/validator.js","gitHead":"3a50be235697391884851c7f6ef29946cb579cf7","scripts":{"all":"run-s lint test","lint":"eslint .","test":"mocha","postinstall":"javac support/XMLValidator.java"},"_npmUser":{"name":"tngan","email":"tonynwk919@gmail.com"},"repository":{"url":"git+https://github.com/nikku/node-xsd-schema-validator.git","type":"git"},"_npmVersion":"9.5.0","description":"A (XSD) schema validator for nodejs","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","eslint":"^4.16.0","npm-run-all":"^4.1.2","eslint-plugin-mocha":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/xsd-schema-validator_0.7.2_1683755104402_0.5046996229727063","host":"s3://npm-registry-packages"}},"0.7.3":{"name":"@authenio/xsd-schema-validator","version":"0.7.3","keywords":["xsd","xml","schema","validator","validation"],"author":{"name":"Nikku"},"license":"MIT","_id":"@authenio/xsd-schema-validator@0.7.3","maintainers":[{"name":"tngan","email":"tonynwk919@gmail.com"}],"contributors":[{"url":"https://github.com/authenio","name":"authenio"}],"homepage":"https://github.com/nikku/node-xsd-schema-validator#readme","bugs":{"url":"https://github.com/nikku/node-xsd-schema-validator/issues"},"dist":{"shasum":"abbf5710705bfab3394aca8b9d5a9e8429873897","tarball":"https://registry.npmjs.org/@authenio/xsd-schema-validator/-/xsd-schema-validator-0.7.3.tgz","fileCount":23,"integrity":"sha512-Jhc/Hxv90bacZr0Fv+u+PEb440zPh4mO6rw+bzEAIBiFLKCtRa/BvKGRxPdCAwsGRPuwl2hFqQGF+Lfz6Q8kFg==","signatures":[{"sig":"MEYCIQC5+vIcVYAb1sio0529pBDQgHKM2E+9IQosBdJqymANuAIhAK42PhxB6nmlZJ6DEjQRvU/IeAsfAxs5aqQ3sjkmelY1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93495},"main":"lib/validator.js","gitHead":"67a310cf47c255391242d19aa19656c5d020e9f4","scripts":{"all":"run-s lint test","lint":"eslint .","test":"mocha","postinstall":"javac support/XMLValidator.java"},"_npmUser":{"name":"tngan","email":"tonynwk919@gmail.com"},"repository":{"url":"git+https://github.com/nikku/node-xsd-schema-validator.git","type":"git"},"_npmVersion":"9.5.0","description":"A (XSD) schema validator for nodejs","directories":{},"_nodeVersion":"18.14.2","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","eslint":"^4.16.0","npm-run-all":"^4.1.2","eslint-plugin-mocha":"^4.11.0"},"_npmOperationalInternal":{"tmp":"tmp/xsd-schema-validator_0.7.3_1686087890859_0.29590792683822653","host":"s3://npm-registry-packages"}},"0.7.4":{"_id":"@authenio/xsd-schema-validator@0.7.4","bugs":{"url":"https://github.com/nikku/node-xsd-schema-validator/issues"},"dist":{"shasum":"2e1e7e698f2a7df4a8a1af0688d518220096b05e","tarball":"https://registry.npmjs.org/@authenio/xsd-schema-validator/-/xsd-schema-validator-0.7.4.tgz","fileCount":23,"integrity":"sha512-qAd8cFliBDrgzgCKpVz/ZgH9ZVDKpsoRiIlCoVm8qm8m/bJMVhO6e4ZsUXlyjxXwWVL7UdmWvtw5TQfDFUM6dw==","signatures":[{"sig":"MEQCIC47shD9MyOQMfMKOwn2QlMTs7e6lHs8/u+msHyeMnVRAiA3+owE/hLEQCAUemJ6TQXeo4CblG/SVJyEgW8c06KIVg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDZoGCATH12Nu5BwUbmEwnVny7aa/tC1+Cg2aCboIwgYgIgBlbuBREg9BDtroEXJWVMbvoGAzsyT/EjYCOlAkPX2rw="}],"unpackedSize":94561},"main":"lib/validator.js","name":"@authenio/xsd-schema-validator","author":{"name":"Nikku"},"gitHead":"9f0503094bbc35eecce81b1987ac6f643e92742e","license":"MIT","scripts":{"all":"run-s lint test","lint":"eslint .","test":"mocha","postinstall":"javac support/XMLValidator.java"},"version":"0.7.4","_npmUser":{"name":"tngan","email":"tonynwk919@gmail.com"},"homepage":"https://github.com/nikku/node-xsd-schema-validator#readme","keywords":["xsd","xml","schema","validator","validation"],"repository":{"url":"git+https://github.com/nikku/node-xsd-schema-validator.git","type":"git"},"_npmVersion":"11.6.4","description":"A (XSD) schema validator for nodejs","directories":{},"maintainers":[{"name":"tngan","email":"tonynwk919@gmail.com"}],"_nodeVersion":"22.21.1","contributors":[{"url":"https://github.com/authenio","name":"authenio"}],"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","eslint":"^4.16.0","npm-run-all":"^4.1.2","eslint-plugin-mocha":"^4.11.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/xsd-schema-validator_0.7.4_1792487067281_0.5518456952766653"}}},"time":{"created":"2019-03-12T10:58:41.311Z","modified":"2026-10-20T09:04:27.636Z","0.7.1":"2019-03-12T10:58:41.668Z","0.7.2":"2023-05-10T21:45:04.598Z","0.7.3":"2023-06-06T21:44:51.099Z","0.7.4":"2026-10-20T09:04:27.380Z"},"bugs":{"url":"https://github.com/nikku/node-xsd-schema-validator/issues"},"author":{"name":"Nikku"},"license":"MIT","homepage":"https://github.com/nikku/node-xsd-schema-validator#readme","keywords":["xsd","xml","schema","validator","validation"],"repository":{"url":"git+https://github.com/nikku/node-xsd-schema-validator.git","type":"git"},"description":"A (XSD) schema validator for nodejs","contributors":[{"url":"https://github.com/authenio","name":"authenio"}],"maintainers":[{"name":"tngan","email":"tonynwk919@gmail.com"}],"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"}