Skip to content

Adding an MDS Provider ID

Michael Schnuerle edited this page Nov 10, 2021 · 10 revisions

How Do I Get a MDS Provider ID?

MDS uses Provider IDs through the spec to designate specific providers in a unique, consistent, and comprehensive way.

If you are a new mobility service provider and need an MDS ID you must add a unique provider_id to our providers.csv file.

You can do this by opening a Pull Request or an Issue here on GitHub.

Pull Request

If you are comfortable with GitHub, you can create a pull request to add a new row of information needed for your company, in CSV format:

provider_name,provider_id,url,mds_api_url,gbfs_api_url

Examples:

Bird,2411d395-04f2-47c9-ab66-d09e9e3c3251,https://www.bird.co,https://mds.bird.co,https://mds.bird.co/gbfs

Spin,70aa475d-1fcd-4504-b69c-2eeb2107f7be,https://www.spin.app,https://web.spin.pm/api/mds/v1,

Fields:

  • provider_name - Short name of your company.

  • provider_id - A random UUID version 4. There are lots of way to generate a unique UUID, like using this website.

  • url - URL to the home page of your company.

  • mds_api_url - Full https:// URL where your root MDS feeds are located.

  • gbfs_api_url - Full https:// URL where your public GBFS feeds are located.

Once it looks good on our end, we will merge it to the dev branch so it's live and you can start referring to and using it.

Issue

Alternatively and possibly easier, you can open an Issue here and describe what you'd like to have added, and then the OMF Staff can create a pull request and update it for you.

Once it looks good on your end, we will merge it to the dev branch so it's live and you can start referring to and using it.

Using Your ID

You can start start referring to and using your ID as soon as it's live in the dev branch. In the next MDS release, the OMF will push it to the main branch as well.

GBFS

Once you are up and running with your private MDS feeds for agencies, note that there is a requirement to have public GBFS feeds as well to be MDS compliant.

Please come back and add your GBFS URL to the end of your agencies.csv listing when it's live.

Note that GBFS has a similar file called systems.csv, and you should add yourself there too when you get your feeds up and running.

Help

If you need help, please contact the OMF Staff.

Clone this wiki locally