{"_id":"@api-components/api-schema","_rev":"12-18fe1192dc7a3c1390db2acc34e649d0","name":"@api-components/api-schema","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@api-components/api-schema","version":"0.1.0","keywords":["web-components","amf","api","documentation"],"author":{"name":"Pawel Uchida-Psztyc","email":"pawel.psztyc@gmail.com"},"license":"Apache-2.0","_id":"@api-components/api-schema@0.1.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"carowright","email":"carolina.wright@mulesoft.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/advanced-rest-client/api-schema#readme","bugs":{"url":"https://github.com/advanced-rest-client/api-schema/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"44a185bc478dda289a1da64b2e4820a1af16015b","tarball":"https://registry.npmjs.org/@api-components/api-schema/-/api-schema-0.1.0.tgz","fileCount":27,"integrity":"sha512-MATQI3Z/WNjFE+M+hOxN4pL4NBc9E+MeUNqLJG+6ZzGG8W1tcKqCZNiOeLZxykykD9+KuEfqZIhyuhx/UGXApQ==","signatures":[{"sig":"MEUCIH1nbXfc3cJObSyPllqAszJbo+N3Za4ksRp58cNEuQQkAiEAlyz/9RQM5kO/we+yeQR0OY4cQOoZ+RYd04W4E2dllos=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":105499},"main":"index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","gitHead":"b350af482c2b4cfcbf2540d627c90a8f89b58b5d","scripts":{"lint":"npm run lint:eslint","test":"web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium webkit firefox","start":"web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .","format":"npm run format:eslint","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","prepare":"npm run prepare:apis","lint:types":"tsc","test:watch":"web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","prepare:apis":"node demo/model.js","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"printWidth":240,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git://github.com/advanced-rest-client/api-schema.git","type":"git"},"_npmVersion":"6.14.15","description":"Schema generator based on the AMF graph LD model.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.17.6","dependencies":{"@pawel-up/data-mock":"^0.1.7","@api-components/amf-helper-mixin":"^4.5.3"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["demo/**/*.js","test/**/*.js","test/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-continue":"off","no-plusplus":"off","no-param-reassign":"off","prefer-destructuring":"off","no-unused-expressions":"off","class-methods-use-this":"off","no-template-curly-in-string":"off","import/no-extraneous-dependencies":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^7.0.1","sinon":"^11.1.1","eslint":"^7.32.0","lit-html":"^1.4.1","typescript":"^4.3.5","lint-staged":"^11.1.2","lit-element":"^2.5.1","amf-client-js":"5.0.0-beta.3","@commitlint/cli":"^13.1.0","@web/dev-server":"^0.1.18","@open-wc/testing":"^2.5.33","@web/test-runner":"^0.13.15","@open-wc/eslint-config":"^4.2.0","eslint-config-prettier":"^8.3.0","typescript-lit-html-plugin":"^0.9.0","@web/test-runner-playwright":"^0.8.6","@commitlint/config-conventional":"^13.1.0","@api-components/api-model-generator":"^0.2.9","@advanced-rest-client/arc-demo-helper":"^3.0.2"},"_npmOperationalInternal":{"tmp":"tmp/api-schema_0.1.0_1632351863810_0.8881152497845446","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@api-components/api-schema","version":"0.1.1","keywords":["web-components","amf","api","documentation"],"author":{"name":"Pawel Uchida-Psztyc","email":"pawel.psztyc@gmail.com"},"license":"Apache-2.0","_id":"@api-components/api-schema@0.1.1","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"carowright","email":"carolina.wright@mulesoft.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/advanced-rest-client/api-schema#readme","bugs":{"url":"https://github.com/advanced-rest-client/api-schema/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"6dda05627d6282c047d1b5a2c9fdb0bb921277eb","tarball":"https://registry.npmjs.org/@api-components/api-schema/-/api-schema-0.1.1.tgz","fileCount":27,"integrity":"sha512-5AjTMXd7xligIfXPzQolSFd4xXMZBhAhGBMLzGK6Sm+CMwP4aXAXT6C2pO3BZdnj/Ma8uc/d/fwtmBMKCA1xoQ==","signatures":[{"sig":"MEYCIQDhYDI+lz1sFwO+dpYdhBWIjU41bNfOOJTvibePocHDRwIhAMOrKgRe+eRyk7nWdO5347wiKDsCyAZvSj4V/do6dlRG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":105709},"main":"index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","gitHead":"e15db657ad362ca5e005c610474a55a5c8938e50","scripts":{"lint":"npm run lint:eslint","test":"web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium webkit firefox","start":"web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .","format":"npm run format:eslint","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","prepare":"npm run prepare:apis","lint:types":"tsc","test:watch":"web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","prepare:apis":"node demo/model.js","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"printWidth":240,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git://github.com/advanced-rest-client/api-schema.git","type":"git"},"_npmVersion":"6.14.15","description":"Schema generator based on the AMF graph LD model.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.17.6","dependencies":{"@pawel-up/data-mock":"^0.1.7","@api-components/amf-helper-mixin":"^4.5.4"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["demo/**/*.js","test/**/*.js","test/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-continue":"off","no-plusplus":"off","no-param-reassign":"off","prefer-destructuring":"off","no-unused-expressions":"off","class-methods-use-this":"off","no-template-curly-in-string":"off","import/no-extraneous-dependencies":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^7.0.1","sinon":"^11.1.1","eslint":"^7.32.0","lit-html":"^1.4.1","typescript":"^4.3.5","lint-staged":"^11.1.2","lit-element":"^2.5.1","amf-client-js":"5.0.0-beta.3","@commitlint/cli":"^13.1.0","@web/dev-server":"^0.1.24","@open-wc/testing":"^2.5.33","@web/test-runner":"^0.13.18","@open-wc/eslint-config":"^4.2.0","eslint-config-prettier":"^8.3.0","typescript-lit-html-plugin":"^0.9.0","@web/test-runner-playwright":"^0.8.6","@commitlint/config-conventional":"^13.1.0","@api-components/api-model-generator":"^0.2.9","@advanced-rest-client/arc-demo-helper":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/api-schema_0.1.1_1632624238847_0.32371669664380853","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@api-components/api-schema","version":"0.1.2","keywords":["web-components","amf","api","documentation"],"author":{"name":"Pawel Uchida-Psztyc","email":"pawel.psztyc@gmail.com"},"license":"Apache-2.0","_id":"@api-components/api-schema@0.1.2","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"carowright","email":"carolina.wright@mulesoft.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/advanced-rest-client/api-schema#readme","bugs":{"url":"https://github.com/advanced-rest-client/api-schema/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"97b6f70eb2213a1c8ce90cd840bf3e449e43c068","tarball":"https://registry.npmjs.org/@api-components/api-schema/-/api-schema-0.1.2.tgz","fileCount":27,"integrity":"sha512-eLOsbTlYt+0pE8pPA2pRBc5AjNsOSATIvmM4uFlpFVXueInVBao4MeHH8/5mhFJM6cr4UG13Vlxy02xPI6cmmA==","signatures":[{"sig":"MEUCIQDdD0Hk2hGwuEEsSeddLsRi2tG4U7T0f+DzBIM5fbdKAgIgHnOjsOWL9IruGYsFuLRIfJcxcVAKtxb/RmIwtV83vdg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":105832},"main":"index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","gitHead":"0ba05a0ae9b385f8785b61a0c69985b5500c0448","scripts":{"lint":"npm run lint:eslint","test":"web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium webkit firefox","start":"web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .","format":"npm run format:eslint","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","prepare":"npm run prepare:apis","lint:types":"tsc","test:watch":"web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","prepare:apis":"node demo/model.js","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"printWidth":240,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git://github.com/advanced-rest-client/api-schema.git","type":"git"},"_npmVersion":"6.14.15","description":"Schema generator based on the AMF graph LD model.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.17.6","dependencies":{"@pawel-up/data-mock":"^0.1.7","@api-components/amf-helper-mixin":"^4.5.4"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["demo/**/*.js","test/**/*.js","test/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-continue":"off","no-plusplus":"off","no-param-reassign":"off","prefer-destructuring":"off","no-unused-expressions":"off","class-methods-use-this":"off","no-template-curly-in-string":"off","import/no-extraneous-dependencies":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^7.0.1","sinon":"^11.1.1","eslint":"^7.32.0","lit-html":"^1.4.1","typescript":"^4.3.5","lint-staged":"^11.1.2","lit-element":"^2.5.1","amf-client-js":"5.0.0-beta.3","@commitlint/cli":"^13.1.0","@web/dev-server":"^0.1.24","@open-wc/testing":"^2.5.33","@web/test-runner":"^0.13.18","@open-wc/eslint-config":"^4.2.0","eslint-config-prettier":"^8.3.0","typescript-lit-html-plugin":"^0.9.0","@web/test-runner-playwright":"^0.8.6","@commitlint/config-conventional":"^13.1.0","@api-components/api-model-generator":"^0.2.9","@advanced-rest-client/arc-demo-helper":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/api-schema_0.1.2_1632781590159_0.15063630895493163","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@api-components/api-schema","version":"0.1.3","keywords":["web-components","amf","api","documentation"],"author":{"name":"Pawel Uchida-Psztyc","email":"pawel.psztyc@gmail.com"},"license":"Apache-2.0","_id":"@api-components/api-schema@0.1.3","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"carowright","email":"carolina.wright@mulesoft.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/advanced-rest-client/api-schema#readme","bugs":{"url":"https://github.com/advanced-rest-client/api-schema/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"ed06d6a79414ebc6fa407eb848497448df787c91","tarball":"https://registry.npmjs.org/@api-components/api-schema/-/api-schema-0.1.3.tgz","fileCount":27,"integrity":"sha512-af1oj/M+YC7cNN3wpa0Aw0EhpwAUXlqx73NY/Rb44JPHW8EGlVqqL/PDPor4dx61fNeSzONwSj/SxGpfN7pkbg==","signatures":[{"sig":"MEUCIQDscdY5o0EixH7nB/XcwVsTudCmXRzs1U7yqKhha+fRTwIgLFPw2CL38k3vWByukK2uJas2Vl7upIX8euFap6ndPm8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106171},"main":"index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","gitHead":"4b2cac8ae3d7b43e4be9e06adb82628baa068294","scripts":{"lint":"npm run lint:eslint","test":"web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium webkit firefox","start":"web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .","format":"npm run format:eslint","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","prepare":"npm run prepare:apis","lint:types":"tsc","test:watch":"web-test-runner test/**/*.test.js --node-resolve --watch --playwright --browsers chromium","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","prepare:apis":"node demo/model.js","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"printWidth":240,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git://github.com/advanced-rest-client/api-schema.git","type":"git"},"_npmVersion":"6.14.15","description":"Schema generator based on the AMF graph LD model.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.17.6","dependencies":{"@pawel-up/data-mock":"^0.1.7","@api-components/amf-helper-mixin":"^4.5.4"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["demo/**/*.js","test/**/*.js","test/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-continue":"off","no-plusplus":"off","no-param-reassign":"off","prefer-destructuring":"off","no-unused-expressions":"off","class-methods-use-this":"off","no-template-curly-in-string":"off","import/no-extraneous-dependencies":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^7.0.1","sinon":"^11.1.1","eslint":"^7.32.0","lit-html":"^1.4.1","typescript":"^4.3.5","lint-staged":"^11.1.2","lit-element":"^2.5.1","amf-client-js":"5.0.0-beta.3","@commitlint/cli":"^13.1.0","@web/dev-server":"^0.1.24","@open-wc/testing":"^2.5.33","@web/test-runner":"^0.13.18","@open-wc/eslint-config":"^4.2.0","eslint-config-prettier":"^8.3.0","typescript-lit-html-plugin":"^0.9.0","@web/test-runner-playwright":"^0.8.6","@commitlint/config-conventional":"^13.1.0","@api-components/api-model-generator":"^0.2.9","@advanced-rest-client/arc-demo-helper":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/api-schema_0.1.3_1632878288040_0.8492551627205276","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@api-components/api-schema","version":"0.1.4","keywords":["web-components","amf","api","documentation"],"author":{"name":"Pawel Uchida-Psztyc","email":"pawel.psztyc@gmail.com"},"license":"Apache-2.0","_id":"@api-components/api-schema@0.1.4","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"carowright","email":"carolina.wright@mulesoft.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/advanced-rest-client/api-schema#readme","bugs":{"url":"https://github.com/advanced-rest-client/api-schema/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"37551dbd184da48092be8d0bde8152a02eb9d223","tarball":"https://registry.npmjs.org/@api-components/api-schema/-/api-schema-0.1.4.tgz","fileCount":27,"integrity":"sha512-Z9yU9VRBNNxYqYmJdHTlcdo/I/k9Qgh3wIsA2t2ehD8+XW+8sD6fT11IM2YYb0V/vBznNT6OMMQBIgFqvjW9tw==","signatures":[{"sig":"MEYCIQCkYe02Lq4t9utkad8L/idnphRQGXPbw7SZ5eecuHHNowIhAOMXLX1g1XBZtDseJxwCxcEUdA+Teid6gRIjkasN/vxK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":110264},"main":"index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","gitHead":"2f2b94b67550bc6832bd4f2f938c7b6ebc0ccad6","scripts":{"lint":"npm run lint:eslint","test":"web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium webkit firefox","start":"web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .","format":"npm run format:eslint","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","prepare":"npm run prepare:apis","lint:types":"tsc","test:watch":"web-test-runner --node-resolve --watch --playwright --browsers chromium","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","prepare:apis":"node demo/model.js","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"printWidth":240,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git://github.com/advanced-rest-client/api-schema.git","type":"git"},"_npmVersion":"6.14.15","description":"Schema generator based on the AMF graph LD model.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.18.0","dependencies":{"@pawel-up/data-mock":"^0.1.7","@api-components/amf-helper-mixin":"^4.5.12"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["demo/**/*.js","test/**/*.js","test/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-continue":"off","no-plusplus":"off","no-param-reassign":"off","prefer-destructuring":"off","no-unused-expressions":"off","class-methods-use-this":"off","no-template-curly-in-string":"off","import/no-extraneous-dependencies":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^7.0.1","sinon":"^11.1.1","eslint":"^7.32.0","lit-html":"^1.4.1","typescript":"^4.3.5","lint-staged":"^11.1.2","lit-element":"^2.5.1","amf-client-js":"5.0.0-beta.3","@commitlint/cli":"^13.2.0","@web/dev-server":"^0.1.24","@open-wc/testing":"^2.5.33","@web/test-runner":"^0.13.18","@open-wc/eslint-config":"^4.2.0","eslint-config-prettier":"^8.3.0","typescript-lit-html-plugin":"^0.9.0","@web/test-runner-playwright":"^0.8.6","@commitlint/config-conventional":"^13.2.0","@api-components/api-model-generator":"^0.2.9","@advanced-rest-client/arc-demo-helper":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/api-schema_0.1.4_1633072190821_0.6586386782920031","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@api-components/api-schema","version":"0.1.5","keywords":["web-components","amf","api","documentation"],"author":{"name":"Pawel Uchida-Psztyc","email":"pawel.psztyc@gmail.com"},"license":"Apache-2.0","_id":"@api-components/api-schema@0.1.5","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"carowright","email":"carolina.wright@mulesoft.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/advanced-rest-client/api-schema#readme","bugs":{"url":"https://github.com/advanced-rest-client/api-schema/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"e0682e8a08089d806f6f2bb52abaa695e82a0fc2","tarball":"https://registry.npmjs.org/@api-components/api-schema/-/api-schema-0.1.5.tgz","fileCount":27,"integrity":"sha512-bb2iVOE3wfEqOO5p+nU8NqELZc0Qd/VRb9r7qDfExZn90fCJZZ/U1bzDa3UIfShhJejh586fuQnjKkAr/RYsSQ==","signatures":[{"sig":"MEUCIBtvz1eYyvOGKxr5HZElvxeh5Z4Eaz000gnCUnG84SEXAiEA0sm36ibOW6KO2TvMeqNrDblvROe6MFUqOsqsJmc3Jnk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":110315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzFf4CRA9TVsSAnZWagAAyzoP/3R4vg5pjfjwdTnukWMo\nXHa0kRfzt/y49aKrx/zny/ydOnA7h1gGVNhyZ1R5c4brsGk2shzx7NvIzxba\nyXvyMOuq/pCMjaYHuDrVfrMlYzk9Syf3KAeZou9c7IYU2NeDDw7FKORxtO4h\nT8xYhFLmTcOTbf+nwnNTiS1rdPbEHWaXOm2EP1qk09MVR0qvixVnyc3l6O/i\nFx6gm+K8Kp35qs+HTsAWWMERY4WjyyDoZ0zar39scktr9o1vwmCK9lZ8Yne4\nmgyHnpYEJCbdSxIKij8+JwAin1AxpBvf13OTRPpYdxqH6YTtj/iBjoi+KOeL\nDNRiwCtAfKfhJw8Q9VBUZkBEw39ztnE7XzXWBcEQfLjNOJOczK1S0h2Q0KrW\nCoJOAx63845d5Z9rj/jtvn8NWnWwgI5Y/Io7OrROE4zCfgQo2L2wz/eh4iPy\nT4y4QRfWpsyb6z10aoPMbJ4GzlZM58+sMFPhhoxnx5DvsoTycRbsSFByD0vC\ngmVSdw3sBZGlm8atdGjv0xNNYC2gVTvJafUwvwIZU2AYlgk9dNQ3AAwTHPxY\nBKz/Ysro9DELkh/oCRs74fb325V/DJtkYyJHn+j8p0YAcojVStq6GcJLglI6\nhZcbcXhZwbKeTfLwHmeGxSKxF8+FXkqBD4bjTNs7mCbkAgOW/eEed9NaUXhW\nrQNX\r\n=kklk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","gitHead":"9feda5bdf4fc21a037f1319d920875b43530e37f","scripts":{"lint":"npm run lint:eslint","test":"web-test-runner test/**/*.test.js --coverage --node-resolve --playwright --browsers chromium webkit firefox","start":"web-dev-server --app-index demo/index.html --node-resolve --open --watch --root-dir .","format":"npm run format:eslint","gen:wc":"wca analyze \"*.js\" --outFile custom-elements.json","prepare":"npm run prepare:apis","lint:types":"tsc","test:watch":"web-test-runner --node-resolve --watch --playwright --browsers chromium","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","prepare:apis":"node demo/model.js","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"printWidth":240,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git://github.com/advanced-rest-client/api-schema.git","type":"git"},"_npmVersion":"6.14.15","description":"Schema generator based on the AMF graph LD model.","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"14.18.0","dependencies":{"@pawel-up/data-mock":"^0.1.7","@api-components/amf-helper-mixin":"^4.5.16"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["demo/**/*.js","test/**/*.js","test/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-continue":"off","no-plusplus":"off","no-param-reassign":"off","prefer-destructuring":"off","no-unused-expressions":"off","class-methods-use-this":"off","no-template-curly-in-string":"off","import/no-extraneous-dependencies":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^7.0.1","sinon":"^11.1.1","eslint":"^7.32.0","lit-html":"^1.4.1","typescript":"^4.3.5","lint-staged":"^11.2.2","lit-element":"^2.5.1","@commitlint/cli":"^13.2.1","@web/dev-server":"^0.1.25","@open-wc/testing":"^2.5.33","@web/test-runner":"^0.13.18","@open-wc/eslint-config":"^4.2.0","eslint-config-prettier":"^8.3.0","typescript-lit-html-plugin":"^0.9.0","@web/test-runner-playwright":"^0.8.6","@commitlint/config-conventional":"^13.2.0","@api-components/api-model-generator":"^0.2.9","@advanced-rest-client/arc-demo-helper":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/api-schema_0.1.5_1633811771701_0.33407453188324077","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-09-22T23:04:23.720Z","modified":"2026-04-07T19:23:43.103Z","0.1.0":"2021-09-22T23:04:24.021Z","0.1.1":"2021-09-26T02:43:59.007Z","0.1.2":"2021-09-27T22:26:30.264Z","0.1.3":"2021-09-29T01:18:08.177Z","0.1.4":"2021-10-01T07:09:50.988Z","0.1.5":"2021-10-09T20:36:11.842Z"},"bugs":{"url":"https://github.com/advanced-rest-client/api-schema/issues","email":"arc@mulesoft.com"},"author":{"name":"Pawel Uchida-Psztyc","email":"pawel.psztyc@gmail.com"},"license":"Apache-2.0","homepage":"https://github.com/advanced-rest-client/api-schema#readme","keywords":["web-components","amf","api","documentation"],"repository":{"url":"git://github.com/advanced-rest-client/api-schema.git","type":"git"},"description":"Schema generator based on the AMF graph LD model.","contributors":[{"name":"Your name can be here!"}],"maintainers":[{"email":"jarrodek@gmail.com","name":"jarrodek"},{"email":"alexperez@mulesoft.com","name":"alexperez_march_2024"},{"email":"elmellidiego@gmail.com","name":"dmacias"}],"readme":"# API schema\n\nA library that generates schemas from the AMF graph ld+json model.\n\n## Usage\n\n### Installation\n\n```sh\nnpm install --save @api-components/api-schema\n```\n\n### Generating schemas\n\nThe library takes an AMF shape as the argument, a media type of the generated schema as the other argument and generates schema depending what is defined in the model and the configuration.\n\nScalars processing:\n\n1. If the shape is not required and `renderOptional` is not set return undefined.\n1. If there's an example and `renderExamples` is set then return parsed example value according to schema's data type\n1. If there's a default value, return the default value according to schema's data type\n1. If there's an enum value, return the first enum value according to schema's data type\n1. Otherwise return a value that is a \"default\" value for the given data type ('', 0, false, null).\n\nObjects are processed property-by-property as defined above.\n\nNote, that the examples take precedence over the default or enum values. This is to make example generation consistent. If examples are processed after default value or enums then the result is a mix of examples and the other two, which is not what you expect.\n\nFor unions you can pass the `selectedUnions[]` configuration option which the ids of all explicitly selected union members. When the library cannot find a member in the `selectedUnions` array then it takes the first available member to process the schema.\n\nUnion of a scalar and `nil` (or multiple scalars and `nil`) is treated like an optional property and it doesn't render values if `renderOptional` is not set.\n\n```javascript\nimport { ApiSchemaGenerator } from '@api-components/api-schema';\n\nconst shape = readAmfShapeSomehow()\nconst result = ApiSchemaGenerator.asSchema(shape, 'application/json', {\n  renderOptional: true,\n  renderExamples: true,\n});\nconsole.log(result);\n```\n\n### Generating Monaco schemas\n\nCurrently only NodeShape is supported when generating a Monaco schema.\n\n```javascript\nimport { ApiMonacoSchemaGenerator } from '@api-components/api-schema';\n\nconst shape = readAmfShapeSomehow();\nconst reader = new ApiMonacoSchemaGenerator();\nconst result = reader.generate(shape, 'https://domain.com');\nconsole.log(result);\n```\n\n### Reading schema values for form inputs\n\nThis class reads a value that should be rendered in a form input for the generated schema.\nNote, there are two methods to read scalar and array values.\nAlso, this class operates on Parameters rather than Shapes.\n\n```javascript\nimport { ApiSchemaValues } from '@api-components/api-schema';\n\nconst parameter = readAmfParameterSomehow();\nconst result = ApiSchemaValues.readInputValue(parameter);\nconsole.log(result); // string, number, boolean, null, undefined, object, array\n\nconst arrayResult = ApiSchemaValues.readInputValues(parameter);\nconsole.log(arrayResult); // list of: string, number, boolean, null, undefined, object, array\n\nconst inputType = ApiSchemaValues.readInputType('http://a.ml/vocabularies/shapes#number');\nconsole.log(inputType); // \"number\"\n\nconst parsedValue = ApiSchemaValues.parseScalarInput('25', numberScalarShape);\nconsole.log(parsedValue); // 25\n```\n\n### Reading example values from examples\n\nThis class specializes in reading and processing AMF examples to a form that should be rendered to the user\nas an example value of a scheme or a property.\n\nNote, that you need to provide a media type for which generate the value for. Currently the following media types are supported:\n\n- application/json\n- application/xml\n- application/x-www-form-urlencoded\n\n```javascript\nimport { ApiExampleGenerator } from '@api-components/api-schema';\nconst reader = new ApiExampleGenerator();\nconst shape = readAmfShapeSomehow();\nconst result = reader.read(shape.examples[0], 'application/json');\nconsole.log(result); // a string representing a JSON value.\n```\n\nNote, when the example comes from a scalar shape the returned value is this scalar value which is not a valid JSON.\n\n## Development\n\n```sh\ngit clone https://github.com/advanced-rest-client/api-schema\ncd api-schema\nnpm install\n```\n\n### Running the demo locally\n\n```sh\nnpm start\n```\n\n### Running the tests\n\n```sh\nnpm test\n```\n","readmeFilename":"README.md"}