{"id":20710937,"url":"https://github.com/entur/gbfs-java-model","last_synced_at":"2025-05-10T21:32:47.705Z","repository":{"id":37844936,"uuid":"355561762","full_name":"entur/gbfs-java-model","owner":"entur","description":null,"archived":true,"fork":false,"pushed_at":"2025-02-14T10:33:33.000Z","size":243,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-13T08:41:39.820Z","etag":null,"topics":["ror"],"latest_commit_sha":null,"homepage":"","language":"Java","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/entur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-04-07T13:48:27.000Z","updated_at":"2025-02-14T11:06:01.000Z","dependencies_parsed_at":"2023-02-15T20:31:02.950Z","dependency_job_id":"b5a156cb-319f-4af4-9f66-aadd32612c2a","html_url":"https://github.com/entur/gbfs-java-model","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fgbfs-java-model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fgbfs-java-model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fgbfs-java-model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entur%2Fgbfs-java-model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/entur","download_url":"https://codeload.github.com/entur/gbfs-java-model/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253485985,"owners_count":21916112,"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":["ror"],"created_at":"2024-11-17T02:13:35.446Z","updated_at":"2025-05-10T21:32:46.763Z","avatar_url":"https://github.com/entur.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gbfs-java-model (deprecated)\n\n## RELOCATION NOTICE \n\nThis package has been relocated to https://github.com/MobilityData/gbfs-json-schema/tree/master/models/java\n\nIn maven you will find the package under org.mobilitydata.gbfs-java-model from version 1.0.6.\n\n## END RELOCATION NOTICE\n\nGenerates Java model from GBFS json schema using jsonschema2pojo with jackson2 annotations.\n\nIn order to avoid naming conflicts in generated classes, each feed gets its own package, and all\nclasses are prefixed with \"GBFS\".\n\nPackages include GBFS versions to accommodate for future releases which may include older versions,\nsince some consumers may need to handle multiple non-compatible versions in the same application \n(i.e. you should be able to parse v2.1 feeds with the v2.2 package, but v3.0 package would not\nbe able to parse v2.2 feeds).\n\n### Special cases: in v2.x\n\nNote: This does not apply to v3.0\n\n#### gbfs.json\n\nThere is no support in jsonschema2pojo to handle \"patternProperties\" sanely, it will just result\nin a class without any properties. The `gbfs.json` feed uses \"patternProperties\" for the `data`\nproperty to define an object per language, where the language code is the name of the property.\n\nThe generated Gbfs class is therefore extended by\n[src/main/org/entur/gbfs/v2_2/gbfs/GBFS.java](src/main/org/entur/gbfs/v2_2/gbfs/GBFS.java)\nto override the `data` property with a Map implementation. This extended class should be used\nwhen unmarshalling the `gbfs.json` feed.\n\n#### station_information.json\n\nIn v2.x the properties `vehicle_capacity` and `vehicle_type_capacity` in `station_information`, are objects\nwhose keys are vehicle type ids. The generated classes for these properties are `GBFSVehicleCapacity` and\n`GBFSVehicleTypeCapacity` respectively. To mapped key-value pairs can be accessed via the property `additionalProperties`\nof these generated classes.\n\n## Maven central\nThis project is available in the central maven repository.\nSee https://search.maven.org/search?q=g:org.entur.gbfs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentur%2Fgbfs-java-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentur%2Fgbfs-java-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentur%2Fgbfs-java-model/lists"}