{"id":23009936,"url":"https://github.com/openactive/models-lib","last_synced_at":"2025-04-23T00:43:59.169Z","repository":{"id":35179480,"uuid":"210615816","full_name":"openactive/models-lib","owner":"openactive","description":"Supporting code and tooling for OpenActive models, common across all languages","archived":false,"fork":false,"pushed_at":"2025-02-25T16:05:27.000Z","size":440,"stargazers_count":0,"open_issues_count":16,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-29T20:32:54.772Z","etag":null,"topics":["implementation-support","php","pre-release","ruby"],"latest_commit_sha":null,"homepage":null,"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/openactive.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":"2019-09-24T13:55:05.000Z","updated_at":"2025-01-30T00:56:54.000Z","dependencies_parsed_at":"2025-01-30T01:26:27.898Z","dependency_job_id":"ab010e44-9466-4484-a2e6-87920654850e","html_url":"https://github.com/openactive/models-lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openactive%2Fmodels-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openactive%2Fmodels-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openactive%2Fmodels-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openactive%2Fmodels-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openactive","download_url":"https://codeload.github.com/openactive/models-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250348883,"owners_count":21415907,"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":["implementation-support","php","pre-release","ruby"],"created_at":"2024-12-15T09:16:33.749Z","updated_at":"2025-04-23T00:43:59.152Z","avatar_url":"https://github.com/openactive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# models-lib [![Model Generation](https://github.com/openactive/models-lib/actions/workflows/generate-models.yaml/badge.svg?branch=master)](https://github.com/openactive/models-lib/actions/workflows/generate-models.yaml)\nSupporting code and tooling for OpenActive models, common across all languages\n\nOpenActive aims to support implementers with models written in [PHP](https://github.com/openactive/models-php), [Ruby](https://github.com/openactive/models-ruby), [.NET](https://github.com/openactive/OpenActive.NET) and [JavaScript/TypeScript](https://github.com/openactive/models-ts). This repository is intended to hold resources (e.g. generators, tests) shared across all of the above.\n\n## Installation\n\nClone this project:\n```\ngit clone https://github.com/openactive/models-lib.git\n```\n\nThis project requires Node v18 (npm v9).\nA `.nvmrc` file is provided for clarity.\n\nInstall dependencies:\n```\nnpm install\n```\n\n## Usage\n\nList languages available:\n```bash\nnpm start -- list\n```\n\nGenerate language files:\n```bash\nnpm start -- generate \u003clanguage\u003e --destination \u003cfolder\u003e\n```\n\n### Specific examples\n\nPHP:\n\n```bash\nnpm start -- generate PHP --destination ../models-php/src/\n```\n\nRuby:\n\n```bash\nnpm start -- generate Ruby --destination ../models-ruby/lib/openactive/\n```\n\n.NET:\n\n```bash\nnpm start -- generate .NET --destination ../OpenActive.NET/OpenActive.NET/\n```\n\nJavaScript/TypeScript:\n\n```bash\nnpm start -- generate TypeScript --destination ../models-ts/src/\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenactive%2Fmodels-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenactive%2Fmodels-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenactive%2Fmodels-lib/lists"}