{"id":25837284,"url":"https://github.com/devtin/schema-validator-doc","last_synced_at":"2026-06-13T05:31:12.077Z","repository":{"id":42821537,"uuid":"267482121","full_name":"devtin/schema-validator-doc","owner":"devtin","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T07:13:59.000Z","size":1416,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T02:48:05.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devtin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-28T03:16:40.000Z","updated_at":"2020-08-08T15:13:24.000Z","dependencies_parsed_at":"2023-02-05T14:40:27.844Z","dependency_job_id":null,"html_url":"https://github.com/devtin/schema-validator-doc","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/devtin/schema-validator-doc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devtin%2Fschema-validator-doc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devtin%2Fschema-validator-doc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devtin%2Fschema-validator-doc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devtin%2Fschema-validator-doc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devtin","download_url":"https://codeload.github.com/devtin/schema-validator-doc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devtin%2Fschema-validator-doc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34273788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-03-01T02:48:11.139Z","updated_at":"2026-06-13T05:31:12.024Z","avatar_url":"https://github.com/devtin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv\u003e\u003ch1\u003e@devtin/schema-validator-doc\u003c/h1\u003e\u003c/div\u003e\n\n\u003cp\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@devtin/schema-validator-doc\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@devtin/schema-validator-doc.svg\" alt=\"Version\"\u003e\u003c/a\u003e\n\u003ca href=\"http://opensource.org/licenses\" target=\"_blank\"\u003e\u003cimg src=\"http://img.shields.io/badge/License-MIT-brightgreen.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n    Converts a `@devtin/schema-validator` instance into JSON\n\u003c/p\u003e\n\n## Installation\n\n```sh\n$ npm i @devtin/schema-validator-doc --save\n# or\n$ yarn add @devtin/schema-validator-doc\n```\n\n\n\n\u003cbr\u003e\u003ca name=\"schemaValidatorToJSON\"\u003e\u003c/a\u003e\n\n## schemaValidatorToJSON(schema, [options]) ⇒ \u003ccode\u003eJSONSchema\u003c/code\u003e\n\n| Param | Type | Description |\n| --- | --- | --- |\n| schema | \u003ccode\u003eSchema\u003c/code\u003e |  |\n| [options] | \u003ccode\u003eObject\u003c/code\u003e |  |\n| [options.$name] | \u003ccode\u003eString\u003c/code\u003e | Name of the schema |\n\n**Returns**: \u003ccode\u003eJSONSchema\u003c/code\u003e - JSON representation of given schema  \n**Description:**\n\nConverts given schema in JSON format\n\n\n\u003cbr\u003e\u003ca name=\"schemaValidatorToMarkdown\"\u003e\u003c/a\u003e\n\n## schemaValidatorToMarkdown(jsonSchema) ⇒ \u003ccode\u003eString\u003c/code\u003e\n\n| Param | Type |\n| --- | --- |\n| jsonSchema | \u003ccode\u003eArray.\u0026lt;JSONSchema\u0026gt;\u003c/code\u003e, \u003ccode\u003eJSONSchema\u003c/code\u003e | \n\n**Returns**: \u003ccode\u003eString\u003c/code\u003e - Markdown representation  \n\n* * *\n\n### License\n\n[MIT](https://opensource.org/licenses/MIT)\n\n\u0026copy; 2020-present Martin Rafael Gonzalez \u003ctin@devtin.io\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevtin%2Fschema-validator-doc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevtin%2Fschema-validator-doc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevtin%2Fschema-validator-doc/lists"}