{"id":19648031,"url":"https://github.com/0x-jerry/v2fly-schema","last_synced_at":"2025-04-28T15:32:19.738Z","repository":{"id":55648967,"uuid":"196121129","full_name":"0x-jerry/v2fly-schema","owner":"0x-jerry","description":"V2Fly config json schema","archived":false,"fork":false,"pushed_at":"2025-04-26T12:01:53.000Z","size":724,"stargazers_count":9,"open_issues_count":9,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-26T13:19:48.223Z","etag":null,"topics":["json-schema","v2ray-config-schema"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/0x-jerry.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null}},"created_at":"2019-07-10T03:05:02.000Z","updated_at":"2025-03-01T10:09:34.000Z","dependencies_parsed_at":"2024-07-10T16:31:38.792Z","dependency_job_id":"0a10419e-2ea2-4166-a967-22387008b766","html_url":"https://github.com/0x-jerry/v2fly-schema","commit_stats":{"total_commits":57,"total_committers":3,"mean_commits":19.0,"dds":0.3508771929824561,"last_synced_commit":"7967bec310587c283d8bc866d6b49b2dd1951d50"},"previous_names":["0x-jerry/v2ray-config-json-schema"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fv2fly-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fv2fly-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fv2fly-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x-jerry%2Fv2fly-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x-jerry","download_url":"https://codeload.github.com/0x-jerry/v2fly-schema/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250990849,"owners_count":21519165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["json-schema","v2ray-config-schema"],"created_at":"2024-11-11T14:46:56.016Z","updated_at":"2025-04-28T15:32:19.672Z","avatar_url":"https://github.com/0x-jerry.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# V2ray config json schema\n\n根据 [v2fly](https://v2fly.org/) 文档，自动生成 JSON Schema 和 TypeScript typedef\n\n## 使用方式\n\n### Visual Studio Code\n\n官方文档: [json-schemas-and-settings](https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings)\n\n示例：\n\n在项目中添加 `.vscode/settings.json` 配置文件，并设置 `json.schemas` 字段如下：\n\n```json\n{\n  \"json.schemas\": [\n    {\n      \"fileMatch\": [\"/*.json\", \"/*.jsonc\"],\n      \"url\": \"https://raw.githubusercontent.com/0x-jerry/v2ray-config-json-schema/master/v2fly.schema.json\"\n    }\n  ]\n}\n```\n\n### Nodejs\n\n安装：`pnpm i @0x-jerry/v2ray-schema -D`\n\n`typescript`:\n\n```ts\nimport type { V2FlyConfig } from '@0x-jerry/v2ray-schema'\n\nconst v2raySchema: V2FlyConfig = {\n  ...\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x-jerry%2Fv2fly-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x-jerry%2Fv2fly-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x-jerry%2Fv2fly-schema/lists"}