{"id":36701605,"url":"https://github.com/noi-techpark/transmodel-api","last_synced_at":"2026-01-12T11:38:43.549Z","repository":{"id":227850136,"uuid":"772519003","full_name":"noi-techpark/transmodel-api","owner":"noi-techpark","description":"Transmodel (NeTEx and SIRI) wrapper for Open Data Hub","archived":false,"fork":false,"pushed_at":"2025-12-30T12:40:08.000Z","size":8359,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-03T04:31:13.871Z","etag":null,"topics":["netex","opendatahub","siri","transmodel"],"latest_commit_sha":null,"homepage":"https://transmodel.api.opendatahub.com","language":"Go","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/noi-techpark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/AGPL-3.0-or-later.txt","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-15T10:55:41.000Z","updated_at":"2025-12-30T12:40:12.000Z","dependencies_parsed_at":"2024-06-22T00:31:16.550Z","dependency_job_id":"5b4600b1-64e1-4a68-b834-2ad54c9bca82","html_url":"https://github.com/noi-techpark/transmodel-api","commit_stats":null,"previous_names":["noi-techpark/sta-nap-export","noi-techpark/transmodel-api"],"tags_count":0,"template":false,"template_full_name":"noi-techpark/java-boilerplate","purl":"pkg:github/noi-techpark/transmodel-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noi-techpark%2Ftransmodel-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noi-techpark%2Ftransmodel-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noi-techpark%2Ftransmodel-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noi-techpark%2Ftransmodel-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noi-techpark","download_url":"https://codeload.github.com/noi-techpark/transmodel-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noi-techpark%2Ftransmodel-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["netex","opendatahub","siri","transmodel"],"created_at":"2026-01-12T11:38:43.481Z","updated_at":"2026-01-12T11:38:43.539Z","avatar_url":"https://github.com/noi-techpark.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: NOI Techpark \u003cdigital@noi.bz.it\u003e\n\nSPDX-License-Identifier: CC0-1.0\n--\u003e\n\n# Transmodel (NeTEx and SIRI FM) API wrapper for Open Data Hub\n\n[![REUSE Compliance](https://github.com/noi-techpark/transmodel-api/actions/workflows/reuse.yml/badge.svg)](https://github.com/noi-techpark/odh-docs/wiki/REUSE#badges)\n\nThis API provides data from the Open Data Hub in the standard formats NeTEx (Italian Profile) and SIRI-LITE FM (JSON).\n\nIt acts as a wrapper of the Open Data Hub API and has no internal data storage.\n\nThe API is accessible under [https://transmodel.api.opendatahub.com](https://transmodel.api.opendatahub.com)\n\n## Getting started\n\nClone the repository and cd into it\n\nWe suggest using `docker compose up` to build and test.  \nThe docker image provides live code reloading  \n\nTo run natively\n```sh\ncd src\ngo run .\n```\nRefer to the [docker file](infrastructure/docker/Dockerfile) and [docker-compose](docker-compose.yml) for more details\n\n## Tech stack\nThe application is written in Go with\n - [gin](https://github.com/gin-gonic/gin) for REST\n - [air](https://github.com/cosmtrek/air) to provide live reloading during development (not mandatory)\n\n## Domain documentation\nFor documentation on the procotols, see the [initial issue](https://github.com/noi-techpark/transmodel-api/issues/1)\n\nThe documents linked there are also in the [documentation](./documentation/) directory\n\nThe subrepo [netex-italian-profile](netex-italian-profile) tracks the [Italian netex profile repo](https://github.com/5Tsrl/netex-italian-profile) and contains examples and validation xsd files.  \nAnalogously, the subrepo [siri-italian-profile](siri-italian-profile) tracks the [Italian siri profile repo](https://github.com/5Tsrl/siri-italian-profile)\n\nThe Italian profiles are an extension of the base NeTEx/SIRI specifications by CEN\n\n## Open Data Hub API calls\nExample calls such as the ones used by this API are provided in [calls.http](calls.http)\n\n## Adding datasets to export\nNew data sources are implemented as [providers](src/provider/), implementing one or more of the relevant interfaces (see other provider).\nThe provider must then be added to the endpoint calls in [src/main.go](src/main.go)\n\n## Running automated tests\nNative: From `/src` folder run `go test ./...`  \nDocker: `docker compose up test`\n\n## XML Validation\nThe [validation](./validation) directory has a script to validate the produced XML files against the Italian Profile xsd.  \n[xmllint](https://xmllint.com/) is needed to run it locally, but we have also set up a dockerized version.  \n\n```bash\ndocker compose --profile validate up --attach validate --abort-on-container-exit\n```\nThis starts a local API, requests the XML files, adds the missing header parts, and validates them\n\nThe XML file that was validated is saved in `./validation/validate.xml`\n\n## General Information\n### Guidelines\n\nFind [here](https://opendatahub.readthedocs.io/en/latest/guidelines.html) guidelines for developers.\n\n### Support\n\nFor support, please contact [info@opendatahub.com](mailto:info@opendatahub.com).\n\n### Contributing\n\nIf you'd like to contribute, please follow our [Getting\nStarted](https://github.com/noi-techpark/odh-docs/wiki/Contributor-Guidelines:-Getting-started)\ninstructions.\n\n### Documentation\n\nMore documentation can be found at [https://opendatahub.readthedocs.io/en/latest/index.html](https://opendatahub.readthedocs.io/en/latest/index.html).\n\n### License\n\nThe code in this project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 license.  \n\nFor detailed licensing information, please refer to the [REUSE](https://reuse.software) spec.\n\n### REUSE\n\nThis project is [REUSE](https://reuse.software) compliant, more information about the usage of REUSE in NOI Techpark repositories can be found [here](https://github.com/noi-techpark/odh-docs/wiki/Guidelines-for-developers-and-licenses#guidelines-for-contributors-and-new-developers).\n\nSince the CI for this project checks for REUSE compliance you might find it useful to use a pre-commit hook checking for REUSE compliance locally. The [pre-commit-config](.pre-commit-config.yaml) file in the repository root is already configured to check for REUSE compliance with help of the [pre-commit](https://pre-commit.com) tool.\n\nInstall the tool by running:\n```bash\npip install pre-commit\n```\nThen install the pre-commit hook via the config file by running:\n```bash\npre-commit install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoi-techpark%2Ftransmodel-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoi-techpark%2Ftransmodel-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoi-techpark%2Ftransmodel-api/lists"}