{"_id":"@d.horiyama/yaml_schema","_rev":"9-b653a916a976f727f2864161b3974941","time":{"0.0.1":"2020-05-20T15:25:19.265Z","0.0.2":"2020-05-20T15:25:19.265Z","0.0.3":"2020-05-20T15:25:19.265Z","0.0.4":"2020-05-20T15:25:19.265Z","0.0.5":"2020-05-20T15:25:19.265Z","0.0.6":"2020-05-20T15:25:19.265Z","created":"2020-05-20T15:28:51.403Z","0.0.7":"2020-05-20T15:28:51.662Z","modified":"2022-04-05T02:28:48.209Z"},"name":"@d.horiyama/yaml_schema","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.7":{"name":"@d.horiyama/yaml_schema","version":"0.0.7","description":"Specify YAML by JSON Schema v7 in YAML.","repository":{"type":"git","url":"git+https://github.com/wand2016/yaml-schema.git"},"main":"dist/index.js","types":"dist/index.d.js","bin":{"yaml_schema":"bin/yaml_schema"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"tsc -d"},"keywords":["yaml","JSON Schema"],"author":{"name":"Daiki Horiyama"},"license":"MIT","dependencies":{"ajv":"^6.12.2","ajv-errors":"^1.0.1","commander":"^5.1.0","get-stdin":"^8.0.0","js-yaml":"^3.13.1","typescript":"^3.9.2"},"devDependencies":{"@types/ajv-errors":"^1.0.2","@types/js-yaml":"^3.12.4","@types/node":"^14.0.4"},"gitHead":"c3a7e163ba197ca7f10a3fb7455595770c45b35c","bugs":{"url":"https://github.com/wand2016/yaml-schema/issues"},"homepage":"https://github.com/wand2016/yaml-schema#readme","_id":"@d.horiyama/yaml_schema@0.0.7","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-u/NEa82z5MPsnyizrlhtVuUKKqzHfoJinmBMAzinR47jm4ESDAylEJKZ5Jg2ZZVPK4LPK38TLo26jcZkkOt0ig==","shasum":"6a7d320d8aec0b530b3c17bce2d25230cb3d824e","tarball":"https://registry.npmjs.org/@d.horiyama/yaml_schema/-/yaml_schema-0.0.7.tgz","fileCount":16,"unpackedSize":10537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexUyzCRA9TVsSAnZWagAApEwP/iZQSbgCfo9YMh5nBGcL\nrCP8iDblp0/VaMKOsrRWyBKTy4yyNj07Llnr9CQrqphLMBD6D6z45/y45cRq\nXYRKCuvli0qAEDHu3uaH5otRNUNmKiUeJUdDhtXooClvNmawNr5LdiZgVThe\nb8be/uKgg6BazXglQg0vMDnES6JZwhnNkx3RbmEtF+439fOrO0SDyDlcCCc6\nFrzuoSj+LeKzj0H3H4HXUALDVdeTgV7+UGZzwRa6qVBTshruU9BZEiC//yHY\n+9FhR4YGUnqKei4w3QftvxCbaXnbVLJZzyKAo0GO1uvIY6PntJ1OmYkpPf5v\nKi9Oi+crydYAZfGRIFQ8brLqSLc+VTTENGFwgdsgSTduftn4zQH4EahnIRYq\nuednRA98YP//0fB8l67p3uvLlWoR9nBMUGbH9wYP+C14mrP+TOkyHWG1LmrO\nFhnkAdfrmWwOmCy/UNTYEy/myuaLZqjiQlcLp71riIHndjgX/PO5ImCeRE+u\nruvPndPQYBRlBSKQf7BKffTmF/0COeqQzJ1rvaHJ+6KXhXpjlq5HcBgqNO8F\n2i7O3jPSqQQr58uqxboFhpDTqaU/vIAdA3y7Mq6bB8omFpMMPquETMrQk3N1\n4IKnQP728b/DQOJ9laJIGw0qmNQGgaQPCtaRBLq7zTGJgI/QL167dA/dNFbo\nKBwO\r\n=IB3L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJUU6iBC6EGspkrF915ltkomO7C0EcYz4bW1hfhiwPRAIhAOZlc0SKiA98yh16yrG+awG1HOlZ5MvjQFdZkO7zaGFg"}]},"maintainers":[{"name":"d.horiyama","email":"d19921207@gmail.com"}],"_npmUser":{"name":"d.horiyama","email":"d19921207@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yaml_schema_0.0.7_1589988531453_0.4268997812354425"},"_hasShrinkwrap":false}},"maintainers":[{"name":"d.horiyama","email":"d19921207@gmail.com"}],"description":"Specify YAML by JSON Schema v7 in YAML.","homepage":"https://github.com/wand2016/yaml-schema#readme","keywords":["yaml","JSON Schema"],"repository":{"type":"git","url":"git+https://github.com/wand2016/yaml-schema.git"},"author":{"name":"Daiki Horiyama"},"bugs":{"url":"https://github.com/wand2016/yaml-schema/issues"},"license":"MIT","readme":"examples/object/schema.yaml\n\n``` yaml\n$schema: \"http://json-schema.org/draft-07/schema#\"\ntype: object\nproperties:\n  name:\n    type: \"string\"\n  address:\n    type: \"object\"\n    properties:\n      lines:\n        type: \"array\"\n        items:\n          type: \"string\"\n      zip:\n        type: \"string\"\n      city:\n        type: \"string\"\n      country:\n        type: \"string\"\n    required:\n      - \"country\"\n  votes:\n    type: \"integer\"\n    minimum: 1\n```\n\nexamples/object/input.yaml\n\n```yaml\nname: \"Barack Obama\"\naddress:\n  lines:\n    - \"1600 Pennsylvania Avenue Northwest\"\n  zip: \"DC 20500\"\n  # country: \"USA\"\n  city: \"Washington\"\nvotes: \"lots\"\n```\n\n- validation\n\n``` sh\ncat examples/object/input.yaml | node dist/index.js -s examples/object/schema.yaml\n```\n\n```\ndata/address should have required property 'country'\ndata/votes should be integer\n```\n","readmeFilename":"README.md"}