{"id":19365711,"url":"https://github.com/ryanleecode/xsd-to-typescript-converter","last_synced_at":"2026-04-19T14:32:23.407Z","repository":{"id":106426605,"uuid":"150880267","full_name":"ryanleecode/XSD-To-Typescript-Converter","owner":"ryanleecode","description":"Converter for XSD Definitions to Typescript Types and Interfaces","archived":false,"fork":false,"pushed_at":"2018-10-13T02:06:31.000Z","size":146,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T14:08:05.138Z","etag":null,"topics":["cmake","conan","converter","cpp","typescript","xsd"],"latest_commit_sha":null,"homepage":"","language":"C++","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/ryanleecode.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}},"created_at":"2018-09-29T15:59:48.000Z","updated_at":"2023-06-16T16:59:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"71f93d11-049e-4be8-80e4-4f2c41a0e379","html_url":"https://github.com/ryanleecode/XSD-To-Typescript-Converter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanleecode/XSD-To-Typescript-Converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2FXSD-To-Typescript-Converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2FXSD-To-Typescript-Converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2FXSD-To-Typescript-Converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2FXSD-To-Typescript-Converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanleecode","download_url":"https://codeload.github.com/ryanleecode/XSD-To-Typescript-Converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2FXSD-To-Typescript-Converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["cmake","conan","converter","cpp","typescript","xsd"],"created_at":"2024-11-10T07:41:58.971Z","updated_at":"2026-04-19T14:32:23.364Z","avatar_url":"https://github.com/ryanleecode.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XSD To Typescript Converter\n\nXSD to Typescript converter is a tool that converts XSD type definitions into Typescript _types_ and _interface_ definitions.\n\n## Setup\n\n### Prerequisites\n\n#### Conan\n\n1. Install the [conan](https://docs.conan.io/en/latest/installation.html) package manager.\n2. Add the following sources to your conan remotes\n\n```\nconan remote add conan-center https://conan.bintray.com\nconan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan\nconan remote add fruit https://api.bintray.com/conan/google/fruit\n```\n\n#### CMake\n\n1. Install any version of [CMake](https://cmake.org/download/) \u003e= **3.1**\n\n#### XSD Files\n\nCreate an XSD file with the name `Elements.xsd` and drop it in `\u003crootdir\u003e/src`. An example file is provided [here](SampleXSD.xml).\n\n## Building\n\n```\ncd src\n\nconan install . -s build_type=Debug --install-folder=cmake-build-debug --build missing -s compiler.libcxx=libstdc++11\n\ncd cmake-build-debug\n\ncmake ../\n\nmake\n```\n\n## Running\n\n```\ncd \u003crootdir\u003e/src/cmake-build-debug/bin/\n./xsdtotypescript\n```\n\nThe generated Typescript types will appear in `std::out`\n\n## Tests\n\n```\ncd \u003crootdir\u003e/src/cmake-build-debug/bin/\n./tsgen_test\n./util_test\n./xmlparse_test\n```\n\n## Roadmap\n\n- [ ] CLI Support\n  - [ ] Glob Support\n- [ ] NPM Package\n\n- [ ] XSD Simple Type\n  - [ ] String Type\n    - [x] Basic\n    - [x] Enumeration\n    - [ ] Pattern\n  - [x] Decimal Type\n  - [ ] Integer Type\n    - [x] Basic\n    - [ ] Enumeration\n    - [ ] Min/Max Inclusive\n    - [ ] Pattern\n  - [x] DateTime Type\n- [x] XSD Complex Type\n  - [ ] Optional\n  - [x] Basic\n  - [ ] All Type\n  - [x] XSD Sequence Type\n- [x] XSD Element Type\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanleecode%2Fxsd-to-typescript-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanleecode%2Fxsd-to-typescript-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanleecode%2Fxsd-to-typescript-converter/lists"}