{"id":23143381,"url":"https://github.com/xieyuheng/x-json","last_synced_at":"2026-04-13T18:03:03.760Z","repository":{"id":183445373,"uuid":"626172940","full_name":"xieyuheng/x-json","owner":"xieyuheng","description":"  A dependently typed programming language embedded in JSON, that can be used as a schema checker for JSON data.","archived":false,"fork":false,"pushed_at":"2025-07-20T06:32:46.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-25T06:31:57.621Z","etag":null,"topics":["dependent-record-types","dependent-type-theory","dependent-types","json","json-schema"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xieyuheng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-11T00:18:52.000Z","updated_at":"2025-07-20T06:32:49.000Z","dependencies_parsed_at":"2023-07-24T14:36:41.294Z","dependency_job_id":"a3c1ac63-d7f8-43a4-9672-1eb9cb8d405d","html_url":"https://github.com/xieyuheng/x-json","commit_stats":null,"previous_names":["xieyuheng/x-schema","xieyuheng/x-json"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xieyuheng/x-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xieyuheng%2Fx-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xieyuheng%2Fx-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xieyuheng%2Fx-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xieyuheng%2Fx-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xieyuheng","download_url":"https://codeload.github.com/xieyuheng/x-json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xieyuheng%2Fx-json/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266990226,"owners_count":24017718,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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":["dependent-record-types","dependent-type-theory","dependent-types","json","json-schema"],"created_at":"2024-12-17T15:13:18.464Z","updated_at":"2026-04-13T18:03:03.731Z","avatar_url":"https://github.com/xieyuheng.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X-JSON\n\nA dependently typed programming language embedded in JSON,\nthat can be used as a schema checker for JSON data.\n\nThe syntax is optimized for _the most used use cases_.\n\nInstead of writing (like in [json-schema](https://json-schema.org/understanding-json-schema/index.html)):\n\n```json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"year\": { \"type\": \"number\" },\n    \"name\": { \"type\": \"string\" }\n  }\n}\n```\n\nI want to write:\n\n```json\n{\n  \"name\": \"string\",\n  \"year\": \"number\"\n}\n```\n\n## Install\n\n```bash\nnpm i @xieyuheng/x-json\n```\n\n## License\n\n[GPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxieyuheng%2Fx-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxieyuheng%2Fx-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxieyuheng%2Fx-json/lists"}