{"id":14986709,"url":"https://github.com/ahmadnassri/node-oas-schemas","last_synced_at":"2026-02-07T18:30:50.181Z","repository":{"id":37086802,"uuid":"310095183","full_name":"ahmadnassri/node-oas-schemas","owner":"ahmadnassri","description":"OAS Schemas","archived":false,"fork":false,"pushed_at":"2025-01-07T20:53:56.000Z","size":301,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T13:35:31.840Z","etag":null,"topics":["node","oas","openapi","schema"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmadnassri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ahmadnassri"]}},"created_at":"2020-11-04T19:13:30.000Z","updated_at":"2025-01-07T20:53:59.000Z","dependencies_parsed_at":"2024-06-17T22:13:15.113Z","dependency_job_id":null,"html_url":"https://github.com/ahmadnassri/node-oas-schemas","commit_stats":{"total_commits":240,"total_committers":3,"mean_commits":80.0,"dds":0.2416666666666667,"last_synced_commit":"3d32df2822f45729f84e38fb20ffc8efc042702a"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":"ahmadnassri/template-node-lib","purl":"pkg:github/ahmadnassri/node-oas-schemas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Fnode-oas-schemas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Fnode-oas-schemas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Fnode-oas-schemas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Fnode-oas-schemas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmadnassri","download_url":"https://codeload.github.com/ahmadnassri/node-oas-schemas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmadnassri%2Fnode-oas-schemas/sbom","scorecard":{"id":172030,"data":{"date":"2025-08-11","repo":{"name":"github.com/ahmadnassri/node-oas-schemas","commit":"50fa39d5bb5236efd7cc015a7409c82a353999ed"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/push.yml:18","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/push.yml:19","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/push.yml:20","Info: topLevel permissions set to 'read-all': .github/workflows/pull_request_target.yml:9","Info: topLevel permissions set to 'read-all': .github/workflows/push.yml:11"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/pull_request_target.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/ahmadnassri/node-oas-schemas/pull_request_target.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/ahmadnassri/node-oas-schemas/push.yml/master?enable=pin","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-rxrc-rgv4-jpvx","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T16:48:43.980Z","repository_id":37086802,"created_at":"2025-08-16T16:48:43.980Z","updated_at":"2025-08-16T16:48:43.980Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29203782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T17:44:10.191Z","status":"ssl_error","status_checked_at":"2026-02-07T17:44:07.936Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["node","oas","openapi","schema"],"created_at":"2024-09-24T14:13:23.501Z","updated_at":"2026-02-07T18:30:50.150Z","avatar_url":"https://github.com/ahmadnassri.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ahmadnassri"],"categories":[],"sub_categories":[],"readme":"# OAS Schemas\n\nSchema files for Specification, kept automatically up-to-date\n\n[![license][license-img]][license-url]\n[![release][release-img]][release-url]\n[![super linter][super-linter-img]][super-linter-url]\n[![test][test-img]][test-url]\n[![semantic][semantic-img]][semantic-url]\n\n## Why\n\nThere are a few \"OAS Schema\" packages already, however, most come with extra bloat, and all of them are manually updated by the maintainer.\n\nThis package is automatically updated by [`Dependabot`][], and deployed / published with [GitHub Actions][]\n\n## What\n\nA simple npm package that includes the OAS Schema files and exports them for usage in your code.\n\n    .\n    ├── LICENSE\n    ├── index.js\n    └── schemas\n        ├── v1.2\n        │   ├── README.md\n        │   ├── apiDeclaration.json\n        │   ├── authorizationObject.json\n        │   ├── dataType.json\n        │   ├── dataTypeBase.json\n        │   ├── infoObject.json\n        │   ├── modelsObject.json\n        │   ├── oauth2GrantType.json\n        │   ├── operationObject.json\n        │   ├── parameterObject.json\n        │   ├── resourceListing.json\n        │   └── resourceObject.json\n        ├── v2.0\n        │   ├── README.md\n        │   └── schema.json\n        └── v3.0\n            ├── README.md\n            ├── schema.json\n            └── schema.yaml\n\n## How\n\n``` js\n// directly require the JSON schema files\nconst oas2 = require('oas-schemas/schemas/v2.0/schema.json')\nconst oas3 = require('oas-schemas/schemas/v3.0/schema.json')\n\n// require all the schemas in one object\nconst schemas = require('oas-schemas')\n\n/** schemas is an object with the following shape:\n  {\n    1.2: {\n      apiDeclaration: ...\n      authorizationObject: ...\n      dataType: ...\n      dataTypeBase: ...\n      infoObject: ...\n      modelsObject: ...\n      oauth2GrantType: ...\n      operationObject: ...\n      parameterObject: ...\n      resourceListing: ...\n      resourceObject: ...\n    },\n    2.0: ...\n    3.0: ...\n  }\n*/\n```\n\n  [`Dependabot`]: https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/about-dependabot-version-updates\n  [GitHub Actions]: .github/workflows/release.yml\n\n----\n\u003e Author: [Ahmad Nassri](https://www.ahmadnassri.com/) \u0026bull;\n\u003e Twitter: [@AhmadNassri](https://twitter.com/AhmadNassri)\n\n[license-url]: LICENSE\n[license-img]: https://badgen.net/github/license/ahmadnassri/node-oas-schemas\n\n[release-url]: https://github.com/ahmadnassri/node-oas-schemas/releases\n[release-img]: https://badgen.net/github/release/ahmadnassri/node-oas-schemas\n\n[super-linter-url]: https://github.com/ahmadnassri/node-oas-schemas/actions?query=workflow%3Asuper-linter\n[super-linter-img]: https://github.com/ahmadnassri/node-oas-schemas/workflows/super-linter/badge.svg\n\n[test-url]: https://github.com/ahmadnassri/node-oas-schemas/actions?query=workflow%3Atest\n[test-img]: https://github.com/ahmadnassri/node-oas-schemas/workflows/test/badge.svg\n\n[semantic-url]: https://github.com/ahmadnassri/node-oas-schemas/actions?query=workflow%3Arelease\n[semantic-img]: https://badgen.net/badge/📦/semantically%20released/blue\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadnassri%2Fnode-oas-schemas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmadnassri%2Fnode-oas-schemas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmadnassri%2Fnode-oas-schemas/lists"}